Hi,

There isn't an API for Google Bookmarks, though there is a feature
request to create one:

http://code.google.com/p/gdata-issues/issues/detail?id=120

I'm guessing your code is trying to just use HTTP Basic Auth to
retrieve the rss feed, which I'm certain isn't supported by the
service, as it most likely uses cookie-based authentication through
the sign on page.

Cheers,
-Jeff

On Jan 24, 12:21 pm, slishnevsky <[EMAIL PROTECTED]> wrote:
> Hello, I am trying to read google bookmarks like this
> (username&password are mine of course):
>
> XmlUrlResolver resolver = new XmlUrlResolver();
> resolver.Credentials = new NetworkCredential("username", "password");
> XmlTextReader reader = new XmlTextReader("http://www.google.com/
> bookmarks/?output=rss");
> reader.XmlResolver = resolver;
> XmlDocument document = new XmlDocument();
> document.Load(reader);
>
> ==========================================================
> or like this:
>
> WebClient client = new WebClient();
> client.Credentials = new NetworkCredential("username", "password");
> string response = client.DownloadString("http://www.google.com/
> bookmarks/?output=rss");
>
> ==========================================================
>
> But it fails with "The remote server returned an error: (401)
> Unauthorized." error message.
> Anybody knows why?
--~--~---------~--~----~------------~-------~--~----~
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