I'd change the returns to just 'return' and not 'return ""'
Not much I can to do debug if I can't duplicate the problem. Put some "putcmdlog" lines in the procs so you can see the steps being taken.
Hello, just tried this, however that didnt work for me. Unless I am doing something wrong? Also would the above still work for php urls?rosc2112 wrote:Change the pubm bind's mask to be more specific, eg:
bind pubm $urltitle(pubmflags) {*://*.htm?} pubm:urltitle
should work.
Good. This script is broken. It doesn't handle encodings or character sets correctly....FightingNavyman wrote:the link isnt working anymore
Code: Select all
if {[regexp -nocase {<title>(.*?)</title>} $data match title]} {
return [string map { {href=} "" \" "" } $title]
} else {
return
}
}
}
putlog "Url Title Grabber $urltitlever (rosc) script loaded.."