I submitted a patch to Drupal core ([[http://drupal.org/node/27155]]) that fixes my bookmarklet, which I stole from Moshe ([[http://www.tejasa.com/bookmarklet]]). Without this patch, Drupal’s node.module is hardcoded to only allow title, teaser, and body to get passed via a URL, which is how a bookmarklet passes data to forms. With it, everything in the edit array gets passed down into the forms. WooHoo!
Now, all I need to do is hack the Greasemonkey extension that posts from Bloglines to del.icio.us, to change it to post to OIF, and I’ll be really, really happy.
Basically, I hacked Moshe’s generic bookmarklet to post to the ‘weblink’ content type, with the title, body, and url (that’s the one that necessitates this patch) fields already filled in. I’d like my Greasemonkey script to also be able to tell which feed the link came from, and add that to the body as well, but I’m afraid I’d have to learn some more about JavaScript and DOM to make that happen.
If this patch gets accepted, it could open the door to more creative bookmarkletting and Greasemonkeying with Drupal.