[英]How to mix more than 10 RSS feeds?
I just want to mix around 10 rss feeds into one and then i want to filter the results as per my requirements. 我只想将10个RSS提要混合在一起,然后按照我的要求过滤结果。
I know we can use yahoo pipes like solution for this,but due to some reasons i do not want to use yahoo's facility so is their any open source solution which i can host on my server and mix feeds using it. 我知道我们可以为此使用诸如解决方案之类的yahoo管道,但是由于某些原因,我不想使用yahoo的设施,因此可以在我的服务器上托管并使用它混合供稿的任何开源解决方案。
I am using PHP for development along with Javascript(jquery). 我正在使用PHP和Javascript(jquery)进行开发。
Can i do this using simplepie. 我可以使用simplepie做到这一点吗?
Yes, use SimplePie. 是的,请使用SimplePie。
set_feed_url()
accepts an array, and will combine all of them for you automatically. set_feed_url()
接受一个数组,并将为您自动组合所有它们。
$feed = new SimplePie();
$feed->set_feed_url(array('your','urls','here'));
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.