This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Getting data from site

Old posts that have not been replied to for several years.
Locked
T
Tappertje
Voice
Posts: 1
Joined: Wed Dec 15, 2004 12:07 pm
Contact:

Getting data from site

Post by Tappertje »

Well.. i tried to search for it but didn't bring me anything usefull..
I am trying to make/find a script that can read certain data from a table on the web. and then says it to the irc channel..

like it would get headlines from fok.nl and tells that.. it should get best player from botb site and say that to channel.. anyone some idea's?
boo!
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

use the http package; you can then use this to strip HTML tags:

Code: Select all

regsub -all -- {<[^>]*>} $htmlline "" line
Locked