<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>postsparkline</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../plugins.html">plugins</a>/ </span> <span class="title"> postsparkline </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><span class="infobox"> Plugin: postsparkline<br /> Author: <span class="createlink">Joey</span><br /> Included in ikiwiki: yes<br /> Enabled by default: no<br /> Included in <a href="./goodstuff.html">goodstuff</a>: no<br /> Currently enabled: no<br /> </span></p> <p>This plugin provides the <a href="../ikiwiki/directive/postsparkline.html">postsparkline</a> <a href="../ikiwiki/directive.html">directive</a>. It uses the <a href="./sparkline.html">sparkline</a> plugin to create a sparkline of statistics about a set of pages, such as posts to a blog.</p> <h1>adding formulae</h1> <p>Additional formulae can be added without modifying this plugin by writing plugins that register functions in the <code>IkiWiki::Plugin::postsparkline::formula</code> 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.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="tags"> Tags: <a href="./type/widget.html" rel="tag">type/widget</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>