Re: Re: Encoded HTML within <description> or <content>

Jon Hanna <jon-YK+g4hZFQDMeIZ0/[email protected]> Thu, 04 Aug 2005 11:52:02 +0100
Newsgroups gmane.network.syndication.rss.devel
Message-ID <[email protected]>
ecomputerd wrote:
> Going back to a veriation on my original question, how do I tell the 
> difference between a DESCRIPTION element that has embedded HTML and 
> one that doesn't? As far as I can tell (and according to responses 
> to the original question), both of these are valid:

There is no way to reliably determine which is being used. This is a 
design flaw in those formats that explicitly allow for such embedding 
which alas affects those that don't allow it, since the "technique" is 
used with all of them.

About the best you can do is assume that anything that "looks like" HTML 
is HTML, since you will then have the correct results more often than 
not with the data that's out there.


 
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/