 |
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.
 |
More resources:
|
|
 |
 |
 |
RELATED ARTICLES
Blogging Policies, Does Your Business Need One?
Weblogs or Blogs as they are more commonly referred to, have become extremely popular in the last several years. So popular in fact that many large businesses are letting some employees post Blogs on their corporate websites.
How to Get a Blog on the Internet
Of all people in the world I was easily one of the most pessimistic about computers, the Internet and now that I even know they exist-blogs. I think blogs are pretty cool but I never thought I could have one.
How To Use RSS Correctly
There is no doubt in my mind that RSS is here to stay. RSS is a simple and effective means of communicating your message to your visitors without invading their privacy or spamming them.
How to Reel in Web Site Visitors by Building Your Own Blog
I know, I know, blog this..
Cash In Your Blog - 4 Ways to Profit From The Hidden Revenue In Your Blog
Most webmasters and online business owners know that a blog can bring you additional revenue from advertising, and more traffic from search engines. Then there's the additional benefit of having a great way to spark productive dialogue between you and your prospects.
Top 10 Reasons to Start Blogging
"What's blogging?" you ask."Where have you been?" I reply.
Blogging Can Improve Your Search Engine Ranking
Search engines are after one thing - providing their users with the most relevant and up to date information to match the search term that was used. Search engine results are no good to users when the information doesn't relate to the search term.
Use Blogging to Manage Your Entire Web Sites Content
Blogging is a term that means different things to different people. To some people it means keeping an online journal.
17 Mistakes Professionals Make with Their Blogs
Are you getting results from your business blog? Is it getting harder for you to spend time on your blog because you're just not seeing how it is going to pay off? If so, you're not alone. Hundreds of blogs are started each day and many of them are abandoned after several months because it takes time and energy to keep a good business blog going.
You Are Losing Money If Youre Not Using RSS Feeds On Your Website!
(An RSS primer can be found near the bottom of the article)A commercial website in 2005 is really costing itself money if it does not utilize the myriad advantages of implementing RSS feeds. RSS provides near real-time delivery of information your website visitors are interested in, it provides constantly updated content that search engines crave, and it is quite simple to implement.
Blogging - Whats It All About
A blog usually is a web page that contains brief, discrete hunks of information called posts. These posts are arranged in reverse-chronological order (the most recent come first) and each is uniquely identified by an anchor tag which is marked with a permanent link that can be referred to by others who wish to link to it.
RSS - The Making of a Feed
Everyday more and more websites, news services and blogs are adding RSS content. RSS is a method of syndicating content.
How To Make A Cool Xanga
A xanga is something akin to a blog. It all began in 1999 and the xanga community is 2.
See RSS Feeds from Your Website
RSS feeds have made it so convenient to gather current information. If you have an RSS Reader on your desktop, then from this one window you can get up-to-date information from any sources of your choice, such as:1.
Business Blogging: Where Do I Start?
The new hot commodity is a blog for your small business so you've decided you must have one.Before you begin think about it long term.
An Example of a Business Blog: Frequently Asked Questions (FAQ) Blog
Think of a product or a service that your business provides to customers. This product may requires lots of instructions to assemble, tips to use efficiently, or simply requires lots of questions to be answered before it can be used.
Top 7 Reasons Why Your Business Should Use RSS
In today's online world of high-speed websites and giant portals, every established Internet business boasts of delivering content via RSS.RSS (Really Simple Syndication or Rich Site Summary), a simple XML based technology allows anyone to easily share content on the web.
Top 10 Blog Writing Tips
Most of the "rules" about writing for ezines and newsletters apply to writing posts for your blog, but there are some important differences. Keep these 10 tips in mind and you'll be publishing great blog content that attracts prospects and clients in your niche market.
Blogging for Profit Using AdSense
This article is designed to teach you how to profit from blogging, writing to a website in the form of regular posts, without spending anything. The keys to this idea lie in two of Google's programs, Blogger.
Blogs Explained
It seems like Blogs are everywhere these days. You can't seem to surf the Internet without seeing the word Blog somewhere.
|