EventAggregator

Annotated instmacros

60:7d7a4577ceb1
2009-11-07 Paul Boddie Incorporated changes to the RSS feed which enhance the title, link and description of each feed to refer to the page which provided it, as well as a change in the ordering of events in a feed, placing the latest events (in terms of the event start date) first.
paul@6 1
#!/bin/bash
paul@6 2
paul@6 3
if [[ ! $1 ]] ; then
paul@6 4
    echo "Please specify a directory such as ../mysite/wiki or /tmp/mysite/wiki."
paul@6 5
    echo "This should be the root of your Wiki installation and contain the data"
paul@6 6
    echo "directory."
paul@6 7
    echo
paul@6 8
    echo "You may wish to uncomment and modify the chown command in this script."
paul@6 9
    exit
paul@6 10
fi
paul@6 11
paul@6 12
cp macros/*.py $1/data/plugin/macro/
paul@6 13
#chown www-data: $1/data/plugin/macro/*.py