Introduction
  CGI and SSI
  <pike> tag
    Using the <pike> tag
  Pike script
  Modules
  Parser modules
  Location modules
  Other module types
  Request information object
  Responses
  Library methods
 
Using the <pike> tag

Using the Pike tag is simple:

<pike>
  Pike code
</pike>
The code contained in the <pike> tag is ordinary Pike code, and is executed as if it were a method. The <pike> tag will be replaced by its output. The output is always a string and is either returned or accumulated with calls to the output() method.

The output from the tag will always be parsed by the RXML parser. If the output() method is used each call to that method will be parsed separately.

The <pike> will inherit roxenlib and does thus have access to all library methods. There are also a few predefined variables:

args
A mapping containing the attributes given to the <pike> tag.

id
The id object of the current request.
defines
All the items created with the <define> tag.
Example
<gtext><pike>
  output( "Hello visitor from " );
  output( id->remoteaddr );
</pike></gtext>