i'm just making my first steps in writing extensions and would like to have some comments on my second attempt. it creates Flattr buttons on the fly, guessing most of the needed information from an entry. but you can also supply every bit manually, if you're not happy with the guessed results.
you can either use it in each PivotX entry you'd like to be a Flattr thing, or simply include something like
- Code: Select all
[[ flattr uid="your_flattr_username" language="a_valid_language" button="compact" ]]
somewhere in your template and probably configure the CSS class "PivotXFlattr" to position the button. it should then create individual buttons for each of your entries automatically. the initial release can be found here: http://www.reaktanz.de/blog/stuff/flattr_0.1.zip
to see it in action try http://www.reaktanz.de/blog/?e=121 (which also includes my first extension hack to use HTML5 video/audio tags, but that probably needs more work...).
the things i already have on my TODO list are making the Flattr user(s) configuration more comfortable (e.g. assign a flattr user to a distinct PivotX user), and overwriting the template wide settings easily from within an entry (as right now this would just create another new button).
so, what do you think? let me know if you run into problems.