Archive for May, 2009

AWS Import/Export

Thursday, May 21st, 2009

Remember this? Now you can send a disk to Amazon and they will put it on S3. Talk about opportunity…

Uma anedota chamada Manuel Pinho

Thursday, May 7th, 2009

Inacreditável.

A coisa está mesmo muito má

Thursday, May 7th, 2009

Ainda bem que Portugal foi do que menos sofreu. Deixemo-nos estar assim bem reguladinhos que estamos bem. Olhem para a Irlanda, essa economia neo-liberal falhada. O gráfico diz tudo. E as explicações também. Realmente, coisas estranhas se passaram na Irlanda.

irlanda-21

Migrating MT 3.x to 4.x and preserving BASENAME

Tuesday, May 5th, 2009

I’m a big fan of WordPress but I still use MovableType for some blogs. Recently I had to upgrade an old MT 3.25 to the newest 4.25 and decided to that cleanly. Created a new blog on 4.25 with all the required configurations. Then I’ve tried to export all the entries on 3.25 and imported everything back on 4.25. Everything went well except for the minor glitch of MT 3.25 doesn’t export the BASENAME information for each entry (that’s useful if you want to preserve the old links). So, here’s what I did. On your old MT 3.25 edit your lib/MT/ImportExport.pm and just add the BASENAME for the template text on the export sub, just before the DATE:

BASENAME: < $MTEntryBasename$>
DATE: < $MTEntryDate format="%m/%d/%Y %I:%M:%S %p"$>

Now, you’ll export a .txt wit all the entries, including the basename. MT 4.x will import this. All you have to do is press the Publish button.