-
Notifications
You must be signed in to change notification settings - Fork 198
/
rss2_spec.html
434 lines (397 loc) · 26.8 KB
/
rss2_spec.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<style type="text/css" media="screen">@import "../css/common.css";
@import "../css/validator.css";
@import "../css/documentation.css";
@import "../css/validator/base.css";
</style>
<title>RSS 2.0 specification</title>
</head>
<body>
<div id="banner">
<h1 id="title">
<a href="http://www.w3.org/"><img alt="W3C" width="110" height="61" id="logo" src="/images/w3c.png"></a>
<a href="./"><span>Feed Validation Service</span></a>
</h1>
<p id="tagline">Check the syntax of Atom or RSS feeds</p>
</div>
<div id="main" class="doc">
<h2>Contents</h2>
<ul>
<li><a href="#whatIsRss">What is RSS?</a></li>
<li><a href="#sampleFiles">Sample files</a></li>
<li><a href="#aboutThisDocument">About this document</a></li>
<li><a href="#requiredChannelElements">Required channel elements</a></li>
<li><a href="#optionalChannelElements">Optional channel elements</a></li>
<li><a href="#hrelementsOfLtitemgt">Elements of <item></a></li>
<li><a href="#comments">Comments</a></li>
<li><a href="#extendingRss">Extending RSS</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#copyrightAndDisclaimer">Copyright and disclaimer</a></li>
</ul>
<h2>What is RSS?<a id="whatIsRss" name="whatIsRss"></a></h2>
RSS is a Web content syndication format.<br>
<br>
Its name is an acronym for <i><b>R</b>eally <b>S</b>imple <b>S</b>yndication.</i><br>
<br>
RSS is dialect of XML. All RSS files must conform to the XML 1.0 <a href="http://www.w3.org/TR/REC-xml">specification</a>, as published on the World Wide Web Consortium (W3C) website.<br>
<br>
At the top level, a RSS document is a <rss> element, with a mandatory attribute called version, that specifies the version of RSS that the document conforms to. If it conforms to this specification, the version attribute must be 2.0. <br>
<br>
Subordinate to the <rss> element is a single <channel> element, which contains information about the channel (metadata) and its contents. <br>
<br>
<h2>Sample files<a id="sampleFiles" name="sampleFiles"> </a></h2>
Here are sample files for: RSS <a href="http://static.userland.com/gems/backend/sampleRss.xml">0.91</a>, <a href="http://static.userland.com/gems/backend/gratefulDead.xml">0.92</a> and <a href="http://static.userland.com/gems/backend/rssTwoExample2.xml">2.0</a>.<br>
<br>
Note that the sample files may point to documents and services that no longer exist. The 0.91 sample was created when the 0.91 docs were written. Maintaining a trail of samples seems like a good idea.<br>
<br>
<h2>About this document<a id="aboutThisDocument" name="aboutThisDocument"> </a></h2>
This document represents the status of RSS as of the Fall of 2002, version 2.0.1. <br>
<br>
It incorporates all changes and additions, starting with the basic spec for <a href="http://backend.userland.com/rss091">RSS 0.91</a> (June 2000) and includes new features introduced in <a href="http://backend.userland.com/rss092">RSS 0.92</a> (December 2000) and RSS 0.94 (August 2002). <br>
<br>
Change notes are <a href="http://backend.userland.com/rssChangeNotes">here</a>.<br>
<br>
First we document the required and optional sub-elements of <channel>; and then document the sub-elements of <item>. The final sections answer frequently asked questions, and provide a roadmap for future evolution, and guidelines for extending RSS.<br>
<br>
<h2>Required channel elements<a id="requiredChannelElements" name="requiredChannelElements"> </a></h2>
Here's a list of the required channel elements, each with a brief description, an example, and where available, a pointer to a more complete description.<br>
<br>
<table cellspacing="10">
<tbody><tr>
<th>Element</th>
<th>Description</th>
<th>Example</th>
</tr>
<tr>
<td valign="top">title</td>
<td valign="top">The name of the channel. It's how people refer to your service. If you have an HTML website that contains the same information as your RSS file, the title of your channel should be the same as the title of your website.</td>
<td valign="top">GoUpstate.com News Headlines</td>
</tr>
<tr>
<td valign="top">link</td>
<td valign="top">The URL to the HTML website corresponding to the channel.</td>
<td valign="top">http://www.goupstate.com/</td>
</tr>
<tr>
<td valign="top">description </td>
<td valign="top">Phrase or sentence describing the channel.</td>
<td valign="top">The latest news from GoUpstate.com, a Spartanburg Herald-Journal Web site.</td>
</tr>
</tbody></table>
<br>
<br>
<h2>Optional channel elements<a id="optionalChannelElements" name="optionalChannelElements"> </a></h2>
Here's a list of optional channel elements.<br>
<br>
<table cellspacing="10">
<tbody><tr>
<th>Element</th>
<th>Description</th>
<th>Example</th>
</tr>
<tr>
<td valign="top">language</td>
<td valign="top">The language the channel is written in. This allows aggregators to group all Italian language sites, for example, on a single page. A list of allowable values for this element, as provided by Netscape, is <a href="http://backend.userland.com/stories/storyReader$16">here</a>. You may also use <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes">values defined</a> by the W3C.</td>
<td valign="top">en-us</td>
</tr>
<tr>
<td valign="top">copyright</td>
<td valign="top">Copyright notice for content in the channel.</td>
<td valign="top">Copyright 2002, Spartanburg Herald-Journal</td>
</tr>
<tr>
<td valign="top">managingEditor</td>
<td valign="top">Email address for person responsible for editorial content.</td>
<td valign="top">[email protected] (George Matesky)</td>
</tr>
<tr>
<td valign="top">webMaster</td>
<td valign="top">Email address for person responsible for technical issues relating to channel.</td>
<td valign="top">[email protected] (Betty Guernsey)</td>
</tr>
<tr>
<td valign="top">pubDate</td>
<td valign="top">The publication date for the content in the channel. For example, the New York Times publishes on a daily basis, the publication date flips once every 24 hours. That's when the pubDate of the channel changes. All date-times in RSS conform to the Date and Time Specification of <a href="http://asg.web.cmu.edu/rfc/rfc822.html">RFC 822</a>, with the exception that the year may be expressed with two characters or four characters (four preferred).</td>
<td valign="top">Sat, 07 Sep 2002 0:00:01 GMT</td>
</tr>
<tr>
<td valign="top">lastBuildDate</td>
<td valign="top">The last time the content of the channel changed.</td>
<td valign="top">Sat, 07 Sep 2002 9:42:31 GMT</td>
</tr>
<tr>
<td valign="top">category</td>
<td valign="top">Specify one or more categories that the channel belongs to. Follows the same rules as the <item>-level <a href="#ltcategorygtSubelementOfLtitemgt">category</a> element. More <a href="#syndic8">info</a>.</td>
<td valign="top"><category>Newspapers</category></td>
</tr>
<tr>
<td valign="top">generator</td>
<td valign="top">A string indicating the program used to generate the channel.</td>
<td valign="top">MightyInHouse Content System v2.3</td>
</tr>
<tr>
<td valign="top">docs</td>
<td valign="top">A URL that points to the documentation for the format used in the RSS file. It's probably a pointer to this page. It's for people who might stumble across an RSS file on a Web server 25 years from now and wonder what it is.</td>
<td valign="top">http://backend.userland.com/rss</td>
</tr>
<tr>
<td valign="top">cloud</td>
<td valign="top">Allows processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds. More info <a href="#ltcloudgtSubelementOfLtchannelgt">here</a>.</td>
<td valign="top"><cloud domain="rpc.sys.com" port="80" path="/RPC2" registerProcedure="pingMe" protocol="soap"/></td>
</tr>
<tr>
<td valign="top">ttl</td>
<td valign="top">ttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source. More info <a href="#ltttlgtSubelementOfLtchannelgt">here</a>.</td>
<td valign="top"><ttl>60</ttl></td>
</tr>
<tr>
<td valign="top">image</td>
<td valign="top">Specifies a GIF, JPEG or PNG image that can be displayed with the channel. More info <a href="#ltimagegtSubelementOfLtchannelgt">here</a>.</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">textInput</td>
<td valign="top">Specifies a text input box that can be displayed with the channel. More info <a href="#lttextinputgtSubelementOfLtchannelgt">here</a>.</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">skipHours</td>
<td valign="top">A hint for aggregators telling them which hours they can skip. More info <a href="http://backend.userland.com/skipHoursDays#skiphours">here</a>.</td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top">skipDays</td>
<td valign="top">A hint for aggregators telling them which days they can skip. More info <a href="http://backend.userland.com/skipHoursDays#skipdays">here</a>.</td>
<td valign="top"></td>
</tr>
</tbody></table>
<br>
<br>
<h3><image> sub-element of <channel><a id="ltimagegtSubelementOfLtchannelgt" name="ltimagegtSubelementOfLtchannelgt"> </a></h3>
<image> is an optional sub-element of <channel>, which contains three required and three optional sub-elements.<br>
<br>
<url> is the URL of a GIF, JPEG or PNG image that represents the channel. <br>
<br>
<title> describes the image, it's used in the ALT attribute of the HTML <img> tag when the channel is rendered in HTML. <br>
<br>
<link> is the URL of the site, when the channel is rendered, the image is a link to the site. (Note, in practice the image <title> and <link> should have the same value as the channel's <title> and <link>. <br>
<br>
Optional elements include <width> and <height>, numbers, indicating the width and height of the image in pixels. <description> contains text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.<br>
<br>
Maximum value for width is 144, default value is 88. <br>
<br>
Maximum value for height is 400, default value is 31.<br>
<br>
<h3><cloud> sub-element of <channel><a id="ltcloudgtSubelementOfLtchannelgt" name="ltcloudgtSubelementOfLtchannelgt"> </a></h3>
<cloud> is an optional sub-element of <channel>. <br>
<br>
It specifies a web service that supports the rssCloud interface which can be implemented in HTTP-POST, XML-RPC or SOAP 1.1. <br>
<br>
Its purpose is to allow processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.<br>
<br>
<code><cloud domain="radio.xmlstoragesystem.com" port="80" path="/RPC2" registerProcedure="xmlStorageSystem.rssPleaseNotify" protocol="xml-rpc" /></code><br>
<br>
In this example, to request notification on the channel it appears in, you would send an XML-RPC message to radio.xmlstoragesystem.com on port 80, with a path of /RPC2. The procedure to call is xmlStorageSystem.rssPleaseNotify.<br>
<br>
A full explanation of this element and the rssCloud interface is <a href="http://www.thetwowayweb.com/soapmeetsrss#rsscloudInterface">here</a>.<br>
<br>
<h3><ttl> sub-element of <channel><a id="ltttlgtSubelementOfLtchannelgt" name="ltttlgtSubelementOfLtchannelgt"> </a></h3>
<ttl> is an optional sub-element of <channel>. <br>
<br>
ttl stands for time to live. It's a number of minutes that indicates how long a channel can be cached before refreshing from the source. This makes it possible for RSS sources to be managed by a file-sharing network such as <a href="http://www.gnutellanews.com/information/what_is_gnutella.shtml">Gnutella</a>. <br>
<br>
Example: <ttl>60</ttl><br>
<br>
<h3><textInput> sub-element of <channel><a id="lttextinputgtSubelementOfLtchannelgt" name="lttextinputgtSubelementOfLtchannelgt"> </a></h3>
A channel may optionally contain a <textInput> sub-element, which contains four required sub-elements.<br>
<br>
<title> -- The label of the Submit button in the text input area. <br>
<br>
<description> -- Explains the text input area. <br>
<br>
<name> -- The name of the text object in the text input area. <br>
<br>
<link> -- The URL of the CGI script that processes text input requests. <br>
<br>
The purpose of the <textInput> element is something of a mystery. You can use it to specify a search engine box. Or to allow a reader to provide feedback. Most aggregators ignore it.<br>
<br>
<hr>
<h2>Elements of <item><a id="hrelementsOfLtitemgt" name="hrelementsOfLtitemgt"> </a></h2>
A channel may contain any number of <item>s. An item may represent a "story" -- much like a story in a newspaper or magazine; if so its description is a synopsis of the story, and the link points to the full story. An item may also be complete in itself, if so, the description contains the text (entity-encoded HTML is allowed), and the link and title may be omitted. All elements of an item are optional, however at least one of title or description must be present.<br>
<br>
<table cellspacing="10">
<tbody><tr>
<th>Element</th>
<th>Description</th>
<th>Example</th>
</tr>
<tr>
<td valign="top">title</td>
<td valign="top">The title of the item.</td>
<td valign="top">Venice Film Festival Tries to Quit Sinking</td>
</tr>
<tr>
<td valign="top">link</td>
<td valign="top">The URL of the item.</td>
<td valign="top">http://www.nytimes.com/2002/09/07/movies/07FEST.html</td>
</tr>
<tr>
<td valign="top">description </td>
<td valign="top">The item synopsis.</td>
<td valign="top">Some of the most heated chatter at the Venice Film Festival this week was about the way that the arrival of the stars at the Palazzo del Cinema was being staged.</td>
</tr>
<tr>
<td valign="top">author</td>
<td valign="top">Email address of the author of the item. <a href="#ltauthorgtSubelementOfLtitemgt">More</a>.</td>
<td valign="top">[email protected]</td>
</tr>
<tr>
<td valign="top">category</td>
<td valign="top">Includes the item in one or more categories. <a href="#ltcategorygtSubelementOfLtitemgt">More</a>.</td>
<td valign="top">Simpsons Characters</td>
</tr>
<tr>
<td valign="top">comments</td>
<td valign="top">URL of a page for comments relating to the item. <a href="#ltcommentsgtSubelementOfLtitemgt">More</a>.</td>
<td valign="top">http://www.myblog.org/cgi-local/mt/mt-comments.cgi?entry_id=290</td>
</tr>
<tr>
<td valign="top">enclosure</td>
<td valign="top">Describes a media object that is attached to the item. <a href="#ltenclosuregtSubelementOfLtitemgt">More</a>.</td>
<td valign="top"><enclosure url="http://live.curry.com/mp3/celebritySCms.mp3" length="1069871" type="audio/mpeg"/></td>
</tr>
<tr>
<td valign="top">guid</td>
<td valign="top">A string that uniquely identifies the item. <a href="#ltguidgtSubelementOfLtitemgt">More</a>.</td>
<td valign="top"><guid isPermaLink="true">http://inessential.com/2002/09/01.php#a2</guid></td>
</tr>
<tr>
<td valign="top">pubDate</td>
<td valign="top">Indicates when the item was published. <a href="#ltpubdategtSubelementOfLtitemgt">More</a>.</td>
<td valign="top">Sun, 19 May 2002 15:21:36 GMT</td>
</tr>
<tr>
<td valign="top">source</td>
<td valign="top">The RSS channel that the item came from. <a href="#ltsourcegtSubelementOfLtitemgt">More</a>.</td>
<td valign="top"><source url="http://www.quotationspage.com/data/qotd.rss">Quotes of the Day</source></td>
</tr>
</tbody></table>
<br>
<br>
<h3><source> sub-element of <item><a id="ltsourcegtSubelementOfLtitemgt" name="ltsourcegtSubelementOfLtitemgt"> </a></h3>
<source> is an optional sub-element of <item>.<br>
<br>
Its value is the name of the RSS channel that the item came from, derived from its <title>. It has one required attribute, url, which links to the XMLization of the source.<br>
<br>
<code><source url="http://static.userland.com/tomalak/links2.xml">Tomalak's Realm</source></code><br>
<br>
The purpose of this element is to propogate credit for links, to publicize the sources of news items. It's used in the post command in the Radio UserLand aggregator. It should be generated automatically when forwarding an item from an aggregator to a weblog authoring tool.<br>
<br>
<h3><enclosure> sub-element of <item><a id="ltenclosuregtSubelementOfLtitemgt" name="ltenclosuregtSubelementOfLtitemgt"> </a></h3>
<enclosure> is an optional sub-element of <item>.<br>
<br>
It has three required attributes. url says where the enclosure is located, length says how big it is in bytes, and type says what its type is, a standard MIME type.<br>
<br>
The url must be an http url.<br>
<br>
<code><enclosure url="http://www.scripting.com/mp3s/weatherReportSuite.mp3" length="12216320" type="audio/mpeg" /></code><br>
<br>
A use-case narrative for this element is <a href="http://www.thetwowayweb.com/payloadsforrss">here</a><br>
<br>
<h3><category> sub-element of <item><a id="ltcategorygtSubelementOfLtitemgt" name="ltcategorygtSubelementOfLtitemgt"> </a></h3>
<category> is an optional sub-element of <item>.<br>
<br>
It has one optional attribute, domain, a string that identifies a categorization taxonomy. <br>
<br>
The value of the element is a forward-slash-separated string that identifies a hierarchic location in the indicated taxonomy. Processors may establish conventions for the interpretation of categories. Two examples are provided below:<br>
<br>
<code><category>Grateful Dead</category></code><br>
<br>
<code><category domain="http://www.fool.com/cusips">MSFT</category></code><br>
<br>
You may include as many category elements as you need to, for different domains, and to have an item cross-referenced in different parts of the same domain.<br>
<br>
<h3><pubDate> sub-element of <item><a id="ltpubdategtSubelementOfLtitemgt" name="ltpubdategtSubelementOfLtitemgt"> </a></h3>
<pubDate> is an optional sub-element of <item>.<br>
<br>
Its value is a <a href="http://asg.web.cmu.edu/rfc/rfc822.html">date</a>, indicating when the item was published. If it's a date in the future, aggregators may choose to not display the item until that date. <br>
<br>
<code><pubDate>Sun, 19 May 2002 15:21:36 GMT</pubDate></code><br>
<br>
<h3><guid> sub-element of <item><a id="ltguidgtSubelementOfLtitemgt" name="ltguidgtSubelementOfLtitemgt"> </a></h3>
<guid> is an optional sub-element of <item>.<br>
<br>
guid stands for globally unique identifier. It's a string that uniquely identifies the item. When present, an aggregator may choose to use this string to determine if an item is new.<br>
<br>
<code><guid>http://some.server.com/weblogItem3207</guid></code><br>
<br>
There are no rules for the syntax of a guid. Aggregators must view them as a string. It's up to the source of the feed to establish the uniqueness of the string. <br>
<br>
If the guid element has an attribute named "isPermaLink" with a value of true, the reader may assume that it is a <a href="http://www.userland.com/whatIsPermaLink">permalink</a> to the item, that is, a url that can be opened in a Web browser, that points to the full item described by the <item> element. An example:<br>
<br>
<code><guid isPermaLink="true">http://inessential.com/2002/09/01.php#a2</guid></code><br>
<br>
isPermaLink is optional, its default value is true. If its value is false, the guid may not be assumed to be a url, or a url to anything in particular.<br>
<br>
<h3><comments> sub-element of <item><a id="ltcommentsgtSubelementOfLtitemgt" name="ltcommentsgtSubelementOfLtitemgt"> </a></h3>
<comments> is an optional sub-element of <item>.<br>
<br>
If present, it is the url of the comments page for the item. <br>
<br>
<code><comments>http://rateyourmusic.com/yaccs/commentsn/blogId=705245&itemId=271</comments></code><br>
<br>
<h3><author> sub-element of <item><a id="ltauthorgtSubelementOfLtitemgt" name="ltauthorgtSubelementOfLtitemgt"> </a></h3>
<author> is an optional sub-element of <item>.<br>
<br>
It's the email address of the author of the item. For newspapers and magazines syndicating via RSS, the author is the person who wrote the article that the <item> describes. For collaborative weblogs, the author of the item might be different from the managing editor or webmaster. For a weblog authored by a single individual it would make sense to omit the <author> element.<br>
<br>
<code><author>[email protected] (Lawyer Boyer)</author></code><br>
<br>
<h2>Comments<a id="comments" name="comments"> </a></h2>
RSS places restrictions on the first non-whitespace characters of the data in <link> and <url> elements. The data in these elements must begin with an <a href="http://www.iana.org/assignments/uri-schemes">IANA-registered</a> URI scheme, such as http://, https://, news://, mailto: and ftp://. Prior to RSS 2.0, the specification only allowed http:// and ftp://, however, in practice other URI schemes were in use by content developers and supported by aggregators. Aggregators may have limits on the URI schemes they support. Content developers should not assume that all aggregators support all schemes.<br>
<br>
In RSS 0.91, various elements are restricted to 500 or 100 characters. There can be no more than 15 <items> in a 0.91 <channel>. There are no string-length or XML-level limits in RSS 0.92 and greater. Processors may impose their own limits, and generators may have preferences that say no more than a certain number of <item>s can appear in a channel, or that strings are limited in length.<br>
<br>
In RSS 2.0, <a id="syndic8" name="syndic8">a provision</a> is made for linking a channel to its identifier in a cataloging system, using the channel-level category feature, described above. For example, to link a channel to its Syndic8 identifier, include a category element as a sub-element of <channel>, with domain "Syndic8", and value the identifier for your channel in the Syndic8 database. The appropriate category element for Scripting News would be <category domain="Syndic8">1765</category>.<br>
<br>
A frequently asked question about <guid>s is how do they compare to <link>s. Aren't they the same thing? Yes, in some content systems, and no in others. In some systems, <link> is a permalink to a weblog item. However, in other systems, each <item> is a synopsis of a longer article, <link> points to the article, and <guid> is the permalink to the weblog entry. In all cases, it's recommended that you provide the guid, and if possible make it a permalink. This enables aggregators to not repeat items, even if there have been editing changes.<br>
<br>
If you have questions about the RSS 2.0 format, please post them on the <a href="http://groups.yahoo.com/group/RSS2-Support/">RSS2-Support</a> mail list, hosted by Sjoerd Visscher. This is not a debating list, but serves as a support resource for users, authors and developers who are creating and using content in RSS 2.0 format.<br>
<br>
<h2>Extending RSS<a id="extendingRss" name="extendingRss"> </a></h2>
RSS originated in 1999, and has strived to be a simple, easy to understand format, with relatively modest goals. After it became a popular format, developers wanted to extend it using modules defined in namespaces, as <a href="http://www.w3.org/TR/REC-xml-names/">specified</a> by the W3C. <br>
<br>
RSS 2.0 adds that capability, following a simple rule. A RSS feed may contain elements not described on this page, only if those elements are defined in a namespace. <br>
<br>
The elements defined in this document are not themselves members of a namespace, so that RSS 2.0 can remain compatible with previous versions in the following sense -- a version 0.91 or 0.92 file is also a valid 2.0 file. If the elements of RSS 2.0 were in a namespace, this constraint would break, a version 0.9x file <i>would not</i> be a valid 2.0 file. <br>
<br>
Here's an <a href="http://static.userland.com/gems/backend/rssMarkPilgrimExample.xml">example</a> of a file that makes use of elements in namespaces, authored by Mark Pilgrim.<br>
<br>
<h2>Roadmap<a id="roadmap" name="roadmap"> </a></h2>
RSS is by no means a perfect format, but it is very popular and widely supported. Having a settled spec is something RSS has needed for a long time. The purpose of this work is to help it become a unchanging thing, to foster growth in the market that is developing around it, and to clear the path for innovation in new syndication formats. Therefore, the RSS spec is, for all practical purposes, frozen at version 2.0.1. We anticipate possible 2.0.2 or 2.0.3 versions, etc. only for the purpose of clarifying the specification, not for adding new features to the format. Subsequent work should happen in modules, using namespaces, and in completely new syndication formats, with new names. <br>
<br>
<h2>Copyright and disclaimer<a id="copyrightAndDisclaimer" name="copyrightAndDisclaimer"> </a></h2>
<a id="copyright" name="copyright">© Copyright 1997-2002 UserLand Software. All Rights Reserved.</a><br>
<br>
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and these paragraphs are included on all such copies and derivative works. <br>
<br>
This document may not be modified in any way, such as by removing the copyright notice or references to UserLand or other organizations. Further, while these copyright restrictions apply to the written RSS specification, no claim of ownership is made by UserLand to the format it describes. Any party may, for commercial or non-commercial purposes, implement this format without royalty or license fee to UserLand. The limited permissions granted herein are perpetual and will not be revoked by UserLand or its successors or assigns.<br>
<br>
This document and the information contained herein is provided on an "AS IS" basis and USERLAND DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.<br>
<br>
</div><!-- main -->
<ul class="navbar" id="menu">
<li>
<a href="../" accesskey="1" title="Go to the Home Page for The W3C Feed Validation Service">Home</a></li>
<li><a href="../about.html" title="Information About this Service">About...</a></li>
<li><a href="../whatsnew.html" title="The changes made to this service recently">News</a></li>
<li><a href="./" accesskey="3" title="Documentation for this Service">Docs</a></li>
</ul>
<div id="footer">
<address>
Maintained by the <a href="http://www.w3.org/QA/Tools/qa-dev">W3C qa-dev group</a><br>
This service uses the <a href="https://github.com/w3c/feedvalidator">Feed validator software</a>.
</address>
</div>
</body></html>