Pages

Saturday, August 13, 2011

How to Create an RSS Feed for Your Web Site

How to Create an RSS Feed for Your Web Site


Most of People looking what is RSS, here is the solution you can find out what is RSS and how to create it, and use of it, look forward

Are you always looking for new and better ways to market your web site? Search engines are always on the look out for fresh content. When doing a search you don't want old content popping up, you want to have the most up to date information. Search engines will generally reward those sites which provide new content on a regular basis is daily or even bi-weekly.

One of the best ways to provide fresh content is to create an RSS Feed.


What is an RSS Feed?
RSS stands for "really simple syndication". For example I write articles every 2 weeks and place them on my web site or blog. I then link to that article from my home page and from my
article headlines page. I make that article available to others as an item in my RSS file. People who use RSS readers or news aggregators can read then link to your article from their web site.
You have now syndicated your content for others to view. This is a great way to improve or maintain your search engine rankings by naturally getting incoming links. Every time you write a new article it will be instantly available to 1000s of web site owners.
How to create an RSS File

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 notepad on your computer

Then copy and paste the information below replacing it with your own title, description and link information.

The first part contains information about your web site. The second part contains information for one of your articles. You can also include optional information in your headlines such as language, copyright info, contact email addresses, or 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.


Here's the example:

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

<channel>
<title>Web Site Design | Hosting | Marketing</title>
<link>http://website.com</link>
<description>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.website.com/add-search-engine.htm</link>
<description>

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>

you have now created your first RSS file that is almost ready for syndicating.

2. Save your RSS file

Save your RSS file in plain text format with an XML extension in
http://www.website.com/rss/rss-feed.xml. You can also save it as .rss however when I
Originally tried this some RSS readers did not read the file.

3. Check your RSS file

Since RSS is an XML file some characters are illegal in XML so you have to 'escape' them, that is, insert a text string in their place.

Here are the main ones to watch out for:

-Replace all instances of '&' with: &amp; for example if you use quotation marks ie "Click
Here" change it to & quot; Click Here & quot;

-Change every apostrophe to &apos; For example: It's a boy. Becomes It & apos; s a boy.

4
. Upload your RSS file

Upload your RSS file to your root directory in the same directory as your homepage

5. Validate your RSS file

Don’t assume your file is correctly coded. If not, it won't be read by RSS readers and all your hard work will be in vain.


0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More