Creation Date Module

10/24/2005 14:59:48
tags: OddMuse, web

Installing a module is easy: Create a modules subdirectory in your data directory, and put the Perl file in there. It will be loaded automatically.

Download module:

This module stores additional data about when a page is first created. The additional information is described below.

Stored Information

Date of Creation

The date that a page is first created is stored with the key created. (This key was chosen to be compatible with Alex’s [[WebDAV Extension]]. Regardless of how often a page is modified, this date should remain the same.

Original Author

The username used to create a page is stored with the key originalAuthor. As above, this should not change regardless of who else modifies a page later on.

Accessing Data

To access this information, you can use $Page{created} and $Page{originalAuthor}. Right now, the data is not specifically used for anything.

Additional Information

The module is quite simple, and it easy to follow the examples above to add additional bits of data to be stored. If you come up with something interesting, feel free to share it here and we can consider adding it to the main source.

Similar Pages