[REBOL] Searching web page by line
From: David_A_Brown::vanguard::com at: 6-May-2003 11:06
I am trying to search a web page and if I find two strings on the same line
of html text perform an action:
I've tried
page: read http://www.xyz.com/ /lines
if find page "string1" and "string2" [write %file page]
and
page: read http://www.xyz.com/ /lines
if find page "string1" [
if find page "string2" [
write %file page
]
]
I have a related question. How do you search sequentially thru a web page
and set a Boolean value if you encounter a string then do an action if you
find another string later.
Thanks.