Highrise note export script

Highrise note exported to HTML

Highrise has become the definitive repository for everything I do at work. It’s a perfect tool to track the whirlwind of activity and action items that make up day-to-day work.

After getting into the rhythm of using it for a while, I noticed that I often needed to share a note that I’d captured with my boss or another team member. In the past, I had occasionally used Writeboard to bang out these types of notes, exporting them to HTML and sending them as e-mail attachments if need be. After the third or fourth time, wheels started to turn in my head.

So, I wrote a simple Ruby script to combine the two concepts and export a Highrise note to an HTML file. To use it, you’ll need to do the following:

  1. Download the script and edit it to include your Highrise account info (URL and API key).
  2. Install the Ruby BlueCloth gem…this step can be tricky.
  3. (Optional) Create a shell script to launch the Ruby file and pass it the command line parameter.

If you go the extra mile and do step 3, you can use a shorthand syntax on the command line (e.g. hrn 8675309) to run the script. The numerical parameter represents the ID of the note, which you can see in your browser’s Address bar when viewing the full details of said note. The exported HTML file will be created in the current directory.

Writeboard vets will notice the degree to which I’ve ripped off been heavily inspired by its export function. The notable area in which I’ve differed is to use Markdown instead of Textile for formatting. I really like both, actually, but I think Markdown looks less “markup-y” if you’re looking at the source, which will be the case whenever I’m in Highrise.

Obviously, it would be ideal if my co-workers and I could all login to a shared Highrise account and view these notes without exporting. But since we’re not at that point yet, I’m happy that the Highrise API is so easy to use and I can build my own workaround.