Roxen.git
/
server
/
modules
/
examples
/
fnord.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/modules/examples/fnord.pike:1:
// This is a small sample module. It is intended to show a simple example // of a container.
-
string cvs_version = "$Id: fnord.pike,v 1.
2
1996/
11
/
27
13
:
47
:
59
per Exp $";
+
string cvs_version = "$Id: fnord.pike,v 1.
3
1996/
12
/
02
04
:
32
:
39
per Exp $";
#include <module.h> inherit "module"; // Documentation: // The purpose of this module is to allow comments in the SPML source // that are invisible to average viewers, but can be seen with the // right magic incantation. Fnord! The special text is rendered in // the "sample" font, if available, which makes it possible for
Roxen.git/server/modules/examples/fnord.pike:75:
// indiceates wheter or not there can be more than one of this module // active in any virtual server at any time. If it is 0, there can be more // than one, othervise not. This is a 'one of a kind' module, only one // copy of this module can be included in any virtual server at any time. array register_module() { return ({ MODULE_PARSER, "Fnord!", ("Adds an extra container tag, 'fnord' that's supposed to make "
-
"things invisible unless the \"fnord\" prestate is present."),
+
"things invisible unless the \"fnord\" prestate is present."
+
"<p>This module is here as an example of how to write a "
+
"very simple RXML-parsing module."
),
0, 1 }); } // This is nessesary functions for all MODULE_PARSER modules. mapping query_tag_callers() { return ([]); } mapping query_container_callers() { return (["fnord":tag_fnord,]); }