To get the Oddmuse wiki up and running on 25 Dec 2007:
#!/usr/bin/perl package OddMuse; $DataDir = '/Library/WebServer/Oddmuse'; do 'current';
mkdir /Library/WebServer/Oddmuse chmod 777 //Library/WebServer/Oddmuse
/Library/WebServer/CGI-Executables/current
and then did "chmod +x current" to make "current" be executableHomePage
, creating a SandBox
, commenting on it, etc. — and noted the lack of markuppackage OddMuse; $SiteName = "ZhurnalyWiki"; $StyleSheetPage = 'ZhurnalyWikiStyleSheet'; $LogoUrl = '/images/zh.gif'; $CommentsPrefix = 'Comments_on_'; $AdminPass ='****';
push(@MyRules, \&BlockQuoteRule); sub BlockQuoteRule { # indented text using : with the option of spanning multiple text paragraphs (but not lists etc). if (InElement('blockquote') && m/\G(\s*\n)+:[ \t]*/cog) { return CloseHtmlEnvironmentUntil('blockquote') . AddHtmlEnvironment('p'); } elsif ($bol && m/\G(\s*\n)*:[ \t]*/cog) { return CloseHtmlEnvironments() . AddHtmlEnvironment('blockquote') . AddHtmlEnvironment('p'); } return undef; }
TopicProgramming - TopicZhurnal - 2007-12-27
(correlates: Comments on ZhurnalyWikiStyleSheet, Oddmuse Local, Comments on HomePage, ...)