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.
![]() |
|
![]() |
|
![]() |
|
![]() |
I keep hearing about RSS, XML and RSS feeds. I... Read More
The recent spurt of interest in blogging has begun to... Read More
Choosing a decent RSS reader to browse and read your... Read More
In recent years, it's been pretty obvious that "blogging" (Web... Read More
If you've been under a rock for the last year... Read More
(Continued from Blogging Your Way To Success Part 3)In this... Read More
There seems to be a huge craze lately with everyone... Read More
Want to advertise online without spending a fortune? Get a... Read More
A weblog, or "blog" started out as a personal journal... Read More
The most boring part of getting traffic to a website... Read More
So you have heard about the blogs or you are... Read More
Blogging is all the rage. With these 10 Simple Steps... Read More
Getting traffic to your website can be hard. No one... Read More
Below are the top 9 reasons why companies should blog.1.... Read More
In the middle 1990's everyone started talking about needing a... Read More
Are you getting results from your business blog? Is it... Read More
Web logging first appeared on the net in the mid-1990s.... Read More
It seems no matter how much information comes available online,... Read More
RSS stands for "Really Simple Syndication." It's a format that... Read More
Blogging is easy, blogging is fun. And what's more?it can... Read More
In this article I am going to cover some tools... Read More
Out of many of the free RSS and blogging services... Read More
Over the past year or so, more and more webmasters... Read More
We all know that in the world of online internet... Read More
Most of the "rules" about writing for ezines and newsletters... Read More
You Might Be A Snob-Blogger If?According to Jupiter Research, about... Read More
When I saw my first blog, I wasn't impressed.The first... Read More
Microsoft Corp. says that the next version of its Windows... Read More
We have now entered the world of blogs! Sounds kind... Read More
I have been a blogger since September 2004 but only... Read More
A few months back, at the ITEA conference I saw... Read More
As you may know, Google has it's very own blogging... Read More
As RSS news syndication gains popularity among users, new ways... Read More
Do you need help adding RSS feeds to your blogger?... Read More
For Online Publishers/RSS Feeds users - RSS (Real Simple Syndication)... Read More
1. Place all your feeds on the following website and... Read More
While there is a lot of debate about blogs replacing... Read More
I don't claim to be a futurologist or an RSS... Read More
There's no denying it, the Internet has changed. The change... Read More
The world has seen the emergence of a new style... Read More
After many requests from wordpress users, the latest version of... Read More
There is no doubt that the Google Adsense program for... Read More
Blogs are more permanent than posts to an online discussion... Read More
So why use RSS? Well, I can find a whole... Read More
By the end of 2004 blogs had established themselves as... Read More
I'm here to teach you about how RSS Feeds can... Read More
For some it's just a fun thing to do, while... Read More
The recent Forrester Research study, which claims that only 2%... Read More
Blogs can be a very marketable and very profitable tool... Read More
Let's start at the beginning. What is a 'Blog' and... Read More
As you've probably been reading, there are basically three problems... Read More
I open up the 'Feed Reader' every day on my... Read More
Search engines are after one thing ? providing their users... Read More
RSS, or Really Simple Syndication, is the perfect answer to... Read More
Marketers are constantly asking if RSS marketing works and if... Read More
According to Technorati, there are over 15 million blogs as... Read More
Blogs, are often defined as frequent and ongoing publications of... Read More
Of all people in the world I was easily one... Read More
Web logs, commonly referred to as "blogs," represent all the... Read More
Writing a blog can be fun and exciting, but it... Read More
We have now entered the world of blogs! Sounds kind... Read More
To better understand how RSS is changing the way companies... Read More
Blogging is a relatively new form of communication, closely related... Read More
While syndication has many applications, we will deal specifically with... Read More
Blogs are the biggest things to happen to the Internet... Read More
A blog is a type of website. It allows the... Read More
Blogging, RSS & Feeds |