聚合和显示来自数百个 RSS 源的内容
我想建立一个网站来聚合和显示来自数百个 RSS 源的内容。这些提要将来自不同的网站:Twitter、Flickr、Tumblr 等,因此内容将非常异构。
在一个完美的世界中——这更多的是一个附带问题——我希望允许其他人帮助管理提要列表,并将标签分配给每个单独提要的内容,以便您可以过滤显示的项目。
到目前为止我已经尝试过:
Google Feeds API - 我认为这就是答案,但除非我遗漏了某些内容,否则
FeedController
只会将收集的提要内容输出为单独的列表。有没有办法要求 Google Feeds API 在显示之前聚合和排序来自许多 RSS feed 的内容?雅虎!管道——一开始这似乎也是一个不错的解决方案。我设置了一个 Pipe,用于访问存储在 Google Doc 电子表格中的 RSS 提要列表,然后聚合内容。然而,输出结果还有很多不足之处;例如,Tumblr 视频帖子仅显示标题和帖子的永久链接,嵌入的 Youtube 视频会丢失。
PHP – 我见过这个问题,看起来就像一个好方法。我对 PHP 不太精通,所以尽管我愿意学习,但我理想情况下希望找到一种不同的方法。
有什么想法吗?谢谢。
I'd like to build a website that aggregates and displays content from hundreds of RSS feeds. The feeds will be from different sites: Twitter, Flickr, Tumblr, etc, so the content will be very heterogenous.
In a perfect world — and this is more of a side issue — I would like to allow other people to help manage the list of feeds and assign tags to the content from each individual feed so that you can filter the items that are displayed.
What I've tried so far:
Google Feeds API – I thought this would be the answer, but unless I'm missing something, the
FeedController
will only output the collected feed content as separate lists. Is there any way to ask the Google Feeds API to aggregate and sort the content from many RSS feeds before displaying?Yahoo! Pipes – This also seemed like a good solution at first. I setup a Pipe that accesses a list of RSS feeds stored in a Google Doc spreadsheet and then aggregates the content. However, the output leaves a lot to be desired; Tumblr video posts, for example, only show a title and a permalink to the post, the embedded Youtube video is lost.
PHP – I've seen this question, which looks like a good approach. I'm less proficient in PHP, so although I'm willing to learn, I'd ideally like to find a different approach.
Any thoughts? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我最喜欢的仍然是 Yahoo Pipes。通过一些修改,您也许能够保留视频标签。您有相关管道的链接吗?
My favourite is still Yahoo Pipes. With a little bit of tinkering, you might be able to get the video tags preserved. Do you have a link to the pipe in question?
实际上,我正在为我的一个项目这样做。
我正在使用 ASP.NET & C#。
我有定期发出并检索每个提要中的数据的功能。我将新项目存储在 SQL Server 中。这样我就可以在我的网站上以我喜欢的方式对提要中的数据进行分组、排序和显示。根据站点和项目标题中的关键字,当每个项目添加到数据库时,我会自动为其分配标签。
Actually, i'm doing this for one of my projects.
I'm using ASP.NET & C#.
I have functionality that goes out regularly and retrieves the data in each feed. I store new items in SQL Server. This way I can group, sort, display the data in the feeds anyway I like on my website. Depending on the site and the keywords in the item titles, I assign tags to each item automatically when it's added to the database.
将您的内容放入数据库,并使用世界上最好的工具进行排序/过滤。
put your CONTENT into a database, and use the best tools in the world to sort / filter.
Google Feeds API 非常适合收集 RSS feed,以 arduino 论坛 feed 为例,它只包含最新的 5 个条目。 google feed api 的历史条目功能解决了这个问题。
我会使用 google feed api 来输入 yahoo 管道,因为这可以为您提供寻找、标记、过滤的控件...
Google Feeds API is good for collecting RSS feeds, take the arduino forum feed it only contains the latest 5 entries. The historic entries feature of google feed api fixes that issue.
I would use use google feed api to feed into yahoo pipes as that gives you the controls your looking for, tagging, filtering...
两个建议:
Two suggestions: