简体   繁体   English

Gizmodo RSS Feed变得过时

[英]Gizmodo RSS Feed getting stale

I started pulling information from blogs into an app I am building using RSS. 我开始将博客中的信息提取到使用RSS构建的应用程序中。 I have a cron job that runs every minute and does a fetch and parse of the rss feeds of multiple sites. 我有一个cron作业,每分钟运行一次,并提取和解析多个站点的rss feed。 New blog posts are added to my database everytime a new article shows up in the feed. 每当提要中出现新文章时,新博客文章就会添加到我的数据库中。 I am using Feedjira to do the retrieving and parsing of the feed. 我正在使用Feedjira进行提要的提取和解析。 Everything works perfect for every blog I have tried so far except Gizmodo. 除了Gizmodo之外,所有内容都对我迄今为止尝试过的每个博客都完美。 After about 10 mins the RSS feed I receive stops updating, even though the blog keeps updating. 大约10分钟后,即使博客不断更新,我收到的RSS feed也停止更新。 I am not sure what is wrong and how to go about investigating it. 我不确定哪里出了问题以及如何进行调查。 DO big sites like Gizmodo have a rate at which u can check their RSS feed? 像Gizmodo这样的大型网站是否有您可以检查其RSS feed的费率?

Yes, they do! 是的,他们做到了! Which is why you have to consider implementing thins like PubSubHubbub which will let you be notified when some feeds are updated. 这就是为什么您必须考虑实现诸如PubSubHubbub之类的Thin的原因 ,当您更新某些feed时,它会通知您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM