Code: Select all
set myurl www.bla.com
package require http
bind pub - !news my:news
proc my:news {nick uhost hand chan text} {
global myurl
set token [::http::geturl $myurl]
set content [::http::data $token]
::http::cleanup $content
# and now extract from $content only the stuff you want and do whatever you want with it.
}