write %FOXNews.output2 http://www.FOXNews.com $+ $gettok($gettok($replace(%FOX.temp,<a,$chr(173)),2,173),2,34)
if &#149; isin $gettok($striphtml(%FOX.temp),1,32) { set %FOX.temp $gettok($striphtml(%FOX.temp),2-,32) }
if &#149; isin $striphtml(%FOX.temp) { set %FOX.temp $replace($striphtml(%FOX.temp),&#149;,--[FOX]--) }
write %FOXNews.output $striphtml(%FOX.temp)
[color:red]inc %fox.cnt
if (%fox.cnt == 2) { sockclose FOX | unset %fox.cnt }[/color]