|
SYNOPSIS
<urltext>
<urllinks>
DESCRIPTION The urltext function returns the formatted text of the last
document fetched by fetch or submit. urllinks
returns a list of the document's non-image HREF links, as
fully-qualified (i.e. absolute) URLs.
Note: All information about the last fetched document - including
formatted text and links - is available from the urlinfo
function, here, which is preferred over the
obsolescent functions urltext and urllinks.
DIAGNOSTICS
urltext returns the formatted text of the last-fetched
document. urllinks returns a list of its non-image links, in
absolute path form.
EXAMPLE
<fetch "http://www.somesite.com/">
<urltext>
The text is:
<PRE>
$ret
</PRE>
CAVEATS The urltext and urllinks functions were added Jan. 15 1997.
If submit is used with TOFILE, then urltext and
urllinks will return nothing, because the content was not held
in memory for processing.
SEE ALSO
fetch, submit, urlinfo, urlcp
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|