datei=index.html
chprg=header.def|!|def2html - test page|!|php, html, def2html, manfred, larcher, grufo|!|def2html is a small php tool to generate html files from simple def-files like this one|!|php, html, def2html, manfred, larcher, grufo|!|def2html version 0.1a by Manfred Larcher|!|
<br>
<p class="tli">
Copyright (C) 2004  Manfred Larcher<br>
<br>
This library is free software; you can redistribute it and/or<br>
modify it under the terms of the GNU Lesser General Public<br>
License as published by the Free Software Foundation; either<br>
version 2.1 of the License, or (at your option) any later version.<br>
<br>
This library is distributed in the hope that it will be useful,<br>
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU<br>
Lesser General Public License for more details.<br>
<br>
You should have received a copy of the GNU Lesser General Public<br>
License along with this library; if not, write to the Free Software<br>
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA<br>
</p>
<p class="tmi"><b>DESCRIPTION</b><br>
def2html is a small and simple to use php program for generating html files.<br>
def2html looks for one or more patterns and replaces them by the desired text.<br>
the generated text will be written into the file indicated by 'datei=filename' at the beginning of the def file.<br>
<br>
This is a simple example starting with the header, the body is included as plain<br>
html text in the .def file and the footer.def closes all, filling in the date of writing.<br>
<a href="/def/index.def" target="_new">/def/index.def</a> is the main definition of this page<br>
<a href="/def/lib/header.def" target="_new">/dev/lib/header.def</a> is the header of this page with keywords...<br>
<a href="/def/lib/footer.def" target="_new">/dev/lib/footer.def</a> is the footer which closes the html part<br>
</p>
<p class="tmi"><b>USAGE</b><br>
Start def2html like that: http://www.yourhomepage.org/def2html.php<br>
only the changed files will be processed.<br>
If you use it like that:<br>
http://www.yourhomepage.org/def2html.php?force=yes<br>
every .def file will be processed!<br><br>
The directory structure should look like that:<br>
/def<br>
/def/lib<br></p>
<p class="tmi"><b>TODO</b><br>
Features that will be added in upcoming releases:<br>
1. Documentation<br>
2. MYSQL and/or PostgreSQL support<br>
3. Features you suggest<br>
</p>
chprg=footer.def
