The included scripts are the ones I use on my Fedora Core 4 system to speed up XSLTv. There is a weekly, daily, and hourly script which I run with cron. These are optional but do help speed quite a lot. They may cause problems if you watch a lot of TV around midnight.

All three files WILL require configuration; variables for various directories are set in the top of each file.
		
--tvweekly.sh downloads the week's tv listings, sorts them, and divides them into seven daily files. It then immediately calls tvdaily.sh. This should be run at a random time according to zap2it's request.

--tvdaily.sh copies the current day's file (###.xml) to tv.xml and deletes yesterday's file. Run just after midnight.

--tvhourly.sh applies tv_grep --on-after (an hour ago) to reduce the file size throughout the day. Run about half past the hour.

An alternative approach would be just to run tv_grep on the huge xml file every six hours or so to get a reduced xml file; this would not suffer the 'midnight problem,' but takes way more processing power than my distributed approach. I seldom watch tv late at night (after the Colbert Report I turn in) so these scripts Work For Me.