ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º Dennis Bareis º º db0@anz.com º º º º http://www.labyrinth.net.au/~dbareis/ppwizard.htm º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ PPWIZARD is a powerful but simple to use free preprocessor that can greatly simplify the creation of HTML. At its simplest you can create definitions such as: #define MyEmailAddress db0@anz.com #define HttpAnExternalSite http://www.laybrinth.net.au These are defined once (normally in a separate file called a header file) and then referred to throughout your pages. If you need to change the address its a simple change to one location and then a rebuild. PPWIZARD can be told to automatically only rebuild those files that need to be (it tracks what input files make each output file). Example of using one of the definitions defined above: My email address is <$MyEmailAddress>, please ... PPWIZARD is powerful (more details below) but just being able to use the "#define" command to create simple definitions as show above and including the header files in your pages with "#include" would be more than enough justification for its use and many people won't use the more advanced features (at least not initially). I am more than happy to help anyone who can provide a detailed description of any problem and what they have tried to do to resolve it. PPWIZARD can import data from databases. It can be extended through a simple (but very powerful) processing language called rexx. The following is an example of me creating a reasonably complex macro and using it twice to include some images (the height and width of these are determined by the macro - it would generally be in a separate header): **************************************************************************** ***************************** START EXAMPLE ******************************** **************************************************************************** ;--- Photo macro will either use passed size or work out correct size for you --- #define Photo \ ;--- Where is file on local file system? ---------------------- \ #evaluate+ LocalFileName ^"..\graphics\{$Image}"^ \ \ ;--- The output depends on this image ------------------------- \ #DependsOn INPUT "<$LocalFileName>" \ \ ;--- Start a new table row ------------------------------------ \
Pictures |
---|