Contemplate Flattener

1.0b

5/27/03
If you flatten a password-protected site, the PHP and ASP versions of the Flattener will succeed because they can capture your authentication information and carry it through to their internal assembly process. However, this functionality is currently not available in the Perl version, so flattening a password-protected site with flattener.cgi will fail with file permissions errors.

1.0

8/29/03
The alignment of the items on the main Flattener menu is improved.

The get_setting function now contains an extra line to ensure that Contemplate will evaluate a setting of "0" in the preferences file as false in every language. The ASP version was evaluating "0" as true, resulting in some preference settings not taking effect.

1.0.1

10/30/03
You no longer need to specify the directory location of your page definitions file if you store it in the contemplate directory. For example, your setting for "read page definitions from" in preferences.ini might be simply "pages.txt." You can still store your definitions file elsewhere by using a setting like "../other/pages.txt."

If you're using Apache's mod_rewrite or other software to rewrite dynamic URLs, you no longer need to use "assembled" as the string that triggers the rewrite. If you wish to use a different string, you can open each of the server-side scripts included with your version of Contemplate, look for the $URL_rewriting_flag variable definition, and change it in the script. (This setting is not available in the preferences file because the scripts need it in order to read the preferences file.)

1.0.2

11/21/03
The $URL_rewrite_flag variable is now properly declared as a global in PHP functions. This problem caused the PHP version of the flattener to incorrectly convert dynamic URLs to flattened URLs.

1.0.3

05/18/04
Assembler.php and flattener.php now come with a few lines commented out to enable compatibility with open_basedir restrictions on some servers. The commented-out lines let the scripts write data to files with relative paths, which usually works and avoids open_basedir problems. To use absolute paths, if you receive errors writing data, you can search the scripts for "open_basedir" and restore the indicated lines.