2008-07-21 13:31:57 +02:00
|
|
|
[[!template id=plugin name=postsparkline author="[[Joey]]"]]
|
2010-02-12 10:10:11 +01:00
|
|
|
[[!tag type/widget]]
|
2007-03-11 01:24:31 +01:00
|
|
|
|
2008-09-12 00:29:07 +02:00
|
|
|
This plugin provides the [[ikiwiki/directive/postsparkline]] [[ikiwiki/directive]].
|
2008-09-11 23:05:51 +02:00
|
|
|
It uses the [[sparkline]] plugin to create a sparkline of
|
2007-03-11 01:24:31 +01:00
|
|
|
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
|
2007-08-12 11:19:20 +02:00
|
|
|
pages, and should return a list of data points for the sparkline plugin.
|