Atomm wrote:
Alright Bubba, I have a new quest for you....
Using php's CURL command and regular expressions, create a script to grab content from other websites. :-)
It is called scraping. Check this out, a 101 document describing EXACTY what you want 😉
Okay it is not that complete but it is a start, why reinvent the wheel. 😉
Okay this is probably not even helpful but it is what i had real fast 😛
http://www.netprofess.com/articles/screen_...ns_curl_php.pdfI have been playing with Unix for 13 years now. I used to write a lot of C code using gcc with a VT100 terminal. Old school baby!!! 😉
I do admit I am a bit rusty these days with all he visual stuff but I am actually better at the CLI.
Do you seriously need some code? I could probably find something for you.. I started messing with scraping awhile back for my home automation stuff. The home automation software lets you script things so you can actually ask the computer "did I win the lottery" and it goes and runs a script, scrapes the web, takes results and outputs them into a text file that is then Read by the TTS (text To Speech) interpreter! Rather cool actually! 😉
I have some Perl code that does it.
I have a LOT of computer books. I could open a book store. 🙂 My job is cool that way, I am always getting computer books 😉
Now if I would only read a few 😉