How to Create an RSS Feed

An RSS news feed can be used to communicate with your target audience. It is an ideal means of notifying people of new content on your website without the need for them to keep on visiting your site. You can send newsletters to your readership without having to use email and risk being accused of spamming. You will be comfortable in the knowledge that people who request your feed are actually interested in it because they have actively subscribed to it. This article will explain just how to create your own RSS news feed.

There are a couple of ways to create an RSS file, you can use an editor designed for the purpose or you can create a file using a simple text editor. The latter will require you to learn some XML whilst the former will do the hard part for you. First off I will describe an RSS file, there are several versions and I will be showing you version 2.0, the latest RSS version.

An RSS file looks just like an HTML file except it has different tags and the files end in .rss or .xml rather than .html. The file is made up of header information and item information, the item information contains the actual news items.

The first section of the file contains the header information. This states that the file is XML and which version, the encoding used and the version of RSS that you are using. This part of the file is mandatory. Next up is the channel tag, this encloses the whole of the rest of the file. This is followed by a title, description and link which explain the what the feed is about and what website it is associated with. The final part of the header is the optional image information. If you use this the software that is used to parse or read your file can display a small picture such as a logo.

Please note that in these examples I have used square brackets instead of angled brackets.

[?xml version="1.0" encoding="iso-8859-1"?]
[rss version="2.0"]
[channel]
[title]The Widget news feed[/title]
[description]The latest news on widgets[/description]
[link]http://www.widget.com/[/link]
[image]
[title]Widget News[/title]
[url>http://www.widget.com/widget.gif[/url]
[link>http://www.widget.com/[/link]
[/image]

The body of the file is made up of the news items. Each news item is enclosed in the item tag and comprises of a title, a description and a published date. The date needs to be in the format shown in the example below.


[title]Which is the best Widget to?[/title]
[description]In this article we discuss the release of several new widgets, but which is the best widget.[/description]
[pubDate]Sun, 20 Mar 2005 14:38:50 GMT[/pubDate]
[link]http://www.widget.com/the-best-widgets.html[/link]
[/item]

You can have as many items in the feed as you like but many webmasters just show the 10 most recent items to keep the bandwidth usage down and also so not to overwhelm the end user with too many items.

Finally the file is ended with the closing channel tag and a closing RSS tag.

[/channel]
[/rss]

I have covered the basic tags to create an RSS file, there are other tags that can be used and these are explained in the http://blogs.law.harvard.edu/tech/rss (RSS 2.0) specification.

Once you have created your file you will need to verify it is ok, to do this upload the file to your server and then go to this validator to validate the file. Your file is now ready. Now anyone can subscribe to your feed just by pointing their RSS reader to your RSS file.

That is the basics covered. I will be covering other areas in future articles as there is far too much information to fit into a single article.

Allan is the webmaster at http://www.newsniche.com an RSS resource for webmasters. Learn how to use RSS to attract and retain visitors to your site.

In The News:


pen paper and inkwell


cat break through


RSS: A Really Smart System For Sending And Receiving Content Online

"RSS" stands for Really Simple Syndication. RSS is a standard... Read More

Making Money with RSS Feeds

First it was banner ads, then Google AdSense and now,... Read More

Make Money with Your Own Blog

Well, basically, setting up a blog means that you are... Read More

To Blog Or Not To Blog - A Laymans View

We have now entered the world of blogs! Sounds kind... Read More

If an RSS feed is the Yahoo Backdoor, is a Blog Googles?

Though the answer is in a book I wrote this... Read More

Blogging - Whats It All About

A blog usually is a web page that contains brief,... Read More

Top Ten Reason to Publish an Ezine AND a Blog

Blogs are the hottest thing going these days when it... Read More

How to Promote Your Blog for Free Online

11 Ways to Promote Your Blog1. Ping weblogs.com and other... Read More

Blog Your Way To a Successful Private Practice

What is a Blog?Blogs are a type of website often... Read More

What Blog Can Make Money?

How to blog to make money from it?Truly the whole... Read More

Improving Your Customer Relationship Management by Blogging

Before I address the following questions:* What is a blog?... Read More

How to Use Blogs for Free Targeted Traffic

One of the Number 1 traffic building secrets is adding... Read More

Blogging will Soon Take Over the World

In recent years, it's been pretty obvious that "blogging" (Web... Read More

How to Write A Blog... And Survive

Copyright © 2004 Priya Shah The... Read More

Introduction to Really Simple Syndication (RSS)

Really Simple Syndication is exactly what it's name states. A... Read More

Marketing With Blogs - Part 3

In part 1 and part 2 of this article series... Read More

The Holy Grail that Online Advertisers, Merchants, Publishers, and Shoppers have been Looking for!

For Online Publishers/RSS Feeds users - RSS (Real Simple Syndication)... Read More

Web Blogs, Defined, Explained and Understood

What are Blogs?Having heard the term previously but not having... Read More

Blogging Communities Turn Faceless Strangers into Close Friends

I've been searching the Internet for blogging sites for a... Read More

Blogs are an Art Form that Takes Practice to do Well

Writing?Blogs?Blogs are on-line journals where people express themselves through writing.... Read More

How to Make Money With Your Blog?

Make money blogging is fun: you enjoy blogging and getting... Read More

12 Reasons Why You Need A Blog

"Why Should I Blog? I Simply Don't Get It"This post... Read More

How to Create an RSS Feed

An RSS news feed can be used to communicate with... Read More

5 Reasons Why Your Site Needs to Publish a News Feed

It seems like everyone is talking about RSS Feeds. They've... Read More

Make Money Blogging

You have created a blog and your blog is dedicated... Read More

How RSS Advertising Can Help Business Gain A Higher ROI

I recently read the case study conducted by Pheedo, an... Read More

NEWS FLASH! Article Directories JUMP-ON The RSS Syndication Band Wagon

Quick question... do you publish 'Articles' on a regular basis?I'm... Read More

Creating A Basic RSS Feed For Your Site

The future of RSS Feeds and internet marketing is looking... Read More

Blogs and Networking

In the middle 1990's everyone started talking about needing a... Read More

How and Why to RSS

RSS feeds and blogs (and blog and pinging) are part... Read More

Build a Website Using Blog Software

Have you thought about how easily you could build and... Read More

Internet Communication

Email, Instant Messaging, Blogs, RSS, Forums and Listservs: What's Next?How... Read More

Blog Your Affiliate Links

Blogging is a relatively new form of communication, closely related... Read More