docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.5Web Developer ManualVariable Tags
Copyright © 2012, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

<append>
<copy-scope>
<dec>
<define>
<inc>
<insert>
<insert cached-href>
<insert file>
<insert href>
<insert realfile>
<insert scopes>
<insert variable>
<insert variables>
<roxen-automatic-charset-variable>
<scope>
<set>
<sprintf>
<sscanf>
<undefine>
<unset>
<use>
<vform>

<insert href/>

Provided by module: Tags: Additional RXML tags

Inserts the contents at that URL. This function has to be enabled in the Additional RXML tags module in the Roxen WebServer configuration interface. The page download will block the current thread, and if running unthreaded, the whole server. There is no timeout in the download, so if the server connected to hangs during transaction, so will the current thread in this server.


Attributes

href="string"

The URL to the page that should be inserted.


nocache="string"

If provided the resulting page will get a zero cache time in the RAM cache. The default time is up to 60 seconds depending on the cache limit imposed by other RXML tags on the same page.


method="string" (GET)

Method to use when requesting the page. GET or POST.


silent="string"

Do not print any error messages.


timeout="int"

Timeout for the request in seconds. This is not available if your run the server without threads.


<insert href='http://www.somesite.com/news/' silent='silent' timeout='10' />
<else>
   Site did not respond within 10 seconds. Try again later.
</else>

post-variables=""variable=rxml variable[,variable2=rxml variable2,...]""

Comma separated list of variables to send in a POST request.


<insert href='http://www.somesite.com/news/' 
         method='POST' post-variables='action=var.action,data=form.data' />

post-data="string"

String to send as the body content of the POST request. Mutually exclusive with the 'post-variables' argument.


<insert href='http://www.somesite.com/webservice/' 
         method='POST' post-data='&var.data;' />

request-headers=""header=value[,header2=value2,...]""

Comma separated list of extra headers to send in the request.