Code
blo.gs RSS ping
Enqueue Next
Hello Wiki
Jackal
LessTalk diagram applet
org.mancer package
Publish script
rsswriter Roundup detector
SimpleChatServer
SqueakyApplet
Transition applet
blo.gs RSS ping
Enqueue Next
Hello Wiki
Jackal
LessTalk diagram applet
org.mancer package
Publish script
rsswriter Roundup detector
SimpleChatServer
SqueakyApplet
Transition applet
hpp.pl HTML preprocessor
sendtempfile.pl FTP publisher
publish.bat Publishing script
LICENSE Software license
A (very) simple Perl HTML preprocessor and automatic publisher that I threw together for this very web site.
The hpp.pl script is the HTML preprocessor. It supports #define, #include, #do to evaluate arbitrary Perl code, and has two system #defines, modifiedTime and createdTime of the file the script was actually run on (ie, %modifiedTime% in an #included file is the modified time of the file with the #include, not the one being #included). The result is printed to stdout, for easy shell piping.
The sendtempfile.pl script is a simple script using Net::FTP to automatically FTP a file (tempfile) to a server. It's designed to work in a similar set up to mine in that it uploads it to a directory under a given root (such as /markpasc/www) depending on the directory you're in under a given root (such as d:\work\web\web).
The publish.bat pipes hpp.pl's results to 'tempfile', then invokes sendtempfile.pl to upload that file to the server.