fondo de menu

Current version: 1.3

HTMLPROC is a HTML preprocessor, designed to aid the web creator. It's main advantage is to allow to include files into files. This allows you to put a menu in a file and include it into all your pages, so if you change something in the menu, it will change automagically in all files.

There are another two advantages: it allows to refer to files using a "global path" or "by its name" (a must when you want to include a menu and your files are in directories and subdirectories), and adds the size of all pictures, allowing a better appearance while loading them.

I used other HTML preprocessor before, but when I started working with CSS I found a lot of troubles whith it because it was "too clever". That's why I decided to create this new preprocessor in Python. It does only what I want, and does it well :)

History of versions

  • Version 1.4
  • HTMLProc didn't add the size in pictures from files added with include. Fixed.
  • Change from os.popen2 to subprocess.Popen, to ensure compatibility with Python 3.0.
  • Version 1.3
  • Now supports the use of <a href="#...
  • Version 1.2
  • Now the user can choose if wants to create symlinks for not-html files or copy them to the final directory
  • Version 1.1
  • Major code cleanup
  • Added in the instructions the need of using lowercases for tags
  • Added better detection of PHP and JAVASCRIPT blocks
  • Version 1.0
  • First public release

Download section

Sources in tar.bz2 format: HTMLPROC 1.4 (15Kbytes)