Re: Encoded HTML within <description> or <content>
Joseph Walton <[email protected]> Mon, 6 Jun 2005 20:13:03 +0100
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jun 04, 2005 at 12:06:39PM -0400, Etienne Robillard wrote:
> > Is this still valid in a DESCRIPTION element (or
> > anywhere else for that matter)?
> You can achieve the same effect if you use namespaces:
>
> <rss:description>
> <html:b>Big Bolded Text</html:b>
> </rss:description>
Non-escaped elements aren't allowed in an RSS description element.
However, a valid extension is to use:
<item>
...
<body xmlns='http://www.w3.org/1999/xhtml'>
<p><b>Big Bolded Text</b></p>
</:body>
...
</item>
rather than a description. (Atom includes support for this technique.)
--
------------------------------------------------------------ Joseph Walton --
------------------------------------------- "Not original, but something." --
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/