Home > DeveloperSection > Blogs > Creating RSS feed for website

Creating RSS feed for website


XML XML 
Ratings:
0 Comment(s)
 2504  View(s)
Rate this:

Creating RSS feed for website

RSS stands for Really Simple Syndication or it's sometimes referred to as Rich Site Summary.  It's an XML-based content format for distributing news, headlines, content, etc.

Most popular sites news sites and blogs provide RSS feeds for you to subscribe to. All you need is a feed reader to view its contents. You can also create feeds for your own website so your audience can subscribe to them. If you update your content frequently and promote the feed effectively, it can help drive more steady traffic to your website.

There is some specific format from which you can create RSS feed. Let’s take a simple example, how to create RSS feeds for website.

Here I’m just creating a dynamic RSS page for Articles, Blogs and Forums etc. With the help of this a user can bookmark either article sections, blogs section or forums sections.

To create a RSS feeds you start off the RSS file as follows:

<xml version="1.0" encoding="utf-8">

<rss version="2.0">

<channel>

The first two lines specify the XML and RSS version as you can see. The third line opens a ‘channel’ tag. This is what would contain all the information for your channel or website.  Add these three lines as they are.

<title>Title of RSS Feed</title>

<link>Web link of title</link>

<description>Description about Title</description>

RSS Page format:

<?xml version="1.0" encoding="ISO-8859-1" ?>

<rss version="2.0">

<channel>

<title>Title of RSS Feed</title>

<link>Web link of title</link>

<description>Description about Title</description>

<item>

Here you will mention your items title, link and description etc.

</item>

</channel>

</rss>

Now save this file .rss extension and use in your website pages. This is the complete description on creating RSS feed for website. I hope this article will help you in creating your RSS feeds.


Don't want to miss updates? Please click the below button!

Follow MindStick