How to make RSS feed

RSS feed is a method for broadcasting your site. It’s a xml file that describes your site condition so that everyone can access it. Usually the description on rss feed only contain teaser of the article.
RSS feed consists of items. Each item represents article on your website. An item usually consists of TITLE , DESCRIPTION (this is where the teaser located), URL (url which the viewer should click to open the article’s full version). Each item should be opened with <item> tag and closed with </item> tag.

<item>
<title>My New Article</title>
<description>Hey guys, i guess it’s already a long time not writing on this blog… bla…bla…bla…</description>
<link>http://yourblog_URL.com/2008/10/10/new-article</link>
</item>

One rss file can contain many items that represents the amount of articles you’d like to broadcast. A RSS file should also contain Title, Description and Link that describes the root address of your blog, for example:

<title>Your blog's Title</title>
<description>Everything about Computer</description>
<link>yourblog_URL.com</link>

The information of your blog should be contained inside the <channel> and </channel> tag, but outside the <item> and </item> tag.

Insert the version of your RSS feed by using:

<?xml version="1.0" ?>

So the complete code should be:

<?xml version="1.0" ?>
<rss version=”2.0″>

<channel>

<title>Your blog's Title</title>
<description>Everything about Computer</description>
<link>yourblog_URL.com</link>

<item>
<title>My New Article</title>
<description>Hey guys, i guess it’s already a long time not writing on this blog… bla…bla…bla…</description>
<link>http://yourblog_URL.com/2008/10/10/new-article</link>
</item>


<item>
<title>Old article Article</title>
<description>Old article’s contain…</description>
<link>http://yourblog_URL.com/2008/10/10/old-article</link>
</item>

</channel>

</rss>

Google
 

Leave a Reply

170 views