From: Kouhei Sutou Date: 2006-12-07T22:11:37+09:00 Subject: Re: REXML/RSS parse error Hi, In <4577F0FB.8020300@erdbeere.net> "REXML/RSS parse error" on Thu, 7 Dec 2006 19:45:53 +0900, Patrick Plattes wrote: > I have a problem while parsing an RSS file. I try to open a URL via > open-uri and it usually works fine, but with the RSS URLs from ccMixter > I get a parse error. It's a bit strange because if i download the file > and try to open it, it works fine. > > I tried: > rss = > RSS::Parser.parse("http://ccmixter.org/media/api/query?score=400&sinceu=1157536651&limit=25&tags=remix+editorial_pick&rand=1&format=rss",false) > > And got: > RSS::NotWellFormedError: This is not well formed XML > Missing end tag for 'html' (got "head") I got some garbages after RSS 2.0: % ruby -r open-uri -e 'puts open("http://ccmixter.org/media/api/query?score=400&sinceu=1157536651&limit=25&tags=remix+editorial_pick&rand=1&format=rss").read' | tail -n 25 "/web/ccmixter/www/cclib/cc-util.php"(205): Cannot modify header information - headers already sent by (output started at /web/ccmixter/www/cclib/cc-feed.php:432) [2006-12-07 07:10 am][138.243.129.4][/media/api/query?score=400&sinceu=1157536651&limit=25&tags=remix+editorial_pick&rand=1&format=rss]

wups, ccMixter is experiencing technical difficulties...

If you were in the middle of an upload or posting a message it probably worked OK but you should click here to get back to the site's home page or use your browser's BACK button to return to the site and make sure.

The admins have been notified of the problem and will look into it very shortly.

Thanks, -- kou