spacer

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

home / experts / xml / column13

Creating RSS files for your Web site

Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?


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, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

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