fondo de menu
HTMLproc

Current version: 1.4

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 :)

Download zone

Package in .tar.bz2 format (14 Kbytes)

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