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 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. See
<urlinfo text> (here) and
<urlinfo links> (here) for details.
DIAGNOSTICSurltext 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 ALSOfetch, submit, urlinfo, urlcp