Difference between revisions of "GETURL()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 8: Line 8:
  
 
==See Also==
 
==See Also==
[[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FILETOSTR()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[MEMOREAD()]], [[MEMOWRITE()]], [[SUBSTR()]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[TEXTEDIT()]], [[TRIM()]]
+
[[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FILETOSTR()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[ISSERVER()]], [[SUBSTR()]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[TRIM()]]
  
  
Line 18: Line 18:
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
 +
<!-- twitter.rsp -->
 +
<html>
 +
<body>
 +
<%
 
? geturl("http://twitter.com/recitalsoftware",60)
 
? geturl("http://twitter.com/recitalsoftware",60)
 +
%>
 +
</body>
 +
</html>
 
</code>
 
</code>
  

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