Harward-style chapter numbering into site-specific processing scripts. This is
no longer a part of htmlXPress.
November 2012 (not released)
New: @attr_not_zero to tolerate hspace="0".
2012 (not released)
Removed a "defined()".
2007 (not released)
Added support for &pre_fix (we use this
for setext-to-html conversion).
Added PHP file extension support.
Added handling of
Added support for extension changes, e.g.
"xrc" => "html".
Improved TOC link generation
problem with undefined $outdir when --inplace was used.
Fixed a clash
between PLIST and ordinary XML files.
Changed default text creator
BBEdit (R*ch) -> TextWrangler (R!ch).
More use of 'unless' instead of
May 2006 (not released)
Added support for
September 2005 (not released)
Added support for CSS-compliancy test.
To disable known
syntax issues in the CSS file, use the "item?:value".
Rudimentary support for server-side includes (SSI).
January 2005 (not released)
Now using UTF-8 and works
best with UTF-8 encoded input files.
Added a Harvard-style numbering
system to auto-number FAQ pages.
compression support for style sheets (CSS).
CSS id names can
now be replaced by short generic names. For that, all id names must be defined
in the configuration file. No replacement is done if the generic id is already
Better XML support (various), e.g. a new option
--(no)lint to run xmllint (default on).
Added option --(no)link
to check all hyperlinks (default off).
&sign_off subroutine that the user can define in much the same way as
&html_rules. Whereas &html_rules is called at the beginning of our
processing, &sign_off is evoked at the very end. You can use this, for
instance, to issue warnings on whatever you do not like about the result.
Retired $isdst variable as it was not used.
The file naming
fall-back routine now checks whether a file rule has been used used before
applying default settings.
Changed variable $isxml to $type (eq
Added support for € -> €.
<<doctype *>> macro to declare the document type. The inserted
DOCTYPES adhere to W3C standards for HTML 4.01 XHTML 1.0 and 1.1 documents. Use
e.g. <<doctype strict>>.
While not intended as a
complete syntax checker, a number of consistency checks have been added.
New option --(no)syntax to switch test off (default on).
check for lowercase <doctype> which is not allowed.
check for undetected <<macros>>.
Simplified the code
through stronger use of "unless".
Processing now stops at
"__END__" (in a separate line).
Changed the format of the debug
messages (to STDERR).
New subs "msg", "err" to streamline
July 2003 (internal build)
for command-line options though Getopt::Long.
Introduced options to
access some internal variables: --configuration=name (name of
$configuration file [_html_configuration.pl]) --configuration (no file:
skip configuration file) --help --usage (show embedded help page via
Pod::Usage). --verbose ($verbose = 1)
New option --pipe be able to
use htmlXPress in a pipe such as: cat test.html | htmlXPress.pl --pipe >
$verbose messages are now printed to STDERR.
Renamed to htmlXPress (was htmlPress).
Mac OS X compliant.
Modified the structure to be able to run under Mac
Whether or not MacPerl is used is determined by $macperl.
Added debugging features ($debug).
New $sourcedir to track
whether we are writing into the same directory.
Changed the text wrap
flag in the file_rules - it is no longer a boolean; instead it indicates the
column width. Sub html_rules is now declared in main; call checked via
Renamed configuration file to
Recoded parts after suggestions from the
Perl porting guide.
Thus now using File::Spec::Function.
Improved the code documentation.
Fixed a bug with the input separator $/ now correctly using $_.
Corrected the date handling - $mday and $isdst was incorrect. $wday
is adjusted to be in the range 1-7 (Mon-Sun).
Now removes unnecessary
markup code: </p> </li> </dd> </dt>. ... but not if
we are processing an XML file (stricter syntax).
Exchanged longer HTML
codes against smaller ones, e.g. <address> will be exchanged by
New keyword <<file>> which is replaced by the
result file name.
Fixed handling of a '#' comment in the very first
Renamed it to htmlPress to avoid
name conflict with a shareware tool of the same name (HTML Squeezer).
Minor fix for removing HTML-style comments.
Adjusted all date
variables to be useful, e.g. $year += 1900.
$year is now an integer again.
GNU General Public License for the distribution of htmlPress.
bug handling multi-line HTML comments as well as multiple '#' comments.
Introduced more flexible solution to handle different file types. The new
array @file_rules now defines how file names are generated, which creator is
used for the result file, whether it will be compressed and whether it will be
Source files may now have
several possible file name extensions. The default extensions are "src",
"html-src", and "txt". The user may customize this via the
The file name extension for resulting HTML
files can now be customized via the $html_extension variable. The default is
The browser application that owns the resulting HTML files
can now be selected via the variable $html_creator.
Added support for
more special characters such as ê, ï, etc.
for < and >: \< \>.
Now using "perl -w" for better
HTML code is now line-wrapped. This feature is "beta" and must be enabled in
the configuration file.
makes use of a local configuration file named "_html.configuration", which
must be placed in the same directory as the HTML source files. In this
configuration file, the user may define her own code words (thus eliminating
the need to change htmlPress itself). This is also excellent for
Moved the definition of special keywords
out of htmlPress into the configuration file. It is easier to edit the
It is now possible to specify a destination
directory in the configuration file. The processed HTML files will then be
saved in this directory.
Added an example to the configuration file on
how users may define their own date format.
Added tons of new keywords, including: <<doctype>>,
<<body>>, <<font>>, <<copyright>>,
<<author>>, <<company>>, <<email>>, and
Added support for umlauts such as ä
and ö. This makes writing the source files more convenient.
The default source file extension is now ".src".
Resulting HTML files will have a ".html" extension.
scripts are now exempt from compression.
Added support for
MacPerl::Choose() to allow the user to select a new destination file if
required. In this way, the user may also choose to override the previous file.
The user may also cancel processing at this point.
The source files
are now processed as a whole, rather than line-by-line. This improved the code