OK - That exactly what needed ! Great - Thanks !
Paul /)/+) On Mar 9, 4:20 pm, Ben Lisbakken <[email protected]> wrote: > Hey pp -- > > Try taking a look at this > code:http://savedbythegoog.appspot.com/?id=ag5zYXZlZGJ5dGhlZ29vZ3IRCxIJU2F... > > You need to set the number of entries that you wish to receive in our > API. You can do that with setNumEntries(). > > -Ben > > On Mar 7, 3:07 am, pp <[email protected]> wrote: > > > I have a public google doc spreadsheet which works fine: > > >http://spreadsheets.google.com/pub?key=pKHdRlg23traac9RsFYQ0OQ > > > I am using a feed to pull out the data (code follows) but it is only > > returning 4 cells... and there are more than that number of non-empty > > cells... > > > Putting the feed url straight in to the browser gives the correct > > results but sniffing the incoming feed result shows only the 4 cells. > > > So it looks like the feed think is broken... > > > Any ideas? > > > A fix would be best, but an immediate work around will do :-) > > > Paul /)/+) > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml"> > > <head> > > <meta content="text/html; charset=windows-1252" http-equiv="Content- > > Type" /> > > <title>Bad Google</title> > > <script src="http://www.google.com/jsapi" type="text/javascript"></ > > script> > > <script type="text/javascript"> > > google.load("feeds", "1"); > > </script> > > <script type="text/javascript"> > > google.setOnLoadCallback(initOnLoad); > > function initOnLoad() > > { > > // Sheet > > var feed = new google.feeds.Feed("http://spreadsheets.google.com/ > > feeds/cells/pKHdRlg23traac9RsFYQ0OQ/1/public/basic?range=r1c1:r2c10"); > > feed.load( function (result){ > > if (!result.error) { > > alert(result.feed.entries.length); > > } > > else > > alert(result.error.message); > > } > > )} > > > </script> > > </head> > > <body> > > </body> > > </html> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
