6 messages in com.googlegroups.bloggerdevRe: [bloggerDev] Re: Problem about Bl...| From | Sent On | Attachments |
|---|---|---|
| martin | 20 Mar 2007 00:52 | |
| Pete Hopkins ☠ | 21 Mar 2007 10:39 | |
| martin | 22 Mar 2007 01:36 | |
| Pete Hopkins ☠ | 22 Mar 2007 11:23 | |
| martin | 02 Apr 2007 06:51 | |
| Pete Hopkins ☠ | 02 Apr 2007 10:18 |
| Subject: | Re: [bloggerDev] Re: Problem about Blogger Data API example![]() |
|---|---|
| From: | Pete Hopkins ☠ (phop...@google.com) |
| Date: | 03/22/2007 11:23:57 AM |
| List: | com.googlegroups.bloggerdev |
Make sure you're getting the right link tag from the blog entries. I think you're getting the self or edit link, and you want #post.
-- Pete
On 3/22/07, martin <mart...@gmail.com> wrote:
Oh, let me describe what i want First the user press the button, then a list of user's blogs will be displayed in the rich text box "output"
For example (in the rich text box): http://abc.blogspot.com/feeds/posts/default http://bcd.blogspot.com/feeds/posts/default http://cde.blogspot.com/feeds/posts/default . . . . However, when i used the code shown in my previous post, I just grab a strange link that is quite different form my expectation, the link is: http://www.blogger.com/feeds/700464276665/blogs
After i got those user blogs, then i will try to access the content of those blogs (for example, to find the blog post which contains a specific string), but this is the next task i wanna do.
If there is anything that is unclear, i will try my best to explain it, and Thank for your kindly reply :)
On 3月22日, 上午1時39分, "Pete Hopkins ☠" <phop...@google.com> wrote:
I don't understand. Please be clearer (with examples of output, etc.) about what you are seeing, and what you expect to see.
-- Pete
On 3/20/07, martin <mart...@gmail.com> wrote:
Hello, I am doing a project that uses Blog content randomly in Blogger's bloggosphere. In order to access the Blog content, I try to use the Blogger DataAPI (C# client library), and Visual Stdio 2005 is used to build the program.
According to the Blogger example (titled: Get a list of user blog) provided, I have written a simple C# code in order to get a list of blog, so that i can extract content form those blog, the code is shown as follow: { FeedQuery myQuery = new FeedQuery(); Service myService = new Service("blogger", "blogger_app");
NetworkCredential nc = new NetworkCredential("XXXX", "XXXX"); myService.Credentials = nc;
myQuery.Uri = new Uri("http://www.blogger.com/feeds/default/ blogs");
AtomFeed resultFeed = myService.Query(myQuery);
output.Text = resultFeed.Links[0].AbsoluteUri.ToString(); } Once the user press a button, then above code will be excecuted, ("output" is just a rich text box that is used to show the link that the program grabs.)
After i execute the program, i just grab 2 same link: http://www.blogger.com/feeds/700464276665/blogs
These links are quite different from the example metafeed provided in the example. I wanna ask that, am i grab the wrong thing?? or i just used the wrong method???




