This package for the the UK Lottery has now been completely revised
The earlier V2 package started by Justin and added to by Gogs, is now defunct since the source web site has changed its layout (This is always a problem with screen scraping).
Data is now from www.teletext.co.uk which seems
to update quicker than the original site (!) and now includes prize breakdown and last 4 draws
Collects the data from the web and saves it to a file lottery.txt in \config
Lottery Data is written to two virtual devices one for the ball information and one for the draw date
Devices are created manualy and must be updated in the script
lotto logo graphics located in \images
lotto ball graphics located in \lotto
bonus ball graphics no longer used
you can also alter the row colours of the tables to match your site stylesheets at the top of the script
Use Lottery.asp to display results
Version 2 now defunct and no longer supported at all
The ASP uses ball icons for the display (extracted from the web site thanks to Michael McSharry's Getwebfile.exe)
There are two jpgs in the ZIP, one showing the devices on the status page and the other showing the ASP page
Installation:-
Extract the files from the ZIP with the "use folder names" option
Create two virual devices
modify the script to change the devices if required
modify the script to specify the row colours if required
create an event for the script (I regret that for reasons of my own I have changed the script name)
and off you go
Dependencies:-
standard header and footer include files
Kevin
Change Record
v3.1 Updated to restore column headings
The discussion seems to here
http://ubb.homeseer.com/6/ubb.x?a=tp...875#7566080875
[This message was edited by kev_t on Sat, 28 February 2004 at 11:31 AM.]
The earlier V2 package started by Justin and added to by Gogs, is now defunct since the source web site has changed its layout (This is always a problem with screen scraping).
Data is now from www.teletext.co.uk which seems
to update quicker than the original site (!) and now includes prize breakdown and last 4 draws
Collects the data from the web and saves it to a file lottery.txt in \config
Lottery Data is written to two virtual devices one for the ball information and one for the draw date
Devices are created manualy and must be updated in the script
lotto logo graphics located in \images
lotto ball graphics located in \lotto
bonus ball graphics no longer used
you can also alter the row colours of the tables to match your site stylesheets at the top of the script
Use Lottery.asp to display results
Version 2 now defunct and no longer supported at all
The ASP uses ball icons for the display (extracted from the web site thanks to Michael McSharry's Getwebfile.exe)
There are two jpgs in the ZIP, one showing the devices on the status page and the other showing the ASP page
Installation:-
Extract the files from the ZIP with the "use folder names" option
Create two virual devices
modify the script to change the devices if required
modify the script to specify the row colours if required
create an event for the script (I regret that for reasons of my own I have changed the script name)
and off you go
Dependencies:-
standard header and footer include files
Kevin
Change Record
v3.1 Updated to restore column headings
The discussion seems to here
http://ubb.homeseer.com/6/ubb.x?a=tp...875#7566080875
[This message was edited by kev_t on Sat, 28 February 2004 at 11:31 AM.]