3 # Author: Michael Olson <http://www.mwolson.org>
5 # License: Permission is granted to modify and distribute this file as
6 # specified by the license that pyblosxom uses.
8 # This is a sample script that shows how to update the timestamps
9 # file. Note that you have to run the getstamps.py program in your
10 # source directory, and then move the generated timestamps file to the
11 # directory where your published entries are kept.
13 # Blog entries in Muse format
14 SRC_DIR
=/stuff
/proj
/wiki
/blog
16 # Published blog entries
17 DEST_DIR
=$PWD/site
/blog
19 # Path to the getstamps.py script
20 GETSTAMPS
=$PWD/scripts
/getstamps.py
22 # Update timestamps for blog
23 (cd $SRC_DIR && python
$GETSTAMPS && mv timestamps
$DEST_DIR/timestamps
)