WebFileShrinker is a console program and you may call it this way:
java -jar webfileshrinker.jar files [options]
where files might contain wildcards like *.* or gives .prj-file which contains a list of files.
-removequotes | remove quotes of tag-parameters if possible (not good practise though i believe) |
-lowercase | convert all tag- and parameter-names to lower case |
-uppercase | convert all tag- and parameter-names to upper case |
-togglecase | toggle the case of all tag- and parameter-names by every letter (may looks funny and confusing) |
-removestringlf | remove linefeeds inside strings |
-leavelf | leaves the linefeeds inside html |
-leavescriptlf | leaves the linefeeds inside javascript/css |
-spacetolf | converts all spaces to linefeeds |
-autoaddfiles | automatically add reference found (if this is enabled it is maybe enough to pass index.html and all others are found automatically) |
-optimizescript | javascript/css should be optimized as well (also inside tag-parameters if reconized) |
-skipunchanged | unchanged files should not be processed |
-hideskipped | skipped files should not be shown |
-sourcedir=... | base folder of source files |
-targetdir=... | base folder of target files |
-logfile=... | logs to specified file |
There is also support for common use with ASP, this means that simple If- and Select-Statements should be handled correctly in combination with the optional HTML-Code.