Saturday, October 15, 2011

How to include an RSS feed in a web page or template

Sometimes you want to embed a summary of an RSS news feed in a web page, blog post or template.  Having tried various ways of doing this I have found that the simplest method is to use this service:

Its not perfect and it is remotely hosted, but it works. There are javascript, iframe and php options. The php would be ideal for including in a Wordpress template. There is also a an RSS Include Wordpress widget for embedding a feed in a sidebar or other page element.

Here is an example of what it looks like (this is the iframe version):