Is there a script to

Old posts that have not been replied to for several years.
Locked
B
BossHogg

Is there a script to

Post by BossHogg »

Get info from a Php Web page.
Like echo some news from a php page to the bot on irc.???



Thanc for your time
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

See many of the scripts in the Tcl archive, that deal with making requests to web-pages.

Tcl included a package called http, that allow you to requests URL information and content.

This script would simply involve making a request to such a page, then sending the content on.

However, remember that HTML based pages, will include the HTML, and thus need some parsing to remove, or gain specific content from within.
Locked