Find all links in fld
Peter M. Brigham
pmbrig at gmail.com
Sat Jan 17 10:08:34 EST 2015
On Jan 16, 2015, at 5:29 PM, Shawn Blc wrote:
> Here's what I ended up with , with the extra php file (one for the rss, one
> to clean up the html a bit [that file was 13 lines long]). Total lines =
> 20 lines.
>
> on mouseUp
> set the itemDelimiter to "<br />"
> put URL "http://mydomain.com/cleanHTML.php" into tURL
> put tURL into fld "fld4"
> replace "<br />" with return in fld "fld4"
> put any line of fld "fld4" into fld "fld3"
> end mouseUp
OIC, you want a random URL. Then:
on mouseup
put fld "fld1" into tList
replace space with cr in tList
filter tList with "http*"
put any line of tList
end mouseup
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
More information about the use-livecode
mailing list