Well, that's the nice part. This dude has borken down his stuff like this;

coming_rss.cgi    favoriter_html4.cgi*         import_modules/
table.cgi*        valid-html401.png
comming_rss.cgi*  fetch_listings.pl*           listing_storage.pm
table_html4.cgi*  valid-xhtml11.png
copying.txt       flat_file_listing.txt        pastell.cgi*
test-storage.pl*  vcss.gif
docs/             flat_file_sources.txt        pastell_html4.cgi*  tvdiv.pm
favicon.ico       horisontal_table.cgi*        rightnow_rss.cgi*   tvinst.pm
favoriter.cgi*    horisontal_table_html4.cgi*  storage_modules/
tv-k76.css


And inside the import_modules directory he has;


aftonbladet.pm  dagenstv.pm           import_utils.pm  sveriges_radio.pm
tjohoo.pm  tvnu.pm
bleb_org.pm     eskilstunakuriren.pm  nollettan.pm     svt.pm
tv4.pm     tvprogram_nu.pm

And all of these (save the import_utils.pm) ar "plugins" to the actual
grabber.
This is the way I think a grabber should work, since it is so depenent on
its provider. Having just one provider is very brittle structurally.

Anyway, what I'm fiddling around with at the moment is to take the output of
this program and jump on it until it looks loike the regular TV-xml file.

The flat-file output from this looks liks this btw;


....
MTV;20031208062500 CET;20031208063000 CET;News;The latest news in
music.[89064779]
....

(Notice that I'm not using Buffy as a program example :-)=

Should work...
/PS



-----Ursprungligt meddelande-----
Fr�n: Alex Polite [mailto:[EMAIL PROTECTED]
Skickat: den 12 december 2003 09:55
Till: [EMAIL PROTECTED]
�mne: Re: SV: [Freevo-users] Swedish TV-listings


On Wed, Dec 10, 2003 at 02:18:20PM +0100, Peter Svensson wrote:
> I think that the proper way to go would be to at the very least write
> something that outputs a TV.xml file that feels liks it comes from
> tv_grab_sn.
> 
> I'm gearing up towards (OK, I'm slouching :) reading the plain text-files
> generated by the swedish DIY tv-guide web-site; tv-tabl�n
> (http://tv.theyard.org/) to TV.xml looking files. I'm leaning towards an
> evil hack rather than learning some sophisticated xml api.

Where does  http://tv.theyard.org/ get his data? It might be better to
use the same sources as he does. Is he committed to maintain his site?
If not you might find your code worthless in a couple of months when
his site goes off line.

I don't intend to nag (esp. since I'm not throwing in any development
time myself.) I just think that it would be good to find a permanent
solution to this problem.

alex


-- 
Alex Polite
http://plusseven.com/whoami


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to