如何在Google新闻RSS提要中获取相关文章集群?
谷歌在使用RSS新闻源时包括以下要求: 包括一个到谷歌新闻相关文章的链接 新闻项,使用Google新闻提要中提供的链接 此链接应包含与当前项目相关的其他文章的集合。RSS提要中每个节点中的xml属性如下所示:如何在Google新闻RSS提要中获取相关文章集群?,rss,google-news,Rss,Google News,谷歌在使用RSS新闻源时包括以下要求: 包括一个到谷歌新闻相关文章的链接 新闻项,使用Google新闻提要中提供的链接 此链接应包含与当前项目相关的其他文章的集合。RSS提要中每个节点中的xml属性如下所示: <guid isPermaLink="false">tag:news.google.com,2005:cluster=43982360597436</guid> tag:news.google.com,2005:cluster=43982360597436 但是
<guid isPermaLink="false">tag:news.google.com,2005:cluster=43982360597436</guid>
tag:news.google.com,2005:cluster=43982360597436
但是,我不知道如何使用它来获取相关文章的列表。有人知道怎么做吗?您需要查看RSS提要的顶部,尤其是包含新闻群集链接的
节点
例如:
<rss version="2.0">
<channel>
<generator>NFE/1.0</generator>
<title>Google News</title>
<link>http://news.google.com/news?pz=1&ned=us&hl=en&topic=snc&ncl=dd_4rHFR0wfHJ5M35r9VmSXgpLESM</link>
<language>en</language>
<webMaster>news-feedback@google.com</webMaster>
<copyright>&copy;2014 Google</copyright>
<pubDate>Tue, 19 Aug 2014 03:31:53 GMT</pubDate>
<lastBuildDate>Tue, 19 Aug 2014 03:31:53 GMT</lastBuildDate>
...
NFE/1.0
Google新闻
http://news.google.com/news?pz=1&ned=us&hl=en&topic=snc&ncl=dd_4rHFR0wfHJ5M35r9VmSXgpLESM
EN
新闻-feedback@google.com
&;复制2014年谷歌
2014年8月19日星期二03:31:53 GMT
2014年8月19日星期二03:31:53 GMT
...
在这里,
节点中的URL将引导您进入构成新闻集群的位置。哇。。。我从来没想到会看到那片土地。谢谢