How to display RSS feed on your website.

RSS Image
Image credit:Kyle Wegner

OK, admit this. You have a nice-looking website. The color and the graphics look pleasing
to visiting eyes. But you do not get a lot of loyal visitors. The problem may not be your design,
it may be the static content that is turning the visitors off. If you do not update your website regularly, you may not attract enough repeat visitors. One way to juice up your website is to display RSS feeds from other relevant and reputable websites. Don’t know how to incorporate the RSS feeds into your website? Here is what you need:

All you need is some basic JavaScript knowledge. In fact, you don’t even need that if you know how to cut & paste and which files to update. Yes it is that easy and thanks Google for this convenience. What was once considered a tedious task, Google made it super duper easy. Google developed an AJAX based API that you can call from a JavaScript method.

The API returns the content of the RSS feed that you specify. And then you can display that content on your own web site.

You can visit Javascrip Kit for a detailed explanation of Google API.
There you will also find some easy-to-follow examples that you can use on your website. Just change the feed URL in the JavaScript to the ones that you want to display on your website.

For official documentation and examples from Google visit Google APIs page page.
Enjoy!

Comments 2

Leave a Reply

Your email address will not be published. Required fields are marked *