Category: textpattern

joh_flattr: a Textpattern plugin for Flattr

I got my Flattr invitation today and realized that a Textpattern plugin was missing, so I wrote one. The plugin displays a Flattr button where the <txp:joh_flattr />-tag is used.

Download the joh_flattr Textpattern plugin

Example usage:

<txp:joh_flattr uid="1234" title="My flatter entry title" description="The description of the flatter entry" />

Parameters

uid
Your personal Flattr user id. Required.
title
The title of the thing you want to submit. Defaults to the article title and falls back to the sitename if omitted. The contents of a custom field named "joh_flattr_title" will override any default value or parameter value.
description
The full excerpt of the content. Defaults to the article excerpt and falls back to the site slogan if there is no current article. The contents of a custom field named "joh_flattr_description" will override any default value or parameter value.
category
The flattr category the content belongs to. You can choose between the following: text, images, video, audio, software, rest. Required. The contents of a custom field named "joh_flattr_category" will override any default value or parameter value.
language
The language code of the submitted thing. Defaults to 'en_GB'. See a list of supported language codes
tag
Tag your Flattr thing. Multiple tags can be used by separating them with commas. The contents of a custom field named "joh_flattr_tag" will override any default value or parameter value.
url
The URL of your Flattr thing. Defaults to the requested URL.
compact
If this parameter is set to "true" the compact button type will be used.

I hope you'll find the plugin useful. If you find any bugs or have any questions, please post them in the Textpattern forum support thread

Textpattern 4.0.8 released

Textpattern releases usually occur once every 6-12 months or so. This is obviously an exception – I cite the official blog post:

Textpattern 4.0.8 is a maintenance release fixing some bugs and ironing out a few glitches which sneaked in during the introduction of new features in our previous release.

Read more about the fixes @ http://textpattern.com/weblog/332/textpattern-cms-408-released.

Textpattern 4.0.7 released

Yep, a new version (4.0.7) of my favourite blog/CMS software, Textpattern, has been released to the public. I’ve been running a lot of sites on Textpattern for the last 3-4 years and I still think it is the best CMS software to use for small to medium sized web sites (jonathanhedren.com is running on it aswell).

I think the most interesting new features in version 4.0.7 are unlimited nesting of template tags and that many list tags can take forms and/or contained markup.

Read more at the official announcement