Search the web
Sign In
New User? Sign Up
rss-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Encoded HTML within <description> or <content>   Message List  
Reply | Forward Message #7255 of 7450 |
Re: [RSS-DEV] Re: Encoded HTML within <description> or <content>

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.



Thu Aug 4, 2005 10:52 am

hack_poet
Offline Offline
Send Email Send Email

Forward
Message #7255 of 7450 |
Expand Messages Author Sort by Date

What is the validity of encoded HTML within a DESCRIPTION element? I have seen <description> &lt;b&gt;Big Bolded Text&lt;/b&gt; followed by non- bolded...
ecomputerd
Offline Send Email
Jun 3, 2005
6:49 pm

... It's valid, technically. It's also pretty dumb IMO, but running-code concerns mean we're stuck with it. -- Regards, Jon Hanna "…if it walks like a duck,...
Jon Hanna
hack_poet
Offline Send Email
Jun 3, 2005
7:03 pm

... It's valid, technically. It's also pretty dumb IMO, but running-code concerns mean we're stuck with it. -- Regards, Jon Hanna "ˇKif it walks like a duck,...
JanJan
fafa836
Offline Send Email
Jun 3, 2005
9:32 pm

Actually, in your reply, my example was decoded once when it shouldn't have been. I'll repeat my example here with spaces added so it can't be decoded. The...
Greg Smith
ecomputerd
Offline Send Email
Jun 4, 2005
1:34 am

... You can achieve the same effect if you use namespaces: <rss:description> <html:b>Big Bolded Text</html:b> </rss:description> Cheers, Etienne ...
Etienne Robillard
granted14
Offline Send Email
Jun 4, 2005
4:06 pm

... Non-escaped elements aren't allowed in an RSS description element. However, a valid extension is to use: <item> ... <body...
Joseph Walton
joe24906
Offline Send Email
Jun 8, 2005
1:17 pm

... Is the colon a typo? -- Jack....
mrdemeanour
Offline Send Email
Jun 8, 2005
1:23 pm

... It's considered standard to use escaped HTML. A point to consider, however, is you want to make sure people can actually READ your newsfeed. This is not...
Bill Kearney
wkearney99
Offline Send Email
Jun 8, 2005
1:52 pm

I understand the need to avoid the use of embedded html when producing a feed. But as a writer of the *client*, I have limited control over what I receive. ...
ecomputerd
Offline Send Email
Aug 4, 2005
10:31 am

... 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...
Jon Hanna
hack_poet
Offline Send Email
Aug 4, 2005
10:50 am

Hello, r> I understand the need to avoid the use of embedded html when r> producing a feed. But as a writer of the *client*, I have limited r> control over...
Alex Kolesnichenko
iamtwask
Offline Send Email
Aug 4, 2005
12:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help