使用Python混合RSS源的好方法是什么?

时间:2022-06-21 00:34:48

SimplePie lets you merge feeds together:

SimplePie允许您将Feed合并在一起:

http://simplepie.org/wiki/tutorial/sort_multiple_feeds_by_time_and_date

Is there anything like this in the Python world? The Universal Feed Parser documentation doesn't say anything about merging multiple feeds together.

在Python世界中有这样的东西吗? Universal Feed Parser文档没有说明将多个Feed合并在一起的任何内容。

4 个解决方案

#1


This may be a good start for you. I wrote it a long time ago for one very specific combination, but I don't think I wrote it too specifically for my needs.

这对你来说可能是一个好的开始。我很久以前就写过一个非常具体的组合,但我认为我并没有根据自己的需要专门编写它。

#2


 Planet is a feed aggregator written in Python. Its development is basically dead, but the code lives on in several forks, including Planet Venus.

Planet是一个用Python编写的feed聚合器。它的发展基本上已经死了,但代码仍然存在于几个分支中,包括Planet Venus。

#3


Atomisator is a data aggregator framework. Its purpose is to provide an engine to build any kind of data by merging several sources of data. It was developed as an example application in the book Expert Python Programming. You can use different In- and Output Formats. An RSS aggregartor is part of the examples.

Atomisator是一个数据聚合器框架。其目的是通过合并多个数据源来提供构建任何类型数据的引擎。它是在专家Python编程一书中作为示例应用程序开发的。您可以使用不同的输入和输出格式。 RSS聚合器是示例的一部分。

#4


I'm using Yahoo pipes for that task. It's a set a very powerful tools. I havo pipes join feeds based on certain criteria, and have it generate a compliant rss feed that i then process with universal feed parser.

我正在使用Yahoo管道来完成这项任务。这是一套非常强大的工具。我根据某些标准管道加入Feed,并让它生成一个兼容的rss feed,然后我使用通用feed解析器进行处理。

#1


This may be a good start for you. I wrote it a long time ago for one very specific combination, but I don't think I wrote it too specifically for my needs.

这对你来说可能是一个好的开始。我很久以前就写过一个非常具体的组合,但我认为我并没有根据自己的需要专门编写它。

#2


 Planet is a feed aggregator written in Python. Its development is basically dead, but the code lives on in several forks, including Planet Venus.

Planet是一个用Python编写的feed聚合器。它的发展基本上已经死了,但代码仍然存在于几个分支中,包括Planet Venus。

#3


Atomisator is a data aggregator framework. Its purpose is to provide an engine to build any kind of data by merging several sources of data. It was developed as an example application in the book Expert Python Programming. You can use different In- and Output Formats. An RSS aggregartor is part of the examples.

Atomisator是一个数据聚合器框架。其目的是通过合并多个数据源来提供构建任何类型数据的引擎。它是在专家Python编程一书中作为示例应用程序开发的。您可以使用不同的输入和输出格式。 RSS聚合器是示例的一部分。

#4


I'm using Yahoo pipes for that task. It's a set a very powerful tools. I havo pipes join feeds based on certain criteria, and have it generate a compliant rss feed that i then process with universal feed parser.

我正在使用Yahoo管道来完成这项任务。这是一套非常强大的工具。我根据某些标准管道加入Feed,并让它生成一个兼容的rss feed,然后我使用通用feed解析器进行处理。