#166 Unicode character refs in feed titles

CVS_version
closed
5
2012-09-23
2004-05-24
Robert Sayre
No

http://www.lockergnome.com/rss/rss.php
http://www.mnot.net/blog/index.rdf

IE6 handles lockergnome's but not mnot's. Same with
Mozilla. FeedDemon handles both.

RSS Bandit displays the the character references in
both cases.

Lockergnome is served as text/xml. Mnot is served as
text/html. Both feeds declare their encodings to be
iso-8859-1.

Robert Sayre

Discussion

  • Dare Obasanjo
    Dare Obasanjo
    2004-05-24

    Logged In: YES
    user_id=24549

    MNot's feed has

     <title>mnot&amp;#8217;s Web log</title>
    

    in the XML. I'm not sure why you think this is supposed to
    render as anything other than "mnot&#8217s Web log". This
    is the text content of the title after XML entities have been
    resolved and given that RSS Bandit does not support HTML in
    titles, the output is correct.

    As for Lockergnome, RSS Bandit displays the expected
    characters because the content contains proper XML entities
    not doubly escaped content. For example, the title in the
    Lockergnome feed is

    Lockergnome’s RSS & Atom Tips

    which when XML entities are expanded is "Lockergnomes RSS
    & Atom Tips"

     
  • Logged In: NO

    RSS Bandit doesn't display the expected characters for the lockergnome
    feed, in the left-hand column. I don't have RSS Bandit in front of me
    anymore, but I will check the version number tomorrow. I'm pretty sure
    I'm using the most recent snapshot binary.

    I understand that these are not necessarily bugs in RSS Bandit, but other
    aggregators seemed to "handle" it.

     
  • Logged In: YES
    user_id=714452

    I know what Robert mean: the feed title is wrong (HTML
    entities on mnot) if one select "Take title from feed" at the
    new feed dialog (or drag/drop of the Url to the treeview of
    subscribed feeds). If just fixed that to setup the title (name
    of the feed) in the subscribed feeds tree with correctly
    decoded entities calling HtmlDecode().