Converting Sogudi bookmarks to Firefox (HOWTO)

I’ve been using Safari on my Mac since Tiger came out, but with Firefox 1.5 being released, I’ve decided to give it another try (I use Firefox on Linux, but I haven’t been very happy with it on the Mac before). It properly imported my Safari bookmarks, settings and even the cookies! Quite impressive. the only missing thing were my Sogudi bookmarks, the equivalent of Firefox’s keyword searches. So I wrote the following short Perl script to do the conversion:

#!/usr/bin/perl -w
while (<>) {
  if (/\<key\>(.+)\<\/key/) {
    if ($str =~ /\<string\>(.+)\<\/string/) {
      print qq(<DT><A HREF="$url" ADD_DATE="$time" SHORTCUTURL="$key">$key</A>\n);

Run it like this:

perl SogudiShortcuts.plist

And insert the output in an appropriate place in your ~/Library/Application Support/Firefox/Profiles/xxxxxx/bookmarks.html file.

Technorati Tags: ,


One response to “Converting Sogudi bookmarks to Firefox (HOWTO)

  1. Pingback: Adventures of an Argentinian » Blog Archive » Finally, Firefox = Safari + more

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s