[erlang-questions] Parsing RSS

bryan rasmussen <>
Mon Sep 4 12:50:20 CEST 2006


Well if I understand what you're saying "1ff8\r\n<?xml" should raise a
parsing error because there should not be anything before the XML
declaration in an XML file.

Cheers,
Bryan Rasmussen

On 9/1/06, Joel Reymont <> wrote:
> There seems to be an issue with url:raw_get_url/2 from www_tools.
>
> It returns <<"1ff8\r\n<?xml version=\"1.0\" enco"...>> and the first
> 6 characters cause the error.
>
> On Aug 31, 2006, at 10:33 PM, Joel Reymont wrote:
>
> > Has anyone tried to parse RSS feeds using Erlang?
> >
> > I tried the example at http://wiki.trapexit.org/index.php/
> > How_to_write_an_RSS_aggregator but xmerl_scan:string blows up. The
> > proper URL for the feed is http://rss.slashdot.org/Slashdot/slashdot.
>
> --
> http://wagerlabs.com/
>
>
>
>
>
>



More information about the erlang-questions mailing list