Menu

#150 Problem with Ampersand in OPML files

open
nobody
None
5
2004-08-02
2004-08-02
No

HI,
Just a quick one - I exported my OPML file from home to
transfer to my laptop, and the laptop would not
recognise any feeds in the details.

The problem was due to the following line

[outline text="Lockergnome's RSS & Atom Tips"
xmlUrl="http://www.lockergnome.com/rss/rss.php"
type="rss" version="RSS"][/outline]

The ampersand caused the import to fail. I'm not sure
whether it should have been exported differently, or
imported differently, but when I replaced the ampersand
with 'and', it all worked great.

Regards,
Andy

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I can duplicate this, I also found it can't handle & in urls
    either, I have one for the Weather Channel and it does the
    same thing, I had to remove all & and also the url with the &
    in it.

    Regards,
    Don

     
  • Anonymous

    Anonymous - 2004-09-14

    Logged In: YES
    user_id=1121834

    Indeed, the & in url's is a pain. For instance, the
    Feedreader News feed on sourceforge contains an & :-s
    I can copy the exported url into the 'new feed' wizzard and
    it has no problems reading the & there.

    Andre

     
  • Jarek Zgoda

    Jarek Zgoda - 2004-10-12

    Logged In: YES
    user_id=92222

    Invalid characters must be converted to entities (named and
    numeric). Also, Expat chokes on generated OPML file (it's
    not well-formed XML document anyway).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.