5 messages in com.googlegroups.bloggerdevRe: [bloggerDev] Re: Getting feeds fr...| From | Sent On | Attachments |
|---|---|---|
| Charlie Bear | 06 Sep 2006 10:58 | |
| Frank Mantek | 06 Sep 2006 12:02 | |
| Pete Hopkins ☠ | 06 Sep 2006 12:54 | |
| Frank Mantek | 06 Sep 2006 23:34 | |
| Charlie Bear | 07 Sep 2006 02:04 |
| Subject: | Re: [bloggerDev] Re: Getting feeds from beta blogs![]() |
|---|---|
| From: | Frank Mantek (fman...@gmail.com) |
| Date: | 09/06/2006 11:34:07 PM |
| List: | com.googlegroups.bloggerdev |
you learn something new every post :)
Frank Mantek
On 9/6/06, Pete Hopkins ☠ <phop...@google.com> wrote:
On 9/6/06, Frank Mantek <fman...@gmail.com> wrote:
i doubt you need to authenticate yourself for a readonly operation (although i have not tried accessing the feeds readonly), and your code is pretty much a 1:1 of the unittest file blogger.cs in the csharp lib.
You *will* need to authenticate to GET a feed from www.blogger.com. (This is not true of beta.blogger.com.)
-- Pete
What's wrong is the service name.
The service name for blogger is "blogger", not "cl". So what you are doing is:
tell the C# code that you want to talk to the calendar. Then you give us credentials. With those credentials we get you a nice valid calendar token to use.
Next we know, we use that token at the wrong toll booth. And they say: no. So change "cl" to "blogger" and it should work fine. You might also want to checkout:
a) are you running 1.05 of the C# library? If not, upgrade b) if you are using 1.05, checkout blogger.cs in the unittest directory and the blogger sample app
Regards
Frank Mantek
On 9/6/06, Charlie Bear <char...@contrapositive.tv> wrote:
Hi,
i may be just plain dumb but i can't figure out for the life of me how to get feeds from the beta blogs using c# gdata lib.
what i want to do is display the feeds from my blogs on a website.
When i impliment the sample code found on the api pages i get a 401 "not authorised" error. i can't figure out how to autheticate and i'm not sure why i need to since i only want to read the feed files, my rss readers (like firefox) don't authenticate why does my web app have to? surely rss is public?
the code i use is:
FeedQuery query = new FeedQuery(); Google.GData.Client.Service service = new Service("cl", "exampleCo-exampleApp-1"); NetworkCredential nc = new NetworkCredential("char...@contrapositive.tv", password); query.Uri = new Uri(" http://beta.blogger.com/feeds/2782979428496788466/posts/full"); AtomFeed feed = service.Query(query);
i have another .net atom class library called Atom.Net but when i use that with my blog's feed address it can't find any entries. It can with the old blogger.
Does this mean the format has changed? How do i get a Atom feed?
Sorry if this is dumb but i can't seem to work out the documentation...




