Checked At:06:31
5 Guests
0 Users
Online doing the past 15 Minutes!
brugbart.com - Edition/Last Updated: 13. October 2008
Posted The: 12/08/2008 - AT: 22:29
This is a simple Introduction explaining the basics of RSS, you may want to take a look on the Article explaining how to create your RSS dynamically using PHP.
The purpose of the RSS feeds are explained in the Tutorial index. But to summarize an RSS feed consist of a collection of links, usually along with a small description. People can add this feed to their RSS reader, which will will allow them to easily check for updates. An example is shown below:
<?xml version="1.0" encoding="ISO-8859-1"?> <rss version="2.0"> <channel> <title>Learn By Doing</title> <link>http://www.brugbart.com</link> <description>Learn HTML, Learn CSS, Learn PHP</description> <item> <title>HTML 4.01</title> <link>http://www.brugbart.com/Tutorials/17/</link> <description>HTML HyperText Markup Language</description> </item> <item> <title>CSS level X</title> <link>http://www.brugbart.com/Tutorials/18/</link> <description>The Cascading Style Sheets Tutorial</description> </item> </channel> </rss>
The first tag is the document tag, it includes the version of xml used, along with the character encoding. The next is the RSS opening tag, which defines the version of RSS used, and tells a given device its an rss feed.
Note. Each channel can have one or more items.
Each item represent an entry in the channel such as, an article or blog entry. The item element has these required children elements:
Where the title usually is the title of the Article or blog entry, which the item is representing. The link contains the Absolute Path to the resource. Finally the description often contains a portion of the orginal resource text.
If you would like to see a working example, as well as try it in your RSS Reader or browser, you can check out Brugbarts Dynamically generated Articles RSS Feed
Author: BlueBoden
Comments: [0]


Checked At:06:31
5 Guests
0 Users
Online doing the past 15 Minutes!
This page was created in 0.0383920669556 seconds
Welcome Guest