Difference between revisions of "GETURL()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | ==Purpose== | |
+ | Function to return a URL as text | ||
− | + | ||
− | + | ==Syntax== | |
+ | GETURL(<expC> [, <expN>]) | ||
+ | |||
+ | |||
+ | ==See Also== | ||
+ | [[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FILETOSTR()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[ISSERVER()]], [[SUBSTR()]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[TRIM()]] | ||
+ | |||
+ | |||
+ | ==Description== | ||
+ | The GETURL() function reads the specified URL, <expC>, and returns its contents as text. The optional <expN> parameter allows a timeout in seconds to be set. | ||
+ | |||
+ | |||
+ | |||
+ | ==Example== | ||
+ | <code lang="recital"> | ||
+ | <!-- twitter.rsp --> | ||
+ | <html> | ||
+ | <body> | ||
+ | <% | ||
+ | ? geturl("http://twitter.com/recitalsoftware",60) | ||
+ | %> | ||
+ | </body> | ||
+ | </html> | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ==Products== | ||
+ | Recital Web, Recital Server, Recital | ||
+ | [[Category:Documentation]] | ||
+ | [[Category:Functions]] |
Latest revision as of 14:29, 16 February 2010
Purpose
Function to return a URL as text
Syntax
GETURL(<expC> [, <expN>])
See Also
AT(), ATNEXT(), FCLOSE(), FCREATE(), FERROR(), FGETS(), FILETOSTR(), FOPEN(), FPUTS(), FREAD(), FREADSTR(), FWRITE(), ISSERVER(), SUBSTR(), STUFF(), STR(), STREXTRACT(), STRTOFILE(), STRTRAN(), STRZERO(), TRIM()
Description
The GETURL() function reads the specified URL, <expC>, and returns its contents as text. The optional <expN> parameter allows a timeout in seconds to be set.
Example
<!-- twitter.rsp --> <html> <body> <% ? geturl("http://twitter.com/recitalsoftware",60) %> </body> </html>
Products
Recital Web, Recital Server, Recital