Learn how to Create a RSS Feed
Creating an RSS (Really Easy Syndication) feed is truly really a simple procedure. RSS is a lightweight XML design that is truly easy to setup and put into action. It is a great way to pass on important updates, deliver out your articles or news, or deliver out your favorite website hyperlinks!
RSS feeds can be setup in a really short time, literally a couple of minutes! Simply put, an RSS feed is basically a text file with a few HTML searching tags. There is an area with the information about the feed, then individual blocks of code for each article or piece of content becoming syndicated. It may sound poor now, but I assure you it is really simple to setup and I will give you a full operating instance by the finish of this article!
The initial thing you need to do is to create a file that you want to contact your RSS feed. It can be something, the title isn’t important. For this article I will contact it “cool_feed.xml”
All the following code will be placed within the “cool_feed.xml” file. This file is the main 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 really comparable to HTML, all it is performing is telling individuals the version of XML you are using, and the version of RSS you are conforming to, as you can see this is XML v1. and RSS v0.91.
The subsequent thing we need to do is setup your “channel” which is the title 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@e-mail.com Your@e-mail.com
As I’ve mentioned several times before, it is comparable to HTML in that it has an open and closing block following each parameter. But you also may have observed there isn’t a closing block for CHANNEL. That is because it is sort of the equivalent of the “Physique” block in HTML, it will do it is near the really finish. Actually, we opened the RSS block up in the initial block of code I gave you also, where we set the version, that is the equivalent to the HTML block and will be the really last thing closed at the finish of the XML file.
Article Quantity One http://YourWebsite.com/Article_Quantity_One.html one-3 sentences about your article
This Item block is your initial article, each and every time you want to add an update you just create another Item block comparable to this one. It simply has an article title, hyperlink to where the article is on your website, and a description field, which is normally one-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 should have these blocks of code at the really finish, in this order. I will give a few of hyperlinks to websites that can examine your code to make certain it functions properly.
As soon as you have saved all that code in your file, the subsequent thing we need to do is modify your website. This set is NOT required by any indicates, 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 name new RSS feed!
Ken Dennis http://KenDennis-RSS.homeip.net/