WPP

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.

Tags Internet Web Dynamic Content CGI Tools/Libraries Site Management Text Processing Markup HTML/XHTML
Licenses GPL
Operating Systems OS Independent POSIX Linux
Implementation Perl

Tweet this project Short link

Rss Recent releases

Changes: Safe eval code has been removed. INLINE error now prints eval code with line numbers. You can safely use print inside Eval code instead of returning output.

Changes: RURL was removed from wpplib, and is now a built-in macro instead. Built-in macros use internally relativized paths through RURL. CERN2HTML and NCSA2HTML relativize URLs in map tags. Debian packaging files were added. A bug in WPP::call which occurred when calling built-in macros was fixed. The arguments to WPP::get, WPP::set, WPP::eval, and WPP::canonpath are now checked. WPP::set now checks the variable name. Minor internal code cleanups were made.

  • Rrelease-mid
  •  05 Jun 2003 03:45
  • Rrelease-after

Changes: This version fixes a directory bug when creating with "./ {file}.raw", and some code cleanups.

  • Rrelease-mid
  •  02 Jun 2003 22:47
  • Rrelease-after

Changes: Deps generation cleanups were done. 'use strict' is enabled by default. All the warnings and errors now print the file and line. Some path generation code and other misc. code was also cleaned up.

Changes: This release adds a SYSTEM_PP macro alias, and fixes some warning messages with Safe module shipped with Perl 5.6.1. The client/server side map related macros now have support for map id. This version uses Term::ANSIColor for outputting bold messages when required. There is a new switch "-u", "--unsafe-eval" for disabling Safe module and using the standard "eval" function. The FILE_SIZE now can output values in bytes, KB, MB, etc. An EVAL error will result in a full dump of the inlined code with the error message.

Rss Recent comments

Rcomment-before 03 Jun 2003 02:18 Rcomment-trans lm Rcomment-after

Re: Isn't this...
not really, but since I'm using it for my own works I've released it some years ago.

Rcomment-before 03 Jun 2003 02:15 Rcomment-trans sn Rcomment-after

Isn't this...
... yet another template engine?

5e054efdfb9bbcb79eec8ed8b21a991d_thumb

Project Spotlight

episoder

A tool to tell you about new episodes of your favourite TV shows.

No-screenshot

Project Spotlight

rGallery

An image gallery Web script.