fix up the piwik README a bit so the markdown gets transformed

Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
This commit is contained in:
Simon L'nu 2012-02-22 23:38:35 -05:00
parent de7f4d005c
commit fb1b340131

View file

@ -1,27 +1,30 @@
____ Piwik Plugin ____ ## Piwik Plugin ##
by Tobias Diekershoff by Tobias Diekershoff
tobias.diekershoff(at)gmx.net tobias.diekershoff(at)gmx.net
This addon allows you to embed the code necessary for the FLOSS webanalytics This addon allows you to embed the code necessary for the FLOSS webanalytics
tool Piwik into the Friendica pages. 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. 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, ..." $a->config['system']['addon'] = "piwik, ..."
You have to add 4 more configuration variables for the addon: You have to add 4 more configuration variables for the addon:
$a->config['piwik']['baseurl'] = 'example.com/piwik/'; $a->config['piwik']['baseurl'] = 'example.com/piwik/';
$a->config['piwik']['sideid'] = '1'; $a->config['piwik']['sideid'] = '1';
$a->config['piwik']['optout'] = true; $a->config['piwik']['optout'] = true;