Download List

Project Description

WPP is a small perl5 script that allows preprocessing of HTML files. It allows you to define "variables", which are brief abbreviations for longer constructs, and include common HTML fragments. It's useful for giving a uniform layout to different HTML pages. It can be used in cgi-bin programs for automatic generation of pages. With less HTML code inside you can make more flexible cgi-scripts.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2002-10-17 15:00
2.13.1.27

This version includes post- and pre-processing filters (-f and -F switches), and a WPP::call() method for inlined scripts.
Tags: Development, Major feature enhancements

2002-08-15 04:12
2.13.1.25

This release adds wpplib, a standard macros library for WPP. A config
file can now be placed into subdirs, and it will be included and
merged with the main one only for files contained in that
subdirectory. XHTML output has been added for builtin macros through
the -x or -xhtml switches or the builtin macro XHTML_OUTPUT. Macro
overloading has been added; the same macro can now be defined multiple
times with a different number of parameters. DEFAULT_TMPLPATH and
TMPLPATH have replaced DEFAULT_TMPLDIR and TMPLDIR; you can now
specify multiple template paths.

Tags: Development, Major feature enhancements

2001-01-30 15:14
2.13

The last "chop" calls were replaced with safer "chomp". The '\n' within macros declared in config files now are kept as in raw and tmpl files. New built-in macros were added: EVAL and RANDOM.
Tags: Stable

2001-01-30 15:14
2.12

This release fixes a bug in the macro declaration parsing block which caused parsing to fail if extra spaces were entered after the bracket, and a bug in depend mode where file dependencies were printed before a valid makefile target in some circumstances.
Tags: Stable

2001-01-30 15:14
2.11

Fixes for a macro argument expansion bug inside the IF test and a serious bug in nested macro expansion (now the macro arguments prefix used internally by wpp is randomized), new built-in macros FILE_SIZE, FILE_DATE, and SYSTEM, a customizable DATE format through the DATE_FORMAT variable, and the output file was stripped of leading spaces and empty lines.
Tags: Stable

Project Resources