Wednesday, July 13, 2005

Blog This

With our latest rev of Journals, we've enabled a new Blog This feature.  You need a special "bookmarklet" to take advantage of it.  Since Journals prevents pages hosted on aol.com from hosting Javascript, I have to give the ugly Javascript code for the link in plain text:

javascript:q=""+(window.getSelection?window.getSelection():document.getSelection?
document.getSelection():document.selection.createRange().text);void(
window.open('http://journals.aol.com/_do/blog_this?js='+escape(document.title)+'&
je='+(q?escape('"'+q+'"'):escape(location.href)),'_top'))

Create a bookmark and copy and paste the Javascript URL above into the URL box. Then, select it when you're looking at a page you want to comment on.  It will bring you directly to an Add Entry page with a default title and text.  (If you select text on the original page first, it will copy that over automatically.)

No comments: