README.textile in murlsh-0.10.0 vs README.textile in murlsh-0.11.0

- old
+ new

@@ -82,6 +82,37 @@ publish_url is where the notifications get sent subscribe_url is what gets put in the feed as link rel="hub" This will make updates to your feed show up in Google Reader instantly. +h1. Thumbnail Locators + +If the url for a thumbnail image can be generated by regex search and replace +on a posted url, a rule can be added to the configuration to automatically +show a thumbnail image for it. The 'thumb_locators' config key is a hash +of Javascript regex to Javascript replacement string (which can include +captured groups). The hash key is wrapped in ^ and $ before compilation so +it must match the entire url. The regex is compiled case-insensitive. + +For example: + +* Show the GitHub octocat Apple touch icon +(http://github.com/apple-touch-icon.png) as a thumbnail for GitHub links +* Show a friend's Gravatar for the thumbnails of links to his blog + +<pre> +<code> +thumb_locators: + (http:\/\/github\.com\/).*: $1apple-touch-icon.png + http:\/\/myfriend\.com\/.*: http://gravatar.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</code> +</pre> + +h1. Design Goals + +* make site fast and very cacheable, caching wrapper around calls to third party JSON APIs +* low effort required to add a url, get metadata programatically instead of requiring user to specify +* heavy lifting on the client side +* allow customization with config and plugins +* full regex search for finding saved urls +* simple security (no sessions, no cookies) + Questions and comments: "matthewm@boedicker.org":mailto:matthewm@boedicker.org