如何阅读所有Feed项?

时间:2022-09-25 10:28:01

I want to read all items of a feed in C#. The solutions I've found are only for the latest items like just the last 10 days.

我想阅读C#中所有Feed的项目。我发现的解决方案仅适用于过去10天的最新项目。

Anybody has a good solution fot this?

任何人都有一个很好的解决方案吗?

Thank you

5 个解决方案

#1


1  

If you can tie into something like Google Reader, which archives old feed items (although I'm not sure it's a permanent archive or not), then perhaps you can accomplish this.

如果你可以绑定一些像谷歌阅读器,它存档旧的饲料项目(虽然我不确定它是永久存档),那么也许你可以做到这一点。

#2


3  

Libraries for reading feeds typically read all the data in the feed, but feeds typically only contain recent data - you need a source of data that includes older items, not a better library for reading the data you have.

用于读取订阅源的库通常读取订阅源中的所有数据,但订阅源通常仅包含最新数据 - 您需要包含旧项目的数据源,而不是用于读取您拥有的数据的更好库。

Most entities publish feeds to allow people to track when new content is published, not to make all their data available in a more convenient machine readable format. For this purpose, publishing recent data only makes sense as it saves on bandwidth.

大多数实体发布供稿以允许人们跟踪何时发布新内容,而不是以更方便的机器可读格式提供所有数据。为此,发布最新数据只有节省带宽才有意义。

#3


0  

Most RSS feeds are only written to deliver a relatively short period of time - 'all' items in a feed generally need you to have created your own archive over time.

大多数RSS源只是为了提供相对较短的时间段 - 源中的“所有”项通常需要您随着时间的推移创建自己的存档。

#4


0  

Extending thomas' answer, The two google-related archives of feed data you can find are the official one:

扩展托马斯的答案,您可以找到两个与谷歌相关的饲料数据档案是正式的:

Google AJAX Feed API http://code.google.com/apis/ajaxfeeds/

Google AJAX Feed API http://code.google.com/apis/ajaxfeeds/

which will limit you to 250 items, and the unofficial one:

这将限制你250项,非官方的:

Google Reader API http://www.niallkennedy.com/blog/2005/12/google-reader-api.html

Google Reader API http://www.niallkennedy.com/blog/2005/12/google-reader-api.html

which will give you unlimited (i think) items but you will need to work around their authentication (something with cookies) and pray they don't change or drop the API (as it is undocumented).

这将给你无限的(我认为)项目,但你需要解决他们的身份验证(与cookie一起),并祈祷他们不会更改或删除API(因为它没有记录)。

#5


0  

I tried Google Reader, but ther archive was incomplete. I know the people who run the blogs, so I just asked them for a export.

我试过谷歌阅读器,但其档案不完整。我知道管理博客的人,所以我只是要求他们出口。

#1


1  

If you can tie into something like Google Reader, which archives old feed items (although I'm not sure it's a permanent archive or not), then perhaps you can accomplish this.

如果你可以绑定一些像谷歌阅读器,它存档旧的饲料项目(虽然我不确定它是永久存档),那么也许你可以做到这一点。

#2


3  

Libraries for reading feeds typically read all the data in the feed, but feeds typically only contain recent data - you need a source of data that includes older items, not a better library for reading the data you have.

用于读取订阅源的库通常读取订阅源中的所有数据,但订阅源通常仅包含最新数据 - 您需要包含旧项目的数据源,而不是用于读取您拥有的数据的更好库。

Most entities publish feeds to allow people to track when new content is published, not to make all their data available in a more convenient machine readable format. For this purpose, publishing recent data only makes sense as it saves on bandwidth.

大多数实体发布供稿以允许人们跟踪何时发布新内容,而不是以更方便的机器可读格式提供所有数据。为此,发布最新数据只有节省带宽才有意义。

#3


0  

Most RSS feeds are only written to deliver a relatively short period of time - 'all' items in a feed generally need you to have created your own archive over time.

大多数RSS源只是为了提供相对较短的时间段 - 源中的“所有”项通常需要您随着时间的推移创建自己的存档。

#4


0  

Extending thomas' answer, The two google-related archives of feed data you can find are the official one:

扩展托马斯的答案,您可以找到两个与谷歌相关的饲料数据档案是正式的:

Google AJAX Feed API http://code.google.com/apis/ajaxfeeds/

Google AJAX Feed API http://code.google.com/apis/ajaxfeeds/

which will limit you to 250 items, and the unofficial one:

这将限制你250项,非官方的:

Google Reader API http://www.niallkennedy.com/blog/2005/12/google-reader-api.html

Google Reader API http://www.niallkennedy.com/blog/2005/12/google-reader-api.html

which will give you unlimited (i think) items but you will need to work around their authentication (something with cookies) and pray they don't change or drop the API (as it is undocumented).

这将给你无限的(我认为)项目,但你需要解决他们的身份验证(与cookie一起),并祈祷他们不会更改或删除API(因为它没有记录)。

#5


0  

I tried Google Reader, but ther archive was incomplete. I know the people who run the blogs, so I just asked them for a export.

我试过谷歌阅读器,但其档案不完整。我知道管理博客的人,所以我只是要求他们出口。