Hi Johan, It's a little strange that your code would work for one of the feeds but not the other, since they both seem to be valid Atom feeds from what I can tell (although the top one you have an extra "http:" on the beginning, which needs to be removed.)
However, this isn't a Google Data API you are using, this is merely using the .NET client library to parse a normal Atom feed. This _should_ work, though I suppose is not guaranteed. If you find that the client library is still not parsing Atom feeds correctly, you should report it to the .NET client library group: http://groups.google.com/group/gdata-dotnet-client-library Cheers, -Jeff On Mar 23, 12:55 pm, Johan <[EMAIL PROTECTED]> wrote: > Hi, > > This code gives me the content and title of the (single) entry of the > google hot trends feed. > <code> > // Create a query and service object: > > FeedQuery query = new FeedQuery(); > Service service = new Service("bl", "dryg-test-1"); > > // Create the query object: > query.Uri = new Uri("http:http://blogsearch.google.se/ > blogsearch_feeds?hl=sv&um=1&q=google > +code&ie=utf-8&num=3&output=atom.google.com/trends/hottrends/atom/ > hourly"); > > // Tell the service to query: > AtomFeed calFeed = service.Query(query); > foreach (AtomEntry entry in calFeed.Entries) > { > textBox1.Text = entry.Title.Text; > richTextBox1.Text += entry.Content.Content; > > } > </code> > > If I change the Uri > to:http://blogsearch.google.se/blogsearch_feeds?hl=sv&um=1&q=google+code... > > I DO NOT get the content in that feed? > > Why is that? the feed has <content> when i Look at it in the browser. > > Also, is the URI really the one that is used or does AtomFeed get the > full feed? > (the num=3 parameter does nothing, I still get 10 entrys) > > /Johan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Data API" group. To post to this group, send email to google-help-dataapi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---