Hello Jochen,
Thank you for the response! I have tried various parameters for the
presentations query (full list query, setting the startindex,
maxresults, starred-only etc...), and I have also tried creating
folders which i moved a few presentations into, but the original
problem remains; If i have 10 presentations in a folder it may only
return 6 of them through a query. When I tried manually starring every
presentation (5 at a time) through the google documents page and then
querying just the starred presentations, I actually got the full list
returned correctly just once. But once I started de-starring the
presentations again, the results from the queries would vary.
Just for clarification, if I run the query 2 times successively
without actually doing anything else with my documents, I will get the
same number of results. But when I open some up or otherwise rearrange
them, then it will be different. One fact is constant however, and
that is the fact that there is always a large number of documents/
presentations "missing" from the result. I have also tried this on 2
different accounts and it seems to be the same for both accounts.
- Johan
On 10 Okt, 00:43, "Jochen Hartmann (Google)"
<[EMAIL PROTECTED]> wrote:
> Johan,
>
> You should get a consistent set of results. The order may vary. Have
> you tried using some query parameters in your request? You can
> retrieve a max of 50 results per fetch and each request should contain
> a <link> element with the 'rel' attribute set to 'next'. The 'href'
> there should point you to the next set of results.
>
> - Jochen
>
> On Oct 8, 3:46 pm, Johan <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I've been searching around the discussions for any information
> > regarding my problem, but as I couldn't find anything I decided to
> > post something about it.
>
> > I am trying to use the API to list the presentations currently on my
> > Google Documents account, but it is behaving very strangely. I
> > currently have 66 documents on my account, but when I perform an API
> > query I only get an average of 17 results (yes, it varies). It seems
> > that if I mess around with my presentations through the Google
> > Documents page, and unstar/star them, the results from the API queries
> > varies in number of presentations returned.
>
> > Just for reference, I'm using C# code like so:
>
> > DocumentsService service = new DocumentsService("hilol");
> > service.setUserCredentials("username", "password");
>
> > PresentationsQuery query = new PresentationsQuery();
> > DocumentsFeed feed = service.Query(query);
> > Console.WriteLine(feed.Entries.Count.ToString());
>
> > But I have also tried sending an authenticated HTTP GET and reading
> > the XML response "manually". Has anyone else experienced this issue?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data 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-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---