[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [syndication] referencing a DTD
- To: syndication@yahoogroups.com
- Subject: Re: [syndication] referencing a DTD
- From: Julian Bond <julian_bond@voidstar.com>
- Date: Wed, 14 Nov 2001 08:39:53 +0000
- In-reply-to: <4.3.1.0.20011114100239.019f2810@127.0.0.1>
- References: <150d01c16c78$f9011e80$33a1dc40@murphy> <2p8LtYAvYZ87EARZ@voidstar.com> <165201c16c90$ff9b41e0$33a1dc40@murphy> <020e01c16c96$82a0b930$820f000a@pnakadaws2> <172001c16c9a$7de46cd0$33a1dc40@murphy> <4.3.1.0.20011114100239.019f2810@127.0.0.1>
In article <4.3.1.0.20011114100239.019f2810@127.0.0.1>, Rod Davies
<rdavies@orientpacific.com> writes
>As many would know, when Netscape reorganized their site 12 months back,
>they mistakenly deleted their RSS DTD, meaning many publishers with RSS
>feeds referencing this suddenly and without warning had problems. Netscape
>restored it very smartly after complaints, and stated that it was a mistake.
>
>My question is, seeing Netscape does not have as much interest in RSS as
>previously is there another DTD we could use, which would be more
>permanent? Could anybody suggest some?
>
>We are not programmers or developers, just publishers, which might be very
>evident! We use 0.91
Arguably, you don't need a DTD and many feeds don't reference one. The
only piece you might need is a reference to an entity encoding list.
Even this can avoided by double encoding all entities (eg < becomes
&lt;).
A typical entity encoding for RSS 0.9x might look like this at the top
of the RSS file.
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for
XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
%HTMLlat1;]>
This references a file at the http://www.w3.org which is less likely to
disappear than the netscape one.
As another alternative, you can take a copy of the netscape file and
host it yourself.
But I'm no XML expert. Perhaps somebody could comment from the point of
view of producing "good" XML.
--
Julian Bond email: julian_bond@voidstar.com
CV/Resume: http://www.voidstar.com/cv/
WebLog: http://www.voidstar.com/
M: +44 (0)77 5907 2173 T: +44 (0)192 0412 433
ICQ:33679568 tag:So many words, so little time