<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Asiapan Talks &#187; ubiquity</title>
	<atom:link href="http://asiapan.cn/archives/tag/ubiquity/feed" rel="self" type="application/rss+xml" />
	<link>http://asiapan.cn</link>
	<description>语言是思想的直接现实（卡尔•马克思）</description>
	<lastBuildDate>Mon, 21 May 2012 02:49:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>叽歪和Yupoo的Ubiquity命令</title>
		<link>http://asiapan.cn/archives/379</link>
		<comments>http://asiapan.cn/archives/379#comments</comments>
		<pubDate>Fri, 10 Oct 2008 15:20:07 +0000</pubDate>
		<dc:creator>asiapan</dc:creator>
				<category><![CDATA[杂项]]></category>
		<category><![CDATA[ubiquity]]></category>
		<category><![CDATA[yupoo]]></category>
		<category><![CDATA[叽歪]]></category>

		<guid isPermaLink="false">http://asiapan.cn/archives/379</guid>
		<description><![CDATA[我之前说，目前较想要的两个命令是Yupoo和Jiwai.de的。因为Yupoo是我主要存放图片的地方，但目前还没发现有人编写它的命令，而叽歪是我发即时消息的地方，叽歪命令倒是有houyr编写了一个，但Subscribe后刚能用了，重启浏览器后就又不能用,好像不能保存。完全依靠别人弄好不是办法，想用还得自己动手。 先是观察了一下houyr的叽歪命令代码，发现代码里面有不少中文，猜测可能是中文字符出问题了，于是把里面所有的中文都改写成相应的英文，再把整段代码不是Subscribe，而是复制粘贴到我的command-editor，再试了试，果然能用了，重启浏览器也没问题。 Yupoo的搜索我是参照flickr的，就是直接搬过来用，只是修改了里面相应的内容变为yupoo的，比如搜索句式、favicon地址、REST请求、API key等。只是，不知道哪里的问题，贴到command-editor后搜索倒是能搜索了，但是类似flickr上的ajax预览图片功能却出不来。希望高手帮忙指点一下。 两段代码分别贴到下面： 先是叽歪的： // How many words can jiwai send? const JIWAI_STATUS_MAXLEN = 500; CmdUtils.CreateCommand({ name: "jiwai", takes: {status: noun_arb_text}, homepage: "http://jiwai.de/", author: {name: "Damien Hou", homepage: "http://jiwai.de/houyr/"}, icon: "http://asset3.jiwai.de/img/favicon.ico", license: "MPL", preview: function(previewBlock, statusText) { var previewTemplate = "Send a Jiwai: " + "${status} " + "remaining: ${chars}"; var truncateTemplate = [...]]]></description>
			<content:encoded><![CDATA[<p>我<a href="http://jiwai.de/asiapan/statuses/12344930">之前说</a>，目前较想要的两个命令是<a href="http://www.yupoo.com">Yupoo</a>和<a href="http://jiwai.de">Jiwai.de</a>的。因为Yupoo是我主要存放图片的地方，但目前还没发现有人编写它的命令，而叽歪是我发即时消息的地方，<a href="http://marsbug.com/u.html">叽歪命令</a>倒是有<a href="http://jiwai.de/houyr/statuses/11393124">houyr编写了一个</a>，但Subscribe后刚能用了，重启浏览器后就又不能用,好像不能保存。完全依靠别人弄好不是办法，想用还得自己动手。</p>
<p>先是观察了一下<a href="http://marsbug.com/u.html">houyr的叽歪命令代码</a>，发现代码里面有不少中文，猜测可能是中文字符出问题了，于是把里面所有的中文都改写成相应的英文，再把整段代码不是Subscribe，而是复制粘贴到我的command-editor，再试了试，果然能用了，重启浏览器也没问题。</p>
<p>Yupoo的搜索我是参照flickr的，就是直接搬过来用，只是修改了里面相应的内容变为yupoo的，比如搜索句式、favicon地址、REST请求、API key等。只是，不知道哪里的问题，贴到command-editor后搜索倒是能搜索了，但是类似flickr上的ajax预览图片功能却出不来。希望高手帮忙指点一下。</p>
<p>两段代码分别贴到下面：</p>
<p><span id="more-379"></span><br />
先是叽歪的：</p>
<blockquote><p>
// How many words can jiwai send?<br />
 const JIWAI_STATUS_MAXLEN = 500; </p>
<p> CmdUtils.CreateCommand({<br />
 name: "jiwai",<br />
 takes: {status: noun_arb_text},<br />
 homepage: "http://jiwai.de/",<br />
 author: {name: "Damien Hou", homepage: "http://jiwai.de/houyr/"},<br />
 icon: "http://asset3.jiwai.de/img/favicon.ico",<br />
 license: "MPL",<br />
 preview: function(previewBlock, statusText) {<br />
 var previewTemplate = "Send a Jiwai: <br/>" +<br />
 "<b>${status}</b></p>
<p>" +<br />
 "remaining: <b>${chars}</b>";<br />
 var truncateTemplate = "<br />the last<b>${truncate}</b> " +<br />
 "will be truncated.";<br />
 var previewData = {<br />
 status: statusText.text,<br />
 chars: JIWAI_STATUS_MAXLEN - statusText.text.length<br />
 };<br />
 var previewHTML = CmdUtils.renderTemplate(previewTemplate, previewData);<br />
 if(previewData.chars < 0) {<br />
 var truncateData = {<br />
 truncate: 0 - previewData.chars<br />
 };<br />
 previewHTML += CmdUtils.renderTemplate(truncateTemplate, truncateData);<br />
 }<br />
 previewBlock.innerHTML = previewHTML;<br />
 },<br />
 execute: function(statusText) { if(statusText.text.length < 1) { displayMessage("Forget what to say？");<br />
 return;<br />
 } var updateUrl = "http://api.jiwai.de/statuses/update.json";<br />
 var updateParams = {<br />
 source: "ubiquity",<br />
 status: statusText.text<br />
 };<br />
 jQuery.ajax({<br />
 type: "POST",<br />
 url: updateUrl,<br />
 data: updateParams,<br />
 dataType: "json",<br />
 error: function() {<br />
 displayMessage("Fail");<br />
 },<br />
 success: function() {<br />
 displayMessage("Success！yeah～");<br />
 }<br />
 });<br />
 }<br />
 })
</p></blockquote>
<p>这个是yupoo的：</p>
<blockquote><p>
makeSearchCommand({<br />
  name: "Yupoo",<br />
  url: "http://www.yupoo.com/search/?q={QUERY}&#038;w=all",<br />
  icon: "http://www.yupoo.com/favicon.ico",<br />
  description: "Searches 【a href="http://www.yupoo.com"】Yupoo</a> for pictures matching your words.",<br />
  preview : function(previewBlock, inputObject){<br />
    var inputText = inputObject.text;</p>
<p>    if(inputText.length < 1) {<br />
      previewBlock.innerHTML = "Searches for photos on Yupoo.";<br />
      return;<br />
    }</p>
<p>    previewBlock.innerHTML = "Searching for photos on Yupoo...";</p>
<p>    var apiUrl = "http://www.yupoo.com/api/rest/";<br />
    var apiParams = {<br />
      api_key: "f75028ca67a9e25dcd29a03d105b9498",<br />
      format: "json",<br />
      nojsoncallback: 1,<br />
      method: "yupoo.photos.search",<br />
      media: "photos",<br />
      text: inputText,<br />
      per_page: 8,<br />
      sort: "relevance"<br />
    };</p>
<p>    jQuery.ajax({<br />
      type: "GET",<br />
      url: apiUrl,<br />
      data: apiParams,<br />
      datatype: "string",<br />
      error: function() {<br />
        previewBlock.innerHTML = "<i>Error searching Yupoo.</i>";<br />
      },<br />
      success: function(responseData) {<br />
        responseData = Utils.decodeJson(responseData);</p>
<p>        if(responseData.stat != "ok") {<br />
          previewBlock.innerHTML = "<i>Error searching Yupoo.</i>";<br />
          return;<br />
        }</p>
<p>        var previewData = {<br />
          numcols: 4,<br />
          nummatches: responseData.photos.total,<br />
          photos: responseData.photos.photo<br />
        };</p>
<p>        previewBlock.innerHTML = CmdUtils.renderTemplate({file:"yupoo.html"}, previewData);<br />
    }<br />
  });<br />
}<br />
});
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://asiapan.cn/archives/379/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>常用的Ubiquity命令</title>
		<link>http://asiapan.cn/archives/378</link>
		<comments>http://asiapan.cn/archives/378#comments</comments>
		<pubDate>Fri, 10 Oct 2008 10:01:21 +0000</pubDate>
		<dc:creator>asiapan</dc:creator>
				<category><![CDATA[杂项]]></category>
		<category><![CDATA[ubiquity]]></category>

		<guid isPermaLink="false">http://asiapan.cn/archives/378</guid>
		<description><![CDATA[试了几天Ubiquity，深感各种中文网络应用命令的缺乏，希望懂写这种命令的Ubiquity同好多写一些分享出来。下面是除了默认的命令外，我在网络里找到一些别人新写的、我自己有用到的命令，针对平常用得较多的网络应用。当然，其实现在新写的命令已经很多，只要到Finding New Ubiquity Commands with the Herd去找就有的是。 应用到豆瓣网的： 《ubiquity尝鲜 －豆瓣命令》douban-s（我说）、douban-r（推荐） 应用到百度的： 《Baidu、Dict.cn和Flex Community Help搜索的Ubiquity命令》 《Ubidu: Power Baidu with The Web Command Line》-可精确到百度分类搜索，如图片、音乐等 应用到Dict.cn翻译的（上面）：不过因为查询时要打开新窗口，所以感觉不如默认的google translate 应用到friendfeed的： 《A FriendFeed Ubiquity Command》 应用到叽歪的： 《在twitter命令上改了个ubiquity的叽歪命令》 应用到饭否的： 《Ubiquity FanFou Command》 关于twitter的： 《Twitter and Link Shortner》 对 Ubiquity 的默认 Twitter 命令进行扩展，增加一个链接截短命令。 应用到Google Site Search的：针对当前网站的搜索 《Isaac 2.0: 在Ubiquity编辑自己的命令》 关于Delicious的： 《向你的 delicious 帐户提交书签以及标签》 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://asiapan.cn/archives/374">试了几天Ubiquity</a>，深感各种中文网络应用命令的缺乏，希望懂写这种命令的<a href="http://labs.mozilla.com/2008/08/introducing-ubiquity/">Ubiquity</a>同好多写一些分享出来。下面是除了默认的命令外，我在网络里找到一些别人新写的、<strong>我自己有用到</strong>的命令，针对平常用得较多的网络应用。当然，其实现在新写的命令已经很多，只要到<a href="https://labs.toolness.com/ubiquity-herd/">Finding New Ubiquity Commands with the Herd</a>去找就有的是。</p>
<ol>
<li>应用到<a href="http://www.douban.com">豆瓣网</a>的：
<ul>
<li>《<a href="http://www.douban.com/group/topic/4056626/">ubiquity尝鲜 －豆瓣命令</a>》douban-s（我说）、douban-r（推荐）</li>
</ul>
</li>
<li>应用到<a href="http://www.baidu.com">百度</a>的：
<ul>
<li> 《<a href="http://blog.eshangrao.com/2008/09/09/577/">Baidu、Dict.cn和Flex Community Help搜索的Ubiquity命令</a>》</li>
<li> 《<a href="http://ubidu.sourceforge.net/">Ubidu: Power Baidu with The Web Command Line</a>》-可精确到百度分类搜索，如图片、音乐等</li>
</ul>
</li>
<li>应用到<a href="http://dict.cn">Dict.cn</a>翻译的（上面）：不过因为查询时要打开新窗口，所以感觉不如默认的google translate</li>
<li>应用到<a href="http://friendfeed.com">friendfeed</a>的：
<ul>
<li>《<a href="http://www.bjtitus.net/ubiquity/friendfeed.html">A FriendFeed Ubiquity Command</a>》</li>
</ul>
</li>
<li>应用到<a href="http://jiwai.de">叽歪</a>的：
<ul>
<li>《<a href="http://marsbug.com/u.html">在twitter命令上改了个ubiquity的叽歪命令</a>》</li>
</ul>
</li>
<li>应用到<a href="http://fanfou.com">饭否</a>的：
<ul>
<li>《<a href="http://17th.name/fanfou/">Ubiquity FanFou Command</a>》</li>
</ul>
</li>
<li>关于<a href="http://twitter.com">twitter</a>的：
<ul>
<li>《<a href="http://benatkin.com/ubiquity/tweet/">Twitter and Link Shortner</a>》 对 Ubiquity 的默认 Twitter 命令进行扩展，增加一个链接截短命令。</li>
</ul>
</li>
<li>应用到Google Site Search的：针对当前网站的搜索
<ul>
<li>《<a href="http://www.isaacmao.com/2/2008/10/ubiquity.html">Isaac 2.0: 在Ubiquity编辑自己的命令</a>》</li>
</ul>
</li>
<li>关于<a href="http://Delicious.com">Delicious</a>的：
<ul>
<li>《<a href="http://gist.github.com/7516">向你的 delicious 帐户提交书签以及标签</a>》</li>
</ul>
</li>
<li>关于<a href="http://www.google.com/reader">Google Reader</a>订阅的：
<ul>
<li>《<a href="http://www.nileshk.com/ubiquity-commands/google-reader-subscribe.html">Subscribe via Google Reader</a>》</li>
</ul>
</li>
<li>这个<a href="http://appsrv.cse.cuhk.edu.hk/~gli/ubiquity.html">多功能很强大的命令</a>：<strong><span style="color: #ff0000;">recommend!</span></strong>
<ul>
<li>scholar: search paper on <a href="http://scholar.google.com/scholar">Google Scholar</a></li>
<li>xunlei: search xunlei.com 迅雷 sorted in the order of the file size</li>
<li>baidu: search baidu.com 百度</li>
<li>douban: search douban.com 豆瓣 with the preview</li>
<li>verycd: search verycd.com 电驴</li>
<li>news: search Google news</li>
<li>chinese: translate english to chinese using dict.cn 海词</li>
<li>english: show the english explanation in the preview window</li>
<li>mininova: search mininova for a torrent</li>
</ul>
</li>
</ol>
<p><strong>持续关注并增加……</strong><br />
<strong>*有用的链接</strong>：</p>
<ul>
<li><a href="http://www.cnbeta.com/articles/64140.htm">Ubiquity命令大全</a></li>
<li><a href="http://www.diigo.com/user/asiapan/Ubiquity">我收藏的ubiquity书签</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://asiapan.cn/archives/378/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>好玩的Ubiquity</title>
		<link>http://asiapan.cn/archives/374</link>
		<comments>http://asiapan.cn/archives/374#comments</comments>
		<pubDate>Tue, 07 Oct 2008 16:37:26 +0000</pubDate>
		<dc:creator>asiapan</dc:creator>
				<category><![CDATA[杂项]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ubiquity]]></category>

		<guid isPermaLink="false">http://asiapan.cn/?p=374</guid>
		<description><![CDATA[前一阵子Ubiquity刚推出的时候，其实我有在Google Reader里看到不少人的新鲜介绍，但我好奇心不强，当时没怎么注意，只是随便瞥了人家写的赞美几眼，感觉这应该是一个很棒的新应用，基本上赞声一片，但好像要用什么“命令行”来操作。一看到“命令行”三个字我就无力了，内心里总是觉得这东西应该就像是编程高手在一个黑乎乎的全屏DOS界面上操作一些天书似的代码（这种印象可能是因为最初看的黑客电影形成的），于是敬而远之。 方才不知从哪里的链接点过去的，又看了豆瓣blog上那篇《豆瓣API：如果你还在用眼睛和手指上豆瓣 》，从文中的那句“如果你是键盘狂人，对鼠标无爱，可以试试这个”又链到豆瓣插件小组里的《ubiquity尝鲜 －豆瓣命令》。虽然只提供了两个命令，但这回终于成功引起了我对Ubiquity的兴趣。 搜索着看了一两篇别人写的中文介绍，尤其是认真看了一下官方提供的那个6分钟视频，真的感到很好玩。于是到introducing ubiquity上安装了扩展，重启后就自动出来一个Ubiquity的设置页面，照着别人说的把默认调出Ubiquity命令行的快捷键Ctrl+空格键修改为Shift+z，以防跟平常使用的输入法切换冲突。终于可以开始照着Commands List试验了。不过，我更主要的是参考了Lucifr写的《Ubiquity 命令列表及使用指导》，Lucifr写这篇真的很有心，绝对是中文世界普通使用者最有用的指导，感谢他。 基本上，命令表里很多命令我都可以无视，因为很多网络服务我都没使用，不是它们的用户。对我来说，比较有用且可能用到的有这么几条（复制自Lucifr）： add-to-calendar：向你的日历中添加事件 目前只应用于Google Calendar，你需要一个Google的账户来使用这个命令。 check-calendar：查看日历中相应日期中的事件 目前只支持Google Calendar，所以你需要一个Google账户来使用这个命令 方法：1.执行“check-calendar [日期{dd mm yy}{‘monday’,'tuesday’…}{‘yesterday’,'tomorrow’}]”； 2.选中一个日期，执行“check-calendar” 例：执行“check-calendar 27 08 2008” bold: 当处在富文本编辑区域时（比如gmail中编写新邮件中的编辑区域），使用此命令可使所选字段变为 黑体 方法：选中富文本编辑区中的字段，执行“bold” calculate: 计算数学表达式的值 方法：1.执行“calculate [数学表达式]”；2.选中一个数学表达式，执行“calculate” 例：执行“calculate 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 - 1/15” close-tab：关闭所有包含与给出词匹配的（一个）firefox标签页 方法：1.执行“close-tab [关键词]”；2.选中一个字段，执行“close-tab” 例：执行“close-tab lucifr” close-related-tabs：关闭所有包含与给出词相关的firefox标签页 方法：1.执行“close-related-tabs [关键词]”；2.选中一个字段，执行“close-related-tabs” [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" style="float:left;padding:0 20px 20px 0;" title="Ubiquity" src="http://azarask.in/gfx/ubiquity_side.png" alt="" width="150" height="213" />前一阵子<a href="http://labs.mozilla.com/2008/08/introducing-ubiquity/">Ubiquity</a>刚推出的时候，其实我有在<a href="http://www.google.com/reader">Google Reader</a>里看到不少人的新鲜介绍，但我好奇心不强，当时没怎么注意，只是随便瞥了人家写的赞美几眼，感觉这应该是一个很棒的新应用，基本上赞声一片，但好像要用什么“命令行”来操作。一看到“命令行”三个字我就无力了，内心里总是觉得这东西应该就像是编程高手在一个黑乎乎的全屏DOS界面上操作一些天书似的代码（这种印象可能是因为最初看的黑客电影形成的），于是敬而远之。</p>
<p>方才不知从哪里的链接点过去的，又看了豆瓣blog上那篇《<a href="http://blog.douban.com/douban/2008/09/04/130/">豆瓣API：如果你还在用眼睛和手指上豆瓣 </a>》，从文中的那句“<span style="text-decoration: underline;">如果你是键盘狂人，对鼠标无爱，可以试试<a href="http://www.douban.com/group/topic/4056626/">这个</a></span>”又链到豆瓣插件小组里的《<a href="http://www.douban.com/group/topic/4056626/">ubiquity尝鲜 －豆瓣命令</a>》。虽然只提供了两个命令，但这回终于成功引起了我对Ubiquity的兴趣。</p>
<p>搜索着看了一两篇别人写的中文介绍，尤其是认真看了一下官方提供的那个<a href="http://vimeo.com/1561578">6分钟视频</a>，真的感到很好玩。于是到<a href="http://labs.mozilla.com/2008/08/introducing-ubiquity/">introducing ubiquity</a>上安装了扩展，重启后就自动出来一个Ubiquity的设置页面，照着别人说的把默认调出Ubiquity命令行的快捷键<strong>Ctrl+空格键</strong>修改为<strong>Shift+z</strong>，以防跟平常使用的输入法切换冲突。终于可以开始照着<a href="chrome://ubiquity/content/cmdlist.html">Commands List</a>试验了。不过，我更主要的是参考了Lucifr写的《<a href="http://lucifr.com/2008/08/29/ubiquity-commands-list-with-a-brief-manual/">Ubiquity 命令列表及使用指导</a>》，Lucifr写这篇真的很有心，绝对是中文世界普通使用者最有用的指导，感谢他。</p>
<p>基本上，命令表里很多命令我都可以无视，因为很多网络服务我都没使用，不是它们的用户。对我来说，比较有用且可能用到的有这么几条（复制自<a href="http://lucifr.com/2008/08/29/ubiquity-commands-list-with-a-brief-manual/">Lucifr</a>）：</p>
<ol>
<li><strong>add-to-calendar：向你的日历中添加事件</strong><br />
目前只应用于<a href="http://calendar.google.com/">Google Calendar</a>，你需要一个Google的账户来使用这个命令。</li>
<li><strong>check-calendar：查看日历中相应日期中的事件</strong><br />
目前只支持<a href="http://calendar.google.com/">Google Calendar</a>，所以你需要一个Google账户来使用这个命令<br />
方法：1.执行“check-calendar [日期{dd mm yy}{‘monday’,'tuesday’…}{‘yesterday’,'tomorrow’}]”；<br />
2.选中一个日期，执行“check-calendar”<br />
例：执行“check-calendar 27 08 2008”</li>
<li><strong>bold: 当处在富文本编辑区域时（比如gmail中编写新邮件中的编辑区域），使用此命令可使所选字段变为 黑体</strong><br />
方法：选中富文本编辑区中的字段，执行“bold”</li>
<li><strong>calculate: 计算数学表达式的值</strong><br />
方法：1.执行“calculate [数学表达式]”；2.选中一个数学表达式，执行“calculate”<br />
例：执行“calculate 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 - 1/15”</li>
<li><strong>close-tab：关闭所有包含与给出词匹配的（一个）firefox标签页</strong><br />
方法：1.执行“close-tab [关键词]”；2.选中一个字段，执行“close-tab”<br />
例：执行“close-tab lucifr”</li>
<li><strong>close-related-tabs：关闭所有包含与给出词相关的firefox标签页</strong><br />
方法：1.执行“close-related-tabs [关键词]”；2.选中一个字段，执行“close-related-tabs”<br />
例：执行“close-related-tabs lucifr”</li>
<li><strong>convert：将所选文本转换为PDF、富文本、或HTML格式</strong><br />
方法：选中一段文本，执行“convert to [格式{pdf,rich-text,html}]”</li>
<li><strong>delete：从页面中删除所选部分的HTML</strong><br />
方法：选中页面中的一部分（可以是图片），执行“delete”</li>
<li><strong>email：给联系人列表中的某人编写新的Email</strong><br />
目前只支持<a href="https://mail.google.com/">Google Mail</a>, 所以你需要一个GMail账户来使用这个命令。<br />
方法：1. 执行“email [文本] to [联系人]”；<br />
2.选中页面中的一段内容（可包含图片），执行“email this to [联系人]”<br />
例：执行“email hello to lucifr”（前提为你的联系人列表中加入了lucifr）</li>
<li><strong>flickr：在<a href="http://www.flickr.com">Flickr</a>中搜索与给出词相匹配的图片</strong><br />
方法：1.执行“flickr [关键词]”；2. 选中一个词，执行“flickr”<br />
例：执行“flickr beauty”</li>
<li><strong>get-email-address：在你的联系人列表中查找与所给人名相对应的email地址</strong><br />
方法：执行“get-email-address [人名]”<br />
例：执行“get-email-address lucifr”</li>
<li><strong>google：搜索<a href="http://www.google.com">Google</a>中与给出词相匹配的网页</strong><br />
方法：1.执行“google [关键词]”；2.选中一个字段，执行“google”<br />
例：执行“google lucifr”</li>
<li><strong>highlight：高亮所选字段，就像<span style="background: yellow none repeat scroll 0% 0%;">这样</span></strong><br />
方法：选中页面中一段文本，执行“highlight”</li>
<li><strong>italic：使在富文本编辑区中的所选文本变为<em>斜体</em></strong><br />
方法：选中富文本编辑区（如gmail编写新邮件中的编辑框中的文字）中的一段文本，执行“italic”</li>
<li><strong>last-email：显示最新的一条电子邮件</strong><br />
需要<a href="https://mail.google.com/">Google Mail</a>账户。<br />
方法：执行“last-email”</li>
<li><strong>map：在<a href="http://maps.google.com/">Google Map</a>中定位给出的地址或位置</strong><br />
方法：1.执行“map [地址]”；2.选中一个地址，执行“map”<br />
例：执行“map beijing”<br />
你可以点击预览面板上的地图使它变大一些，在上面可以进行缩放和移动等操作；当处在文本编辑模式时，通过点击"insert map in page"可以将地图插入至编辑内容中。</li>
<li><strong>syntax-highlight：将所选程序代码依其语言进行高亮处理</strong><br />
需在富文本编辑模式下<br />
方法：在富文本编辑模式中选中一段代码，执行“syntax-highlight”</li>
<li><strong>tab：转换到与给出词相匹配的firefox标签页</strong><br />
方法：1.执行“tab [关键词]”；2.选中一个词，执行“tab”<br />
例：执行“tab lucifr”</li>
<li><strong>tag：为当前页面添加标签</strong><br />
作者：Dietrich Ayala - 证书类型：MPL/GPL/LGPL<br />
更多信息见此：<a href="http://autonome.wordpress.com/">http://autonome.wordpress.com/</a><br />
方法：1.执行“tag [关键词]”；2.选中一个词，执行“tag”<br />
例：执行“tag web2.0”</li>
<li><strong>tinyurl：将所选URL替换为<a href="http://www.tinyurl.com/">TinyUrl</a></strong><br />
需在富文本编辑模式下<br />
方法：选中一个URL，执行“tinyurl”</li>
<li><strong>translate：将给出词从一种语言翻译为另一种</strong><br />
方法：1.执行“translate [文本] from [语言1] to [语言2]”；<br />
2. 选中一段文本后，执行“translate this to [语言2]”<br />
例：执行“translate firefox from English to Chinse”<br />
注：在不填入语言的情况下，Ubiquity会猜度你的想法；有一定的字数限制。</li>
<li><strong>twitter：将给出词发布至<a href="http://www.twitter.com">twitter</a>，最多160字符</strong><br />
需要一个Twitter的账户来使用这个命令<br />
方法：1.执行“twitter [文本]”；2.选中一段文本，执行“twitter”<br />
例：执行“twitter Lucifr is a nice man~^_^”</li>
<li><strong>underline：为富文本编辑模式中的所选文本添加<span style="text-decoration: underline;">下划线</span></strong><br />
需在富文本模式下进行<br />
方法：选中一段文本，执行“underline”</li>
<li><strong>weather：查看所给地区的天气，使用的是<a href="http://www.wunderground.com">Weather Underground</a>的服务。</strong><br />
方法：1.执行“weather [地区名，邮编]”；2. 选中一个地名或邮编，执行“weather”<br />
例：执行“weather beijing”<br />
注：邮编只支持美国地区</li>
<li><strong>youtube：在<a href="http://www.youtube.com">YouTube</a>搜索与给出词相匹配的视频</strong><br />
方法：1.执行“youtube [关键词]；2.选中字段，执行“youtube”<br />
例：执行“youtube way back into love”</li>
</ol>
<p>看起来这些命令还蛮多的，其实已经去掉不少了。而且如果是常用的东西的话还是能记住的。以后中文应用的这类扩展应该会有越来越多的高手制作出来吧。像现在就能使用的那<a href="http://www.douban.com/group/topic/4056626/">两个豆瓣命令</a>就很有用很便捷。</p>
]]></content:encoded>
			<wfw:commentRss>http://asiapan.cn/archives/374/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

