如何显示来自其他网站的RSS提要 [英] How to display RSS feeds from other sites

查看:122
本文介绍了如何显示来自其他网站的RSS提要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我几天来一直在研究这个话题,而且对于如何做到这一点,我还是不明智的。



我想要一个RSS从forexfactory.com喂到我的网站,我想对发生的事情做一些格式化,我也想从他们那里得到最新的信息(尽管最后两点可以等待,只要我有更多的或饲料运行)。 >

如果有人知道教程或我可以使用的东西,我最好从头开始研究这一点?

如果没有,我会解决使用第三方API或类似的东西,只要我做一些工作。



我不确定它是什么是,但有一些关于RSS,我没有得到,所以如果有人知道任何好的,可能基本的教程,这将帮助我很多。这是一种很难通过一页接一页的谷歌搜索。



另外,我不会在JavaScript中输出语言,但PHP或HTML会很棒。



感谢您的帮助。

解决方案

看起来像SimplePie可能是你在找什么。这是一个非常基本的RSS插件,它非常易于使用并且可以自定义。您可以从网站下载。



您可以使用它在裸露的骨头,或者您可以深入探究插件,如果你愿意的话。以下是演示在他们的网站上。


I have been researching this topic for a few days now and i'm still non the wiser as on how to do it.

I want to get an RSS feed from forexfactory.com to my website, i want to do some formatting on whats happening and i also want the latest information from them (Although those last two points can wait as long as i have some more or feed running).

Preferably I'd like to develop this from the ground up if anyone knows of a tutorial or something i could use?

If not i will settle for using a third party API or something like that as long as i get to do some of the work.

I'm not sure what it is but there is something about RSS that i'm not getting so if anyone knows of any good, probably basic tutorials that would help me out a lot. It's kind of hard going through page after page of google searches.

Also i'm not to fussed on the language it's outputted in Javascript, PHP or HTML will be great though.

Thanks for the help.

解决方案

It looks like SimplePie may be what you are looking for. It's a very basic RSS plugin which is quite easy to use and is customisable too. You can download it from the website.

You can use it at it's bare bones or you can delve deeper in to the plugin if you wish. Here's a demo on their website.

这篇关于如何显示来自其他网站的RSS提要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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