[mythtv-users] Mythstream parsers - BBC

Robin Gilks g8ecj at gilks.org
Thu Aug 25 21:18:02 UTC 2005


> This looks very interesting, I haven't played with it in Mythstream yet
> tho'.
>
> How about using HTML::TokeParser for the parsing rather than your
> regex's?, I think it'll handle 'bad' html a bit better.
>
> updated version of bbc_l1.pl attached. (untested, but it creates the same
> output as your bbc_l1.pl)
>
> Neale,
>
>

Thanks Neale - that works great and getting the description field is easy
using using a get_trimmed_text("/li"). Much easier to read and debug as
well!!

I'm going to tidy up the inline documentation and post to the list shortly.

-- 
Robin Gilks




More information about the mythtv-users mailing list