Saturday, April 17, 2010

How can i use RSS to display posts on my static html pages?

I am very new to RSS. I was under the impression that I can use RSS to display blog posts, news articles etc... on a static HTML page. How do i do that? I use the google reader for my RSS. Will that help or do i need something else? I want to customize the posts/news that will be shown on the static HTML page ( for example if it is possible to set the font color and size )

How can i do that?

How can i use RSS to display posts on my static html pages?
It sounds like you want to display an RSS feed within your HTML website. The easiest/best way to do this is to use RSS2HTML a free PHP script. This means that you can retain the complete control of the HTML layout (using templates) and make it match your existing design. Additionally using PHP rather than JavaScript will mean that search engine spiders can "spider" the contents of the RSS feeds.

Additional details and a free rss2html download is available at:

Additional information and other options for displaying RSS feeds can be found at:

Reply:You have three basic options.

(1) Have something running that downloads the RSS, generates some HTML from it, then stores it on the server. You end up with a static page.

(2) Have something running on the server that generates HTML on demand. This is a dynamic page, so doesn't suit your needs.

(3) Use something like to convert the RSS feed to JSON, then process that with client side JavaScript. There is nothing dynamic on the server, but there is client side code.

Google Reader will not help.

No comments:

Post a Comment