Roxen.git / server / modules / examples / newstyle_fnord.pike

version» Context lines:

Roxen.git/server/modules/examples/newstyle_fnord.pike:65:    return 0;    }       int do_iterate;    }   }         // Some constants to register the module in the RXML parser.    - constant module_type = MODULE_TAG; + constant module_type = MODULE_TAG|MODULE_EXPERIMENTAL;   LocaleString module_name = LOCALE(3,"Newstyle Fnord!");   LocaleString module_doc =    LOCALE(4,"Adds an extra container tag, &lt;fnord&gt; that's supposed "    "to make things invisible unless the \"fnord\" prestate is present."    "<p>This module is here as an example of how to write a "    "very simple newstyle RXML-parsing module.</p>");      // Last, but not least, we want a documentation that can be integrated in the   // online manual. The mapping tagdoc maps from container names to it's description.      // Include this is if you use the TAGDOC system.   #include <module.h>      TAGDOCUMENTATION;   #ifdef manual   constant tagdoc=(["fnord":#"<desc type='cont'>The fnord container tag hides its "    "contents for the user, unless the fnord prestate is used.</desc>"    "<attr name=alt value=string>An alternate text that should be written "    "in place of the hidden text.</attr>"]);   #endif