我有以下代码将获取博客帐户的每个博客的标题。这将列出博客的标题,但我需要的是显示博客的 id。有没有办法做到这一点?
FeedQuery query = new FeedQuery();
query.Uri = new Uri("http://www.blogger.com/feeds/default/blogs");
AtomFeed feed = null;
try
{
feed = service.Query(query);
foreach (AtomEntry entry in feed.Entries)
{
label1.Text += "Blog ID: " + entry.Title.Text ;
}
}
catch {}
提前致谢..