Published by Niels on 25 Aug 2006 at 09:32 am
Release of Gallery plug-in 0.5.0
Version 0.5.0 of the NanoBlogger Gallery plug-in has just been released. It does not offer any extra features and is just a bug fix release to make the plug-in work with all versions of NanoBlogger from 3.0 and up.
It has been tested on the for the following releases:
- 3.0
- 3.1
- 3.2
- 3.2.3
- 3.3 RC5
The major problem that needed to be fixed is that the plug-in uses standard NanoBlogger calls as often as possible. This means that the standard entry format can be used and even that (from version 3.3) the format field can be used to put markup into the entry.
Unfortunately the NanoBlogger API has changed a bit between versions. The call to read_metadata does not fill the same return variable in the versions mentioned above:
$NB_Metadatafor version 3.0 and 3.1$META_DATAfor versions 3.2 and 3.2.3$METADATAfor version 3.3
There was already a function in the plug-in to determine for two given version numbers which was the newer one because the parameters to read_metadata also needed to have $METADATA_CLOSETAG specified from version 3.3 and up if the entry’s body is requested. So the plug-in already had to choose between two different calls based on the NanoBlogger version.
But everything seems to be fixed for now. The new plug-in can be downloaded here.