Using the Ubiquity Firefox extension to create Drupal nodes

19 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.

Firefox is the most fastest

Firefox is the most fastest and efficient browser of this era and if an extension will be added to it then will become more effective for users.As these days maximum users are using a approach to create Drupal node so this Firefox extension will be a noble deal.

Firefox extension is one of

Firefox extension is one of the best ways to know more about Firefox and one must say that this is the real way to appreciate some good people infront of other Drupal nodes.

Using this Firefox extension

Using this Firefox extension is really valuable for the users in a Firefox extension to proclaim some users in a suitable ways of making some more substantial changes in a reductive ways.

Updates are great

Yeah, ubiquity extension for Firefox has consistently satisfied the need of end users. so much updates and changes have bben done from the date of first lunch. like it very much.

Basically Firefox extension

Basically Firefox extension techniques offers an extremely advantageous and exciting comprehensive platform where Firefox extension adds new and efficient functionality to Mozilla applications.Through which we are able to get user satisfactory application.

Good Work !

Basically Firefox extending techniques offers an extremely advantageous and exciting comprehensive platform where Firefox extension adds new and efficient practicality to Mozilla applications.Through which we are able to get user satisfactory application.

Lengthen for Google chrome

Lengthen for Google chrome has every time contented the incidence of spirit consumer. so a lot inform and modify have exist ready starting the appointee of initial dine.

i like this comment

Yeah, ubiquity additional room for Firefox has time after time satisfied the need of end users. so much updates and change have bben done from the date of first lunch. like it very much.

Incredible instructions

Incredible instructions regarding each and every procedures of The Ubiquity extension to create Drupal nodes are added to this blog for providing sufficient knowledge.Glad to know about the latest update of Firefox extension techniques and beneficial application.

Firefox is the most speed and

Firefox is the most speed and efficient browser of this age and if an extension will be added to it then will become more effective for users. As these days maximum users are using a approach to create Drupal node so this Firefox extension will be a noble deal. Thanks for informative article.
GIS Services

Firefox is the most speed and

Firefox is the most speed and efficient browser of this age and if an extension will be added to it then will become more effective for users. As these days maximum users are using a approach to create Drupal node so this Firefox extension will be a noble deal. Thanks for informative article.
new smyrna beach vacation rentals

BMW 330 Steering Pump

Lengthen for Google chrome has every time contented the incidence of spirit consumer. so a lot inform and modify have exist ready starting the appointee of initial dine.

Usually we have been

Usually we have been witnessed many creative applications and notification applied in Firefox, these types of tools are really much beneficial for creating Drupal nodes in a very easy and systematic way.

To display web pages, Firefox

To display web pages, Firefox uses the Gecko layout engine, which implements most current web standards in addition to several features that are intended to anticipate likely additions to the standards. Thanks.

Previously we have been

Previously we have been witnessed many application and tools are being introduced for Firefox, here also another powerful tool Ubiquity extension for Firefox is worked to interact with the web.

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