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

Re: Bad entities



On Saturday, October 6, 2001, at 04:40  PM, Dan Lyke wrote:

Until a better thought out standard appears, telling people to fix
their feeds to the latter seems like the reasonable solution.

Or they could reference the HTML entity lists:

[[[

Note: Since RSS 1.0 does not require a DTD, be sure to include inline declarations of entities used aside from the aforementioned five. The following DTD fragments are very useful as a source of HTML-compatible entities.

*	http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent
*	http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
*	http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent


Usage example:


<?xml version="1.0"?>

<!DOCTYPE rdf:RDF [
<!ENTITY % HTMLlat1 PUBLIC
 "-//W3C//ENTITIES Latin 1 for XHTML//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent";>
%HTMLlat1;
]>

<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
 xmlns="http://purl.org/rss/1.0/";
>

...

]]]
 - http://purl.org/rss/1.0/spec
   RDF Site Summary (RSS) 1.0

And folks could just stick that at the top of their feeds.
--
[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]