HTMLPROC is a HTML/XHTML preprocessor, designed to aid the web creator. It's main advantage is 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's two advantages mores: it allows to refer files by a "global path" or "by 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 using 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.
What's New in This Release: [ read full changelog ]
· 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.