Scripts and Sources

These are GNU GPL licenced so please download the source and make your own modifications/additions. If you make use of any of the source or scripts I would be very interested to know.

  • rsync/hdiutil AES-128 encrypted disk image backup script for Mac OS X → rsync.sh-v0.6.tar
  • mediawiki authentication plugin for the e107 content management system → mediawikimenu_v1.1.zip
  • sparkline PHP library integration with dokuwiki sparkline

DokuWiki Mods

CustomPHP

This is a very simple and general PHP include handler that is far more secure than simply allowing PHP code within wiki pages. Instead a wiki tag initiates specific included PHP code to execute. This should be as secure as the PHP Regex functions, but nonetheless, use at your own risk.

Two examples (the reasons that I made the mod) are sparklines and including a namespace parallel singapore image gallery.

The patch includes ‘customphp.php’ handler and parser.php mod for custom PHP includes using the ‘::customphptag::’ syntax.

  1. untar the patch file
  2. apply the CustomPHP patch created using:
patch -p1 --verbose -d dokuwiki_directory < dokuwiki-2005-02-06-CustomPHP.patch

Also:

  • make necessary path changes to ‘./conf/customphp.php’

Note: patch was created using diff

diff -Naur dokuwiki-2005-02-06 dokuwiki-2005-02-06-CustomPHP/ > dokuwiki-2005-02-06-CustomPHP.patch

Sparkline

Requires: CustomPHP

  1. untar the directory contained in the tar file into the root dokuwiki folder
  2. create a symbolic link in the same directory named ‘sparkline’ that points to the sparkline-<date_version> directory
 
software.txt · Last modified: 2006.08.06 16:13 by sunny
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki