[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Just to confuse everything...



Hi all,

Sorry but I haven't been keeping up with all the discussion, mostly I've
been hearing Dave's side through Scripting News but I haven't looked at
RSS 1.0 yet.

But I just thought I'd let you know how our use of RSS has "evolved" due
to client needs.

An abridged example is below.

We've added a body field (which turns RSS into something it wasn't
really meant to do, but it's what we needed at the time), and added two
attributes to <item>: "id" to specify a unique ID for the stories (so
when people are continually reading the RSS file, they can tell whether
they have seen stories before) and "count" to specify ordering (yeah I
know the tags specify ordering anyway but that's what our customers
wanted).

Any comments? (Apart from the fact that I shouldn't be using the same
DTD?!)

<?xml version="1.0"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN"
             "http://my.netscape.com/publish/formats/rss-0.91.dtd";>
<rss version="0.91">
<channel>
<title>smh.com.au Breaking Entertainment News</title>
<link>http://www.smh.com.au/breaking/</link>
<description>smh.com.au Breaking Entertainment News</description>
<language>en-au</language>
<item id="A21618-2000Sep28" count="1"> <title>Billy Elliot star 'too
young' for premiere</title> <link>http://www.smh.com.au/blah</link>
<pubDate>2000-09-28 14:26:08</pubDate>
<description>Britain's newest film star arrived at the premiere for his
first film and admitted: "I'm too young to be here."</description>
<body><![CDATA[<p>Britain's newest film star arrived at the premiere for
his first film and admitted: "I'm too young to be here." 
[...]
<p>Daldry, back from a three-week tour of the United States where he has
been promoting the film, said: "It was great doing a film and an
experience I thoroughly enjoyed."]]></body>
</item>
<item id="A21543-2000Sep28" count="2">
 <title>Gallery director's future could be under a cloud</title> 
<link>http://www.smh.com.au/breaking/blah</link>
 <pubDate>2000-09-28 13:15:25</pubDate>
 <description>The future of the National Gallery's embattled director
Brian Kennedy was under threat after a controversial resignation, art
critic Bruce James said today.</description>
 <body><![CDATA[<p>CANBERRA, Sept 28 AAP The future of the National
Gallery's embattled  he said. <p>]]>
 </body>
</item>
</channel>
</rss>

Brendan.
-- 
Brendan Quinn                            bquinn@theage.fairfax.com.au
Online Editorial Technology Manager             Phone +61 3 9601 4246 
f2 - Fairfax Interactive Network                  Fax +61 3 9601 4231 
601 Lt Lonsdale St, Melbourne 3000 Australia     http://www.f2.com.au

Deeper, faster, smarter...                 http://olympics.smh.com.au