<?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>某人的栖息地 &#187; google</title>
	<atom:link href="http://www.ooso.net/category/google/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ooso.net</link>
	<description>Linux + Apache + Mysql + Php + Flash</description>
	<lastBuildDate>Sat, 07 Aug 2010 00:23:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>goo.gl shortener plugin for vimperator</title>
		<link>http://www.ooso.net/archives/504</link>
		<comments>http://www.ooso.net/archives/504#comments</comments>
		<pubDate>Mon, 21 Dec 2009 14:18:45 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[vimperator]]></category>

		<guid isPermaLink="false">http://www.ooso.net/?p=504</guid>
		<description><![CDATA[基于goo.gl短url服务制作的vimperator插件，这个服务本来只有chrome上面可以玩玩，但是实际上有很简单的api可以调用，因此我改造成vimperator插件倒也没费太多的功夫。
goo.gl shortener plugin使用方法



				<span class="readmore"><a href="http://www.ooso.net/archives/504" title="goo.gl shortener plugin for vimperator">阅读全文（372字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>基于<a href="http://goo.gl">goo.gl</a>短url服务制作的<a href="/?tag=vimperator">vimperator</a>插件，这个服务本来只有chrome上面可以玩玩，但是实际上有很简单的api可以调用，因此我改造成vimperator插件倒也没费太多的功夫。</p>
<h2>goo.gl shortener plugin使用方法</h2>
<ol>
<ul>
<li>你必须是firefox用户，安装了<a href="http://www.vimperator.org/">vimperator</a>插件</li>
<li>下载<a href="http://customcode.googlecode.com/files/shorten.js">goo.gl shortener</a>插件，并放置在vimperator的plugin目录下，对于windows用户来说，通常应该在 x:\Documents and Settings\YourName\vimperator\plugin目录下。如果你是linux用户，那么你应该知道吧？</li>
<li>在vimperator输入框里输入  <code>:shorten</code>就能够获得当前url的短链接，并复制到剪贴板</li>
</ul>
</ol>
<p>话说那个客官，要觉得这工具好使，在转载的时候千万留下原地址，谢谢您了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/504/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wordpress plugin &#8220;search engine related posts&#8221; 1.2发布</title>
		<link>http://www.ooso.net/archives/516</link>
		<comments>http://www.ooso.net/archives/516#comments</comments>
		<pubDate>Sun, 29 Mar 2009 02:19:45 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.ooso.net/?p=516</guid>
		<description><![CDATA[去年写了个wordpress插件&#8221;search engine related posts&#8220;，不知不觉也有将近一年没有更新过了。这个插件的作用：当用户从google搜索到你的博客上，自动显示站内搜索相关的主题。这里没有用到数据库来做相关的搜索工作，而是利用google公开的一些api进行查询，因此对个人博客来说，不会增加服务器负载，完全只是一段js代码而已。
本次1.2相对第一个版本的改动

将javascript提取出来放到单独的js文件里，这是为了减小每个url的大小，浏览器也会对外部js进行缓存，有效的减少带宽输出

				<span class="readmore"><a href="http://www.ooso.net/archives/516" title="wordpress plugin &#8220;search engine related posts&#8221; 1.2发布">阅读全文（479字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>去年写了个wordpress插件&#8221;<a href="http://www.ooso.net/archives/392">search engine related posts</a>&#8220;，不知不觉也有将近一年没有更新过了。这个插件的作用：当用户从google搜索到你的博客上，自动显示站内搜索相关的主题。这里没有用到数据库来做相关的搜索工作，而是利用google公开的一些api进行查询，因此对个人博客来说，不会增加服务器负载，完全只是一段js代码而已。</p>
<h2>本次1.2相对第一个版本的改动</h2>
<ul>
<li>将javascript提取出来放到单独的js文件里，这是为了减小每个url的大小，浏览器也会对外部js进行缓存，有效的减少带宽输出</li>
<li>js文件已经用<a href="http://developer.yahoo.com/yui/compressor/">yui compressor</a>压缩过，只有900多个字节</li>
<li>支持多语种搜索，修改文件中的$related_posts_lang变量即可，中文用户需要将这个值修改为zh-CN(默认是en-US)</li>
<li>可以去除网页标题中的站名以及部分连接字符，让标题更简短且有意义</li>
</ul>
<h2>下载search engine related posts 1.2</h2>
<p><a href="http://wordpress.org/extend/plugins/search-engine-related-posts/">http://wordpress.org/extend/plugins/search-engine-related-posts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/516/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>google gears无法安装的问题解决</title>
		<link>http://www.ooso.net/archives/455</link>
		<comments>http://www.ooso.net/archives/455#comments</comments>
		<pubDate>Wed, 16 Jul 2008 13:57:34 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/455</guid>
		<description><![CDATA[wordpress 2.6集成了google gears，据说缓存一些文件，大大提升后台访问速度。但是今天跑去下载gears安装，却始终提示安装失败。
Connection errors. Please try again
在google的帮助系统中有相关提示：
Listed below are several possible causes for the connection error you're receiving. Please determine which of these causes may be applicable to you and follow the instructions to resolve the problem.

				<span class="readmore"><a href="http://www.ooso.net/archives/455" title="google gears无法安装的问题解决">阅读全文（1377字）</a></span>]]></description>
			<content:encoded><![CDATA[<p><a href="/?tag=wordpress">wordpress</a> 2.6集成了<a href="http://gears.google.com">google gears</a>，据说缓存一些文件，大大提升后台访问速度。但是今天跑去下载gears安装，却始终提示安装失败。</p>
<blockquote><p>Connection errors. Please try again</p></blockquote>
<p>在google的帮助系统中有相关提示：</p>
<blockquote><p>Listed below are several possible causes for the connection error you're receiving. Please determine which of these causes may be applicable to you and follow the instructions to resolve the problem.</p>
<p>................</p>
<p>Your computer's Background Intelligent Transfer Service (BITS) isn't starting properly. If this is the case, you may want to verify that BITS is correctly configured. To ensure that BITS is enabled, please follow these steps:</p>
<p>   1. Click the "Start" button in your Windows taskbar and select "Settings" > "Control Panel" > "Administrative Tools" > "Services."<br />
   2. Select "Background Intelligent Transfer Service" from the list.<br />
   3. Right-click “Background Intelligent Transfer Service” and choose "Properties" from the menu.<br />
   4. From the "General" tab verify that the "Startup" type is set to either "Automatic" or "Manual." Make sure this setting is not "Disabled."
</p></blockquote>
<p>按照这个帮助找下去，发现BITS服务果然是没有打开，手工启动也会报错。那么继续在google上爬了一阵，得到一个看似很强大的解决方案：</p>
<p>在dos命令行下执行:</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showCodeTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">c:&gt;sc.<span style="">exe</span> config bits start= auto</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">c:&gt;sc.<span style="">exe</span> sdset bits D:<span style="color:#006600; font-weight:bold;">&#40;</span>A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#40;</span>A;;CCLCSWRPWPDTLOCRRC;;;SY<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#40;</span>A;;CCLCSWLOCRRC;;;AU<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#40;</span>A;;CCLCSWRPWPDTLOCRRC;;;PU<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">c:&gt;sc.<span style="">exe</span> start bits </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>如果启动成功，会得到下面的提示信息：</p>
<blockquote><p>SERVICE_NAME: bits<br />
        TYPE               : 20  WIN32_SHARE_PROCESS<br />
        STATE              : 2  START_PENDING<br />
                                (NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)<br />
        WIN32_EXIT_CODE    : 0  (0x0)<br />
        SERVICE_EXIT_CODE  : 0  (0x0)<br />
        CHECKPOINT         : 0x0<br />
        WAIT_HINT          : 0x7d0<br />
        PID                : 1808<br />
        FLAGS              :
</p></blockquote>
<p>接着安装google gears，一切顺利。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/455/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google AJAX Feed API的冷门用法</title>
		<link>http://www.ooso.net/archives/422</link>
		<comments>http://www.ooso.net/archives/422#comments</comments>
		<pubDate>Sat, 14 Jun 2008 03:14:28 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/422</guid>
		<description><![CDATA[Google AJAX Feed API是google提供的一个很实用的API，我经常用它来跨域获取某些rss feed并展现。但是使用前需要申请一个API KEY，然后才可以在指定网站上使用，如果有多级子域名的话，挨个申请key是一个很烦人的事情，所以也就有了下面说的冷门用法。
Google AJAX Feed API提供了针对Flash或javascript无效这两种环境的额外接口，其中一种可以支持jsonp方式调用，跨域调用feed就全靠它了。
jsonp调用代码示例
PLAIN TEXT

				<span class="readmore"><a href="http://www.ooso.net/archives/422" title="Google AJAX Feed API的冷门用法">阅读全文（364字）</a></span>]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/apis/ajaxfeeds">Google AJAX Feed API</a>是google提供的一个很实用的API，我经常用它来跨域获取某些rss feed并展现。但是使用前需要申请一个API KEY，然后才可以在指定网站上使用，如果有多级子域名的话，挨个申请key是一个很烦人的事情，所以也就有了下面说的冷门用法。</p>
<p>Google AJAX Feed API提供了针对Flash或javascript无效这两种环境的额外接口，其中一种可以支持jsonp方式调用，跨域调用feed就全靠它了。</p>
<h3>jsonp调用代码示例</h3>
<div class="igBar"><span id="lcode-4"><a href="#" onclick="javascript:showCodeTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">function foo<span style="color:#006600; font-weight:bold;">&#40;</span>rss<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; console.<span style="">log</span><span style="color:#006600; font-weight:bold;">&#40;</span>rss<span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/script&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script src=<span style="color:#CC0000;">"http://ajax.googleapis.com/ajax/services/feed/load?q=http%3A%2F%2Ffeed.ooso.net&amp;v=1.0&amp;callback=foo"</span>&gt;&lt;/script&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>这段代码中，指定了callback function为<b>foo</b>，所以我预先定义了一个function foo，运行时就可以在<a href="/?tag=firebug">firebug</a>的控制台里清楚的看到返回的json串结构。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/422/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>鲜果认证</title>
		<link>http://www.ooso.net/archives/411</link>
		<comments>http://www.ooso.net/archives/411#comments</comments>
		<pubDate>Sat, 31 May 2008 17:27:20 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/?p=411</guid>
		<description><![CDATA[在feedsky的统计列表里头看到，订阅者大部分来自google reader，还有一部分来自抓虾以及鲜果。抓虾我是用过的，但是鲜果就没闲暇去理会了，因为我使用的主力RSS阅读工具还是google reader。
好奇之余还是去鲜果注册了一个帐号，啥也没干就看到我已经分享了n个频道-___-订阅的feed数目也已经不少，这个自动化太猛了吧？然后可以搜搜俺的的feed已经被订阅了多少次，意外的是居然有6个内容完全相同的频道，鲜果提供了一个小功能就是可以认领这些频道——一一认领下来。
下面是认领时需要输入的验证码之一，留着占字数:p

				<span class="readmore"><a href="http://www.ooso.net/archives/411" title="鲜果认证">阅读全文（403字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>在feedsky的统计列表里头看到，订阅者大部分来自<a href="/index.php?tag=google">google</a> reader，还有一部分来自抓虾以及鲜果。抓虾我是用过的，但是鲜果就没闲暇去理会了，因为我使用的主力RSS阅读工具还是<a href="http://reader.google.com">google reader</a>。</p>
<p>好奇之余还是去鲜果注册了一个帐号，啥也没干就看到我已经分享了n个频道-___-订阅的feed数目也已经不少，这个自动化太猛了吧？然后可以搜搜俺的的feed已经被订阅了多少次，意外的是居然有6个内容完全相同的频道，鲜果提供了一个小功能就是可以认领这些频道——一一认领下来。</p>
<p>下面是认领时需要输入的验证码之一，留着占字数:p</p>
<blockquote><p>BANG55A79B22F4E2E92C6AD78465XIANGUO</p></blockquote>
<p>认领完毕之后，还可以合并，这个功能比较暖心窝——谁愿意维护这么多内容一样的feed啊，相比之下，抓虾就有待努力了。至于阅读的操作方面，貌似和google reader没有太大区别，也可以用j,k快捷键上下翻动的。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/411/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>利用Google Ajax Library API加速常用js类库的载入</title>
		<link>http://www.ooso.net/archives/404</link>
		<comments>http://www.ooso.net/archives/404#comments</comments>
		<pubDate>Wed, 28 May 2008 06:56:58 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/404</guid>
		<description><![CDATA[google前不久推出了Google Ajax Library API，说白了就是提供几个知名js库的host，目前有:

jQuery
prototype

				<span class="readmore"><a href="http://www.ooso.net/archives/404" title="利用Google Ajax Library API加速常用js类库的载入">阅读全文（523字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>google前不久推出了<a href="http://googleajaxsearchapi.blogspot.com/2008/05/speed-up-access-to-your-favorite.html">Google Ajax Library API</a>，说白了就是提供几个知名js库的host，目前有:</p>
<ul>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery">jQuery</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#prototype">prototype</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#script_aculo_us">script.aculo.us</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#mootools">MooTools</a></li>
<li><a href="http://code.google.com/apis/ajaxlibs/documentation/index.html#dojo">dojo</a></li>
</ul>
<p><a href="/?tag=google">google</a>提供的这批js类库都有使用cdn，同时提供压缩和非压缩版本，并gzip输出。比如Prototype在未压缩前是124k，压缩后则只有30k，而jquery经过瘦身以后，也是从97k降到了16k。</p>
<p>这项服务的意义在于，如果各个网站都使用google提供的某个js类库比如jquery，那么由于浏览器缓存的缘故，用户就可以避免下载相同内容的js，这样也就能提高js的载入速度了。</p>
<h2>google ajax library api使用方法</h2>
<p><b>传统方式</b></p>
<div class="igBar"><span id="lcode-7"><a href="#" onclick="javascript:showCodeTxt('code-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-7">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script src=<span style="color:#CC0000;">"http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"</span>&gt;&lt;/script&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p><b>使用google.load载入</b></p>
<div class="igBar"><span id="lcode-8"><a href="#" onclick="javascript:showCodeTxt('code-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-8">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script src=<span style="color:#CC0000;">"http://www.google.com/jsapi"</span>&gt;&lt;/script&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// Load jQuery</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">google.<span style="">load</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"jquery"</span>, <span style="color:#CC0000;">"1"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/script&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>下面是一段小小的视频用来解释它的工作原理:<br />
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/4F4Jb1ssEvI&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/4F4Jb1ssEvI&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
<h2>Update</h2>
<p>昨天在某个小页面上尝试引入google提供的jquery.min.js，结果让我大失所望，虽然有时候访问速度很快，但是偶尔能刷出22秒以上的响应时间，如果是这样不稳定的话，那么实在是不敢放心使用。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/404/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>wordpress plugin &#8211; search engine related posts</title>
		<link>http://www.ooso.net/archives/392</link>
		<comments>http://www.ooso.net/archives/392#comments</comments>
		<pubDate>Fri, 02 May 2008 05:42:00 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.ooso.net/?p=392</guid>
		<description><![CDATA[Table of content

Description
Usage

				<span class="readmore"><a href="http://www.ooso.net/archives/392" title="wordpress plugin &#8211; search engine related posts">阅读全文（854字）</a></span>]]></description>
			<content:encoded><![CDATA[<h3>Table of content</h3>
<ul>
<li><a href="#Description">Description</a></li>
<li><a href="#Usage">Usage</a></li>
<li><a href="#Download">Download</a></li>
<li><a href="#History">History</a></li>
<li><a href="#Link">Link</a></li>
</ul>
<h3>Description</h3>
<p><b>English version</b></p>
<p>When someone is referred from a search engine like Google, the plugin show your blog content matched the terms they search for.</p>
<p><b>中文说明</b></p>
<p>当用户从google搜索到你的博客上，这个wordpress <a href="/?tag=plugin">插件</a>会根据用户搜索的关键词显示你的博客上更多的相关内容。目前也只对google生效，下一个版本将对baidu生效。</p>
<p>这个插件完全使用javascript加上google的api完成，不需要占用服务器端的资源，环保且安全。</p>
<h3 id="Usage">Usage</h3>
<p><b>English version:</b></p>
<ul>
<li>unzip it</li>
<li>Put <b>&lt;div style="display:none" id="search_content"&gt;&lt;/div&gt;</b> at the place in your template where you want the list of related posts</li>
<li>Copy search_related_posts.php to direcotry wp-contents/plugin and activate the plugin.</li>
<li>done!</li>
</ul>
<p><b>中文说明:</b></p>
<ul>
<li>解压</li>
<li>在wordpress模板中添加一个id为search_content的html标签，比如
<div class="igBar"><span id="lcode-10"><a href="#" onclick="javascript:showCodeTxt('code-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-10">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#CC0000;">"search_content"</span> style=<span style="color:#CC0000;">"display:none;"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;h1&gt;相关搜索结果&lt;/h1&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/div&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></li>
<li>复制search_related_posts.php到wp-contents/plugin目录，并激活插件.</li>
<li>done! 现在你可以试着从google搜索上先搜到自己的博客，然后点击进去看看插件的效果。</li>
</ul>
<h3 id="Download">Download</h3>
<p><a href="http://wordpress.org/extend/plugins/search-engine-related-posts/">latest search engine related posts</a></p>
<h3 id="History">History</h3>
<ul>
<li><a href="http://www.ooso.net/index.php/archives/516">search engine related posts 1.2</a></li>
<li><a href="http://www.ooso.net/index.php/archives/392">search engine related posts 1.0</a></li>
</ul>
<h3 id="Link">Link</h3>
<ul>
<li><a href="http://wordpress.org/extend/plugins/search-engine-related-posts/">search engine related posts at wordpress.org</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/392/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>google输入法更新到1.0.19.0</title>
		<link>http://www.ooso.net/archives/313</link>
		<comments>http://www.ooso.net/archives/313#comments</comments>
		<pubDate>Mon, 04 Jun 2007 13:45:03 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/313</guid>
		<description><![CDATA[google输入法更新到1.0.19.0,更新如下：
    * 修正了输入法在某些情况下失去响应的错误
    * 支持用户设置的自动同步
    * 增加以词定字功能

				<span class="readmore"><a href="http://www.ooso.net/archives/313" title="google输入法更新到1.0.19.0">阅读全文（163字）</a></span>]]></description>
			<content:encoded><![CDATA[<p><a href="http://tools.google.com/pinyin">google输入法</a>更新到1.0.19.0,更新如下：</p>
<blockquote><p>    * 修正了输入法在某些情况下失去响应的错误<br />
    * 支持用户设置的自动同步<br />
    * 增加以词定字功能<br />
    * 修正了在部分游戏中的兼容性问题
</p></blockquote>
<p>其中“以词定字功能”我在<a href="http://www.ooso.net/index.php/archives/280">上次的试用</a>中还抱怨过，不想这次就新增了这项功能，实在是意外的惊喜。粗粗的试用了一把，觉得和以前用<a href="http://www.ooso.net/index.php/archives/203">紫光拼音</a>的速度不相上下了，不免有些得意。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/313/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gooogle reader一个小中转服务</title>
		<link>http://www.ooso.net/archives/287</link>
		<comments>http://www.ooso.net/archives/287#comments</comments>
		<pubDate>Thu, 24 May 2007 00:16:24 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/287</guid>
		<description><![CDATA[使用google reader好些日子，才发现它也有一些小的接口，比如下面这个url，能缓存一些rss源:
http://www.google.com/reader/atom/feed/http://www.ooso.net/index.php/feed/?r=n&#038;c=CM6R9t3xnIsC&#038;n=100&#038;ck=1175983111269&#038;client=scroll
如果把后面的feed替换掉，改成你自己的rss，也可以使用。url里面的n参数表示一次取多少个结果，这里成功取到了100条记录，俺测试成功取1000条记录:)) 

				<span class="readmore"><a href="http://www.ooso.net/archives/287" title="gooogle reader一个小中转服务">阅读全文（316字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>使用<a href="index.php?tag=google">google</a> reader好些日子，才发现它也有一些小的接口，比如下面这个url，能缓存一些rss源:</p>
<blockquote><p><a href="http://www.google.com/reader/atom/feed/http://www.ooso.net/index.php/feed/?r=n&#038;c=CM6R9t3xnIsC&#038;n=100&#038;ck=1175983111269&#038;client=scroll">http://www.google.com/reader/atom/feed/http://www.ooso.net/index.php/feed/?r=n&#038;c=CM6R9t3xnIsC&#038;n=100&#038;ck=1175983111269&#038;client=scroll</a></p></blockquote>
<p>如果把后面的feed替换掉，改成你自己的rss，也可以使用。url里面的n参数表示一次取多少个结果，这里成功取到了100条记录，俺测试成功取1000条记录:)) </p>
<p>我认为这个接口是google reader长期以来抓取的结果，因此，可以算是一个历史记录，某些人可能用的上吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/287/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>google生活搜索</title>
		<link>http://www.ooso.net/archives/299</link>
		<comments>http://www.ooso.net/archives/299#comments</comments>
		<pubDate>Fri, 18 May 2007 06:32:05 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/299</guid>
		<description><![CDATA[google于今天推出了“生活搜索”实验室版，粗粗的瞄了一下，包括房屋，工作，火车票，物品，餐饮搜索，的确是包括了日常的起居出行方面。大概的试用了一把房屋和火车票搜索，结果来源很少，比如火车票的数据来源基本上都是同一个网站huochepiao，数据面比较狭窄。论坛上有个比较中肯的评价：
生活搜索的确为我们搜索资料提供了方便，这无可否认，但资料来源似乎只有个别几个站点。Google本地化的路还很长。如果Google在中国推出社区
业务的话，相信那才是一个好的本地化产品。 
BTW:新推出的服务就是不稳定，写了这几行字再去用，它就直接显示网页502错误了:)
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ooso.net/index.php/archives/category/google">google</a>于今天推出了“<a href="http://www.google.cn/shenghuo">生活搜索</a>”实验室版，粗粗的瞄了一下，包括房屋，工作，火车票，物品，餐饮搜索，的确是包括了日常的起居出行方面。大概的试用了一把房屋和火车票搜索，结果来源很少，比如火车票的数据来源基本上都是同一个网站huochepiao，数据面比较狭窄。论坛上有个比较中肯的评价：</p>
<blockquote><p>生活搜索的确为我们搜索资料提供了方便，这无可否认，但资料来源似乎只有个别几个站点。Google本地化的路还很长。如果Google在中国推出社区<br />
业务的话，相信那才是一个好的本地化产品。 </p></blockquote>
<p>BTW:新推出的服务就是不稳定，写了这几行字再去用，它就直接显示网页502错误了:)	</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/299/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在电视上使用google reader</title>
		<link>http://www.ooso.net/archives/293</link>
		<comments>http://www.ooso.net/archives/293#comments</comments>
		<pubDate>Mon, 14 May 2007 03:54:23 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/293</guid>
		<description><![CDATA[下面的google reader官方的博客结合视频介绍了如何利用任天堂 Nintendo Wii 在电视上使用google reader,相当的有趣。
Earlier this year, I acquired a Nintendo Wii. As I was recovering from Wii elbow, I began to explore the capabilities of the Opera-based Internet Channel. It occurred that Reader may be a lot of fun on the Wii, especially with many photo and video feeds.

				<span class="readmore"><a href="http://www.ooso.net/archives/293" title="在电视上使用google reader">阅读全文（532字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>下面的<a href="http://reader.google.com">google reader</a>官方的博客结合视频介绍了如何利用任天堂 Nintendo Wii 在电视上使用<a href="http://www.ooso.net/index.php/archives/category/google/">google</a> reader,相当的有趣。</p>
<blockquote><p>Earlier this year, I acquired a Nintendo Wii. As I was recovering from Wii elbow, I began to explore the capabilities of the Opera-based Internet Channel. It occurred that Reader may be a lot of fun on the Wii, especially with many photo and video feeds.</p></blockquote>
<p>甚至还能用到摇杆功能来辅助阅读:</p>
<blockquote><p>    * up/down: scroll up/down<br />
    * right/left: next/previous item<br />
    * 1 button: show subscriptions<br />
    * 2 button: show links</p>
<p>When showing subscriptions:</p>
<p>    * up/down: previous/next subscription<br />
    * right: select current subscription<br />
    * left: close<br />
    * -/+: collapse/expand folder
</p></blockquote>
<p>试试看引用这段视频:</p>
<ul>
<p><embed src="http://www.youtube.com/v/MYBTbxTv6nE" type="application/x-shockwave-flash" width="425" height="350"></embed>
</ul>
<p><a rel="nofollow" href="http://googlereader.blogspot.com/2007/05/feed-your-television.html">详细内容</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/293/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>试用谷歌输入法</title>
		<link>http://www.ooso.net/archives/280</link>
		<comments>http://www.ooso.net/archives/280#comments</comments>
		<pubDate>Sun, 08 Apr 2007 01:00:18 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/280</guid>
		<description><![CDATA[听说谷歌也有了输入法，不少GFan也已经用上了。此前我一直用的是紫光拼音，很顺手，也没打算过换别的，只是抱着试试的心态，下了个谷歌拼音装上。现在你看到的这些文字，就是俺用这个输入法鼓捣出来的，输入基本上很流畅，有些特点。
认词比较准确
打字过程中，输入速度基本上能赶上紫光拼音，可以认为它的认词匹配能力和紫光相当。
支持快速输入词组的头一个字么？

				<span class="readmore"><a href="http://www.ooso.net/archives/280" title="试用谷歌输入法">阅读全文（500字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>听说<a href="http://tools.google.com/pinyin">谷歌也有了输入法</a>，不少GFan也已经用上了。此前我一直用的是紫光拼音，很顺手，也没打算过换别的，只是抱着试试的心态，下了个谷歌拼音装上。现在你看到的这些文字，就是俺用这个输入法鼓捣出来的，输入基本上很流畅，有些特点。</p>
<h3>认词比较准确</h3>
<p>打字过程中，输入速度基本上能赶上紫光拼音，可以认为它的认词匹配能力和紫光相当。</p>
<h3>支持快速输入词组的头一个字么？</h3>
<p>很多时候，要输入一个字，会首先打一个相关的词组来迅速定位。比如我要输入“匹配”的“匹”字，那么在用紫光拼音的时候，可以输入 pipei -> “匹配”-> 按下"["，就会把这个“匹”给打出来，比较方便。但是我暂时没有找到如何用谷歌输入法合适的办法实现这个。</p>
<h3>是否捆绑了插件</h3>
<p>网上有消息称，安装输入法以后，会捆绑安装<a href="http://www.ooso.net/index.php/archives/category/google/">google</a> toolbar。但是在我安装成功以后，并没有在ie或firefox上看到toolbar的痕迹。用7zip解压GooglePinyinInstaller.exe（有10M呢），能够看到googletoolbardownloader_en.exe以及googletoolbardownloader_zh-CN.exe，可能要满足一定条件才会安装吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/280/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>google相册picasaweb最近的变化</title>
		<link>http://www.ooso.net/archives/277</link>
		<comments>http://www.ooso.net/archives/277#comments</comments>
		<pubDate>Tue, 13 Mar 2007 12:27:47 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/277</guid>
		<description><![CDATA[手头上的google相册帐号闲置了好一阵子,这会儿再看一下,改变也是不少.
首先说图片外链引用
之前试过,没法直接引用picasaweb的图片,见google相册里的图片引用,但是现在可以看到,图片被直接展示出来而不是以前的叉叉.
容量

				<span class="readmore"><a href="http://www.ooso.net/archives/277" title="google相册picasaweb最近的变化">阅读全文（478字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>手头上的<a href="http://www.ooso.net/index.php/archives/248">google相册</a>帐号闲置了好一阵子,这会儿再看一下,改变也是不少.</p>
<h2>首先说图片外链引用</h2>
<p>之前试过,没法直接引用picasaweb的图片,见<a href="http://www.ooso.net/index.php/archives/259">google相册里的图片引用</a>,但是现在可以看到,图片被直接展示出来而不是以前的叉叉.</p>
<h2>容量</h2>
<p>当初觉得picasa才提供了200m的容量,怎么也没法拿出手.现在容量提升到了1G,总算和其它相册跑到同一个起跑线了.如果想要更大的容量的话,<a href="http://picasa.google.com/support/bin/answer.py?answer=39567&#038;topic=8993">google</a>也有得选择:</p>
<blockquote><p>6.25GB ($25 USD per year)<br />
25GB ($100 USD per year)<br />
100GB ($250 USD per year)<br />
250GB ($500 USD per year) </p></blockquote>
<h2>相册搜索</h2>
<p>可以将自己的相册加入公开的搜索结果中,当然这个功能没啥好炫耀的,应该的嘛:)<br />
<img src="http://picasaweb.google.com/s/v/16.16/img/search_screen.jpg" alt="搜索示意图" /></p>
<blockquote><p>You can now discover and explore an amazing array of photos taken by the Picasa Web Albums community.<br />
Just select "Community Photos" in the search box, enter your search term, and enjoy!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/277/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>google相册里的图片引用</title>
		<link>http://www.ooso.net/archives/259</link>
		<comments>http://www.ooso.net/archives/259#comments</comments>
		<pubDate>Mon, 16 Oct 2006 23:39:20 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/259</guid>
		<description><![CDATA[很想弄清楚，google的picasaweb相册是不是也能够在外部直接引用图片呢？虽然它有一些“Embed in Blog/MySpace”之类的选择，但是那样图片无疑是太小了。
首先试试引用缩略图
缩略图的url象是这样：
http://lh3.google.com/viewccom/RTOSLKKnABI/AAAAAAAAAE4/7NHubzpCCpc/image00333.jpg?imgmax=288

				<span class="readmore"><a href="http://www.ooso.net/archives/259" title="google相册里的图片引用">阅读全文（410字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>很想弄清楚，<a href="http://www.ooso.net/index.php/archives/category/google/">google</a>的<a href="http://www.ooso.net/index.php/archives/196">picasaweb</a>相册是不是也能够在外部直接引用图片呢？虽然它有一些“Embed in Blog/MySpace”之类的选择，但是那样图片无疑是太小了。</p>
<h3>首先试试引用缩略图</h3>
<p>缩略图的url象是这样：</p>
<p>http://lh3.google.com/viewccom/RTOSLKKnABI/AAAAAAAAAE4/7NHubzpCCpc/image00333.jpg?imgmax=288</p>
<p>如果下面的图片是叉叉，那说明引用是不成功的。<br />
<img src="http://lh3.google.com/viewccom/RTOSLKKnABI/AAAAAAAAAE4/7NHubzpCCpc/image00333.jpg?imgmax=288" alt="google相册" /></p>
<h3>大图的引用</h3>
<p>手工改了一下大图的url，当时应该是能够显示的，但是以后能不能显示，谁知道呢？</p>
<p>http://lh3.google.com/viewccom/RTOSSyjMABI/AAAAAAAAAFg/Esmo6emSIWw/s800/image00888.jpg</p>
<p>下面是不是叉叉？<br />
<img src="http://lh3.google.com/viewccom/RTOSSyjMABI/AAAAAAAAAFg/Esmo6emSIWw/s800/image00888.jpg" alt="picasaweb" /></p>
<p><a href="http://www.ooso.net/index.php/archives/248">google相册</a>的图片引用，除了“Embed in Blog/MySpace”，难道就没有其它选择了么？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/259/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Google reader变身</title>
		<link>http://www.ooso.net/archives/255</link>
		<comments>http://www.ooso.net/archives/255#comments</comments>
		<pubDate>Sun, 08 Oct 2006 23:45:43 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/255</guid>
		<description><![CDATA[一个长假没上来，打开google reader看看平时订阅的blog，居然是焕然一新。
老实说，这次重新装修google reader当真是更丑了——这是google一贯不太重视UI的风格。界面趋向简化的同时，功能上的细节变化也相当多，比如Expanded view和List view两种截然不同的浏览风格，分类也是放置在了左侧——如同其它rss订阅工具一般。还有它的特色快捷键，直接列在阅读器右边，以前我可只会按j和k哦，这下选择又多了，列出来看看：
j/k: next/previous item

				<span class="readmore"><a href="http://www.ooso.net/archives/255" title="Google reader变身">阅读全文（662字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>一个长假没上来，打开<a href="http://reader.google.com">google reader</a>看看平时订阅的blog，居然是焕然一新。</p>
<p>老实说，这次重新装修google reader当真是更丑了——这是<a href="http://www.ooso.net/index.php/archives/category/google/">google</a>一贯不太重视UI的风格。界面趋向简化的同时，功能上的细节变化也相当多，比如Expanded view和List view两种截然不同的浏览风格，分类也是放置在了左侧——如同其它rss订阅工具一般。还有它的特色快捷键，直接列在阅读器右边，以前我可只会按j和k哦，这下选择又多了，列出来看看：</p>
<blockquote><p>j/k: next/previous item<br />
n/p: scan down/up (list only)<br />
o/enter: expand/collapse (list only)<br />
s: star item<br />
<Shift> + s: share item<br />
v: view original<br />
t: tag item<br />
m: mark item as read<br />
r: refresh<br />
<Shift> + a: mark all as read<br />
1: switch to expanded view<br />
2: switch to list view<br />
<Shift> + n/p: next/previous subscription<br />
<Shift> + x: expand folder<br />
<Shift> + o: open subscription or folder<br />
g then h: go home<br />
g then a: go to all items<br />
g then s: go to starred items<br />
g then t: open tag selector<br />
g then u: open subscription selector</p></blockquote>
<p>总体说，改版挺成功，即便有刚开始的不适应，稍用几遍就能调整过来，逐渐体会到Google reader的便捷之处。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/255/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>google相册的功能更新</title>
		<link>http://www.ooso.net/archives/248</link>
		<comments>http://www.ooso.net/archives/248#comments</comments>
		<pubDate>Tue, 19 Sep 2006 23:17:44 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[picasa]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/248</guid>
		<description><![CDATA[这天又打开了picasa看看图片,做下小处理什么的,突然被提示有新版本的picasa可更新.对于一个追新族来说,有什么理由让他不选择更新呢?半晌,更新完毕.照例在各个菜单里点点看看,似乎跟上次看过没太大区别.转头又去看看现在正在用的web版的google相册,折腾了一阵,还真看出了一些不同,见下图:

Embed in Blog/MySpace
这个功能上次就见过,可以复制一小段html代码,将相册在自己的主页上显示,但是功能上实在有点乏善可陈,不再细说.

				<span class="readmore"><a href="http://www.ooso.net/archives/248" title="google相册的功能更新">阅读全文（422字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>这天又打开了<a href="http://www.ooso.net/?tag=picasa">picasa</a>看看图片,做下小处理什么的,突然被提示有新版本的picasa可更新.对于一个追新族来说,有什么理由让他不选择更新呢?半晌,更新完毕.照例在各个菜单里点点看看,似乎跟上次看过没太大区别.转头又去看看现在正在用的web版的<a href="http://www.ooso.net/index.php/archives/category/google/">google</a>相册,折腾了一阵,还真看出了一些不同,见下图:</p>
<p><img src="http://photo.bababian.com/20060920/B2680C0414E3E43115CBF0E521883AE4.jpg" alt="picasa google 相册" /></p>
<h3>Embed in Blog/MySpace</h3>
<p>这个功能上次就见过,可以复制一小段html代码,将<a href="http://www.ooso.net/index.php/archives/196">相册</a>在自己的主页上显示,但是功能上实在有点乏善可陈,不再细说.</p>
<h3>Download Album</h3>
<p>这个下载功能是个小小的亮点,注意后面紧跟的图标<img src="http://picasaweb.google.com/s/v/1f14/img/download.gif" alt="picasa icon" />.</p>
<p>点击这个链接,就会召唤客户端的picasa,紧接着可以选择批量下载操作,下载后的图片,都在图片收藏目录C:\Documents and Settings\Myname\My Documents\My Pictures\Downloaded Albums,比较便捷.似乎多数相册没敢提供这功能,这对服务器的带宽来说,是个不小的压力.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/248/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>在wordpress中使用Javascript</title>
		<link>http://www.ooso.net/archives/227</link>
		<comments>http://www.ooso.net/archives/227#comments</comments>
		<pubDate>Sat, 19 Aug 2006 03:08:10 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/227</guid>
		<description><![CDATA[今天把站内的搜索全部修改为Google Adsense for search，遇到一些问题。不论我采用什么方式，总是没法在文章中嵌入Adsense提供的javascript,查看源文件，原来每一行Javascript的末尾都被加上了&#60;br /&#62;  &#60;p&#62;之类的标签，整个就乱了套。
我找到的最详细可能会有帮助的官方说明文档：Using_Javascript，老实说，我已经很虔诚了，但是看到这篇文档就是两眼一黑，它需要我把Adsense提供的javascript并成一行，以单独的js引用的形式导进来，因为众所周知Google的政策问题，这简直就是开玩笑。而且我还尝试使用里面提到的Text Control Plugin for WordPress，也象是另外一个玩笑，根本就没法生效。

				<span class="readmore"><a href="http://www.ooso.net/archives/227" title="在wordpress中使用Javascript">阅读全文（554字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>今天把站内的搜索全部修改为<a href="http://www.ooso.net/index.php/archives/221">Google Adsense for search</a>，遇到一些问题。不论我采用什么方式，总是没法在文章中嵌入Adsense提供的javascript,查看源文件，原来每一行<a href="http://www.ooso.net/index.php/archives/category/javascript/">Javascript</a>的末尾都被加上了&lt;br /&gt;  &lt;p&gt;之类的标签，整个就乱了套。</p>
<p>我找到的最详细可能会有帮助的官方说明文档：<a href="http://codex.wordpress.org/Using_Javascript#Javascript_in_Posts">Using_Javascript</a>，老实说，我已经很虔诚了，但是看到这篇文档就是两眼一黑，它需要我把Adsense提供的javascript并成一行，以单独的js引用的形式导进来，因为众所周知<a href="http://www.ooso.net/index.php/archives/category/google/">Google</a>的政策问题，这简直就是开玩笑。而且我还尝试使用里面提到的<strong>Text Control Plugin</strong> for WordPress，也象是另外一个玩笑，根本就没法生效。</p>
<p>没办法，只好相应党的号召，自己动手，丰衣足食，利用我有限的知识写了个小的wordpress插件，但是个人觉得其中inline_javascript处理有不当之处，等以后改进吧，先对付着。</p>
<h3>Inline Javascript Plugin for wordpress</h3>
<div class="igBar"><span id="lphp-12"><a href="#" onclick="javascript:showCodeTxt('php-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-12">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/*</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">Plugin Name: Inline Javascript Plugin</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">Plugin URI: http://www.ooso.net/</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">Feed URI: </span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">Description: Plugin that insert inline javascript in Posts/Javascript </span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">Version: 0.1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">Author: Volcano</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">Author URI: http://www.ooso.net</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">*/</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">function</span> inline_javascript<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$content</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#0000FF;">$str</span> = <span style="color:#000066;">preg_replace</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'/&lt;inline&gt;(.*?)&lt;<span style="color:#000099; font-weight:bold;">\/</span>inline&gt;/is'</span>, <span style="color:#FF0000;">'$1'</span>, <span style="color:#0000FF;">$content</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$str</span> != <span style="color:#0000FF;">$content</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000066;">echo</span> <span style="color:#0000FF;">$str</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$str</span> = <span style="color:#FF0000;">''</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#616100;">return</span> <span style="color:#0000FF;">$str</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">add_filter<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'the_content'</span>, <span style="color:#FF0000;">'inline_javascript'</span>, <span style="color:#CC66CC;color:#800000;">0</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<h3>用法</h3>
<p>很简单，激活插件之后，把不希望被wordpress自动格式化的段落，用&lt;inline&gt;和&lt;/inline&gt;给包围起来就可以了</p>
<p>相关文档：<a href="http://www.ooso.net/index.php/archives/126">我使用的wordpress插件</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/227/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Google AdSense for Search的新功能</title>
		<link>http://www.ooso.net/archives/221</link>
		<comments>http://www.ooso.net/archives/221#comments</comments>
		<pubDate>Fri, 18 Aug 2006 00:07:50 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/221</guid>
		<description><![CDATA[近日在使用google adsense的时候，看到Adsense for search有了一个新的选项 —— “在我的网站上打开搜索结果”。
什么是Adsense for Search
Google的adsense for search可供发布商用来直接从任一网页向其用户提供 Web 搜索功能。它的结果页使用 Google 的搜索技术提供相关结果，并且可对搜索结果页进行自定义。
在我的网站上打开搜索结果有什么好处？

				<span class="readmore"><a href="http://www.ooso.net/archives/221" title="Google AdSense for Search的新功能">阅读全文（1045字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>近日在使用google adsense的时候，看到Adsense for search有了一个新的选项 —— “<strong>在我的网站上打开搜索结果</strong>”。</p>
<h3>什么是Adsense for Search</h3>
<p>Google的adsense for search可供发布商用来直接从任一网页向其用户提供 Web 搜索功能。它的结果页使用 Google 的搜索技术提供相关结果，并且可对搜索结果页进行自定义。</p>
<h3>在我的网站上打开搜索结果有什么好处？</h3>
<p>显而易见，在自己网站上打开搜索结果，更容易定制搜索结果的样式和风格</p>
<blockquote><p>如果您在自己的网站中显示 AdSense for search 结果，那么在您的 AdSense for search 框中执行的用户搜索结果就会显示在您自己网页的框架中。这意味着，用户未被带至 Google，而是继续停留在您的网站上，但仍可访问 Google 网络搜索提供的有用信息。</p></blockquote>
<h3>如何实现</h3>
<p>下面摘自google:</p>
<blockquote><p>创建用于显示搜索结果的网页后，请按下列步骤操作：</p>
<p>通过 https://www.google.com/adsense 登录到您的帐户。<br />
访问 AdSense 设置标签<br />
选择 AdSense for search 作为产品。<br />
在指导设置的第一步中，向下滚动到更多选项部分，并点击在我自己的网站中打开结果单选按钮<br />
输入为显示搜索结果而创建的网页的网址。此网页不会根据您输入的网址自动生成或显示，您需要自己创建它。如果您熟悉相关网址，完全可以输入一个，而不必输入整个网址。</p>
<p>继续为搜索框与搜索结果选择其他选项。<br />
将您的搜索框代码框中生成的代码复制并粘贴至用来显示搜索框的网页的 HTML 源代码中。<br />
将您的搜索结果代码框中生成的代码复制并粘贴至用来显示搜索结果的网页的 HTML 源代码中。<br />
保存网页<br />
注：任何所选 AdSense for search 设置或选项，包括竞争性广告过滤器与网站风格搜索，都将继续适用于 IFRAME 中显示的搜索结果。</p></blockquote>
<p>这样在提供搜索表单的时候，还要在自己站上新增一个用于搜索结果的页面，这个页面上的代码主体是一个div:</p>
<div class="igBar"><span id="lcode-14"><a href="#" onclick="javascript:showCodeTxt('code-14'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-14">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!-- Google Search Result Snippet Begins --&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;div id=<span style="color:#CC0000;">"googleSearchUnitIframe"</span>&gt;&lt;/div&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script type=<span style="color:#CC0000;">"text/javascript"</span>&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;var googleSearchIframeName = <span style="color:#CC0000;">'googleSearchUnitIframe'</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;var googleSearchFrameWidth = <span style="color:#800000;color:#800000;">650</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;var googleSearchFrameHeight = <span style="color:#800000;color:#800000;">1300</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;var googleSearchFrameborder = <span style="color:#800000;color:#800000;">0</span> ;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/script&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;script type=<span style="color:#CC0000;">"text/javascript"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;src=<span style="color:#CC0000;">"http://www.google.com/afsonline/show_afs_search.js"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/script&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;!-- Google Search Result Snippet Ends --&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>经过这般操作之后，基本上达到肥水不流外人田的目的了</p>
<h3>UPDATE</h3>
<li>060819 - 今天把站内搜索全部更新为adsense for search,效果还不错</li>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/221/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>试用picasa 2</title>
		<link>http://www.ooso.net/archives/195</link>
		<comments>http://www.ooso.net/archives/195#comments</comments>
		<pubDate>Mon, 24 Jul 2006 00:01:10 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[picasa]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/195</guid>
		<description><![CDATA[我们知道，google相册picasaweb有一个支持照片上传的picasa,这个东东的下载在picasa的主页却找不到,它的下载地址被放置在picasaweb网页的最下方：Download Picasa.
这个版本目前还是beta版，还没有中文版，除了多了个上传功能以外，好像没有太大的差别了，没google相册的话可以不考虑。
试用下来，有些失望。


				<span class="readmore"><a href="http://www.ooso.net/archives/195" title="试用picasa 2">阅读全文（546字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>我们知道，<a href="http://www.ooso.net/index.php/archives/category/google/">google</a>相册<a href="http://www.ooso.net/index.php/archives/196">picasaweb</a>有一个支持照片上传的picasa,这个东东的下载在<a href="http://www.google.com/picasa">picasa</a>的主页却找不到,它的下载地址被放置在picasaweb网页的最下方：<a href="http://dl.google.com/picasa/picasaweb-setup-beta.exe">Download Picasa</a>.</p>
<p>这个版本目前还是beta版，还没有中文版，除了多了个上传功能以外，好像没有太大的差别了，没google相册的话可以不考虑。</p>
<p>试用下来，有些失望。</p>
<ul>
<li>首先是界面上的文字始终有些模糊，很像以前我们看flash里面的文字效果。</li>
<li>其次使用习惯上，和我们之前使用的acdsee或windows看图工具有些差异，某些效果虽然很炫，但是作为看图工具来说可能不是最好的选择，picasa的定位应该是照片管理软件更合适一些。</li>
</ul>
<p>下面是我用它的Picture Collage功能做的一个小效果，很容易使用（Create菜单下）：</p>
<ul>
<img src="http://www.ooso.net/temp/200607/collage_1.jpg" alt="picasa picture collage效果" /></ul>
<p>右键点击照片，能看到upload to webalbum,跟<a href="http://picasaweb.google.com">google相册</a>整合的很好，很轻松就完成了照片的处理上传。</p>
<h3>update</h3>
<ul>
<li>version 2.5新增按颜色搜索，可以输入类似color:red字符查询，向google网页搜索靠近</li>
<li>publish via ftp... 通过ftp发布</li>
<li>show duplicate file ... 显示相同的文件</li>
<li>upload to google video 上传到google video</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/195/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Google发布&#8221;Accessible Search&#8221;</title>
		<link>http://www.ooso.net/archives/200</link>
		<comments>http://www.ooso.net/archives/200#comments</comments>
		<pubDate>Fri, 21 Jul 2006 13:45:10 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/200</guid>
		<description><![CDATA[在mail list上看到，google新推出Accessible Search服务，最开始愣是没看出这个是干嘛的，界面比原版的搜索似乎还要朴素一些，白底黑字，蓝色的是链接，如果说原版的google search还穿着背心踢着拖鞋的话，这个就是只着了裤衩，朴素到了极点。连看它的FAQ也是一愣一愣的，没话说，先谷哥一把，嘿！愣是没找到答案。无奈上百毒去search一把，果然有大把的人已经做了解释。
Google Accessible Search这个尚属实验室的作品，是专门为有视力障碍的人士，如盲人设计的。据说通过屏幕阅读软件，就连视障人士也可以用搜索引擎来听搜索结果。试着搜了几个关键字，大部分结果一致，只是数目不同。

				<span class="readmore"><a href="http://www.ooso.net/archives/200" title="Google发布&#8221;Accessible Search&#8221;">阅读全文（387字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>在mail list上看到，google新推出Accessible Search服务，最开始愣是没看出这个是干嘛的，界面比原版的搜索似乎还要朴素一些，白底黑字，蓝色的是链接，如果说原版的google search还穿着背心踢着拖鞋的话，这个就是只着了裤衩，朴素到了极点。连看它的FAQ也是一愣一愣的，没话说，先谷哥一把，嘿！愣是没找到答案。无奈上百毒去search一把，果然有大把的人已经做了解释。</p>
<p><a href="http://labs.google.com/accessible/">Google Accessible Search</a>这个尚属实验室的作品，是专门为有视力障碍的人士，如盲人设计的。据说通过屏幕阅读软件，就连视障人士也可以用搜索引擎来听搜索结果。试着搜了几个关键字，大部分结果一致，只是数目不同。</p>
<p>查看了一下搜索结果页的html代码，仍旧是大量的table,不知道屏幕阅读软件是如何方便的读出这些文字来。另外，百毒又有了可抄袭的对象，会不会亦步亦趋的跟上来呢？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/200/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>试用google相册 &#8212; picasa webalbum</title>
		<link>http://www.ooso.net/archives/196</link>
		<comments>http://www.ooso.net/archives/196#comments</comments>
		<pubDate>Mon, 17 Jul 2006 11:31:19 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[picasa]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/196</guid>
		<description><![CDATA[老早就申请到google相册的帐号，一直没什么时间试试。花了些时间探索了一把，发现picasaweb平凡的外观下,还是有些亮点的。

可通过picasa桌面工具直接上传多张图片，快且爽
图片rss输出流

				<span class="readmore"><a href="http://www.ooso.net/archives/196" title="试用google相册 &#8212; picasa webalbum">阅读全文（713字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>老早就申请到<a href="http://picasaweb.google.com">google相册</a>的帐号，一直没什么时间试试。花了些时间探索了一把，发现picasaweb平凡的外观下,还是有些亮点的。</p>
<ul>
<li>可通过<a href="http://www.ooso.net/?tag=picasa">picasa</a>桌面工具直接上传多张图片，快且爽</li>
<li>图片rss输出流</li>
<li>ajax应用处处可见，比如Rearrange Album（整理照片）</li>
<li>客户端与web结合紧密，可直接客户端创建相册</li>
<li>幻灯模式虽然朴素，却有acdsee幻灯的味道</li>
<li>当时许多人认为相册的url http://picasaweb.google.com/yourname这种url形式会暴露个人的<a href="http://www.ooso.net/index.php/archives/category/google/">google</a>帐户名，其实不然，可以在Setting中修改输出的相册名</li>
</ul>
<p>其它的诸如250m限制之类的，跟其它超大相册<a href="http://www.flickr.com">flickr</a>比起来，就不值一提了.</p>
<h3>update</h3>
<ul>
<li>060822 - 新增Email Digest</li>
<p>What is an Email Digest?<br />
When people you have marked as favorites create new albums, upload more photos, or comment on your photos, we send you a summary of these activities to your email address at the interval you specify.</p>
<p>If you do not want us to notify you via email, select "Never send a digest" to the left. </p>
<li>0608 - 新增功能Embed in Blog/MySpace，这样就可以在自己的博客里面引用相册了</li>
<blockquote><p>Copy nd paste the HTML below to post this album on your blog or MySpace pae.</p></blockquote>
</ul>
<p>相关链接：<a href="http://www.ooso.net/index.php/archives/195">试用picasa 2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/196/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>试用google search的Ajax api</title>
		<link>http://www.ooso.net/archives/185</link>
		<comments>http://www.ooso.net/archives/185#comments</comments>
		<pubDate>Fri, 02 Jun 2006 14:24:51 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/185</guid>
		<description><![CDATA[最近两个月访问google老抽风，也8知道伟大的GFW使了些什么手段。虽然形式不容乐观，仍然是看到了狗狗发布了google adsense api和google search ajax  api,显然后者更具有实用价值。因此俺用迅雷不及掩耳盗铃之势申请了api key,在参考了online manual之后，还是用实际代码说话吧：
PLAIN TEXT
JAVASCRIPT:


				<span class="readmore"><a href="http://www.ooso.net/archives/185" title="试用google search的Ajax api">阅读全文（955字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>最近两个月访问google老抽风，也8知道伟大的GFW使了些什么手段。虽然形式不容乐观，仍然是看到了狗狗发布了google adsense api和<a href="http://code.google.com/apis/ajaxsearch/">google search ajax  api,</a>显然后者更具有实用价值。因此俺用迅雷不及掩耳盗铃之势申请了<a href="http://code.google.com/apis/ajaxsearch/signup.html">api key</a>,在参考了<a href="http://code.google.com/apis/ajaxsearch/documentation/">online manual</a>之后，还是用实际代码说话吧：</p>
<div class="igBar"><span id="ljavascript-16"><a href="#" onclick="javascript:showCodeTxt('javascript-16'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-16">
<div class="javascript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #000066;">OnLoad</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Create a search control</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> searchControl = <span style="color: #003366; font-weight: bold;">new</span> GSearchControl<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// 搜索选项，这里设置为自动展开 </span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> options = <span style="color: #003366; font-weight: bold;">new</span> GsearcherOptions<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; options.<span style="color: #006600;">setExpandMode</span><span style="color: #66cc66;">&#40;</span>GSearchControl.<span style="color: #006600;">EXPAND_MODE_OPEN</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// 添加了一个网页搜索</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; searchControl.<span style="color: #006600;">addSearcher</span><span style="color: #66cc66;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> GwebSearch<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>, options<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// 搜索结果输出选项，列表显示 GSearchControl.DRAW_MODE_TABED是另外一个选项，tab方式显示各种搜索结果</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> drawOptions = <span style="color: #003366; font-weight: bold;">new</span> GdrawOptions<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; drawOptions.<span style="color: #006600;">setDrawMode</span><span style="color: #66cc66;">&#40;</span>GSearchControl.<span style="color: #006600;">DRAW_MODE_LINEAR</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// 每次显示8条搜索结果</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; searchControl.<span style="color: #006600;">setResultSetSize</span><span style="color: #66cc66;">&#40;</span>GSearch.<span style="color: #006600;">LARGE_RESULTSET</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// Tell the searcher to draw itself and tell it where to attach</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; searchControl.<span style="color: #006600;">draw</span><span style="color: #66cc66;">&#40;</span>document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"searchcontrol"</span><span style="color: #66cc66;">&#41;</span>, drawOptions<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// 开始搜索</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; searchControl.<span style="color: #006600;">execute</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">"Google"</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>目前这个api的版本是0.1,正式版1.0发布之后，搜索结果将会有广告显示，显然这个午餐不免费。</p>
<ul>
<li>这里<a href="http://www.ooso.net/temp/demo/search.html">我写的demo(如果不能访问，说明google又开始抽风了) - http://www.ooso.net/temp/demo/search.html</a></li>
<li><a href="http://code.google.com/apis/ajaxsearch/samples.html">Google AJAX Search API例子</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/185/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>google dance最近怎么看</title>
		<link>http://www.ooso.net/archives/172</link>
		<comments>http://www.ooso.net/archives/172#comments</comments>
		<pubDate>Thu, 23 Mar 2006 07:51:58 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/172</guid>
		<description><![CDATA[今天才发觉www2.google.com,www3.google.com都不能直接访问到了,一访问就会被重定向到www.google.com,那么以后如何观察google dance的过程?
什么是google dance?
Google Dance其实就是指Google重新安排它的搜索结果的排名的过程。在Google Dance时期(三到五天内)，你可以发现Google的搜索结果会有大幅度的波动。
Google Dance的检测办法是通过查看它在各数据中心上的搜索结果加以判断，如果同一关键词下的搜索结果的数量和内容不一致，则属于Google Dance。一般只需要检测三台网络服务器搜索结果即可，他们是：

				<span class="readmore"><a href="http://www.ooso.net/archives/172" title="google dance最近怎么看">阅读全文（347字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>今天才发觉www2.google.com,www3.google.com都不能直接访问到了,一访问就会被重定向到<a href="http://www.google.com/">www.google.com</a>,那么以后如何观察google dance的过程?</p>
<p>什么是google dance?</p>
<blockquote><p><font color="#333333" size="3">Google Dance其实就是指Google重新安排它的搜索结果的排名的过程。在Google Dance时期(三到五天内)，你可以发现Google的搜索结果会有大幅度的波动。</font></p>
<p>Google Dance的检测办法是通过查看它在各数据中心上的搜索结果加以判断，如果同一关键词下的搜索结果的数量和内容不一致，则属于Google Dance。一般只需要检测三台网络服务器搜索结果即可，他们是：</p>
<p>　　www.google.com<br />
　　www2.google.com<br />
　　www3.google.com</p></blockquote>
<p><font color="#333333" size="3" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/172/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Search Engine Friendly的URL设计 &#8211; 俺在这个事上面折腾</title>
		<link>http://www.ooso.net/archives/170</link>
		<comments>http://www.ooso.net/archives/170#comments</comments>
		<pubDate>Thu, 16 Mar 2006 03:23:38 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/170</guid>
		<description><![CDATA[最近的某个项目需要配合seo,改进php动态页面的url,这里首先参考了车东的
如何提高在Google中的排名(3) —— Search Engine Friendly的URL设计
其中有一段url rewrite的例子比较符合要求且改动最少:
一个更通用的能够将所有的动态页面进行参数映射的表达式是：

				<span class="readmore"><a href="http://www.ooso.net/archives/170" title="Search Engine Friendly的URL设计 &#8211; 俺在这个事上面折腾">阅读全文（846字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>最近的某个项目需要配合seo,改进php动态页面的url,这里首先参考了车东的<br />
<a href="http://www.chedong.com/tech/google_url.html" target="_blank">如何提高在Google中的排名(3) —— Search Engine Friendly的URL设计</a></p>
<p>其中有一段url rewrite的例子比较符合要求且改动最少:</p>
<blockquote><p><em>一个更通用的能够将所有的动态页面进行参数映射的表达式是：<br />
把 </em><a href="http://www.myhost.com/foo.php?a=A&#038;b=B&#038;c=C"><em>http://www.myhost.com/foo.php?a=A&#038;b=B&#038;c=C</em></a><em><br />
表现成 </em><a href="http://www.myhost.com/foo.php/a/A/b/B/c/C"><em>http://www.myhost.com/foo.php/a/A/b/B/c/C</em></a><em>。<br />
RewriteRule (.*?\.php)(\?[^/]*)?/([^/]*)/([^/]*)(.+?)? $1(?2$2&#038;:\?)$3=$4?5$5: [N,I]</em></p></blockquote>
<p>这段例子我在自家的<a href="http://httpd.apache.org" target="_blank">apache</a>上操练了很久,反复的调试,修改httpd.conf,查看error.log,rewrite.log,失败的一塌糊涂,几乎让我产生巨大的挫败感.后来查看了apache手册的rewrite指南,发觉里面根本没有[N,I]这个I flag,这下终于明白,这个rewrite规则8成是在IIS上面适用,IIS和apache向来是世仇,通用就甭考虑了.这里又去麻烦网管大哥,讨得下面这段rewrite规则,基本满足需求:</p>
<p>RewriteEngine on<br />
RewriteMap    quux-map       prg:/root/t.sh<br />
RewriteRule   ^/(.*)\.php/(.*)  /$1.php?${quux-map:$2}</p>
<p>cat t.sh</p>
<blockquote><p><em>#!/bin/sh</em></p>
<p><em>LOGFILE=/tmp/percent_rewrite.log<br />
cat /dev/null > $LOGFILE</em></p>
<p><em>while read URL<br />
do<br />
NEWURL=$(echo "$URL" |  sed -e 's/\([^/]*\)\/\([^/]*\)\//\1=\2\&#038;/g' | sed 's/[/&#038;]$//' | sed 's/\//=/' )<br />
echo "Changing $URL to $NEWURL" >> $LOGFILE<br />
echo $NEWURL</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/170/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google AdWords API for PHP: APIlity</title>
		<link>http://www.ooso.net/archives/161</link>
		<comments>http://www.ooso.net/archives/161#comments</comments>
		<pubDate>Thu, 09 Mar 2006 01:46:41 +0000</pubDate>
		<dc:creator>Volcano</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/161</guid>
		<description><![CDATA[刚在网上转悠,找到golem.de: http://google-apility.sourceforge.net/. 这是一个php写的Google AdWords API调用接口, 可在PHP4/PHP5下使用.
The APIlity PHP Library provides an object-oriented way to easily access and manage the Google AdWords API from within PHP. This comes along with an abstraction from the SOAP and WSDL details.

				<span class="readmore"><a href="http://www.ooso.net/archives/161" title="Google AdWords API for PHP: APIlity">阅读全文（603字）</a></span>]]></description>
			<content:encoded><![CDATA[<p>刚在网上转悠,找到<a href="http://golem.de" target="_blank">golem.de</a>: <a href="http://google-apility.sourceforge.net/">http://google-apility.sourceforge.net/</a>. 这是一个php写的<a href="http://www.google.com/apis/adwords/" target="_blank">Google AdWords API</a>调用接口, 可在PHP4/PHP5下使用.</p>
<blockquote><p><em>The APIlity PHP Library provides an object-oriented way to easily access and manage the Google AdWords API from within PHP. This comes along with an abstraction from the SOAP and WSDL details.</em></p></blockquote>
<p>注:google adwords api是这样一个东东:</p>
<blockquote><p><em>Google's free AdWords API service lets developers engineer computer programs that interact directly with the AdWords server. With the applications created, advertisers and third parties can more efficiently - and creatively - manage their large AdWords accounts and campaigns</em></p></blockquote>
<p>简言之,google adwords api提供了一个接口,帮助广告客户及搜索引擎营销商拥有更为灵活的搜索广告管理模式,对google的广告客户应该是相当有用</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ooso.net/archives/161/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
