netnode IT services GmbH
Mythenstrasse 7
6003 Luzern
041 450 10 66
Kontaktformular
Newsletter [neu]
Inspiriert von http://tinyurl.com/5db7ag habe ich gleich ein eigenes Ubiquity Script ausprobiert. Es kommt oft vor, dass ich Inhalte aus einem Mail oder aus einer Website in ein Drupal Formular kopiere z.B. um einen Blogeintrag zu posten. Ubiquity erlaubt ein fast automatisierter Vorgang.
Das Resultat:
<?php
CmdUtils.CreateCommand({
name: "blog",
execute: function() {
var s = CmdUtils.getTextFromHtml(CmdUtils.getHtmlSelection());
var e = encodeURIComponent;
url = 'http://www.netnode.ch/node/add/blog?t=' + e(s) + '&b=' + e(s);
Utils.openUrlInBrowser(url);?>