The other blog manager

Updating Easy Videos plug-in

I said I want to go to the 3.0 version, but this new version will take long time as I have to rewrite almost everything.  In the while, the pages that use Gesbit (a few, but there are some) need to be up and working.

One of those pages is El Saloncito del Cómic, a coffee&library specialised in comic books sited in the same place the studio where I work.  Such page needs multimedia as videos and images.  As you know, Gesbit support for multimedia stuff is almost unexistent, except for a few add-ons... And they doesn't work properly!  So I'm working to fix that.

First I've updated the Easy Videos plug-in.  YouTube, Dailymotion and Vimeo now use the modern API.  I don't know about the other sites supported, may be I'll update them later.  Also, I've reformatted the code, so it is smaller and I think more easy to maintain.

In a near future I want to add a new plug-in similar to the Easy Videos but to be used with on-line galleries such as Instagram, Flickr and so.

Once finished, I'll create a new plug-in package with them.  Until that, you can take a look and download the changes from the code repository. Also you can suggest or send me changes and updates to the plug-ins.  Just put a message in the comments.

Thinking next step

Yesterday I was testing and updatin a plug-in that helps the video insertion on articles to be used in El Saloncito del Cómic weblog.

The point is that I think it is one of those times when you have to decide. As I said in the first entry, version 3.0 was included in my plans since I rescued the project, however I'm postponing it while current version can be improved.  There are gaps that are difficult to improve without breaking the current code, such as to only allow the use of MySQL/MariaDB data bases, or filter some HTML5 tags as unwanted, whatever to be put into the configuration, plus some discomforts that do not prevent logs malfunction but aren't comfortable to use and update (the latter refers not only to update entries but also the modification of the source code) . For example, if Gesbit had a simple system to add images, and I know it can be added an extension I think this feature would be more efficient if it is part of core manager instead of as an addition.

So, surely I'll create a new development branch and start the planning and development of the core of this new version 3.0 of Gesbit soon.

Version 2.1.0 released

A new version of Gesbit has been released.  It is a security update so it is highly recommended to update your Gesbit installation.

Some of the changes:

Get rid of the "/e option" and few more stuff

Finally, I have check that the changes I did to remove the /e option are running.  They needed some changes because I commit few mistakes applying the fixes.

Also, I've fixed some bugs on the gbSimple theme.  Now it renders the link to comments correctly.  It has also more style rules for more labels, as <code>, for example.

Does it mean that version 2.1.0 will be released soon?  I hope, but I can't say a date.  Also I need to revise a few more stuff.

Dealing with boolean options

Now, I'm dealing with the control panel.  You see, some option values are boolean (that is TRUE or FALSE, YES or NOT).  Currently this is managed by a text input field where your should write 1 or 0 depending you want activate or deactivate that option.  Really ugly and confusing.  What happens if you put 2, or 134?  Actually, an error message appears.

I'm replacing all that fields by selection lists with Yes or No values, which are less confusing and also avoids configuration errors.  I would use checkboxes but that would need to change current validation code.