Using the Ubiquity Firefox extension to create Drupal nodes

35 comments

The Ubiquity extension for Firefox is an awesome tool that allows you to download user created mashups to do some really cool things in your browser. The video below shows the power of what it can do.

It was introduced in August this year and there are already quite a few user created commands, including this one by Nils Werner, which will pre-populate a blog entry with the selected text on a web page. The only problem is that is requires your blogging engine to accept text via the GET parameters, which Drupal doesn’t do by default.  No problem, just install the Prepoluate module and away you go.

Here are some step by step instructions on how to set it up.

  1. Install the Ubiquity Firefox extension.
  2. Enable the Prepopulate module on your website.
  3. Install this Ubiquity command (it will display an information bar at the top of the page if you have Ubiquity enabled).
  4. Now that you have the command, you need to tell it where your blog form is. To do this, press CTRL + Space (this is the default hotkey to launch Ubiquity) and type “blog set” and press enter. A popup window should appear, and you will need to enter
    http://www.yourdomain.com/node/add/blog?edit[body_filter][body]=$body&edit[title]=$subject
    (this assumes that you want to populate the ‘blog’ content type)
  5. Once that is set, simply select the text on any web page and press CTRL + Space and type ‘blog this’ and you will be taken to your Drupal site with that text already entered into the form

It’s pretty simple and makes it much quicker to jot down ideas for your blog while surfing the net.

Also, because Ubiquity commands are written in Javascript there should be a way of doing this without using the Prepopulate module and interacting with the form elements directly, but I’m not familiar enough with Ubiquity yet to work this out. If you have any ideas, let me know in the comments.


Comments

Long live the command line!

Long live Ubiquity + Drupal.

Very cool idea, this is big!

Drush migration to ubiquity...?

Thanks for recommending my

Thanks for recommending my Ubiquity commands! :-)

No problem, thanks for

No problem, thanks for providing them :)

Custom "Listener" Module

So I've been thinking a lot about trying to get some nodes automatically created using ubiquity, and I figure I'm going to have to create a custom "listener" module, that listens for a GET at a particular URL, and parses the query string parameters into the node's fields then node_save's them.

(I don't want to just prepopulate my form and then still have to hit save, I want to not even have to visit my site).

So that's my answer; but if there's a way to do this in some kind of "Universal" way, I'd be happy to write the module the right way and contrib it. Otherwise, I'm just gonna write my little custom module and leave it at that.

I wonder if Ubiquity has an XML-RPC library that can be used--then we can connect it to Drupal's Services.module.

sminlipbne

generic pills online
buy tabs online

Cheap Beats By Dre Headphones

waterflood hardly waterflood alive waterfloodTo clean their innards, and even in every vein they are clean again. I believe, which not only can be reachedTo you the purpose to smoking, and said, "Luo, hear it

Custom Essay Writing Service

It's Very Interesting. Enjoy it's reading

http://www.intelligentessays.com/
http://www.intelligentessays.com/aboutus.php
http://intelligentessays.com/services/23/custom_essay_writing.php

You have been the

You have been the greatest!
Thank you.
Chris Harris

Diablo 3 Gold

Haha, wonderful! Thank you for sharing that. I wish all of our critiques were expressed so creatively

aion gold

I don’t even know how I ended up here, but I assumed this post used to be good. I do not recognize who you’re but definitely you are going to a well-known blogger if you happen to are not already. Cheers!

RUUcJpHusbLQftp

1, viagra generika erfahrungen,

Custom Essay Writing Service

Thanks for the post. I found the information informative and useful.

http://www.essayglory.com/cheapessays.aspx

mbCxhXvmwGlkzVCFXMi

1, billig viagra på nätet,

wanAS PkZ StBE

purchase viagra super active viagra duration - buy cheap viagra in australia

wanAS PkZ StBE

purchase viagra super active viagra duration - buy cheap viagra in australia

jGwotjTYdXFiVCowq

0, viagra,

sXRkLZeNcahTjktkvM

1, propecia,

uVoricPxDP

1, zoloft weight gain loss percentage,

bMaUJ PJg FAcc

http://texaspress.com/lab/tramadolonline/#61749 tramadol high doses - buy tramadol overnight shipping

bMaUJ PJg FAcc

http://texaspress.com/lab/tramadolonline/#61749 tramadol high doses - buy tramadol overnight shipping

zHDFX zbW dIKq

buy tramadol cod tramadol reactions - tramadol hydrochloride tablets 100mg

zHDFX zbW dIKq

buy tramadol cod tramadol reactions - tramadol hydrochloride tablets 100mg

wXNXwK Kh hq tPI nRrV Wt

buy strattera online strattera rxlist - strattera narcolepsy

wXNXwK Kh hq tPI nRrV Wt

buy strattera online strattera rxlist - strattera narcolepsy

DDtma PeO VSsl

retin a cream retin a gel usage - does retin a cream look like

DDtma PeO VSsl

retin a cream retin a gel usage - does retin a cream look like

BQblc Xor UVuE

http://lakebar.org/logs/viagrasuperactive/#25322 viagra online reputable - online apotheke viagra 100mg

BQblc Xor UVuE

http://lakebar.org/logs/viagrasuperactive/#25322 viagra online reputable - online apotheke viagra 100mg

ハミルトン 腕時計

エミネムと したが、実はアメリカのコンサート、け大物ア、があるのはNY TIMESにもそれについで掲載されていました。

VxARR cko ursp

tramadol online buy tramadol online with cod - buy tramadol us pharmacy

VxARR cko ursp

tramadol online buy tramadol online with cod - buy tramadol us pharmacy

LABdh frt Zgwr

tramadol online tramadol 50mg tablets for dogs - buy tramadol 50mg

LABdh frt Zgwr

tramadol online tramadol 50mg tablets for dogs - buy tramadol 50mg

JXModW ch kA Erj sAvJ CM

More Info strattera reviews for weight loss - walmart cost of strattera

JXModW ch kA Erj sAvJ CM

More Info strattera reviews for weight loss - walmart cost of strattera

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options