Is it possible to access Google API library via FTP?

46 views
Skip to first unread message

rocits

unread,
Apr 15, 2012, 10:05:42 AM4/15/12
to google-ajax...@googlegroups.com
Is it possible to access Google API library via FTP?

Anonymously or Otherwise?

Thanks,

Rory O Connor

Yves Jacq

unread,
Apr 15, 2012, 6:57:09 PM4/15/12
to google-ajax...@googlegroups.com
Hi Rory,

it's only on my local computer for now.
But the google API is called through <script src="http://www.google.com/jsapi" type="text/javascript"></script>

Here is the full code:

<script src="http://www.google.com/jsapi" type="text/javascript"></script>
  <script type="text/javascript">
    // Load the Search API
    google.load('search', '1');

    // Set a callback to load the Custom Search Element when you page loads
    google.setOnLoadCallback(
      function(){

//add parameters
var customSearchOptions = {};
var imageSearchOptions = {};
imageSearchOptions['layout'] = google.search.ImageSearch.LAYOUT_CLASSIC;
customSearchOptions['enableImageSearch'] = true;
customSearchOptions['filetype'] = 'jpg';
customSearchOptions['imageSearchOptions'] = imageSearchOptions;

var customSearchControl = new google.search.CustomSearchControl('015544809827350742733:tb1985qexa8',customSearchOptions);
        // Use "mysite_" as a unique ID to override the default rendering.
        google.search.Csedr.addOverride("mysite_");

        // Draw the Custom Search Control in the div named "CSE"
        customSearchControl.draw('cse');

        // Execute an initial search
        customSearchControl.execute("waka+waka");
      },
    true);
  </script>
<div class="columns-global">
 <div style="display:none">

    <!-- Return the unescaped result URL.-->
    <div id="mysite_webResult" style="display:none">
      <div class="gs-webResult gs-result"
data-vars="{longUrl:function() {
         var i = unescapedUrl.indexOf(visibleUrl);
         return i < 1 ? visibleUrl : unescapedUrl.substring(i);}}">
      
<!-- Build the result data structure.-->
       <table>
         <tr>
           <td valign="top">
             <div data-if="Vars.richSnippet" data-attr="0"
               data-body="render('thumbnail',richSnippet,{url:unescapedUrl,target:target})"></div>
           </td>
           <td valign="top">
             <!-- Append results within the table cell.-->
             <div class="gs-title">
               <a class="gs-title"
                 data-body="html(title)"></a>
             </div>
           </td>
         </tr>
       </table>
     </div>
   </div>
 </div>
 <!-- Div container for the searcher.-->
 <div id="cse"></div>
</div>

Thanks

Yves

2012/4/15 rocits <roryr...@gmail.com>

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/K2RuoTa9T0gJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en



--
Yves Jacq -  hedolist.com
             (+33)6.15.39.67.77     

// Wants to be part of hedolist customer development?
Register online and get your invitation as a bêtatesteur.

Printing emails is SO 2009

Jeremy Geerdes

unread,
Apr 16, 2012, 7:51:43 AM4/16/12
to google-ajax...@googlegroups.com

There is no such provision for the general public.

Jg

--
Reply all
Reply to author
Forward
Message has been deleted
0 new messages