spacer

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

home / experts / xml / column13

Creating RSS files for your Web site

ASP 3.0/.NET Developer
Jupitermedia
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Jim Zemlin: The New Center of Linux Gravity
Microsoft's Novell Investment Tops $340M
Fedora 10 Takes Shape

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



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Simple Comments Meets OpenID · Primitive Data Types, Arrays, Loops, and Conditions: Part 3 · How to Create an Ajax Autocomplete Text Field: Part 11
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
eBay Finagles Fixed-Price and Final Value Fees, Cuts Paper Payments · SqlCredit, Part 18: Exploring the Performance of SQL 2005’s OUTPUT Clause · Epson Rolls Out Printers for the Smallest SMBs

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