How to Create an RSS file
December 28th 2006 08:03
RSS files use the XML language. This is similar to html except you must be careful to use closing tags and be sure to validate it before you use it. An XML file contains the information (Title, Description and Link URL) that your audience will receive through a RSS reader.
Here is all you need to create an RSS file:
-Title
-Description
-Link
1. Open the notepad of your computer
Here is an example of how a RSS code. You can just copy and paste this in your computer’s notepad and then replace it with you own title, description and link information.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="0.91">
<channel>
<title>Web Site Design | Hosting | Marketing</title>
<link>http://www.isitebuild.com</link>
<
escription>Affordable Web Design in Maryland</description>
<language>en-us</language>
<item>
<title>How to Add a Search Engine to Your Site </title>
<link>http://www.isitebuild.com/add-search-engine.htm</link>
<
escription>
When visitors arrive at your web site you want them to find
the information quickly otherwise they will lose patience
and move on. A great way achieve this is to add a search
engine or search box to your web site.
</description>
</item>
</channel>
</rss>
The first part contains information about your website. The second part will contain information about one of your articles. In your headlines, you can include optional information such as your e-mail, copyright info, or even an image. Try to limit the number of articles you wish to include in your RSS file to 5 or less. Enclose your RSS information with the xml and rss versions you are using followed by the channel and item tags. Finish off with the RSS closing tag.
2. Save your RSS file
When saving your rss file, save it in plain text format with an XML extentsion, ie http://www.seopulp.com/rss/rss-feed.xml.
3. Check your RSS file
Since RSS is in a XML file some characters are illegal, you can however remedy this by inserting a text string in place.
• Replace all instances of '&' with: & if you use quotation marks ie "Click Here" change it to "Click Here"
• Change every apostrophe to ' For example: It's a boy. becomes It's a boy.
4. Upload your RSS file to your root directory
5. Validate your RSS file
Don’t go assuming that the RSS file you have created is perfect. If your code has some errors, it won’t be read by RSS readers at all.
Here are some validators:
http://feedvalidator.org/
http://aggregator.userland.com/validator
Here is all you need to create an RSS file:
-Title
-Description
-Link
1. Open the notepad of your computer
Here is an example of how a RSS code. You can just copy and paste this in your computer’s notepad and then replace it with you own title, description and link information.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="0.91">
<channel>
<title>Web Site Design | Hosting | Marketing</title>
<link>http://www.isitebuild.com</link>
<
<language>en-us</language>
<item>
<title>How to Add a Search Engine to Your Site </title>
<link>http://www.isitebuild.com/add-search-engine.htm</link>
<
When visitors arrive at your web site you want them to find
the information quickly otherwise they will lose patience
and move on. A great way achieve this is to add a search
engine or search box to your web site.
</description>
</item>
</channel>
</rss>
The first part contains information about your website. The second part will contain information about one of your articles. In your headlines, you can include optional information such as your e-mail, copyright info, or even an image. Try to limit the number of articles you wish to include in your RSS file to 5 or less. Enclose your RSS information with the xml and rss versions you are using followed by the channel and item tags. Finish off with the RSS closing tag.
2. Save your RSS file
When saving your rss file, save it in plain text format with an XML extentsion, ie http://www.seopulp.com/rss/rss-feed.xml.
3. Check your RSS file
Since RSS is in a XML file some characters are illegal, you can however remedy this by inserting a text string in place.
• Replace all instances of '&' with: & if you use quotation marks ie "Click Here" change it to "Click Here"
• Change every apostrophe to ' For example: It's a boy. becomes It's a boy.
4. Upload your RSS file to your root directory
5. Validate your RSS file
Don’t go assuming that the RSS file you have created is perfect. If your code has some errors, it won’t be read by RSS readers at all.
Here are some validators:
http://feedvalidator.org/
http://aggregator.userland.com/validator
| 60 |
| Vote |



Add Comments
Read More
Comments (1)




