Recently in Blogs Category

FaceBook.png Flickr.png Rss.png

I came across this little known feature of Facebook while poking around in my Flickr account (at least, little known by me at the time).

To add feeds from other sites to your Facebook account :

1- Open your Profile in Facebook

2- Click on Options (under the Share button)

3- Click on Settings (same location at Options)

4- Select one of the applications listed and fill in the requested user ID / URL information.

Apparently, Facebook share the same short sighted approach as Movable Type Action Streams and supports only one account of each kind - that is, you can only register one Flickr account, one Blog feed with RSS, and so on... Too bad for people who own more than one account.

Still ... it seems to be working nicely. I have seen updates to this blog and to flickr pop up on Facebook.

Note: If you are looking for the same option in flickr, open your flickr account, click on Your Account and select the 'Extend flickr' tab. The facebook link is at the bottom of the page.

Quiet menus for MT 4.0

I could not stand the default behavior of drop down menus in Movable Type 4 interface within 10 minutes of first using it. I want drop down menus that drop when I click on them, not when I mouse over them. So I came up with a simple hack to replace the default behavior of drop down menus by something safer for my sanity.


Switched to Movable Type 4.0

The upgrade to Movable Type 4.0 didn't go as smoothly as some people have reported soon after the release of the final version, but it wasn't all that bad either compared to past versions.

Upgrading, in itself, was an easy task. I just followed the Recommended upgrade instructions, starting with a migration of the database from DB::Berkeley to MySQL.

I only ran into some minor issues:

The database migration script was taking too long when it came to handling a large amount of junk trackback pings I never had the patience to delete. I had to edit the script to skip that kind of class when migrating database objects.

The CGI scripts in the main installation folder of MT 4.0 returned a message about invalid headers. I had to edit the scripts with the proper includes for the perl installation on my server :

use strict;
use File::Basename;
use File::Spec;
use lib File::Spec->catdir(dirname($0), "lib");

Once the scripts were running correctly, I was missing all CSS formatting on the admin interface of MT 4.0. It turned out that was because I used to have my 'mt-static' folder outside of the 'cgi-bin' folder. Moving the folder where it belongs solved that problem.

The last problem was trickier. Although I could see recent entries on the dashboard page and the Entries RSS feed, the 'Manage -> Entries' page returned no entries whatsoever. A message on the forum and an official support ticket later, I came across a solution by accident - setting the number of rows to display from 5 to another value brought the entries back. 

Very strange.

I was not able to reproduce the problem, except by opening the admin interface for the first time, on a different browser and different machine. I don't know if this is an issue with CSS, cookies or browsers. At least, there's a workaround.

Now the only issue remaining is the update of templates and plugins, but that is not really related to the installation process. So far, it seems to be working pretty well except for the missing QuickPost wizard. It looks like the convenient wizard from MT 3.3 was replaced by a single link for Quickpost on the Entry form.

I wouldn't be surprised if someone came with a plugin to restore that missing wizard.

MT 3.2 / Gallery 2.0 Integration

| 0 Comments

icon-gallery.jpg The migration to Gallery 2.0 is now complete. I spent some time over the last couple of days to find ways to integrate Movable Type and Gallery. In both cases, lack of time to delve into APIs forced me to take some shortcuts.

These examples rely on the use of Cold Fusion as a scripting language. They could probably be adapted to PHP instead, but then again, I don't have much time to learn PHP beyond simple editing of existing code.

Displaying Gallery content from Movable Type

Gallery offers a nice way to embed images from remote pages. By simply looking at the URLs used by the image-block option of Gallery, I came up with the following modules for Movable Type :

    <CFOUTPUT>
        <CFHTTP url="#gallery2url#?g2_view=imageblock.External&g2_blocks=randomImage" resolveurl="no" />
        #CFHTTP.FileContent#
    </CFOUTPUT>

This module displays a random image from the Gallery. Change the value of 'g2block=' by 'viewedImage' to display the most view image. '#gallery2url#' is a cold fusion variable to the URL of the 'main.php' page of your gallery.

Movable Type 3.2 upgrade

| 0 Comments

The switch of this site to the new 3.2 version of Movable Type took a little longer than expected but it was well worth the wait !

After using it for a couple of days, I keep finding little changes here and there, interface improvements, better icons... overall, the new Administration is clean and streamlined. More importantly, it makes sense.

I won't go into the main features of this new version. Other sites such as Planet Movable Type are doing that in a much better way than I would.

One word of warning though if you are using IIS6 and Perl 5.6 on Windows like I am. Some Perl scripts included in the new version simply refused to run.

That can be a problem if the script you are trying to run is 'mt-upgrade.cgi' or even 'mt.cgi'.

It turns out the path to the new perl libraries was not defined properly. Thanks to a quick email to Six Apart's support line (answered by Brad Choates no less :) ), a solution magically appeared in my inbox.

Simply add these 3 lines to the '.cgi' files using the new 'Boostrap' method :

use File::Basename;
use File::Spec;
use lib File::Spec->catdir(dirname($0), "lib");

(These lines should be added right after 'use strict;').

Now I just have to find enough time to study the new system of styles and the StyleCatcher plugin.

Licensing changes for MT

| 0 Comments

In answer to the initial criticisms about their new licenses, Six Apart has announced the following changes :


  • There are now no limits on the number of weblogs you can create with a paid license of Movable Type. The free license remains limited.
  • All paid options include support directly from us, through our online ticket system.
  • Our licenses are perpetual, meaning there are no annual subscription fees. Larger commercial licenses require a 20% maintenance fee after the first year if continued support is desired.
  • Paid licenses will include free updates and bug fixes. For example: 3.x release are free to any 3.x licensee. Paid licenses are also eligible for discounts on major upgrades to the software, so 3.x paid licensees will receive a discount on 4.x versions of Movable Type.
  • All of the pricing mentioned below is the standard price, so the numbers published on our site are no longer introductory pricing.
  • In the next couple of months we are planning a general release of Movable Type 3.x with compelling new features, which will be a free update for Developer Edition users.

Check out the full announcement about MT3.0 licenses for more details.

They have made impressive concessions and showed that they are not only willing to listen to their customers, but they are also acting based on their suggestions. They should be commended for that.

Recent Entries

MT @ Linfa.net
This is my contribution to the informal survey started by Six Apart about the ways people are using Movable Type…
Moving (Six) Apart
Like many others, I was looking forward with excitement to see what the new version of Movable Type had to…
How to replace the default entry textarea by an HTML editor
I have been trying to replace the default entry textarea by an HTML editor such as this one ( FCK Editor  -…