Rss and description element

I

Ily

Is it okay to have html in the Rss (realy simple sindication) file?

Reason being that I am generating the rss file based upon input from
user which contains html formatting (its checked to make sure its xml
compliant)

Many thanks
 
G

Guest

As a general rule with any XML document, if you have markup that may contain
illegal characters the best thing to do is enclose it in a CDATA section.
This applies to RSS, which is just an XML "variant" as well as any other type
of XML.
Otherwise, you may have to replace offending characters with their entity
references (e.g. ' with ' .etc)
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top