Blog

(X)HTML embedded in RSS

2007-06-20 20:15:19 by Martynas Jusevičius

Can anybody show a working example of XHTML embedded in RSS 1.0? We've seen it done in RSS 2.0 and Atom, but not RSS 1.0.

We know one can put escaped HTML markup into the feed and the readers would understand it. But we do not do it on purpose, because escaped HTML is harmful. As an example of that, some RSS readers try to interpret our escaped markup which is actually sample code for XML or XSLT and should not be interpreted at all. We generate valid XHTML, so escaping it before embedding into another XML format makes no sense.

Or should we switch to Atom? But what we like about RSS 1.0 is that it is based on RDF :)

Digg Digg this! del.icio.us del.icio.us!

Comments (1)

2009-04-16 19:39:44 by style

now i use html and php ,but RSS is 2.0 now

New comment






No HTML allowed.