<p>WebDoc files are used for the documentation of Invenio. WebDoc syntax is based on HTML, plus some additional markup that provides the necessary features to generate basic "dynamic" pages.</p>
<tr><td><code><CFG_SITE_URL></code></td><td>Base URL of the website</td><td><CFG_SITE_URL></td></tr>
<tr class="blue"><td><code><CFG_SITE_SECURE_URL></code></td><td>Secured base URL of the website</td><td><CFG_SITE_SECURE_URL></td></tr>
<tr><td><code><CFG_VERSION></code></td><td>Version of Invenio</td><td><CFG_VERSION></td></tr>
</table>
<p>Variables are read-only and you can only use the one provided in this table.</p>
<h3><a name="comments">3. Comments</a></h3>
<p>Lines starting with <code>#</code> are simply removed from the
output.</p>
<h3><a name="headerandfooter">4. Page header and footer</a></h3>
<p>The header and footer are automatically added by the
system to the generated page. You also have to omit the
<code><body></code> tag. However you can (and should) use the following
directives at the beginning of the WebDoc file to change the properties of the
header and footer:</p>
<table class="list">
<tr><th>directive</th><th>description</th></tr>
<tr><td><code><!-- WebDoc-Page-Title: _(My Title)_ --></td><td>Title of the page. It will be embedded in <code><h1></code> tag at the beginning of the page, as well as in the <code><title></code> tag of the header. Also used in the breadcrumb of the page ("navtrail")</td></tr>
<tr class="blue"><td><code><!-- WebDoc-Page-Navtrail: <a class="navtrail" href="<CFG_SITE_URL>/help/hacking">Hacking Invenio</a> &gt; <a class="navtrail" href="webstyle-internals">WebStyle Internals</a> --></code></td><td>Specified the breadcrumb of the page.</td></tr>
<tr><td><code><!-- WebDoc-Page-Keywords: some keywords --></code></td><td>Keywords that will appear in the <code><meta name="keyword"/></code> tag of the page.</td></tr>
<tr class="blue"><td><code><!-- WebDoc-Page-Description: a page description --></code></td><td>A description that will appear in the <code><meta name="description"/></code> tag of the page.</td></tr>
<tr><td><code><!-- WebDoc-Page-Revision: $Id$ --></code></td><td>The version of the file (typically for CVS keyword expansion).</td></tr>
</table>
<h3><a name="wellformdness">5. Well-formdness of WebDoc files</a></h3>
<p>WebDoc files must be well-formed XML files (except for the
variables specified in section 2). Failing to fulfill this requirement
might lead to unexpected results.</p>
<p>Please make sure that the produced output is XHTML valid.</p>
<p>For the sake of simplicity, the HTML and the WebDoc markups use the
same namespace. In rare cases the markups might then clash. Eg:
<code><hr></code> tag (Croatian language code) in
<code><lang></code> tags. Make sure to test your pages in a browser