Pebble Migration

Posted in Development on March 8th, 2008 by Erik / 4 Comments »

In order to migrate this weblog from Pebble 2.2 to WordPress 2.3.3, I created a small, quick-and-dirty migration script. And in case anyone else might have use of it, I’m putting it here: pebble-wordpress.py, pebble-wordpress.xsl.

The script requires a Python installation (tested with version 2.5) with 4Suite. Once you have that, follow these steps:

  1. In Pebble, export your blog as a ZIP file (this is located under Utilities). Extract all files.
  2. In WordPress, manually create all categories and tags that you’re using in Pebble. Lists of these can be found under /blog/categories/ and /blog/tags/. One simple way of creating the categories and tags is to write a new post and add all categories and tags to it.
  3. Download the above files (pebble-wordpress.py and pebble-wordpress.xsl) into the same folder. Open pebble-wordpress.py in a text editor and modify the strings at the beginning of the script. If you have several WordPress users, also edit pebble-wordpress.xsl (modify the line beginning with post_author; set the correct user id). Further modifications to the XSL file are necessary if you do not use the default WordPress table names.
  4. Run pebble-wordpress.py.
  5. Import the newly created file named wordpress-sql.txt into your WordPress database.

I make no guarantees that this will work for your setup. The script does not take Pebble static pages into consideration as I haven’t used any such pages (if you have, feel free to modify the script and send your changes to me).

WordPress

Posted in General on March 8th, 2008 by Erik / No Comments »

This weblog has now been migrated to WordPress.

While doing that, I also renamed it: previously known as Erik Isaksson Weblog, the blog is now officially entitled interface cobalt. A bit more fun, don’t you think?

Amazon S3 in Europe

Posted in Development, Internet on November 6th, 2007 by Erik / No Comments »

In today’s newsletter from Amazon Web Services, I found out that Amazon S3 is launching storage in Europe. Some of the prices are slightly higher (compare here) but for the potentially higher EU transfer speeds, it should be well worth it.

As of now, the code samples appear to have been updated to support creation of buckets located in the EU, but the documentation is still the old one. Some of the more popular S3 tools, such as S3Sync and JetS3t, are also yet to be updated.

Update: S3Sync and JetS3t now support EU buckets, and updated documentation on how to create them using the API is available here.

Entries (RSS)