posterous to gmail bookmarklet
I created a bookmarklet that lets you post to posterous by gmail when you call it.
create a bookmark with the following as url:
javascript:(function(){var b="";var t= "";var s="";var d=window.getSelection()+'';if (d.length>0) b='"'+d+'"'+"\n\n";b=b+document.location; var m=document.getElementsByName('keywords');for (var i=0; i<m.length; i++) { t+=m[i].content+','; } t = t.split(","); s=document.title;if(t && t.length>0) {s+=" ((tag:";for(var i =0; i<t.length && i<5;i++) s += t[i]+',';s = s.substr(0,s.length-1);s +="))";} window.setTimeout('document.location = "http://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=0&body='+encodeURIComponent(b)+'&to=post@posterous.com&su='+encodeURIComponent(s)+'";',0);})();
If you click it you will be redirected to a gmail compose page.
The title of the page you were currently on will be the mail subject, up to 5 meta-keywords will be included with the tag-command.
Any text you select before clicking the link will be included in the mail, too.
I just tested it on firefox 3 on linux, so please let me know if there are any bugs on other platforms.

Comments [1]