Here’s a tip on how to export Safari bookmarks to HTML, for easy viewing on an iPhone/iPad (or for other purposes).

First, copy save the following file to your HDD: Bookmarks.xslt – the original file was taken from http://www.entropy.ch/software/xsl/ but I’ve added a little JavaScript to collapse folders by default (very basic, for now – it works for me). In this example I saved it to ~/Library/Bookmarks.xslt

Then, in your terminal type the following:

crontab -e

or, if you’re not familiar with vi-like editors, try nano:

env EDITOR=nano crontab -e

Add the following line to your crontab: (All on one line the command was seperated for page formating)

*/1 * * * * plutil -convert xml1 -o ~/Library/Bookmarks.xml ~/Library/Safari/Bookmarks.plist ; xsltproc 
-o ~/Documents/Dropbox/Bookmarks.html ~/Library/Bookmarks.xslt ~/Library/Bookmarks.xml

This tells your OS to run every minute (change that 1 to whatever minutes you want it to run) a command that transforms Safari bookmark’s plist (which is binary) to an xml, and then uses xsltproc to transform that XML into an (easier to read) HTML.