Backing up your pinboard bookmarks on Windows Automatically

Note: In an earlier version of this post there were two examples showing how to backup pinboard bookmarks from the command-line. Since then, something at pinboard has changed and those scripts no longer work. I wasn’t able to get the curl version up and running again quickly, so I’m removing it and updating the Powershell script, which does work as of this writing. This version creates an XML file whereas the original created a legacy Netscape html file .

You can find instructions on backing up (or exporting) your pinboard bookmarks in the howto section on pinboard’s site. However, if you want an automated backup, you’ll need a command or script that you can run from the windows task scheduler. Here are a couple of options.

This is a stripped-down Powershell script to backup pinboard bookmarks on Windows. (I tested this on windows 7 after first creating a directory for Pinboard under my documents directory.)

$dir = 'c:\users\yourname\documents\pinboard\'
$source = 'https://api.pinboard.in/v1/posts/all'
$outf = 'pinboard.xml'
$username = 'yourname'
$password = 'yourpassword'
$wc = New-Object System.Net.WebClient
$wc.credentials = New-Object System.Net.NetworkCredential -ArgumentList $username, $password
cd $dir
try
{
   $content = $wc.DownloadString($source)
   echo $content > $outf
}
catch [System.Net.WebException]
{
   echo "An Error occurred "
   echo $_.Exception.ToString()
}

To run this script, type something like the following at a command prompt (depending on where you put your script file) or schedule it to occur daily using the windows task scheduler.

powershell "& 'c:\users\yourname\documents\pinboard\pinboard.ps1' "

If your bookmarks are really important to you, you’ll probably want a more robust solution. I’ve left out some issues to keep the scripts focused on the basic task of downloading the bookmark file. A more complete solution would include encryption of your password, error reporting, and multiple versions of your bookmark file.

This method will not backup your tweets on pinboard. Also, it will only backup links to your notes, not the note contents.

Delicous alternatives: Pinboard

Pinboard provides a stripped-down bookmarking service that it bills as “Social bookmarking for introverts”.  You can import your Delicious bookmarks, and their API is modeled on v1 of the del.icio.us API, which should allow third party tools for Delicious to be modified to work with Pinboard.

There really isn’t much to say about Pinboard – it just works.  If, like me, you use Delicious mainly for private bookmarks, Pinboard is a good replacement.  However, if the social aspect of Delicious is what you love, you’ll probably want to check out one of the other alternatives (although I expect Pinboard will improve in this area due to the recent influx of Delicious users).

To get a Pinboard account, you will have to pay a one-time sign up fee (current $9.12) which they will refund if you cancel within 3 days.   http://pinboard.in/upgrade.  This fee may be the biggest downside to pinboard since other services (like Diigo) provide much of the same functionality with their free accounts.

I have paid my fee and will be keeping my account.  Social bookmarking for introverts sounds about right to me.

Impressions of Diigo

Impressions of Evernote

Delicious Alternatives: Evernote

Another delicious alternative mentioned on the searchengineland.com article was Evernote.

Evernote is an interesting and potentially useful program.  Like Diigo it does a lot more than manage bookmarks.  However, I would not recommend  it as a Delicious replacement.  I think Diigo or Pinboard is a better choice, unless you also want all the other functionality Evernote brings.

You can import your delicious bookmarks into Evernote, but it may not be easy.   According to these instructions on Evernote’s support site:

The result will be a single note in Evernote that contains all of your Delicious links and any associated notes. Tags won’t be carried over. It’s completely searchable and all of the links continue to work as before.

That’s not very impressive, is it?  The correct one-to-one relationship would be one note per bookmark, and the tags are pretty important.   (Check the comments section after these instructions for user-supplied scripts that may do a better job).

Evernote looks more like a competitor to Microsoft’s OneNote product to me, which is how I’d evaluate it if I were interested in that functionality.

I tried saving new bookmarks using both Evernote’s IE add-on and FireFox plug-in.  The bookmarks were saved as notes with the content of the page in the note.  Invariably, the formatting of the page in the note was messed up, and going to a particular web site required me to open the note first and click on a button to open the site (in both the Windows and the web client.)

You can also save a link manually without having a copy of the web page.  This apparently is not as easy as it used to be, as outlined in this thread from Evernote’s support.

Basically, whatever Evernotes merits as an overall system, it does not appear to be a good replacement for the basic Delicious functionality.   It might be a reasonable alternative to  Microsoft OneNote, however.

Delicious Alternatives: Diigo

I started checking out some of the delicious alternatives mentioned on the searchengineland.com site.  Here are some initial impressions of one of them:  Diigo.

Digo can do what Delicious does, and more.  It is easy to import your bookmarks from Delicious.

Using the Firefox plug-in,  you can add notes and highlight sections of the pages you bookmark .  You can save a cached version for archival purposes, and include a graphic image of the page.

It integrates well with Firefox.  You can preview a bookmark right from your “Library” by clicking the “preview” button.  I think it’s pretty slick, but way more than you need if you just want to save bookmarks.

On the downside:  1) Free accounts are limited and come with advertising 2) The current holiday color scheme is annoying (presumably this is temporary) 3) No blackberry app.  4)  No way (that I can see) to backup or transfer your data in case you need to move it elsewhere.

A Delicious post

I like delicious.com because it lets me save and categorize my bookmarks, and it lets me get to my bookmarks wherever I am.  Most of my bookmarks on Delicious are private.  They are just links to things I want to be able to find again.

Recently an article appeared on TechCrunch saying delicious.com might be shut down by its current owner, Yahoo.   Later, a note appeared on the Delicious blog stating:

No, we are not shutting down Delicious. While we have determined that there is not a strategic fit at Yahoo!, we believe there is a ideal home for Delicious outside of the company where it can be resourced to the level where it can be competitive.

So I would describe the future of Delicious as “uncertain”.

I don’t  make much use of the “social” part of Delicious.  I’ve tried Stumbleupon and it is a bit too social for me, offering to help me find stuff based on my interests, and wants me to share everything.  I think I do better searching on my own for things that interest me using Google.

I’m looking around for a replacement for Delicious.  If you’re in the same boat, searchengineland.com lists ten alternatives:

10 alternatives to delicious.com bookmarking