Learn how to Create a RSS Feed


Creating an RSS (Really Simple Syndication) feed is really quite a simple process. RSS is a lightweight XML design that is really easy to setup and implement. It's a great way to pass on important updates, send out your articles or news, or send out your favorite website links!

RSS feeds can be setup in a very short time, literally a few minutes! Simply put, an RSS feed is basically a text file with a couple HTML looking tags. There is an area with the information about the feed, then individual blocks of code for each article or piece of content being syndicated. It may sound bad now, but I assure you it's very simple to setup and I'll give you a full working example by the end of this article!

The first thing you need to do is to create a file that you want to call your RSS feed. It can be anything, the name isn't important. For this article I will call it "cool_feed.xml"

All the following code will be placed inside the "cool_feed.xml" file. This file is the primary file you will use, in fact outside of one minor modification to other pages in your website you will use this file exclusively for sending out your feed updates.

The above block of code as you can see is very similar to HTML, all it is doing is telling people the version of XML you are using, and the version of RSS you are conforming to, as you can see this is XML v1.0 and RSS v0.91.

The next thing we need to do is setup your "channel" which is the name of your feed, and a description of it. In addition to the description it gives some contact information, the language and the website you run.

Your Website Title http://YourWebsite.com/ What is your RSS Feed about? en-us Your Copyright Line Your@email.com Your@email.com

As I've mentioned several times before, it's similar to HTML in that it has an open and closing block after each parameter. But you also may have noticed there isn't a closing block for CHANNEL. That is because it is sort of the equivalent of the "BODY" block in HTML, it will do it's close near the very end. Actually, we opened the RSS block up in the first block of code I gave you also, where we set the version, that is the equivalent to the HTML block and will be the very last thing closed at the end of the XML file.

Article Number One http://YourWebsite.com/Article_Number_One.html 1-3 sentences about your article

This ITEM block is your first article, every time you want to add an update you just create another ITEM block similar to this one. It simply has an article title, link to where the article is on your website, and a description field, which is normally 1-3 sentences long.

These are the final closing blocks of code for the channel and RSS blocks that you setup in the top of the file. You must have these blocks of code at the very end, in this order. I will give a couple of links to websites that can check your code to make sure it works properly.

Once you have saved all that code in your file, the next thing we need to do is modify your website. This set is NOT required by any means, but it tells your users web browsers that you have an RSS feed, if their browser supports viewing them.

All you have to do is add the following line to the HEAD field of your website:

Congratulations, you are the proud owner of a brand new RSS feed!

Ken Dennis http://KenDennis-RSS.homeip.net/

Add to these social bookmarking sites:

Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Folkd Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information

MORE RESOURCES:

Top 20 Donklephant Posts Of 2008
Donklephant - Jan 4, 2009
By Justin Gardner | Related entries in Blogging I’m “borrowing” this idea from Political Wire, but I’m also increasing the number of posts and showing you ...


Lodging Interactive Launches HuBBub Social Media Platform for Hotels
Hospitality 1st (press release), FL - Jan 6, 2009
HuBBub combines blogging, RSS feed syndication, Twittering and email harvesting with hotel profiles on Facebook, MySpace, Flickr, Twitter, Photobucket, ...


My Birthday Wish
Donklephant - Dec 13, 2008
By Justin Gardner | Related entries in Blogging Yes, it’s time again, and this time I’m turning 32. That’s right, I was a bicentennial baby, ...


ReadWriteWeb

Top 10 Enterprise Web Products of 2008
ReadWriteWeb, CA - Dec 16, 2008
Note that we didn't consider micro-blogging, RSS or mash-up products, as we consider those to be features rather than products - in the Enterprise market at ...


Top enterprise technologies for 2009: Salesforce.com
CIOL, India - Dec 16, 2008
The social Web, which Forrester calls Social Computing, includes fast-growing peer-to-peer (P2P) activities like blogging, RSS, podcasting, search engines, ...

Blogging-RSS - Google News

Home | Site Map
© 2006