Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
yamlpp is a very simple HTML preprocessor inspired by Nicolas Thiery's
htmlpp (see htmlpp.sourceforge.net). yamlpp is Copyright (C) 2001
Jean-Christophe FILLIÂTRE and freely distributed under GPL.
INSTALLATION
============
./configure
make
make install
Default installation is in /usr/bin. You can specify an alternate directory
with ./configure --bindir dir
USAGE
=====
usage: yamlpp [-l lang] [-o file] files
Languages: <#fr> ... #fr> <#en> ... #en> <#it> ... #it>
Macro definition: <#def m> ... #def>
Macro use: <#m>
Macro test: <#ifdef m> ... #ifdef>
Predefined macros: <#language> <#date> <#yamlpp>
EXAMPLE
=======
Your input file index.prehtml is the following
===index.prehtml======================================================
<#def navig>
<#fr>English#fr>
<#en>Français#en>
#def>
<#def GNU>GNU#def>
<#fr>Titre Français#fr><#en>English title#en>
<#fr>N'hésitez pas à visiter le site de <#GNU>.#fr>
<#en>Have a nice time visiting the <#GNU> web site.#en>
<#navig>
======================================================================
and you produce the corresponding French and English pages with
yamlpp -l fr -o index.fr.html index.prehtml
yamlpp -l en -o index.en.html index.prehtml
CHANGES
=======
version 0.3
o fixed bug with nested #ifdef (patch contributed by Pierre Letouzey)