ikiwiki/ plugins/ postsparkline

Plugin: postsparkline
Author: Joey
Included in ikiwiki: yes
Enabled by default: no
Included in goodstuff: no
Currently enabled: yes

This plugin provides the postsparkline directive. It uses the sparkline plugin to create a sparkline of statistics about a set of pages, such as posts to a blog.

# adding formulae

Additional formulae can be added without modifying this plugin by writing plugins that register functions in the `IkiWiki::Plugin::postsparkline::formula` namespace. These functions will receive on input a reference to a hash of parameters, and a sorted list of pages, and should return a list of data points for the sparkline plugin.