如何从RSS网址获取更多供稿? [英] How to get more feeds from RSS url?

查看:109
本文介绍了如何从RSS网址获取更多供稿?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我们以以下rss-link为例: http://yourdailygerman.wordpress.com/feed/

Let's take for example the following rss-link: http://yourdailygerman.wordpress.com/feed/

如您所见,RSS一次仅发布一项.

As you can see, the RSS publishs only 1 item at a time.

但是,RSS Readers服务(例如Feedly(以及更多))成功检索到更多项目: http://feedly.com /index.html#subscription%2Ffeed%2Fhttp%3A%2F%2Fyourdailygerman.wordpress.com%2Ffeed%2F

However, RSS Readers services like Feedly (and more), success to retrive more items: http://feedly.com/index.html#subscription%2Ffeed%2Fhttp%3A%2F%2Fyourdailygerman.wordpress.com%2Ffeed%2F

我打开提琴手,发现它们有自己的API(随着要计数的物品的计数,"count"参数紧随其后),我想知道-他们是怎么做到的??

I opened fiddler and I saw they have their own API (following "count" paramter as the items count to get), and I wonder - How they do that???

谢谢!

推荐答案

如果这是您第一次获取,则无法从Feed中获取更多项目...但是(这就是Feedly所做的!),可以存储今天的内容,以便明天添加新项时,您将拥有今天和明天的项...等等.最终,您将有足够的数据!

You can't get more item from a feed if it's the first time you fetch it... however (and this is what Feedly does!), you can store the content of today, so that when new items are added tomorrow, you have the items from today and tomorrow... etc. Eventually you'll have enough data!

这篇关于如何从RSS网址获取更多供稿?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆