Drupal bookmarklet

Here is a bookmarklet for blog posting in Drupal using a Mozila browser.

  • create a new bookmark with this as your URL (all on one line):
javascript:u=document.location.href;t=document.title;
s='

'+window.getSelection()+'

'; pre='

[via '+escape('')+escape(t) + escape(']:

'); void(window.open("http://www.tejasa.com/node/add/blog?edit[title]= "+escape(t)+'&edit[body]= '+pre+escape(s),'_blank','width= 710,height=500,status=yes,resizable=yes,scrollbars=yes'));
  • change the domain above from www.tejasa.com to your own domain. it appears toward the end.

Note:
this bookmarklet gives a javascript error in IE. Can anyone produce a cross browser
version or an IE equivalent?

Tags:

Powered by Drupal, an open source content management system

About

Moshe WeitzmanMoshe Weitzman is a long time Drupal developer (since 2001). He manages groups.drupal.org and the Organic Groups module. His tiny company, Cyrve, specializes in data migration into Drupal. Read about his past projects (e.g. NY Observer) and contact him.

Moshe lives in Boston USA with his wife and 2 girls.

My Photos

Think!

Change Congress

Support CC - 2007

Support Obama 2008

Stop the Spying - EFF

Syndicate

Syndicate content