Simple Way To Grab Data Off Websites


Samba Pa Ti

Many Mooses Live In The Fields \o/
Joined
Aug 3, 2006
Messages
568
Age
42
Location
Blackpool - England
Website
dinkykitty.com
hi,
theres some stats on a website that i would like to use (they change all the time) i was wondering what the best way to get them off the site automatically would be and then maybe have them turned into a jpg image that looks all flashy and nice and uploaded to my Ftp server

ive tried some web extraction programs but im having brain freeze and some nice ideas would be great.
 
You could use a php script to extract the data and parse it into whatever layout you want (or even to an image if required, although this can get messy). Of course this will require an active hosting with PHP support.

Alternatively you could probably create a script in something like perl or python which could be run locally and upload the results.


Unfortunatly my php and perl is a bit rusty at the minute so I can't help you with either of those and I've never looked at python :p There will probably be tutorials out there on doing this in perl and python.
 
I'm thinking Perl too... I would be happy to help you just so I could get a little exercise, but I have no clue at all how to establish a connection to get the file from TEH INTARWEB. Could parse a local file though.
 
Back
Top