WEB_MAKET - a tool to generate Web-pages.
Command line keys:
| /tDIRECTORY or /t"DIRECTORY" | - target directory |
| /fFILTER1,FILTER2,... | - list of filters to apply to each input file (e.g. /fEN,RU,SW,FR ) |
| /p | - pause after the end (if not set, the application is paused only in case when errors are found) |
| source files or directories | - if a directory is specified, only .htm files are handled (even .html files are ignored, and all other extensions too). |
Short description of Web_maket commands:
$$STOP! |
Stop further handling. There could be $$DEF+ commands after the $$STOP! only. It is used also as a stop mark while including a file. |
$$OUT=file_name |
Set output file name different then source file name + _FF.htm (where FF is an active filter). As any other command, it can be specified for a certain filter only using command $$IF?... (see below). |
$$DEF+name |
Declare defined block until the next $$DEF+ or until $$END |
$$END |
Finish current block (started with $$DEF+name). |
$$-name |
Insert named block defined with $$DEF+name ... $$END |
$$INCLUDE:file_name |
Insert file inplace $$INCLUDE command |
$$START! |
Starting marker in an included file (using the $$INCLUDE command). If also a $$STOP! is defined, only text between $$START! and $$STOP! is included. |
$$IF?filter |
Skip until the next $$IF or $$FI if the filter specified is not matching to a filter currently handling (filters are given from command line option /fFILTER1,FILTER2,.... E.g., /fRU,EN). |
$$FI |
Finish $$IF?xyz ... command. All things between $$IF? and $$FI are skip or not depending on a filter currently set. |
Also <td class=YY> ... </td> are removed for case YY is in
filters set by command option /f but are not matching current filter set.
Use <p class=BB> to decorate commands $$AAAAA... . All such <p ... </p> tags are removed before handling source files (as well as all <span...> and </span> tags - so do not use <span> tags for formatting).