Hello Jochen,

Thanks again for looking into this issue. I also thought at first that
it was the .NET library that wasn't entirely perfect (someone had also
mentioned some issues with the XML parser), so I went ahead and tried
it out with just sending an authenticated HttpWebRequest and saving
the XML-response to a file and then reading through it manually. The
results are the same here as if I would do it through the .NET API, so
it really seems like it would be something server-side that doesn't
agree with my google documents presentations. A friend of mine have
also tried it in PHP and had similar results.

Have you tried putting over 50 documents in any folder and performing
a query on all of them? Another note about the presentations I have is
that they are all shared with other people, and some of them I only
have viewer rights for (some of them are still returned as results
though, even if I am not the owner).

On 11 Okt, 00:01, "Jochen Hartmann (Google)"
<[EMAIL PROTECTED]> wrote:
> Hi Johan,
>
> I can't reproduce this behavior. I have tried with just a series of
> shell scripts. I can re-query a folder's documents and get the same
> result every time. Even if I go ahead and change the title of my docs,
> it still works. So it sounds like your issue has to do with the .NET
> client library, so I would recommend filing a bug on the issue
> tracker:
>
> http://code.google.com/p/google-gdata/issues/list
>
> Thanks
> - Jochen
>
> On Oct 10, 8:35 am, Johan <[EMAIL PROTECTED]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to