Importing bookmarks to Flock from other browsers: a workaround

at the moment, importing bookmarks into favorites includes making them available in see bugs 1244 and 625.

if you feel comfortable with your bookmarks being public, you may want to import them in so you can also manage them via Flock. in order to mass-import bookmarks from a browser into, you will have to run a perl script. you obviously will need also your username and password.

note: using this script will remove preexistent flock favorites. this may also eat all of the cheese in your house! so back-up what has to be back-upped.

read this page and download delicious-import script. give a look at the script code, you will find useful options about line 75 (Release 1.4: 10 May 2005).

export your bookmarks from a browser to a html file.

if you want to, choose a tag to mark the bookmarks you’re going to import. i’ll use “import-tag” here.
if you don’t specify a tag, the script will mark your bookmarks with a “.imported” tag.
if you prefer not to tag the bookmarks you’re going to import, use “” as a tag – that is, an empty tag.

note that if you divided your bookmarks into folders, the name of the folders will be imported into as a tag, and every bookmark from that folder will be tagged with that tag.

run delicious-import script. the syntax should be something like that:

perl -u yourusername -p yourpassword -t import-tag -l -x -z /path/to/yourbookmarksfile.html

wait the upload to be completed and start flock. you will be asked “do you want to share your favorites?”. in order to get bookmarks imported, you have to answer “yes” and setup your account in flock. you can do this using the Edit / Preferences menu and choosing Web Services.
flock will import your bookmarks. please note that it will remove preexistent flock favorites (the standard ones are: Getting StartedFlockFlock FeedsFlock Feedback)
later, i unsuccessfully tried to delete my bookmarks tagged with “import-tag”. the script deleted also others bookmarks: it deleted all of my bookmarks, minus one. i ran the script using these options:

perl -u yourusername -p yourpassword -t import-tag -D -x

however, other similar tests were successful (i changed the order of the delicious-import script options, but i really don’t know if that was the reason of precedent failure. however i put the -t option at the end of the command).
technorati tags:

One Response to “Importing bookmarks to Flock from other browsers: a workaround”

  1. Brian Del Vecchio Says:

    Hi, the perl import script is now available as a Win32 binary, since so many people were having trouble with the (slightly offbeat) Perl module dependencies.

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

%d bloggers like this: