spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / xml / column13

Creating RSS files for your Web site

Managed Services Subject Matter Expert (PA)
Next Step Systems
US-PA-Wayne

Justtechjobs.com Post A Job | Post A Resume
Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies


Recently I have received more and more questions about the Rich Site Summary (RSS) format and its use for Web masters. The short answer is that RSS is a great way for any Web site to advertise their content in an always up-to-date fashion. In order to reap the benefits of RSS, you have to master three easy steps:

  1. Create and maintain RSS files for your web site
  2. Register your RSS file with an aggregator
  3. Publish relevant RSS content from others on your site

Let's cover the first topic of creating and maintaining an RSS file, while the last two points will be discussed in the next installment of this column.

RSS elements

First we need to delve a bit deeper into the Document Type Definition (DTD) of RSS and explain in more detail than column10 what information is supposed to be going where.

At the top level, a RSS document is a <rss> element, with a mandatory attribute called version. This specifies the version of RSS that the document conforms to. The current mandatory value is "0.91". Subordinate to the <rss> element is a single <channel> element, which contains information about the channel, the so-called meta data, and its contents. In DTD syntax it looks like this:

<!ELEMENT rss (channel)>
<!ATTLIST rss
          version     CDATA #REQUIRED> <!-- must be "0.91"> -->

On to the RSS channels.

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji

Produced by Michael Claßen
All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/xml/column13/index.html
Created: Jun 18, 2000
Revised: Jun 18, 2000