From fb1b340131ee944d5005a6d18bb6946f4c5e867e Mon Sep 17 00:00:00 2001 From: Simon L'nu Date: Wed, 22 Feb 2012 23:38:35 -0500 Subject: [PATCH] fix up the piwik README a bit so the markdown gets transformed Signed-off-by: Simon L'nu --- piwik/README | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/piwik/README b/piwik/README index eefd1cf9..e276ccd4 100755 --- a/piwik/README +++ b/piwik/README @@ -1,27 +1,30 @@ -____ Piwik Plugin ____ -by Tobias Diekershoff +## Piwik Plugin ## + +by Tobias Diekershoff tobias.diekershoff(at)gmx.net This addon allows you to embed the code necessary for the FLOSS webanalytics tool Piwik into the Friendica pages. -Online version of this Document: http://ur1.ca/35m2x +[Online version of this Document](http://ur1.ca/35m2x) -___ Requirements ___ +### Requirements ### -To use this plugin you need a "piwik":http://piwik.org installation. +To use this plugin you need a [piwik](http://piwik.org/) installation. -___ Where to find ___ +### Where to find ### -In the Friendica git repository @/addon/piwik/piwik.php@ and a CSS file for +In the Friendica git repository `/addon/piwik/piwik.php` and a CSS file for styling the opt-out notice. -___ Configuration ___ +### Configuration ### + +Open the .htconfig.php file and add "piwik" to the list of activated addons. -Open the .htconfig.php file and add "piwik" to the list of activated addons. $a->config['system']['addon'] = "piwik, ..." You have to add 4 more configuration variables for the addon: + $a->config['piwik']['baseurl'] = 'example.com/piwik/'; $a->config['piwik']['sideid'] = '1'; $a->config['piwik']['optout'] = true;