Repository navigation
Expand file tree
/
Copy pathe78d1e572e8d73d45dbd7da9040d7e8b901fffea.html
More file actions
711 lines (625 loc) · 42.9 KB
/
Copy pathe78d1e572e8d73d45dbd7da9040d7e8b901fffea.html
File metadata and controls
711 lines (625 loc) · 42.9 KB
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
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
<!DOCTYPE HTML>
<html lang=en>
<head>
<meta charset=utf-8>
<title>The myth of RSS compatibility [dive into mark]</title>
<link rel=alternate type=application/atom+xml href=/web/20110810162114/http://diveintomark.org/feed/>
<link rel=me type=text/html href=/web/20110810162114/http://www.google.com/profiles/pilgrim>
<link rel=author href=/web/20110810162114/http://diveintomark.org/about>
<link rel=search type=application/opensearchdescription+xml href=/web/20110810162114/http://wearehugh.com/public/2006/09/opensearch-full.xml title="dive into mark">
<link rel="shortcut icon" href=/web/20110810162114im_/http://diveintomark.org/favicon.ico>
<link rel=prev href="/web/20110810162114/http://diveintomark.org/archives/2004/02/01/feed-parser-3" title="Universal Feed Parser 3.0 beta">
<link rel=next href="/web/20110810162114/http://diveintomark.org/archives/2004/02/13/xml-media-types" title="Determining the character encoding of a feed">
<link rel=up href="/web/20110810162114/http://diveintomark.org/archives#p1470" title="February 2004">
<link rel='index' title='dive into mark' href='/web/20110810162114/http://diveintomark.org/' />
<link rel='prev' title='Universal Feed Parser 3.0 beta' href='/web/20110810162114/http://diveintomark.org/archives/2004/02/01/feed-parser-3' />
<link rel='next' title='Determining the character encoding of a feed' href='/web/20110810162114/http://diveintomark.org/archives/2004/02/13/xml-media-types' />
<link rel='canonical' href='/web/20110810162114/http://diveintomark.org/archives/2004/02/04/incompatible-rss' />
<link rel='shortlink' href='/web/20110810162114/http://diveintomark.org/?p=1470' />
<meta name="description" content="I would like to publicly apologize for my previous misstatements. There are not 7 different and incompatible versions of RSS; there are 9.">
<meta name="keywords" content="markup,rss">
<link href="/web/20110810162114cs_/http://fonts.googleapis.com/css?family=Lora" rel=stylesheet>
<style type=text/css>
/*dive into minimalism(c)2010 Mark Pilgrim,MIT-licensed including graphics*/
html{background:white url(/web/20110810162114/http://wearehugh.com/m.jpg) no-repeat bottom right;color:black}
body{font:normal medium Lora,serif;margin:1.75em auto;width:40em;line-height:1.75;word-spacing:0.1em}
em,i,blockquote{font-family:Lora,serif;font-style:oblique}
strong,b{font-family:Lora,serif;}
pre,code,var,samp,kbd,tt{font-family:monospace}
h2,h3{font-weight:bold}
.c{font-family:'Arial Unicode MS',FreeSerif,'DejaVu Sans',sans-serif}
a{background:transparent;text-decoration:none;border-bottom:1px dotted}
a:hover{border-bottom:1px solid}
a:link{color:#1b67c9}
a:visited{color:darkorchid}
h1 a,h2 a,h3 a,#nav a,.punch a{color:inherit !important}
abbr,.p{border:0;letter-spacing:0.1em;text-transform:lowercase;font-variant:small-caps}
h1,h2,h3,p,ul,ol,#nav{margin:1.75em 0}
h1,h2,h3{font-size:medium}
h1,h2{display:inline}
h1{font-weight:normal}
pre,tt{white-space:pre-wrap;font-size:medium;line-height:2.154}
cite{font-style:normal}
img{border:0}
.framed{border:1px solid}
.cl,#arc th,#arc td,.punch p{list-style:none;margin:0;padding:0}
.cl li{margin-bottom:-1px;border-bottom:1px dotted;overflow:hidden}
.sig,.tb,.pb,blockquote{font-size:small;line-height:2.154;margin:2.154em 0;padding:0}
blockquote{font-style:oblique;border-left:1px dotted;margin-left:2.154em;padding-left:2.154em}
blockquote p{margin:2.154em 0}
.tb,.pb{margin-top:0;padding:2.154em 0}
.sig,.punch,#arc th{text-align:right}
.f,.c{text-align:center;clear:both}
#comment,#arc{width:100%}
#comment{height:14.6em;margin:0;line-height:2.154}
.me{background:papayawhip;color:black;padding:1.75em 1.75em 0 1.75em;border-top:1px dotted;margin-top:-2px}
.me>p:first-child{margin-top:0}
.punch{float:right;font-size:x-small;margin:0 0 1.75em 1.75em;line-height:1.75}
#nav + .punch + p:first-letter{float:left;color:gainsboro;padding:0.11em 4px 0 0;font:normal 4em/0.68 serif}
#arc th{padding:0 1.75em 0 0;vertical-align:baseline}
#arc{border-collapse:collapse}
figure{display:block;text-align:center;margin:1.75em 0}
figure img{display:block;margin:0 auto}
</style>
<script>_gaq=[['_setAccount','UA-7434570-2'],['_trackPageview'],['_trackPageLoadTime']];(function(){var g=document.createElement('script');g.src='//www.google-analytics.com/ga.js';g.setAttribute('async','true');document.documentElement.firstChild.appendChild(g);})();</script>
<link rel=canonical href="/web/20110810162114/http://diveintomark.org/archives/2004/02/04/incompatible-rss">
</head>
<body>
<!-- BEGIN WAYBACK TOOLBAR INSERT -->
<script type="text/javascript" src="/static/js/disclaim-element.js" ></script>
<script type="text/javascript" src="/static/js/graph-calc.js" ></script>
<script type="text/javascript" src="/static/jflot/jquery.min.js" ></script>
<script type="text/javascript">
//<![CDATA[
var firstDate = 820454400000;
var lastDate = 1388534399999;
var wbPrefix = "/web/";
var wbCurrentUrl = "http:\/\/diveintomark.org\/archives\/2004\/02\/04\/incompatible-rss";
var curYear = -1;
var curMonth = -1;
var yearCount = 18;
var firstYear = 1996;
var imgWidth = 450;
var yearImgWidth = 25;
var monthImgWidth = 2;
var trackerVal = "none";
var displayDay = "10";
var displayMonth = "Aug";
var displayYear = "2011";
var prettyMonths = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
function showTrackers(val) {
if(val == trackerVal) {
return;
}
if(val == "inline") {
document.getElementById("displayYearEl").style.color = "#ec008c";
document.getElementById("displayMonthEl").style.color = "#ec008c";
document.getElementById("displayDayEl").style.color = "#ec008c";
} else {
document.getElementById("displayYearEl").innerHTML = displayYear;
document.getElementById("displayYearEl").style.color = "#ff0";
document.getElementById("displayMonthEl").innerHTML = displayMonth;
document.getElementById("displayMonthEl").style.color = "#ff0";
document.getElementById("displayDayEl").innerHTML = displayDay;
document.getElementById("displayDayEl").style.color = "#ff0";
}
document.getElementById("wbMouseTrackYearImg").style.display = val;
document.getElementById("wbMouseTrackMonthImg").style.display = val;
trackerVal = val;
}
function getElementX2(obj) {
var thing = jQuery(obj);
if((thing == undefined)
|| (typeof thing == "undefined")
|| (typeof thing.offset == "undefined")) {
return getElementX(obj);
}
return Math.round(thing.offset().left);
}
function trackMouseMove(event,element) {
var eventX = getEventX(event);
var elementX = getElementX2(element);
var xOff = eventX - elementX;
if(xOff < 0) {
xOff = 0;
} else if(xOff > imgWidth) {
xOff = imgWidth;
}
var monthOff = xOff % yearImgWidth;
var year = Math.floor(xOff / yearImgWidth);
var yearStart = year * yearImgWidth;
var monthOfYear = Math.floor(monthOff / monthImgWidth);
if(monthOfYear > 11) {
monthOfYear = 11;
}
// 1 extra border pixel at the left edge of the year:
var month = (year * 12) + monthOfYear;
var day = 1;
if(monthOff % 2 == 1) {
day = 15;
}
var dateString =
zeroPad(year + firstYear) +
zeroPad(monthOfYear+1,2) +
zeroPad(day,2) + "000000";
var monthString = prettyMonths[monthOfYear];
document.getElementById("displayYearEl").innerHTML = year + 1996;
document.getElementById("displayMonthEl").innerHTML = monthString;
// looks too jarring when it changes..
//document.getElementById("displayDayEl").innerHTML = zeroPad(day,2);
var url = wbPrefix + dateString + '/' + wbCurrentUrl;
document.getElementById('wm-graph-anchor').href = url;
//document.getElementById("wmtbURL").value="evX("+eventX+") elX("+elementX+") xO("+xOff+") y("+year+") m("+month+") monthOff("+monthOff+") DS("+dateString+") Moy("+monthOfYear+") ms("+monthString+")";
if(curYear != year) {
var yrOff = year * yearImgWidth;
document.getElementById("wbMouseTrackYearImg").style.left = yrOff + "px";
curYear = year;
}
if(curMonth != month) {
var mtOff = year + (month * monthImgWidth) + 1;
document.getElementById("wbMouseTrackMonthImg").style.left = mtOff + "px";
curMonth = month;
}
}
//]]>
</script>
<style type="text/css">body{margin-top:0!important;padding-top:0!important;min-width:800px!important;}#wm-ipp a:hover{text-decoration:underline!important;}</style>
<div id="wm-ipp" style="display:none; position:relative;padding:0 5px;min-height:70px;min-width:800px; z-index:9000;">
<div id="wm-ipp-inside" style="position:fixed;padding:0!important;margin:0!important;width:97%;min-width:780px;border:5px solid #000;border-top:none;background-image:url(/static/images/toolbar/wm_tb_bk_trns.png);text-align:center;-moz-box-shadow:1px 1px 3px #333;-webkit-box-shadow:1px 1px 3px #333;box-shadow:1px 1px 3px #333;font-size:11px!important;font-family:'Lucida Grande','Arial',sans-serif!important;">
<table style="border-collapse:collapse;margin:0;padding:0;width:100%;"><tbody><tr>
<td style="padding:10px;vertical-align:top;min-width:110px;">
<a href="/web/" title="Wayback Machine home page" style="background-color:transparent;border:none;"><img src="/static/images/toolbar/wayback-toolbar-logo.png" alt="Wayback Machine" width="110" height="39" border="0"/></a>
</td>
<td style="padding:0!important;text-align:center;vertical-align:top;width:100%;">
<table style="border-collapse:collapse;margin:0 auto;padding:0;width:570px;"><tbody><tr>
<td style="padding:3px 0;" colspan="2">
<form target="_top" method="get" action="/web/form-submit.jsp" name="wmtb" id="wmtb" style="margin:0!important;padding:0!important;"><input type="text" name="url" id="wmtbURL" value="http://diveintomark.org/archives/2004/02/04/incompatible-rss" style="width:400px;font-size:11px;font-family:'Lucida Grande','Arial',sans-serif;" onfocus="javascript:this.focus();this.select();" /><input type="hidden" name="type" value="replay" /><input type="hidden" name="date" value="20110810162114" /><input type="submit" value="Go" style="font-size:11px;font-family:'Lucida Grande','Arial',sans-serif;margin-left:5px;" /><span id="wm_tb_options" style="display:block;"></span></form>
</td>
<td style="vertical-align:bottom;padding:5px 0 0 0!important;" rowspan="2">
<table style="border-collapse:collapse;width:110px;color:#99a;font-family:'Helvetica','Lucida Grande','Arial',sans-serif;"><tbody>
<!-- NEXT/PREV MONTH NAV AND MONTH INDICATOR -->
<tr style="width:110px;height:16px;font-size:10px!important;">
<td style="padding-right:9px;font-size:11px!important;font-weight:bold;text-transform:uppercase;text-align:right;white-space:nowrap;overflow:visible;" nowrap="nowrap">
<a href="/web/20110514110921/http://diveintomark.org/archives/2004/02/04/incompatible-rss" style="text-decoration:none;color:#33f;font-weight:bold;background-color:transparent;border:none;" title="14 May 2011"><strong>MAY</strong></a>
</td>
<td id="displayMonthEl" style="background:#000;color:#ff0;font-size:11px!important;font-weight:bold;text-transform:uppercase;width:34px;height:15px;padding-top:1px;text-align:center;" title="You are here: 16:21:14 Aug 10, 2011">AUG</td>
<td style="padding-left:9px;font-size:11px!important;font-weight:bold;text-transform:uppercase;white-space:nowrap;overflow:visible;" nowrap="nowrap">
<a href="/web/20110927015220/http://diveintomark.org/archives/2004/02/04/incompatible-rss" style="text-decoration:none;color:#33f;font-weight:bold;background-color:transparent;border:none;" title="27 Sep 2011"><strong>SEP</strong></a>
</td>
</tr>
<!-- NEXT/PREV CAPTURE NAV AND DAY OF MONTH INDICATOR -->
<tr>
<td style="padding-right:9px;white-space:nowrap;overflow:visible;text-align:right!important;vertical-align:middle!important;" nowrap="nowrap">
<a href="/web/20110726002019/http://diveintomark.org/archives/2004/02/04/incompatible-rss" title="0:20:19 Jul 26, 2011" style="background-color:transparent;border:none;"><img src="/static/images/toolbar/wm_tb_prv_on.png" alt="Previous capture" width="14" height="16" border="0" /></a>
</td>
<td id="displayDayEl" style="background:#000;color:#ff0;width:34px;height:24px;padding:2px 0 0 0;text-align:center;font-size:24px;font-weight: bold;" title="You are here: 16:21:14 Aug 10, 2011">10</td>
<td style="padding-left:9px;white-space:nowrap;overflow:visible;text-align:left!important;vertical-align:middle!important;" nowrap="nowrap">
<a href="/web/20110811202602/http://diveintomark.org/archives/2004/02/04/incompatible-rss" title="20:26:02 Aug 11, 2011" style="background-color:transparent;border:none;"><img src="/static/images/toolbar/wm_tb_nxt_on.png" alt="Next capture" width="14" height="16" border="0"/></a>
</td>
</tr>
<!-- NEXT/PREV YEAR NAV AND YEAR INDICATOR -->
<tr style="width:110px;height:13px;font-size:9px!important;">
<td style="padding-right:9px;font-size:11px!important;font-weight: bold;text-align:right;white-space:nowrap;overflow:visible;" nowrap="nowrap">
<a href="/web/20100615033748/http://diveintomark.org/archives/2004/02/04/incompatible-rss" style="text-decoration:none;color:#33f;font-weight:bold;background-color:transparent;border:none;" title="15 Jun 2010"><strong>2010</strong></a>
</td>
<td id="displayYearEl" style="background:#000;color:#ff0;font-size:11px!important;font-weight: bold;padding-top:1px;width:34px;height:13px;text-align:center;" title="You are here: 16:21:14 Aug 10, 2011">2011</td>
<td style="padding-left:9px;font-size:11px!important;font-weight: bold;white-space:nowrap;overflow:visible;" nowrap="nowrap">
<a href="/web/20120918202737/http://diveintomark.org/archives/2004/02/04/incompatible-rss" style="text-decoration:none;color:#33f;font-weight:bold;background-color:transparent;border:none;" title="18 Sep 2012"><strong>2012</strong></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr>
<td style="vertical-align:middle;padding:0!important;">
<a href="/web/20110810162114*/http://diveintomark.org/archives/2004/02/04/incompatible-rss" style="color:#33f;font-size:11px;font-weight:bold;background-color:transparent;border:none;" title="See a list of every capture for this URL"><strong>112 captures</strong></a>
<div style="margin:0!important;padding:0!important;color:#666;font-size:9px;padding-top:2px!important;white-space:nowrap;" title="Timespan for captures of this URL">12 Apr 06 - 18 Sep 12</div>
</td>
<td style="padding:0!important;">
<a style="position:relative; white-space:nowrap; width:450px;height:27px;" href="" id="wm-graph-anchor">
<div id="wm-ipp-sparkline" style="position:relative; white-space:nowrap; width:450px;height:27px;background-color:#fff;cursor:pointer;border-right:1px solid #ccc;" title="Explore captures for this URL">
<img id="sparklineImgId" style="position:absolute; z-index:9012; top:0px; left:0px;"
onmouseover="showTrackers('inline');"
onmouseout="showTrackers('none');"
onmousemove="trackMouseMove(event,this)"
alt="sparklines"
width="450"
height="27"
border="0"
src="/web/jsp/graph.jsp?graphdata=450_27_1996:-1:000000000000_1997:-1:000000000000_1998:-1:000000000000_1999:-1:000000000000_2000:-1:000000000000_2001:-1:000000000000_2002:-1:000000000000_2003:-1:000000000000_2004:-1:000000000000_2005:-1:000000000000_2006:-1:0006054b1132_2007:-1:344212201601_2008:-1:111121963112_2009:-1:000000000000_2010:-1:001211000111_2011:7:000020321100_2012:-1:111210001000_2013:-1:000000000000"></img>
<img id="wbMouseTrackYearImg"
style="display:none; position:absolute; z-index:9010;"
width="25"
height="27"
border="0"
src="/static/images/toolbar/transp-yellow-pixel.png"></img>
<img id="wbMouseTrackMonthImg"
style="display:none; position:absolute; z-index:9011; "
width="2"
height="27"
border="0"
src="/static/images/toolbar/transp-red-pixel.png"></img>
</div>
</a>
</td>
</tr></tbody></table>
</td>
<td style="text-align:right;padding:5px;width:65px;font-size:11px!important;">
<a href="javascript:;" onclick="document.getElementById('wm-ipp').style.display='none';" style="display:block;padding-right:18px;background:url(/static/images/toolbar/wm_tb_close.png) no-repeat 100% 0;color:#33f;font-family:'Lucida Grande','Arial',sans-serif;margin-bottom:23px;background-color:transparent;border:none;" title="Close the toolbar">Close</a>
<a href="http://faq.web.archive.org/" style="display:block;padding-right:18px;background:url(/static/images/toolbar/wm_tb_help.png) no-repeat 100% 0;color:#33f;font-family:'Lucida Grande','Arial',sans-serif;background-color:transparent;border:none;" title="Get some help using the Wayback Machine">Help</a>
</td>
</tr></tbody></table>
</div>
</div>
<script type="text/javascript">
var wmDisclaimBanner = document.getElementById("wm-ipp");
if(wmDisclaimBanner != null) {
disclaimElement(wmDisclaimBanner);
}
</script>
<!-- END WAYBACK TOOLBAR INSERT -->
<div id=nav><h1><a accesskey=1 href=/web/20110810162114/http://diveintomark.org/>dive into mark</a></h1> ‣
<a href="/web/20110810162114/http://diveintomark.org/archives#p1470">February 4, 2004</a> ‣
<h2>The myth of RSS compatibility</h2> (<a href="/web/20110810162114/http://diveintomark.org/tag/markup" rel="tag">markup</a>, <a href="/web/20110810162114/http://diveintomark.org/tag/rss" rel="tag">rss</a>)</div>
<p>I have often stated (<a href="/web/20110810162114/http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html">1</a>, <a href="/web/20110810162114/http://feedvalidator.org/news/archives/2003/07/09/preliminary_pie_support.html">2</a>, <a href="/web/20110810162114/http://diveintomark.org/projects/feed_parser/">3</a>) that there are 7 different and incompatible versions of RSS. This was based on an embarassingly simple formula: I counted the version numbers in use (0.90, 0.91, 0.92, 0.93, 0.94, 1.0, and 2.0) and came up with the number <q>7</q>. But recently some people have taken to claiming that there are not 7 versions (despite obvious evidence to the contrary), and even if there are, that they are somehow <q>compatible</q> with each other so it doesn’t really matter. So I dug a little further to precisely document the incompatible changes in each version of RSS.</p>
<p>I would like to publicly apologize for my previous misstatements. There are not 7 different and incompatible versions of RSS; there are 9.</p>
<p>In March of 1999, Netscape released <a href="/web/20110810162114/http://www.purplepages.ie/RSS/netscape/rss0.90.html">RSS 0.90</a>. RSS 0.90 looks like this:</p>
<h4 id="example1">Example 1. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss090.xml">RSS 0.90</a></h4>
<pre><code><rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">
<channel>
<title>Mozilla Dot Org</title>
<link>http://www.mozilla.org</link>
<description>the Mozilla Organization web site</description>
</channel>
<image>
<title>Mozilla</title>
<url>http://www.mozilla.org/images/logo.gif</url>
<link>http://www.mozilla.org</link>
</image>
<item>
<title>New Status Updates</title>
<link>http://www.mozilla.org/status/</link>
</item>
</rdf:RDF></code></pre>
<p>In July of 1999, Netscape released <a href="/web/20110810162114/http://my.netscape.com/publish/formats/rss-spec-0.91.html">RSS 0.91</a>. Netscape’s RSS 0.91 was intentionally incompatible with RSS 0.90. They dropped the RDF-compatible syntax and redesigned RSS to be pure XML. They also added a DTD which defined several allowable entities (more on these below).</p>
<p>Netscape’s RSS 0.91 looks like this:</p>
<h4 id="example2">Example 2. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/netscape-rss091.xml">Netscape RSS 0.91</a></h4>
<pre><code><!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<rating>(PICS-1.1 "http://www.classify.org/safesurf/" l r (SS~~000 1))</rating>
<textinput>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
</textinput>
<skipHours>
<hour>0</hour>
</skipHours>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<description>1 &lt; 2, 3 &lt; 4.
In HTML, &lt;b&gt; starts a bold phrase
and you start a link with &lt;a href=
</description>
</item>
</channel>
</rss></code></pre>
<p>In June of 2000, Userland took Netscape’s RSS specification, removed Netscape’s copyright statement, made several incompatible changes, added a Userland copyright statement, called it <q><a href="/web/20110810162114/http://backend.userland.com/rss091">RSS 0.91</a></q>, and claimed that it was compatible with Netscape’s RSS 0.91.</p>
<p>Userland’s flavor of RSS 0.91 looks like this:</p>
<h4 id="example3">Example 3. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/userland-rss091.xml">Userland’s RSS 0.91</a></h4>
<pre><code><rss version="0.91">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<rating>(PICS-1.1 "http://www.classify.org/safesurf/" l r (SS~~000 1))</rating>
<strong><textInput></strong>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
<strong></textInput></strong>
<skipHours>
<strong><hour>24</hour></strong>
</skipHours>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<description>1 &lt; 2, 3 &lt; 4.
In HTML, &lt;b&gt; starts a bold phrase
and you start a link with &lt;a href=
</description>
</item>
</channel>
</rss></code></pre>
<p>Userland’s RSS 0.91 is incompatible with Netscape’s RSS 0.91 in several ways:</p>
<ol>
<li>Netscape’s RSS 0.91 specifies that <code><hour></code> within <code><skipHours></code> has a range from 0 to 23. Userland’s RSS 0.91 specifies that <code><hour></code> has a range of 1 to 24.</li>
<li>Netscape’s RSS 0.91 contains a <code>textinput</code> element. Userland’s RSS 0.91 contains a <code>textInput</code> element. Note the capitalization; XML element names are case-sensitive, so this is a completely different element.</li>
<li>Netscape’s RSS 0.91 uses a DTD which allows publishers to use 96 named entities: <code>&nbsp;</code>, <code>&iexcl;</code>, <code>&cent;</code>, <code>&pound;</code>, <code>&curren;</code>, <code>&yen;</code>, <code>&brvbar;</code>, <code>&sect;</code>, <code>&uml;</code>, <code>&copy;</code>, <code>&ordf;</code>, <code>&laquo;</code>, <code>&not;</code>, <code>&shy;</code>, <code>&reg;</code>, <code>&macr;</code>, <code>&deg;</code>, <code>&plusmn;</code>, <code>&sup2;</code>, <code>&sup3;</code>, <code>&acute;</code>, <code>&micro;</code>, <code>&para;</code>, <code>&middot;</code>, <code>&cedil;</code>, <code>&sup1;</code>, <code>&ordm;</code>, <code>&raquo;</code>, <code>&frac14;</code>, <code>&frac12;</code>, <code>&frac34;</code>, <code>&iquest;</code>, <code>&Agrave;</code>, <code>&Aacute;</code>, <code>&Acirc;</code>, <code>&Atilde;</code>, <code>&Auml;</code>, <code>&Aring;</code>, <code>&AElig;</code>, <code>&Ccedil;</code>, <code>&Egrave;</code>, <code>&Eacute;</code>, <code>&Ecirc;</code>, <code>&Euml;</code>, <code>&Igrave;</code>, <code>&Iacute;</code>, <code>&Icirc;</code>, <code>&Iuml;</code>, <code>&ETH;</code>, <code>&Ntilde;</code>, <code>&Ograve;</code>, <code>&Oacute;</code>, <code>&Ocirc;</code>, <code>&Otilde;</code>, <code>&Ouml;</code>, <code>&times;</code>, <code>&Oslash;</code>, <code>&Ugrave;</code>, <code>&Uacute;</code>, <code>&Ucirc;</code>, <code>&Uuml;</code>, <code>&Yacute;</code>, <code>&THORN;</code>, <code>&szlig;</code>, <code>&agrave;</code>, <code>&aacute;</code>, <code>&acirc;</code>, <code>&atilde;</code>, <code>&auml;</code>, <code>&aring;</code>, <code>&aelig;</code>, <code>&ccedil;</code>, <code>&egrave;</code>, <code>&eacute;</code>, <code>&ecirc;</code>, <code>&euml;</code>, <code>&igrave;</code>, <code>&iacute;</code>, <code>&icirc;</code>, <code>&iuml;</code>, <code>&eth;</code>, <code>&ntilde;</code>, <code>&ograve;</code>, <code>&oacute;</code>, <code>&ocirc;</code>, <code>&otilde;</code>, <code>&ouml;</code>, <code>&divide;</code>, <code>&oslash;</code>, <code>&ugrave;</code>, <code>&uacute;</code>, <code>&ucirc;</code>, <code>&uuml;</code>, <code>&yacute;</code>, <code>&thorn;</code>, and <code>&yuml;</code>. Userland’s RSS 0.91 removes the DTD, therefore all of these named entities are invalid and may not be used.</li>
</ol>
<p>In December of 2000, the RSS-DEV Working Group released <a href="/web/20110810162114/http://purl.org/rss/1.0/spec">RSS 1.0</a>, which they claimed was compatible with RSS 0.90. (In fact, it is completely incompatible and shares no elements with RSS 0.90 at all, since it uses a different namespace.) RSS 1.0 was also intentionally incompatible with both Netscape RSS 0.91 and Userland RSS 0.91, due to RSS 1.0′s RDF syntax.</p>
<p>RSS 1.0 looks like this:</p>
<h4 id="example4">Example 4. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss10.xml">RSS 1.0</a></h4>
<pre><code><rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/">
<channel>
<title>Example Dot Org</title>
<link>http://www.example.org</link>
<description>the Example Organization web site</description>
<strong><items>
<rdf:Seq>
<rdf:li resource="http://www.example.org/status/"/>
</rdf:Seq>
</items></strong>
</channel>
<strong><image rdf:about="http://www.example.org/images/logo.gif"/></strong>
<image <strong>rdf:about="http://www.example.org/images/logo.gif"</strong>>
<title>Example</title>
<url>http://www.example.org/images/logo.gif</url>
<link>http://www.example.org</link>
</image>
<item <strong>rdf:about="http://www.example.org/status/"</strong>>
<title>New Status Updates</title>
<link>http://www.example.org/status/</link>
<strong><description>News about the Example project</description></strong>
</item>
</rdf:RDF></code></pre>
<p>Later in December of 2000, Userland released <a href="/web/20110810162114/http://backend.userland.com/rss092">RSS 0.92</a>, which they claimed was compatible with their flavor of RSS 0.91.</p>
<h4 id="example5">Example 5. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss092.xml">RSS 0.92</a></h4>
<pre><code><rss version="0.92">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<rating>(PICS-1.1 "http://www.classify.org/safesurf/" l r (SS~~000 1))</rating>
<textInput>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
</textInput>
<skipHours>
<hour>24</hour>
</skipHours>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<description>1 &lt; 2, 3 &lt; 4.
In HTML, &lt;b&gt; starts a bold phrase
and you start a link with &lt;a href=
</description>
</item>
</channel>
</rss></code></pre>
<p>RSS 0.92 is incompatible with Netscape RSS 0.91 for all the reasons that Userland RSS 0.91 is incompatible with Netscape RSS 0.91. It is also incompatible with Userland RSS 0.91, because the content model of <code><description></code> was changed from plain text to HTML. The RSS 0.92 example (example 5) appears identical to the Userland RSS 0.91 example (example 3) in every way except the version number, <em>but it means something different</em>. To create an RSS 0.92 feed that means the same thing as example 3, you need to escape the <code><description></code>, like this:</p>
<h4 id="example6">Example 6. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss092-b.xml">RSS 0.92, properly escaped</a></h4>
<pre><code><rss version="0.92">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<rating>(PICS-1.1 "http://www.classify.org/safesurf/" l r (SS~~000 1))</rating>
<textInput>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
</textInput>
<skipHours>
<hour>24</hour>
</skipHours>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<strong><description>1 &amp;lt; 2, 3 &amp;lt; 4.
In HTML, &amp;lt;b&amp;gt; starts a bold phrase
and you start a link with &amp;lt;a href=
</description></strong>
</item>
</channel>
</rss></code></pre>
<p>In April of 2001, Userland released a draft of <a href="/web/20110810162114/http://backend.userland.com/rss093">RSS 0.93</a>, which they claimed was compatible with RSS 0.92 and their flavor of RSS 0.91. Although never officially <q>blessed</q> for public use, RSS 0.93 is in fact currently being used by companies <a href="/web/20110810162114/http://www.intertwingly.net/blog/1632.html">as large as Disney</a> (who is <a href="/web/20110810162114/http://conferences.oreillynet.com/cs/et2004/view/e_sess/4763">quite proud of it</a>). RSS 0.93 shares the same content model as RSS 0.92, and is therefore incompatible with all versions of RSS prior to 0.92. It also adds an optional <code><expirationDate></code> element, the significance of which will become apparent shortly.</p>
<p>RSS 0.93 looks like this:</p>
<h4 id="example7">Example 7. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss093.xml">RSS 0.93</a></h4>
<pre><code><rss version="0.93">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<rating>(PICS-1.1 "http://www.classify.org/safesurf/" l r (SS~~000 1))</rating>
<textInput>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
</textInput>
<skipHours>
<hour>24</hour>
</skipHours>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<description>1 &amp;lt; 2, 3 &amp;lt; 4.
In HTML, &amp;lt;b&amp;gt; starts a bold phrase
and you start a link with &amp;lt;a href=
</description>
<strong><expirationDate>Sat, 29 Nov 2003 10:17:13 GMT</expirationDate></strong>
</item>
</channel>
</rss></code></pre>
<p>In August of 2002, Userland released a draft of <a href="/web/20110810162114/http://backend.userland.com/rss094">RSS 0.94</a>, which they claimed was compatible with RSS 0.93, RSS 0.92, and their flavor of RSS 0.91. Although never officially <q>blessed</q> for public use, RSS 0.94 is currently being used by several popular technically-oriented sites such as <a href="/web/20110810162114/http://www.arstechnica.com/">Ars Technica</a>, as well as the official project feed for at least one RSS aggregator.</p>
<p>RSS 0.94 is incompatible with all previous versions of RSS in several ways:</p>
<ol>
<li>RSS 0.94 is incompatible with RSS 0.93, because RSS 0.94 drops the <code><expirationDate></code> element introduced in RSS 0.93.</li>
<li>RSS 0.94 introduces a significant change to the content model: a new <code>type</code> attribute on the <code><description></code> element, which gives the MIME type of the description. The default type is “text/html”, which means that if not specified, RSS 0.94 shares the content mode of RSS 0.92, and is therefore incompatible with all versions of RSS prior to RSS 0.92. And if type is specified, RSS 0.93-aware clients that do not know about the new attribute will misinterpret the content by incorrectly assuming it is HTML.</li>
</ol>
<p>Due to odd historical circumstances, no official copies of the RSS 0.94 specification exist. The above-linked RSS 0.94 specification incorrectly claims that it describes RSS 2.0.</p>
<p>RSS 0.94 looks like this:</p>
<h4 id="example8">Example 8. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss094.xml">RSS 0.94</a></h4>
<pre><code><rss version="0.94">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<rating>(PICS-1.1 "http://www.classify.org/safesurf/" l r (SS~~000 1))</rating>
<textInput>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
</textInput>
<skipHours>
<hour>24</hour>
</skipHours>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<strong><description type="text/plain">1 &lt; 2, 3 &lt; 4.
In HTML, &lt;b&gt; starts a bold phrase
and you start a link with &lt;a href=
</description></strong>
</item>
</channel>
</rss></code></pre>
<p>In September of 2002, Userland released RSS 2.0, which they claimed was compatible with RSS 0.94, RSS 0.93, RSS 0.92, and their flavor of RSS 0.91. RSS 2.0 is incompatible with all previous versions of RSS in several ways:</p>
<ol>
<li>RSS 2.0 drops the <code><rating></code> element that was allowed in Netscape’s RSS 0.91, Userland’s RSS 0.91, RSS 0.92, RSS 0.93, and RSS 0.94.</li>
<li>RSS 2.0 drops the <code>type</code> attribute introduced in RSS 0.94, because <q><a href="/web/20110810162114/http://archive.scripting.com/2002/09/06#theRoadToRss20">it is a mistake</a> to add confusion to the all-important description element.</q> The RSS 2.0 specification states that <code><description></code> <q>may contain HTML</q>, but there is no way for consumers to programmatically distinguish HTML from plain text (especially text that talks about markup). In other words, the content model for RSS 2.0 is <q>Here’s something that might be HTML. Or maybe not. I can’t tell you, and you can’t guess.</q></li>
</ol>
<p>RSS 2.0 looks like this:</p>
<h4 id="example9">Example 9. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss20.xml">RSS 2.0</a></h4>
<pre><code><rss version="2.0">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<textInput>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
</textInput>
<skipHours>
<hour>24</hour>
</skipHours>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<strong><description>1 &amp;lt; 2, 3 &amp;lt; 4.
In HTML, &amp;lt;b&amp;gt; starts a bold phrase
and you start a link with &amp;lt;a href=
</description></strong>
</item>
</channel>
</rss></code></pre>
<p>In November of 2002, Userland released RSS 2.01, which they claimed was compatible with RSS 2.0, RSS 0.94, RSS 0.93, RSS 0.92, and their flavor of RSS 0.91. RSS 2.01 changes the semantics of the <code><skipHours></code> element. In RSS 0.94, RSS 0.93, RSS 0.92, and Userland’s RSS 0.91, hours had a range of 1 to 24. In RSS 2.01, hours now have a range of 0 to 23. RSS 2.01 shares the content model of RSS 2.0, which means it is incompatible with RSS 0.94 and all versions of RSS prior to RSS 0.92.</p>
<p>RSS 2.01 looks like this:</p>
<h4 id="example10">Example 10. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss20-b.xml">RSS 2.0, post-11/11/2002 (RSS 2.01)</a></h4>
<pre><code><rss version="2.0">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<textInput>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
</textInput>
<strong><skipHours>
<hour>0</hour>
</skipHours></strong>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<description>1 &amp;lt; 2, 3 &amp;lt; 4.
In HTML, &amp;lt;b&amp;gt; starts a bold phrase
and you start a link with &amp;lt;a href=
</description>
</item>
</channel>
</rss></code></pre>
<p>The RSS 2.01 specification was published in place of the RSS 2.0 specification; no official copies of the RSS 2.0 specification exist. As you can see from example 10, RSS 2.01 feeds use the same “2.0″ version number as RSS 2.0, making it impossible to programmatically distinguish them. All RSS 2.0 feeds must be assumed to be RSS 2.01 feeds, despite the fact that RSS 2.01 is incompatible with RSS 2.0. This means that, if you published an valid RSS 2.0 feed on November 10th that contained <code><hour>24</hour></code>, you would wake up on November 11th to find that your feed had become invalid while you slept.</p>
<p>In January of 2003, Userland changed the already-published RSS 2.01 specification, to add a <code><rating></code> element again. The content model remains the same, which means RSS 2.01 is still incompatible with RSS 0.94 and all versions of RSS prior to RSS 0.92.</p>
<p>RSS 2.01 now looks like this:</p>
<h4 id="example11">Example 11. <a title="download this example as a separate file" href="/web/20110810162114/http://diveintomark.org/public/2004/01/rss20-c.xml">RSS 2.0, post-1/21/2003 (RSS 2.01 rev 2)</a></h4>
<pre><code><rss version="2.0">
<channel>
<title>Example Channel</title>
<link>http://example.com/</link>
<description>an example feed</description>
<language>en</language>
<strong><rating>(PICS-1.1 "http://www.classify.org/safesurf/" l r (SS~~000 1))</rating></strong>
<textInput>
<title>Search this site:</title>
<description>Find:</description>
<name>q</name>
<link>http://example.com/search</link>
</textInput>
<skipHours>
<hour>0</hour>
</skipHours>
<item>
<title>1 &lt; 2</title>
<link>http://example.com/1_less_than_2.html</link>
<description>1 &amp;lt; 2, 3 &amp;lt; 4.
In HTML, &amp;lt;b&amp;gt; starts a bold phrase
and you start a link with &amp;lt;a href=
</description>
</item>
</channel>
</rss></code></pre>
<p>Once again, the new RSS 2.01 specification was published in place over the old specification; no official copies of the previous version of the RSS 2.01 specification exist. Neither the revision number of the spec (“2.01″) nor the version number of the format (“2.0″) was changed, making it impossible to programmatically distinguish between them. This means that if a feed contains a <code><rating></code> element and declares itself as RSS 2.0, it is impossible to know whether the feed is valid unless you also know when the feed was created.</p>
<h4>Summary</h4>
<p>There are 9 versions of RSS, all of which are incompatible with various other versions. RSS 0.90 is incompatible with Netscape’s RSS 0.91, Netscape’s RSS 0.91 is incompatible with Userland’s RSS 0.91, Netscape’s RSS 0.91 is incompatible with RSS 1.0, Userland’s RSS 0.91 is incompatible with RSS 0.92, RSS 0.92 is incompatible with RSS 0.93, RSS 0.93 is incompatible with RSS 0.94, RSS 0.94 is incompatible with RSS 2.0, and RSS 2.0 is incompatible with itself.</p>
<p class=c>§
<h3 id=respond>Respond privately</h3>
<p><i>I am no longer accepting public comments on this post, but you can use this form to contact me privately. (Your message will not be published.)</i></p>
<form action="/web/20110810162114/http://wearehugh.com/public/contact.cgi" method=POST id=commentform>
<p><label for=author>Name </label><br>
<input type=text name=author id=author>
<p><label for=email>Email</label><br>
<input type=text name=email id=email></p>
<p><label for=comment>Message</label>
<textarea name=comment id=comment rows=10 cols=40></textarea></p>
<p><input type=submit value="Send message">
</p>
</form>
<p class=c>§
<div class=f>
<p>
<a title="my comments here and elsewhere" href=/web/20110810162114/http://firehose.diveintomark.org/>firehose</a> ‧
<a title="my current open source projects" href="/web/20110810162114/http://code.google.com/u/@UxdWQ1xUDhhBWwd%2F/">code</a> ‧
<a title="my personal news aggregator" href=/web/20110810162114/http://feeds.diveintomark.org/>planet</a>
<p>© 2001–present <a accesskey=9 href=/web/20110810162114/http://diveintomark.org/about>Mark Pilgrim</a>
</div>
</body>
</html>
<!-- Dynamic page generated in 0.266 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2011-06-13 10:23:33 -->
<!-- super cache -->
<!--
FILE ARCHIVED ON 16:21:14 Aug 10, 2011 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 21:11:40 Jan 16, 2013.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
-->