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.
Related News
|
 |
 |
 |
RELATED ARTICLES
Utilize The Power Of Blogs To Market Your Business On A Budget
Budget marketing with blogs is one of today's top methods for cost-effective advertising to the consumers you want to reach, whether they're in your neighborhood or across the global community.
15 Top Blog Marketing Tips
1. Place all your feeds on the following website and the directories listed on this page - http://www.rss-feeds-directory.com/blog_lists.html
Article Syndication - A New Vehicle for King Content
Creating Content
Details of Getting a Blog
Blogs, the abbreviation of Web Logs (online journals), are becoming more and more popular all the time. People are starting new blogs at an astounding rate so it's safe to assume that there are constantly people out there who want to know how to get a blog going. Despite personal feelings about the actual quality of the majority of blogs out there on the Internet, that's what I hope to be able to help you do with this article.
How to Use Blogs for Free Targeted Traffic
One of the Number 1 traffic building secrets is adding content to your website. Have you ever considered that a blog could be the tool that makes this very possible, fast and extremely easy to do.
RSS Support in New Microsoft Windows Vista
Microsoft Corp. says that the next version of its Windows operating system will have built-in support for RSS, an increasingly popular way to get news and other information channeled straight to a computer.
Marketing With Blogs - Part 1
Marketers have found that blogs are excellent tools for communicating with their audience. Anyone who has something to sell or an idea to promote can benefit from using blogs.
A Person Is Known By the Blog He Keeps
Literature is the soul of the wit. The best source of literature can be now found in blogs. The growing trend of 'blogmania' is slowly sweeping the netizens. Every person aspires to have a blog as a platform to publish his thoughts and be heard and read.
Time Saving Uses For RSS
RSS is an underused and underappreciated technology by a majority of internet users. There is a small minority who are just starting to appreciate the benefits RSS can have on there personal and business lives. It is hard to define RSS, you cannot really get it until you see it in action.
Its A Blog, Not A Sales Letter
The recent spurt of interest in blogging has begun to ignite the hope that people can make a full-time income from blogging.
Marketing With Blogs and RSS - The Hot New Tools of 2005
In case you haven't heard, the net is buzzing with talk of
blogging and RSS. Once the province strictly of people who
got a kick out of publishing online diaries, and later of
political and social commentarists, blogs and RSS are being
adopted by the internet marketing community.
What Is RSS?
Recently I did an interview with a well known email Internet Marketer. He wanted to share with his readers a viewpoint on what RSS is from someone who is using it in place of traditional email marketing. Of course this interview was geared towards other Internet marketers so they all somewhat "get" what RSS is, at least in theory.
12 Reasons Why You Need A Blog
"Why Should I Blog? I Simply Don't Get It"
The Real Bloggers Must Come From Another Planet - I Can?t Find Any Here On Earth
What in the world is up with the world of blogs? Blogs are meant to be this great new technology where people can share their ideas and interests with others around the globe. As far as I'm concerned the state of blogs is one of chaos, confusion, and anti-interactivity. The other day I decided to do some research on the Web and try to connect to some blog writers out there that interested me. Let me tell you it was not an enjoyable task as I had envisioned. I spent four painful hours surfing through around a thousand on-line journals, and I found only a few that interested me. What are we doing out there people?
How Direct Sales Reps Can Use Blogging
One of the tools that a smart direct sales representative use to attract new business is a blog. A blog keeps customers and potential customers informed about products, events and services that relate to your business, new releases, contests, specials and it always keeps your name front and center. It shows readers that you are a good source of information that they can count on.
Marketing With Blogs - Part 3
In part 1 and part 2 of this article series on marketing with blogs, I discussed the reasons why blogs are excellent tools for marketing, and provided some tips on using your blog to sell your products and services online.
Why Blog?
It seems everyone these days is talking about blogging. Everywhere I go, I find articles and forums devoted to this craze. I also have heard from many home business owners who are trying to figure out what a blog is and how they can use one to their benefit.
Marketing with Blogs and RSS Feeds
Perhaps you still don't realize or fully understand the power of RSS Feeds as a marketing tool.
Find Out How Microsofts Plans Could Make Your Subscribers Beg You for RSS Content!
Microsoft recently announced that they will be releasing a new browser version sometime this summer. The new browser version was to be released with Longhorn, the code name for their next operating system to replace Windows XP, but they decided that they needed to release it sooner than that.
How and Why to RSS
RSS feeds and blogs (and blog and pinging) are part of the latest hyper-frenzy in internet marketing. Tools and services are mushrooming all over. But there seem to be some rather distorted ideas about all this.
|