Well.. A bit quick maybe,

(http://blogsearch.google.com/blogsearch_feeds?hl=en&lr=lang_en&q=Johan
+Blomgren&ie=utf-8&num=10&output=atom)

I can now get the content of the feed but som parameters in the url is
still ignored,
hl=en
lr=lang_en
num=3

Does nothing from what i can see
(I get only english results in my browser but "international" i C#)

//Johan

On Mar 26, 2:02 pm, Johan <[EMAIL PROTECTED]> wrote:
> Yes! it does work now :-)
>
> That was quick. Thank you!
>
> (I just replaced the Gdata.client-dll so I've not tested if anything
> else is broken, but hey, I've just wrote 6 lines of C#-code in my
> life) :-)
>
> /Johan
>
> On 26 Mar, 12:36, Frank Mantek <[EMAIL PROTECTED]> wrote:
>
>
>
> > There is a bug in the .net library, thanks for finding it. I put a fix
> > into the subversion repository, including new DLLs. So if you would
> > kindly go there and get the latest version (or just patch
> > basefeedparser.cs into your trunk) and let me know if that fixes your
> > problems, that would be great.
>
> > Frank Mantek
> > Google
> > On Mar 24, 2008, at 9:39 PM, Johan wrote:
>
> > > Something has happend to my post :-)
>
> > > The working URI is =http://www.google.com/trends/hottrends/atom/
> > > hourly
> > > The not woking URI is (e.g.):
> > >http://blogsearch.google.com/blogsearch_feeds?&lr=&q=google+code&ie=u...
>
> > > And Yes, they both look like valid atom-feeds and i still cannot get
> > > the content from blogsearch (title, links.count and so on is found)
>
> > > I'll ask the same thing over 
> > > athttp://groups.google.com/group/gdata-dotnet-client-library
> > > ,
> > > but please feel free to help me in any way you can :-)
>
> > > /Johan
>
> > > On 24 Mar, 18:12, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>
> > > wrote:
> > >> 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to