On Thu, Mar 26, 2009 at 4:01 PM, Mariano Kamp <[email protected]> wrote:

> Tim,
>  I (http://newsrob.com) am parsing atom feeds using the  XML pull parser and
> the title of type "html" contains those entities that are not translated to
> a '. That always puzzled me. Maybe you can shed some light on that?

Yeah, if it's type="html" then the data is double-escaped. E.g.
Suppose that in your HTML you have

<p>AT&amp;T</p>

Then if this is in <content type="html">

you get

&lt;p>AT&amp;amp;T&lt;/p>

Believe it or not... this how RSS does it always.  -Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to