in reply to Re: Converting HTML to RSS
in thread Converting HTML to RSS

The URL you're fetching the content from returns a big java-script if I open it in mozilla or wget.
I don't think LWP::Simple interpretes js, correct me if I'm wrong, and just disregard this message if I'm saying something stupid.

The rest of the script contains errors I'm sure of you can spot 'em all by yourself, if your looking long enough. (using $headline as an undefined variable for example, not looping in some way over the content, etc.).



Update:Maybe you shouldn't use HTML::TokeParser but try to manufacture a regexp and parse the content by yourself
something like m!<a href="([a-zA-Z0-9/?&=]+)">([^<]+)!, which will most likely capture you the url and the title if slightly modified.

regards,
tomte