Bookmark Blogger for Safari 2 by l.m.orchard http://www.decafbad.com/twiki/bin/view/BookmarkBlogger --------------------------------------------------------------------------- Introduction --------------------------------------------------------------------------- This is a simpleminded hack for Safari users on OS X that digs into the Bookmarks.plist file in search of new bookmarks to harvest and compose into a blog entry for consumption by a Blosxom-like weblog. Since I migrated my blog to use Blosxom, I use this to make quick blogging from links dragged onto a toolbar bookmarks folder. --------------------------------------------------------------------------- Usage --------------------------------------------------------------------------- Configuration variables are found near the beginning of the script at bin/bmblogger.py: * bmFolderName - Name of the Safari bookmark folder to examine * bmUri - URI to Safari bookmarks file * commentSep - Separator between title and optional comment in bookmark * blogDir - Path where blog entries are generated * seenFn - File containing URLs of blogged bookmarks * entryTemplate - Cheetah template used in creating blog entry Once these are set, invoke the script like this: python bin/bmblogger.py Running this program should result in a new single entry in the Blosxom category whose filename is based on the current time, listing all new links added to the bookmarks folder since the last time the command was run. ShareAndEnjoy!