--- /dev/null
+#!/usr/bin/perl
+# Discordian date support fnord ikiwiki.
+package IkiWiki::Plugin::ddate;
+use IkiWiki;
+use IkiWiki::Render; # so we can redefine it here:
+no warnings;
+
+sub import { #{{{
+ IkiWiki::hook(type => "checkconfig", id => "skeleton",
+ call => \&checkconfig);
+} # }}}
+
+sub checkconfig () { #{{{
+ if (! defined $IkiWiki::config{timeformat} ||
+ $IkiWiki::config{timeformat} eq '%c') {
+ $IkiWiki::config{timeformat}='on %{%A, the %e of %B%}, %Y. %N%nCelebrate %H';
+ }
+} #}}}
+
+sub IkiWiki::displaytime ($) { #{{{
+ my $time=shift;
+ eval q{use POSIX};
+ my $gregorian=POSIX::strftime("%d %m %Y", localtime($time));
+ my $date=`ddate +'$IkiWiki::config{timeformat}' $gregorian`;
+ chomp $date;
+ return $date;
+} #}}}
+
+5
* Patch from James Westby to allow a description to be set for rss feeds.
* Patch from James Westby to add a template for the search form.
* Cache search form for speedup.
+ * Added a ddate plugin.
- -- Joey Hess <joeyh@debian.org> Sat, 26 Aug 2006 17:51:16 -0400
+ -- Joey Hess <joeyh@debian.org> Sat, 26 Aug 2006 23:48:31 -0400
ikiwiki (1.21) unstable; urgency=low
[[template id=plugin name=htmltidy included=1 author="Faidon Liambotis"]]
[[tag type/html]]
+[[tag type/slow]]
This plugin uses [tidy](http://tidy.sourceforge.net/) to tidy up the html
emitted by ikiwiki. Besides being nicely formatted, this helps ensure that
[[template id=plugin name=rst included=1 author="Sergio Talens-Oliag"]]
[[tag type/format]]
+[[tag type/slow]]
This plugin lets ikwiki convert files with names ending in ".rst" to html.
It uses the [reStructuredText](http://docutils.sourceforge.net/rst.html)
--- /dev/null
+These plugins can cause wiki rendering to be significantly slowed down,
+due to things like needing to run an external program for every page
+rendered.