AlgART HTML Packer (AHP)
Client-side Demo-Version

Help
License
Packing options:



   For most situations, we recommend to use only LZ algorithm: it gives the maximal unpacking speed and enough high density of packing.
Both LZ and Huffman algorithms can increase the density of the packing for large texts.
Details



   The mode "7.5 bits/character" gives the better compression ratio. But You must test the result of packing at the target Web-server and all popular browsers: the unpacking algorithm may not work sometimes in this case.
The mode "6.5 bits/character" is safe, but gives the worse compression ratio.
Details

   If You use AHP for packing several pages, You can little reduce the size of every packed page. To do it, You are to clear the flag "Add self-extraction functions" and attach a small JavaScript file unpack.js to all packed pages:
        <script language="JavaScript" src="unpack.js"></script>.
By default, this flag is set. See "Details"about creating unpack.js.
Details



   Use the mode "Pack HTML page" if You want to pack HTML text. AHP will build a packed HTML fragment which is equivalent to the source HTML text.
The mode "Pack plain text for JavaScript" allows You to pack any text. AHP will build the JavaScript fragment which unpacks the packed data and assigns the unpacked text to the JavaScript variable s. You can use this mode to pack your JavaScript code.
Details

   If this flag is set, and if You use the mode "Pack HTML page", then HTML comments <!--...--> will be automatically removed from the text before packing.
Details

   This flag is useful if the unpacked HTML text contains some non-latin characters or if You use the mode "7.5 bits/character", and You want that your Web page can be viewed under Netscape 3.0.
Details

 Block identifier:    Usually, You don't need to change this value. If You set the flag "compatible with Netscape 3.0", and if You insert several packed blocks into one HTML-page, You are to set unique block identifier for each block.
Details


Source text:

Copy here the HTML text, placed between <body...> and </body> tags in the unpacked Web-page, and press "Pack".
Or, if You use the mode "Pack plain text for JavaScript", copy here any text and press "Pack".

Under some browsers, You cannot insert here >30000 characters!
In this case, if You need to pack large text, please split it to several blocks.

Packed text:

Copy this text into clipboard and paste it into your HTML-page, between <body...> and </body>.

Packing report: