Robertdot

Main Site Navigation

About My Bookmarks

Skip to links

I upload my Safari bookmarks daily. Yes, they are my live bookmarks from my personal computer.

Why?

It's easier to manage bookmarks from my computer. The programs I found that export HTML from Safari aren't configurable enough and I didn't want to install PHP 5 (which the last version of this site used to format the bookmarks). So, I made one myself.

How?

Since I've never used XSLT before, I found an XSLT file -- designed to turn the .plist into a format FireBird (aka FireFox) could understand -- and modified the hell out of it. You can download my XSLT (which is roughly standards compliant if contained in the right HTML wrapper). I run a cron job from a bash script similar to the follow to get it on my server:

$ plutil -convert xml1 -o /Users/username/Library/Safari/Bookmarks.xml /Users/username/Library/Safari/Bookmarks.plist $ xsltproc -o /Users/username/Library/Safari/Bookmarks.html /Users/username/Scripts/bookmarks.xslt /Users/username/Library/Safari/Bookmarks.xml $ /usr/bin/ftp -V -u ftp://username:password@domain.com/upload/path/bookmarks.html /Users/robert/Library/Safari/Bookmarks.html

Feel free to modify and distribute the XSLT and bash script all you want. If you use it, I'd appreciate it if you'd link back to my site. If you make any alterations that might be helpful to me, contact me and let me know! If you use it for a site that you make profit on, feel free to send a few bucks to my P.O. Box (just to be nice).

Robert Brodrecht's Bookmarks

Closing Information and Links List

© 2001-2008 Robert Brodrecht