Welcome to WebmasterWorld Guest from 220.127.116.11
When it gets parsed it spits out errors or stops at the first illegal tag, suggesting to me such things aren't allowed. Is there a way to have tags embedded (since I can't remove them) and have things work?
Where are these HTML tags showing up?
Does a <description> element contain HTML markup?
If you need HTML tags in the feed itself you should use some HTML Character Entity Encoding. For example using the <BR> tag:
<description>Blah blah blah blah blah blah blah blah <BR&;gt; blah blah blah blah blah blah.</description>
[edited by: bill at 12:21 am (utc) on Dec. 17, 2008]
Similarly, I'd like to link to other content from my articles with <a href> tags, but that also kills validation. I think my options are:
(1) Don't use any tags, and have annoying long articles without breaks or links.
(2) Use <p> and <a> tags, and don't be concerned that the feed doesn't validate.
Is this correct?
But this begs the question: What if I *do* want the user to see the tags. On an HTML page < will show the user a < sign. How do I show the < and > signs in an RSS feed?
(& or "ampersand")
(< or "less than")
(> or "greater than")
(' or "apostrophe")
(" or "quotation mark")
You would use those codes in lieu of the characters in your feed. The HTML tags that use these characters are parsed by the system displaying the feed.