|
After re-reading your article and additional comments I think I need to explain a little more.
I *like* html in the RSS description section. I don't think I'm alone. I, like many other RSS authors, *want* to put html in the description field. If the spec, DTD or Schema says this field should be text only then it's wrong in the sense that it doesn't allow for common practice or what people want to use it for.
So now we have a problem. How to embed arbitrary and possibly malformed html and character codes into a field in an XML document? Ideally, I would just use a toolkit that cleaned it up and applied appropriate encoding so that I could get on and write application function. Unfortunately for my particular poison of PHP, I've never found such a toolkit. The alternative would be to have an extension to the spec that provided for an attachment suitably encoded.
I'm willing to accept the premise that escaped embedded markup is harmful. But I need an alternative that provides a solution... Have you any suggestions?
|