[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [syndication] Bad entities
In article <000801c15005$ed8f88f0$070d0dc0@monster>, Jeff Barr
<jeff@vertexdev.com> writes
>I'm getting complaints that the syndic8 feed at
>http://www.syndic8.com/genfeed.php?format=ocs does not properly declare
>or handle entities.
>
>Here is the first offending line:
>
> <dc:description>Linux Preview - Noticias de Linux en
>Español</dc:description>
>
>Do I need to add a DOCTYPE to my feed? What should it look like?
><?xml version="1.0"?>
It's an rdf format. So the full rdf definition will solve it eg
<?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:ocs = "http://InternetAlchemy.org/ocs/directory#"
xmlns:dc = "http://purl.org/metadata/dublin_core#">
etc ...
--
Julian Bond email: julian_bond@voidstar.com
CV/Resume: http://www.voidstar.com/cv/
WebLog: http://www.voidstar.com/
HomeURL: http://www.shockwav.demon.co.uk/
M: +44 (0)77 5907 2173 T: +44 (0)192 0412 433
ICQ:33679568 tag:So many words, so little time