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

<channel>
	<title>老肥博客 » 非唠不可</title>
	<atom:link href="/feed" rel="self" type="application/rss+xml"/>
	<link>https://fis.io</link>
	<description>IT 相关的博客，分享关于Google, Firefox, 黑莓, 手机, 软件, WordPress, ...</description>
	<lastBuildDate>Wed, 17 May 2023 10:48:49 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<itunes:explicit>no</itunes:explicit><itunes:subtitle>IT 相关的博客，分享关于Google, Firefox, 黑莓, 手机, 软件, WordPress, ...</itunes:subtitle><item>
		<title>我为什么爱 Twitter</title>
		<link>/why-i-love-twitter.html</link>
					<comments>/why-i-love-twitter.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Thu, 23 Jun 2011 13:34:30 +0000</pubDate>
				<category><![CDATA[网络 服务]]></category>
		<category><![CDATA[Twitter]]></category>
		<guid isPermaLink="false">/?p=1851</guid>

					<description><![CDATA[昨晚 罗永浩 为了艾未未的事情回到阔别四个月的 Twitter, 上来没几句话就和推上众人骂战了十几个小时。前 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>昨晚 <a href="https://twitter.com/luoyonghao" target="_blank" rel="noopener">罗永浩</a> 为了艾未未的事情回到阔别四个月的 Twitter, 上来没几句话就和推上众人骂战了十几个小时。前因后果差不多就是因为老罗说了句：</p>
<blockquote><p>137天没上twitter了，发现跟新浪微博比，twitter无论是官方网页版，还是千奇百怪的各个平台上的客户端，全都是垃圾&#8230;&#8230; 但今天还是很高兴。<a href="https://twitter.com/#!/luoyonghao/status/83580052041777153" target="_blank" rel="noopener">#</a></p></blockquote>
<p>这句话其实也不算骂人，但后来板砖横飞的骂战我也毫不奇怪，这就是老罗行走江湖的风格。骂战当然不是我这篇文章要说的事情，重点也不在驳斥老罗，只想顺便亮一下我的观点，我为什么爱 Twitter.<span id="more-1851"></span></p>
<h4>老罗觉得 Twitter 不好的地方</h4>
<p>我看下来大意就是：官方 web 页竟然不支持 quote; 看不清谁是谁，谁在说什么；还是新浪微博一目了然。</p>
<h4>在界面设计理念上的不同</h4>
<p><img decoding="async" src="/wp-content/uploads/2011/06/twitter.png" alt="Twitter" style="float: left; margin: 10px 10px 0 0; " height="36" />Twitter 的革命性无需多言，但在我看来，最革命的一点是它上面的内容没有主贴和回复之分，每个 tweet 都是独立的，而且只能说很短的几句纯文字，仅此而已。不过根据实际需要，后来加上了 threaded reply (带线索的回复) 和 Retweet (官方 RT), 巧妙地兼顾了风格的简洁和功能的实现。这在后面我会详细的说。最后表现在官方 web 页上就是下图这样，左边都是清爽的一条条推，如果想细看，点击则在右侧展开详情，可以看到在之前都来来回回说了些什么，或者是图片的预览、谁 RT 过了。至于第三方工具的多样性更不用说，对官方设计不满的人，一般都可以找到适合自己的。</p>
<p><img decoding="async" src="/wp-content/uploads/2011/06/twitter-web.png" style="border: 1px solid #369; " height="273" /></p>
<p>国内的微博则完全不同，虽然也有字数限制，但其设计理念却是恨不能往一条内容中塞进一头河马：图片，视频，原文，转发，评论，@谁谁谁，//好好好，#$%!#, &#8230;</p>
<p><img decoding="async" src="/wp-content/uploads/2011/06/weibo.png" style="border: 1px solid #369; " height="213" /></p>
<p>当然老罗表示新浪的更好看懂，对此我暂不发表更多意见。</p>
<h4>在交流模式上的不同</h4>
<p>Twitter 将用户的活动分为三种：原发、对话、分享，而为后两项需求设计的功能就是回复和官方 RT. 这个机制说不上完美，也有些需求没有照顾到（比如引用 RT 的存在），但似乎这已经是个很高效的机制了，有如下特点：</p>
<ul>
<li>它更像是一种平等的交流方式，你发你的推，我发我的推来回复你，不是附属关系。虽然不包含原文，但如果别人想追溯对话，按一下可以一追到底。</li>
<li>只有同时 follow A B 两人的人，A B 之间的对话才会出现在他的 Timeline 里。虽然不是说不同时 follow A B 两人就一定对 A B 之间的对话不感兴趣，但目前看来这是减少对他人干扰的最有效方式。</li>
<li>官方 RT 也是为了降低噪音而存在，A 发了一条有价值的推，不管有多少人 RT, 他人都只会看到一次。B RT 了 A, 如果 C 已经 follow 了 A, 或者已经从别人处看过了此推，C 不会再被 B 的 RT 多干扰一次。</li>
</ul>
<p>回复和官方 RT 是建立在自我控制这个基础上的，这要求使用者要有谦逊的态度，管住自己，不要为了自己开心将大环境弄得嘈杂不堪。</p>
<ul>
<li>不是每句话都有必要让所有 follow 你的人看到，比如别人问你一个事情，回复他就好了，不需要引用回复一下让所有人知道，而且这样的话别的人只看到了答案，找不到原问题，要找原问题比追溯对话麻烦得多。</li>
<li>不是每次 RT 都有必要让别人看到是你 RT 的，特别是在别人早已经看到过的情况下。</li>
</ul>
<p>微博我没有用过，不好断言，但以我的观察，很难。基本上用户每天看到的就是上图那样揉成一团的东西飞来飞去。</p>
<h4>在交流心态上的不同</h4>
<p>我从来没有过去玩新浪微博的想法，还有一个原因是那里出了名的精英模式，在那里，似乎绝大多数人除了在自己的圈子里玩之外，对新浪而言的意义只剩下一个，就是为所谓的精英们增加关注数、评论数、转发数，成为新浪和精英们营销的帮手。</p>
<p>而在 Twitter, 这些数字是被淡化的，也没有那么多拿着 V 臭显摆的人，除非去看一个人或一条推的详情，也是看不到那些数字的，我管你说一句话有几千人转发呢，我只要看到我有哪些朋友和你一起讨论过就好了。</p>
<p>那些带着 V 字的人来到 Twitter, 发现自己随便说句话万民齐应的盛况竟然不能直播给别人看，回复骂一个人傻逼的时候竟然不能让天下人都看到他是一个傻逼（于是选择了引用 RT 来骂），RT 的时候竟然不能让天下人看到我 RT 过了（于是又选择了引用 RT）⋯⋯ 这 Twitter 还是人用的吗！</p>
<h4>我用 Twitter 的方式</h4>
<p>由以上原因，Twitter 成为我唯一的选择，尽管它也不是完美的。我乐意在显眼的地方标记，看，我是一名 Twitter 用户！</p>
<p><img decoding="async" src="/wp-content/uploads/2011/06/twitter-sticker.jpg" height="217" /></p>
<p>但是我 follow 的人很少，主要都是些有共同话题的朋友。因为我的经验是一百人几乎是我空余时间看推的极限了，而且如上文所讲，我比较介意话痨和噪声。有些名人是我很喜欢和敬佩的，但一看其发推风格就肯定不会 fo 了，这里面就包括了罗永浩罗老师，要知道老罗去年那段两小时的演讲，我可是完整地看过三遍啊。还有笑来老师，我实在不能理解他用 Twitter 的方式——他 fo 了两万人，我的天，我不要和怪叔叔玩 XD</p>
<p>今天我只从使用体验上说我为什么爱 Twitter, 其它原因只能篇幅有限了，其实不用说你也懂的！</p>
]]></content:encoded>
					
					<wfw:commentRss>/why-i-love-twitter.html/feed</wfw:commentRss>
			<slash:comments>117</slash:comments>
		
		
			</item>
		<item>
		<title>diy 山寨投影家庭影院</title>
		<link>/diy-home-theater.html</link>
					<comments>/diy-home-theater.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sat, 04 Jun 2011 14:18:16 +0000</pubDate>
				<category><![CDATA[娱乐 游戏]]></category>
		<category><![CDATA[娱乐]]></category>
		<category><![CDATA[微软]]></category>
		<category><![CDATA[游戏]]></category>
		<guid isPermaLink="false">/?p=1841</guid>

					<description><![CDATA[这些天我在 Twitter, Flickr, Instagram 上贴了些我最近在折腾的照片，但比较零散，现在 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="/wp-content/uploads/2011/06/dirt-3.jpg" height="140" /></p>
<p>这些天我在 <a href="https://twitter.com/fisio" target="_blank" title="@fisio" class="external">Twitter</a>, <a href="https://www.flickr.com/photos/fisio/" target="_blank" title="" class="external">Flickr</a>, <a href="http://web.stagram.com/n/fisio/" target="_blank" title="@fisio" class="external">Instagram</a> 上贴了些我最近在折腾的照片，但比较零散，现在一切都妥当了，整理出来放到这个多年没更新的博客上，以说明我这里更新还是比天安门换头像要勤快些哟，cc @zhaoweitian.<span id="more-1841"></span></p>
<h4>花钱的账目</h4>
<ul>
<li><a href="https://www.flickr.com/photos/fisio/5762035293/in/set-72157626811940374/" target="_blank" title=""><img decoding="async" class="piclink" style="float: right; margin: 0 0 5px 10px; opacity: 1; " src="https://farm3.static.flickr.com/2216/5762035293_cf1922d64d_t.jpg" alt="" height="75" width="100" /></a>720p 山寨投影仪，￥1860, 购买的是散件自己组装，当然如果没这时间也可以买成品，淘宝上不同档次和外观的也有好些家，有兴趣请自己搜索 &#8220;diy 投影&#8221;。花费大概在两千左右，优点当然是便宜，耗材也便宜，宽屏高清，支持 HDMI, VGA, AV, 射频，色差 多种输入制式，遥控器切换；缺点是机箱大，噪音偏大。不过我后来在京东找了个 25 块的静音风扇换上，噪音已经几乎听不见了。</li>
<li style="clear: both; "><a href="https://www.flickr.com/photos/fisio/5333028880/in/set-72157625782414722/" target="_blank" title=""><img decoding="async" class="piclink" style="float: right; margin: 0 0 5px 10px; opacity: 1; " src="https://farm6.static.flickr.com/5081/5333028880_59650b7aba_t.jpg" alt="" height="75" width="100" /></a>Xbox 360 Slim with Kinect, 非常热门的家用娱乐设备，我年初买的，现在好像 250G 版本都只要两千出头了。Kinect 大约需要屏幕前三米左右的活动范围，人必须离开屏幕两到三米，所以屏幕太小是不行的，看不清字。而投影仪在这个距离上可以轻松投出 100 寸。</li>
<li style="clear: both; "><a href="https://www.flickr.com/photos/fisio/5788686495/in/set-72157626811940374/" target="_blank" title=""><img decoding="async" class="piclink" style="float: right; margin: 0 0 5px 10px; opacity: 1; " src="https://farm4.static.flickr.com/3027/5788686495_23158b7871_t.jpg" alt="" height="100" width="75" /></a>游戏机附属设备，微软无线力反馈方向盘一只，我在淘宝上找了个四百块的旧货，比原装省下的钱刚好够一张最新的 Dirt 3. 这个游戏我上一次玩都是快十年前的 Colin McRae Rally 2 了，那时我的 PC 配置还是 Athlon 1G + MX 什么的显卡来着。另外还有年初买的 Kinect Sports, GTA IV, 其中 GTA 系列在 PC 上的 3, Vice City, San Andreas 都是 100% 完成度，IV 出来的时候我已经在用 Mac 了，现在第一次买主机正版刚好向神作致敬。以上四件大约花费一千一。</li>
<li style="clear: both; ">其它花费：代替投影幕的三张 A0 白纸二十块，遮光窗帘二十多，HDMI 线八米三十块，漫步者 2.1 音箱百来块，音频延长线六米六块，摆方向盘的小桌子三十块，组装投影仪时用到的焊锡枪十五块，吊装用膨胀螺丝、铁丝若干。</li>
<li>电影播放主要使用了一些现有的设备，MacBook, Mini DisplayPort -> HDMI 转换器。老的 MacBook 并不支持视频音频同线输出，所以我都得另插音频线，但好像新款的都是一根线搞定。</li>
<li>我也将数字电视机顶盒通过 AV 线接到投影上，看电视的时候用遥控器切换。当然电视信号的清晰度和 HDMI 高清信号就没法比了。</li>
</ul>
<h4>实际效果</h4>
<p>从照片上看四角有些暗，但肉眼观看并不明显，颜色也比较正常。照片中的拖影主要是拍摄快门长导致的，实际也没有这样的问题。下面是部分样片，全部照片在 <a href="https://www.flickr.com/photos/fisio/sets/72157626811940374/" target="_blank" title="" class="external">Flickr 相册</a>，如果访问困难还有 <a href="https://picasaweb.google.com/sun.fisio/720p" target="_blank" title="" class="external">Picasa 相册</a>。</p>
<p>Kinect Adventures 游戏视频</p>
<p><embed src="http://player.youku.com/player.php/sid/XMjczMTA2Mjg0/v.swf" quality="high" width="512" height="328" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></p>
<p>另有两段 720p 视频在 Picasa 相册里，<a href="https://picasaweb.google.com/sun.fisio/720p#5614159351830824738" target="_blank" title="" class="external">Kinect Adventures</a>, <a href="https://picasaweb.google.com/sun.fisio/720p#5614146471884218306" target="_blank" title="" class="external">GTA IV</a>, 由 YouTube 驱动，请自备科学上网工具。</p>
<p>Up 720p</p>
<p><a href="https://www.flickr.com/photos/fisio/5793343908/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm4.static.flickr.com/3369/5793343908_d8e1fa3688_z.jpg" alt="" height="478" width="640" style="opacity: 1; " /></a></p>
<p><a href="https://www.flickr.com/photos/fisio/5794259635/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm4.static.flickr.com/3624/5794259635_07a07ae66d_z.jpg" alt="" height="478" width="640" style="opacity: 1; " /></a></p>
<p>Xbox 360 主界面</p>
<p><a href="https://www.flickr.com/photos/fisio/5764586085/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm3.static.flickr.com/2529/5764586085_2b3fb6e2f8_z.jpg" alt="" height="640" width="478" style="opacity: 1; " /></a></p>
<p>GTA IV</p>
<p><a href="https://www.flickr.com/photos/fisio/5765130080/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm4.static.flickr.com/3137/5765130080_9b1027d717_z.jpg" alt="" height="478" width="640" style="opacity: 1; " /></a></p>
<p>Dirt 3 方向盘驾驶</p>
<p><a href="https://www.flickr.com/photos/fisio/5788688459/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm6.static.flickr.com/5303/5788688459_2695437302_z.jpg" alt="" height="478" width="640" style="opacity: 1; " /></a></p>
<p>iPad 2 HDMI 高清输出到投影，Real Racing 2 HD, 用 iPad 2 重力感应驾驶</p>
<p><a href="https://www.flickr.com/photos/fisio/5799801090/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm3.static.flickr.com/2764/5799801090_7140445e8a_z.jpg" alt="" height="478" width="640" style="opacity: 1; " /></a></p>
<p>电视直播</p>
<p><a href="https://www.flickr.com/photos/fisio/5771319949/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm3.static.flickr.com/2056/5771319949_fae4c6651c_z.jpg" alt="" height="478" width="640" style="opacity: 1; " /></a></p>
<p>电脑外接显示</p>
<p><a href="https://www.flickr.com/photos/fisio/5794140788/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm4.static.flickr.com/3391/5794140788_af974052b1_z.jpg" alt="" height="478" width="640" style="opacity: 1; " /></a></p>
<p><a href="https://www.flickr.com/photos/fisio/5792839225/in/set-72157626811940374/" target="_blank" title=""><img loading="lazy" decoding="async" class="piclink" src="https://farm6.static.flickr.com/5026/5792839225_c69ca3e88d_z.jpg" alt="" height="640" width="478" style="opacity: 1; " /></a></p>
<p>全部照片在 <a href="https://www.flickr.com/photos/fisio/sets/72157626811940374/" target="_blank" title="" class="external">Flickr 相册</a>，如果访问困难还有 <a href="https://picasaweb.google.com/sun.fisio/720p" target="_blank" title="" class="external">Picasa 相册</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>/diy-home-theater.html/feed</wfw:commentRss>
			<slash:comments>32</slash:comments>
		
		
			</item>
		<item>
		<title>打造完美的 ajax 版 Google 自定义搜索</title>
		<link>/ajax-google-custom-search-engine.html</link>
					<comments>/ajax-google-custom-search-engine.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Thu, 11 Mar 2010 08:08:42 +0000</pubDate>
				<category><![CDATA[网站 博客]]></category>
		<category><![CDATA[网络 服务]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[博客]]></category>
		<guid isPermaLink="false">/?p=1708</guid>

					<description><![CDATA[通常我们选用 Google CSE 自定义搜索引擎代替网站自身的搜索服务，可以减轻服务器的负载，但更重要的原因 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="/wp-content/uploads/2007/10/search.png" alt="" width="111" height="125" style="float: left; margin: 0 10px; " />通常我们选用 <a href="https://www.google.com/cse/" class="external" target="_blank" title="Google Custom Search Engine - Site search and more">Google CSE</a> 自定义搜索引擎代替网站自身的搜索服务，可以减轻服务器的负载，但更重要的原因是 Google 搜索有强大的词语分割、智能匹配、拼写纠正功能，甚至能将 &#8220;bb&#8221; 与 &#8220;BlackBerry&#8221;, &#8220;DM&#8221; 与 &#8220;桌面管理器&#8221; 进行通配，这些算法是我们自己做不到的。我以前在博客中采用 iframe 版的 CSE, 最近把它换成了定制性更强，基于 <a href="http://code.google.com/intl/zh-CN/apis/ajaxsearch/documentation/" class="external" target="_blank" title="开发人员指南 - Google AJAX 搜索 API - Google 代码">Google ajax API</a> 的新版，将经验分享一下。本方案优点：<span id="more-1708"></span></p>
<ul>
<li>不搜索时完全不加载任何相关资源，如 ajax API 库等</li>
<li>搜索 url 非常干净，没有多余的参数：<a href="/search?q=cse">fis.io/search?q=cse</a></li>
<li>方便使用 javascript 对结果样式进一步调整</li>
</ul>
<h4>获取代码</h4>
<p>首先需要在 控制面板 &#8211; 外观<sup style="color: red; ">新功能！</sup>中选择“搜索元素”模式 (Search element), 再选择一种布局和一种样式。实际上 ajax API 能做的事情非常多，比如就在搜索框下方即时展开结果列表。如果把结果列表悬浮绝对定位，再加上 <a href="http://code.google.com/apis/ajax/playground/#search_as_user_types" class="external" target="_blank" title="Google Code Playground - Search as user Types">Search as user Types</a>, 就可以做 apple.com 右上角那种搜索样式了，一边输入一边匹配。</p>
<p>但是考虑到小博客的站内搜索被使用得并不多，我还是选择了两栏布局，将结果列表放在一个专门的页面 /search 中，这样的好处是不搜索的时候可以不加载多余的内容：API 库，JS, CSS 等等。</p>
<h4>改造搜索框</h4>
<p>先不急着把获取的那一大堆代码往搜索框上放，上面说了，我们要的效果是不搜索的时候不加载。就改造一下模板原生的搜索框就可以了，让它提交用户输入的内容到 /search 这个页面，就这样。我的 header.php 中的搜索框是这样的：</p>
<p><code class="html">&lt;form <span style="color: #4b0; ">action="/search"</span> id="searchbox"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type="text" <span style="color: #4b0; ">name="q"</span> id="input_search" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type="submit" value="搜索" /&gt;<br />
&lt;/form&gt;</code></p>
<p>一个 form 中装一个输入框和一个按钮，关键内容是 action=&#8221;/search&#8221; 和 name=&#8221;q&#8221;, 表示将会跳转到 <a href="/search?q=cse">/search?q=搜索的内容</a>.</p>
<h4>结果页面</h4>
<p>建立一个页面 /search 来放入所有 CSE 代码。页面正文中放入 id=&#8221;cse&#8221; 的 div, 搜索执行的时候脚本将会改写其中的内容。</p>
<p><code class="html">&lt;div <span style="color: #4b0; ">id="cse"</span>&gt;正在搜索...&lt;/div&gt;</code></p>
<p>然后在页面任意位置，比如末尾，写入前面获得的两个 javascript 代码，一个是 ajax API 库 google.com/jsapi, 另一个是以 google.load 开头的一大串。还有些 CSS, 是前面获取代码的时候选择的一种样式。</p>
<p>但这时候还不会自动执行用户之前输入的搜索，要从 url 请求中把搜索词剥离出来，并执行。这里我用了 <a href="http://www.imkevinyang.com/2009/12/在wordpress中轻松集成google自定义搜索引擎.html" class="external" target="_blank" title="在Wordpress中轻松集成Google自定义搜索引擎 | 简单生活 —— Kevin Yang的博客">Kevin Yang</a> 提供的方法，在 draw(&#8216;cse&#8217;) 一行后加入：</p>
<p><code class="js">var match = location.search.match(/q=([^&]*)(&|$)/);<br />
if(match && match[1]){<br />
&nbsp;&nbsp;&nbsp;&nbsp;var search = decodeURIComponent(match[1]);<br />
&nbsp;&nbsp;&nbsp;&nbsp;customSearchControl.execute(search);<br />
}</code></p>
<p>现在这个搜索系统就可以正常工作了。下面是对脚本的进一步自定义，只逐条说明，不每次都写完整的代码，我会把完整的修改后的脚本放在本文末尾。如果今后代码发生变动，请自行查看我的 <a href="/search?q=cse">搜索结果页</a> 源代码。</p>
<h4>不加载 Google 的 CSS</h4>
<p>如果要用自己网站的样式，最好是完全不加载 Google 的 CSS, 不然覆盖样式就有得写了。在 google.load 中加入 &#8220;nocss&#8221; : true 即可。</p>
<p><code class="js">google.load('search', '1', {language : 'zh-CN' , <span style="color: #4b0; ">"nocss" : true</span> });</code></p>
<h4>无结果时显示的文字</h4>
<p>由 setNoResultsString 控制，在无结果时将字串写入到 &#8220;正在搜索&#8221; 处。中文语言下缺省值为“无结果”</p>
<p><code class="js">customSearchControl.<span style="color: #4b0; ">setNoResultsString</span>('什么也没找到，请重试');</code></p>
<h4>结果每页条数</h4>
<p>由 setResultSetSize 控制，可选参数为 FILTERED_CSE_RESULTSET 10条；LARGE_RESULTSET 8条；SMALL_RESULTSET 4条。</p>
<p><code class="js">customSearchControl.<span style="color: #4b0; ">setResultSetSize</span>( google.search.Search.SMALL_RESULTSET);</code></p>
<h4>是否在新标签中打开链接</h4>
<p>由 setLinkTarget 控制，一般用到的就是 LINK_TARGET_BLANK 和 LINK_TARGET_SELF 两种。</p>
<p><code class="js">customSearchControl.<span style="color: #4b0; ">setLinkTarget</span>( google.search.Search.LINK_TARGET_SELF);</code></p>
<h4>搜索执行完毕后调用其它脚本</h4>
<p>由 setSearchCompleteCallback 控制，这是一个相当灵活的命令，我这里用它来将搜索结果标题中的“老肥博客 » 非唠不可”去掉，不然每条标题后面都有这样一句，比较难看。这里我另外加载了 jQuery 来用，当然这不是必需的，如果没有需要就不用了。</p>
<p><code class="js nowrap">customSearchControl.<span style="color: #4b0; ">setSearchCompleteCallback</span>(null, function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;$('input.gsc-input').select();<br />
&nbsp;&nbsp;&nbsp;&nbsp;$('a.gs-title').unwrap().wrap('&lt;h3&gt;&lt;/h3&gt;').each(function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var title = $(this).html().replace(/\|.*/g, '');<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$(this).html(title);<br />
&nbsp;&nbsp;&nbsp;&nbsp;});<br />
&nbsp;&nbsp;&nbsp;&nbsp;$('b:contains("...")').contents().unwrap();<br />
});</code></p>
<p class="clear">以上在 setSearchCompleteCallback 中执行了三个步骤：</p>
<ul>
<li>将焦点放到搜索框 input.gsc-input 中并全选文字；</li>
<li>将搜索结果标题链接 a.gs-title 先去掉外面的一层 div, 再套在 &lt;h3&gt; 内（这样方便沿用全局 CSS 里面的标题样式），然后对每个标题链接读取内容，替换，写回去；</li>
<li>将包含 &#8220;&#8230;&#8221; 的关键字高亮去掉 &lt;b&gt;;（Google 用 &lt;b&gt; 标示关键字，但不知为何 &#8220;&#8230;&#8221; 也都这样标记）</li>
</ul>
<h4>其它</h4>
<p>我的搜索页面中还有一些脚本和样式，比如将 CSE 的搜索框伪装成模板原生的输入框，这样可以避免多次搜索的时候重复加载页面；从搜索框中取得当前关键字，写入到右侧提示区；等等，比较特殊，这里就不细写了，反正 Firebug 什么的都一眼看穿。</p>
<p>另外，前面提到 Kevin 的文章中有个技巧很不错，只让单篇文章出现在搜索结果中，排除掉翻页、标签等页面，像我用 .html 作为单篇文章的链接结构就很好办，直接在 CSE 控制面板中设置“包含的网站”为 fis.io/*.html, 就排除了其它形式的链接结构。</p>
<p>微博也是博客，我在 fis.io/*.html 之外还将 twitter.com/fisio/* 编入了索引，在搜索某些内容的时候会看到我的推也在搜索结果中。</p>
<p>最后是我的 /search 页面中相关脚本完整版：</p>
<p><code class="js nowrap">&lt;script src="https://www.google.com/jsapi" type="text/javascript"&gt;&lt;/script&gt;<br />
&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;<br />
&lt;script type="text/javascript"&gt;<br />
google.load('search', '1', {language : 'zh-CN' , "nocss" : true });<br />
google.setOnLoadCallback(function(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;var customSearchControl = new google.search.CustomSearchControl('015811090669888844099:szzhafqj8_4');<br />
&nbsp;&nbsp;&nbsp;&nbsp;customSearchControl.setResultSetSize(google.search.Search.SMALL_RESULTSET);<br />
&nbsp;&nbsp;&nbsp;&nbsp;customSearchControl.setLinkTarget(google.search.Search.LINK_TARGET_SELF);<br />
&nbsp;&nbsp;&nbsp;&nbsp;customSearchControl.setNoResultsString('&lt;img src="/b.gif" class="wp-smiley sm-sad"&gt;&nbsp;&nbsp;什么也没找到，请重试');<br />
&nbsp;&nbsp;&nbsp;&nbsp;customSearchControl.setSearchCompleteCallback(null,function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$('input.gsc-input').select();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var searchwords = $('input.gsc-input').val();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$('.p &gt; b').text(searchwords);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$('a.gs-title').addClass('new').unwrap().wrap('&lt;h3&gt;&lt;/h3&gt;').each(function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var title = $(this).html().replace(/\|.*/g, '');<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$(this).html(title);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$('b:contains("...")').contents().unwrap();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$('.gsc-cursor-current-page').removeClass('gsc-cursor-page');<br />
&nbsp;&nbsp;&nbsp;&nbsp;});<br />
&nbsp;&nbsp;&nbsp;&nbsp;customSearchControl.draw('cse');<br />
&nbsp;&nbsp;&nbsp;&nbsp;var match = location.search.match(/q=([^&]*)(&|$)/);<br />
&nbsp;&nbsp;&nbsp;&nbsp;if(match && match[1]){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var search = decodeURIComponent(match[1]);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;customSearchControl.execute(search);<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
});<br />
&lt;/script&gt;</code></p>
<h4 class="clear">参考文献</h4>
<ul>
<li><a href="http://code.google.com/intl/zh-CN/apis/ajaxsearch/documentation/" class="external" target="_blank" title="开发人员指南 - Google AJAX 搜索 API - Google 代码">开发人员指南 &#8211; Google AJAX 搜索 API &#8211; Google 代码</a></li>
<li><a href="http://code.google.com/intl/zh-CN/apis/ajaxsearch/documentation/reference.html" class="external" target="_blank" title="类参考 - Google AJAX 搜索 API - Google 代码">类参考 &#8211; Google AJAX 搜索 API &#8211; Google 代码</a></li>
<li><a href="http://www.imkevinyang.com/2009/12/在wordpress中轻松集成google自定义搜索引擎.html" class="external" target="_blank" title="在Wordpress中轻松集成Google自定义搜索引擎 | 简单生活 —— Kevin Yang的博客">在Wordpress中轻松集成Google自定义搜索引擎 | 简单生活 —— Kevin Yang的博客</a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>/ajax-google-custom-search-engine.html/feed</wfw:commentRss>
			<slash:comments>187</slash:comments>
		
		
			</item>
		<item>
		<title>全新的评论区体验</title>
		<link>/comment-new-experience.html</link>
					<comments>/comment-new-experience.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sat, 27 Feb 2010 11:44:25 +0000</pubDate>
				<category><![CDATA[创意 设计]]></category>
		<category><![CDATA[网站 博客]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[博客]]></category>
		<category><![CDATA[设计]]></category>
		<guid isPermaLink="false">/?p=1673</guid>

					<description><![CDATA[最近又折腾上了 WordPress 模板，把很久没有动过的评论输入框做了些修葺，看上去有些不一样了 😮 对以前 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" style="float: left; margin: 5px 15px 5px 0;" src="/wp-content/uploads/2008/06/painting.png" width="119" height="127" alt="" />最近又折腾上了 WordPress 模板，把很久没有动过的评论输入框做了些修葺，看上去有些不一样了 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f62e.png" alt="😮" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<h4>对以前评论过的人隐藏资料输入部分</h4>
<p>这个功能在很多博客都可以看到，让常客不再重复看到资料输入框，需要的时候点击就可以展开修改。另外预先显示评论者自己的全球阿凡达，用回形针别在右上角。下面欢迎来自天鹅海的组合大城小爱里的，<a href="http://ell.im/" target="_blank" title="这正在夭折的" class="external">小爱同学</a> 做群众演员：<span id="more-1673"></span></p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/02/comment-form.png" alt="新的评论输入框设计" /></p>
<p>js 隐藏代码参考了 <a href="http://www.neoease.com/wordpress-guest-post/" target="_blank" title="提高 WordPress 访客评论时的用户体验" class="external">享总的文章</a>，另外多了个享总没有提到的细节，展开和收起按钮按下之后会把焦点放到相应的输入框内，也就是多执行一个 .focus(); 以下是“更改”按钮 onclick 时执行的 jQuery 脚本：</p>
<p><code class="js">$('#author_info').slideDown('fast');<br />
<strong>$('#author').focus();</strong><br />
$('#show_author_info').hide();<br />
$('#hide_author_info').show();</code></p>
<p>如果访客 cookies 中有曾经评论过的 email 信息，则预先显示头像。在 comments.php 中合适的地方先判断是否存在 email, 如果有则输出一个头像。</p>
<p><code class="php">&lt;?php if ( $comment_author_email ) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo '&lt;a href="..."&gt;' . get_avatar(<br />
&nbsp;&nbsp;&nbsp;&nbsp;$comment_author_email, 40 ) . '&lt;/a&gt;';<br />
} ?&gt;</code></p>
<p>为了看上去生动些，头像被旋转了 10 度，这是用 CSS 实现的，参考我那篇关于 <a href="/css-3-hover-animations.html" title="学习笔记: CSS3 鼠标悬停动画">CSS3 动画的文章</a>。这有一些浏览器的局限性，比如 Chrome Windows 一直有个 bug, 在图像被旋转后，边缘不能反锯齿；Firefox 则一直不能对无 padding 的图像进行圆角，除非图像处在背景中。于是我把 Firefox 下链接的 border 圆角也一并拿掉了。</p>
<h4 style="margin-top: 40px; ">动态的输入框浮动</h4>
<p><a href="http://gluedideas.com/" target="_blank" title="Subtle for WordPress" class="external">GluedIdeas Subtle</a> 主题原来是有输入框浮动的，但使用的是 position: fixed; 现在改成 jQuery 来做，在页面滚动的时候浮动是动态的了，顺便还兼容了 IE. 代码来自 <a href="http://css-tricks.com/scrollfollow-sidebar/" target="_blank" title="Scroll/Follow Sidebar, Multiple Techniques | CSS-Tricks" class="external">CSS-Tricks</a>.</p>
<h4 style="margin-top: 40px; ">可展开的表情按钮栏</h4>
<p align="center" style="margin: 20px 0; "><img decoding="async" src="/wp-content/uploads/2010/02/smilies-toolbar.png" alt="表情按钮栏" /></p>
<p>表情按钮收起来了，放在大输入框内，点击则展开。同样是由 jQuery 来执行的，按钮按下的时候做三件事情：焦点放到大输入框里去；用 jQuery .toggle() 脚本来展开或收起表情按钮；按钮本身切换一个 class, 在笑脸和关闭叉叉之间切换。</p>
<p><code class="js">$('#comment').focus();<br />
$('#smilies_toolbar').toggle('fast');<br />
$('#toggle-smilies').toggleClass('close');</code></p>
<h4 style="margin-top: 40px; ">新的评论回复样式</h4>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/02/comment-reply.png" alt="回复评论" /></p>
<p>回复别人的评论时出现一个黄色的提示条，类似于博客界出名的 <a href="http://www.kenengba.com/" target="_blank" title="可能吧" class="external">绿条禅</a>，同时有个小箭头指向被回复的评论。</p>
<p>评论回复是基于枫叶的插件 <a href="http://blog.2i2j.com/plugins/wordpress-thread-comment" target="_blank" title="Wordpress Thread Comment / 偶爱偶家" class="external">WordPress Thread Comment</a>, 经过了枫叶和我的一些修改，目前这样已经完全符合我的需要了。喜欢这个插件的朋友不妨去插件页进行捐助，支持开发。</p>
<h4 style="margin-top: 40px; ">评论列表</h4>
<p>左侧评论列表也有一些小的变化，比如回复会比较小一些，编号字体换成了 <span style="font-family: Georgia, serif; font-style: italic; ">Georgia</span>, 以前我没有放上每条评论的链接，现在也放在了编号上，只不过颜色还是灰色的。</p>
<h4 style="margin-top: 40px; ">最后</h4>
<p>如果出现显示问题可能需要刷新一下，避免使用浏览器缓存，最近的改动挺多的。另外如果您发现滚动很卡，可以回复我说一下浏览器和电脑配置 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f61b.png" alt="😛" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<h4 class="round5px" style="margin-top: 40px; padding: 5px; background-color: #fea; text-align: center; ">更新</h4>
<p>本文发布 3 小时，评论数达到 98 条，当然主要是几个朋友在疯狂灌水啦，除了我自己之外差不多就是：<a target='_blank' class='external' href='http://ELl.im'>ELL</a> <a target='_blank' class='external' href='https://jimmyxu.com/'>Jimmy Xu</a> <a target='_blank' class='external' href='http://terryxxy.com'>Sunny</a> <a class='external' target='_blank' href='http://lisker.im'>lisker</a>, 大家都在盖楼──往地下室盖。</p>
<p>WordPress Thread Comment 这个插件是限制回复层数的，但仅仅是在超过层数的时候不输出回复按钮，而数据发往服务器并不验证。之前在 @terryxxy （上面的 Sunny）博客上我就在说，改动很简单，只需要 Firebug, 或者 Safari, Chrome 上类似的自带调试工具。找到评论输入框下面用来发送相关数据的两个 &lt;input type=&#8221;hidden&#8221;&gt;:</p>
<p><code>&lt;p&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type="hidden" id="comment_reply_ID"<br />
&nbsp;&nbsp;&nbsp;&nbsp;name="comment_reply_ID" value="0" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type="hidden" id="comment_reply_dp"<br />
&nbsp;&nbsp;&nbsp;&nbsp;name="comment_reply_dp" value="0" /&gt;<br />
&lt;/p&gt;</code></p>
<p>在 value 里填入想要回复的评论 ID 和深度 dp 就可以了。这也是按了回复按钮之后会通过 javascript 修改的两个数值。这样就可以无限回复下去了。你猜最后回复到了地下多少层？B31! 以前我只在回复前标一个 &#8220;Re&#8221;, 今天为了大家盖楼方便，把地下楼层编号 B2 B3 也输出了 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f47f.png" alt="👿" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>然后新的问题出现了，每层回复都会在左边缩进，比如 margin-left: 20px; 算算地下 31 层得多少，早就撑破了。锲而不舍的 <a target='_blank' class='external' href='https://jimmyxu.com/'>Jimmy Xu</a> 同学不光一直往下破，而且还在截图 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f62e.png" alt="😮" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>于是呢，我在插件设置页加入了一点判断，当楼层数 $deep > 14 的时候多输出一个 class=&#8221;min-width&#8221;, 然后让它 margin-left: 0; 效果是在地下 14 层之后不再缩进。但 Jimmy 同学 <a href="#comment-10653">觉得不满意</a>，最后我的方案：</p>
<p><code class="php">&lt;?php echo ' style="margin-left: ' . ceil(30/sqrt($deep)) . 'px; "'; ?&gt;</code></p>
<p>进行了 margin-left = 30除以(楼层数开平方)再取整，第一层回复 30px, 第四层 15px, 到第 25 层，margin-left 就只有 6px 了。于是呢，从线性变为弧线，看看最后的效果：</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/02/deep.png" alt="" /></p>
<p>另外下面是 @terryxxy 在 70 条评论的时候的截图，点击查看完整全图 <a href="https://img.ly/z8O" target="_blank" class="external">https://img.ly/z8O</a></p>
<p align="center"><a href="https://img.ly/z8O" target="blank"><img loading="lazy" decoding="async" src="https://img.ly/show/medium/z8O" class="piclink" width="320" height="240" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>/comment-new-experience.html/feed</wfw:commentRss>
			<slash:comments>221</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress 插件 img.ly gallery</title>
		<link>/imgly-gallery.html</link>
					<comments>/imgly-gallery.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:47:16 +0000</pubDate>
				<category><![CDATA[网站 博客]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[插件]]></category>
		<guid isPermaLink="false">/?p=1632</guid>

					<description><![CDATA[plugin page hosted on wordpress.org 这是我的第一个发布到官网的插件，用来显 [&#8230;]]]></description>
										<content:encoded><![CDATA[<ul>
<li class="cat-item-165"><a href="http://wordpress.org/extend/plugins/imgly-gallery/" title="WordPress › img.ly gallery « WordPress Plugins" class="external" target="_blank">plugin page hosted on wordpress.org</a></li>
</ul>
<p>这是我的第一个发布到官网的插件，用来显示最新上传到 img.ly 的图片。可以简单地在 widgets 里面添加启用它，或者自行插入 php 代码。基于 pepijnkoning 的插件 <a href="http://wordpress.org/extend/plugins/my-twitpics/" title="WordPress › My Twitpics « WordPress Plugins" class="external" target="_blank">My Twitpics</a>.</p>
<p>widget 可选择的参数包括 widget 标题、Twitter ID（必须）、图片尺寸等，注意输出的预览图原始尺寸为 75&#215;75, 所以最好不要将 &#8220;Picture Size&#8221; 设置超过 75. &#8220;Border color&#8221; 则可以填入 html 允许的颜色名称或者 #D3D3D3.<span id="more-1632"></span></p>
<p align="center"><img loading="lazy" decoding="async" src="http://s.wordpress.org/extend/plugins/imgly-gallery/screenshot-1.png" alt="img.ly gallery widget" width="387" height="463" /></p>
<p>如果需要进一步样式化，可以使用已置入的 class:</p>
<p><code class="css">p.widget_imgly_p {...}<br />
img.imgly {...}</code></p>
<p>不使用 widget 的时候，需要插入的代码是：</p>
<p><code class="php">&lt;?php imgly_pics($username = fisio, $num = 5); ?&gt;</code></p>
<p>输出的内容仅为图片，不包含标题和 p, 样式化同样可以针对 img.imgly</p>
<p>效果可参照我的 <a href="/photos" title="照片">照片页面</a> 右侧。</p>
]]></content:encoded>
					
					<wfw:commentRss>/imgly-gallery.html/feed</wfw:commentRss>
			<slash:comments>54</slash:comments>
		
		
			</item>
		<item>
		<title>Google Reader 的分享和效率</title>
		<link>/google-reader-tips.html</link>
					<comments>/google-reader-tips.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sun, 07 Feb 2010 18:41:45 +0000</pubDate>
				<category><![CDATA[网络 服务]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[博客]]></category>
		<category><![CDATA[阅读器]]></category>
		<guid isPermaLink="false">/?p=1607</guid>

					<description><![CDATA[Google Reader 是 Google 最优秀的产品之一，获取信息的首选渠道，我平时都将它打开在浏览器的 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="/wp-content/uploads/2010/02/icon-reader.png" width="100" height="100" style="float: left; margin-right: 15px; "><a href="https://www.google.com/reader/" title="Google Reader" class="external" target="_blank">Google Reader</a> 是 Google 最优秀的产品之一，获取信息的首选渠道，我平时都将它打开在浏览器的第一个标签。</p>
<p>有大量文章介绍过 Google 阅读器的使用技巧，我以往的文章中也有不少，比如 <a href="/google-reader-keyboard-shortcuts.html" title="Google Reader 快捷键知多少">快捷键的使用</a>，今天这篇文章我要写的是如何更有效率地阅读、分享、发布，减少信息噪音，让自己和别人都能更高效地获取有价值的信息。<span id="more-1607"></span></p>
<h4><img decoding="async" src="/wp-content/uploads/2010/02/icon-share.png" style="vertical-align: bottom; " /> 共享和备注 share w/o note</h4>
<p>通常来说共享的范围就是 Google 联系人里面的活跃用户，这是一个默认会互相关注共享文章的圈子，类似于 Twitter follow. 您在 Google Reader 里面共享或者添加备注共享了一篇文章，关注您的人会立即看到这篇文章，即使只有一票。这种投票的权重是很高的，一票通过，它基于对预先选择的人群的信任。</p>
<h4><img decoding="async" src="/wp-content/uploads/2010/02/icon-like.png" style="vertical-align: bottom; " /> 喜欢 like</h4>
<p>喜欢则是一种权重比较低的投票，对一篇文章标记喜欢，并不会把文章推送给别人，但是任何人看到这篇文章的时候，都能看到所有 Google Reader 用户对该文章的投票。这就比较像其它阅读器平台比如鲜果、抓虾里面的分享了，参与投票的人群是所有人。</p>
<h4><img decoding="async" src="/wp-content/uploads/2010/02/icon-star.png" style="vertical-align: bottom; " /> 星标和标签 add star or tags</h4>
<p>加注星标和标签在本质上是相同的，只是星标具有特殊的快捷键和表现形式，是预设的（Gmail 也是如此）。在默认状态下它们都是别人看不到的，仅作自己收藏、管理之用。我的星标文章有个另外的用途，就是设置为公开，并输出到博客首页分享。为什么不是输出共享条目呢？因为安全考虑，星标里面基本上没有敏感内容，而且有些链接是墙外的。</p>
<h4><img decoding="async" src="/wp-content/uploads/2010/02/icon-tag.png" style="vertical-align: bottom; " /> 针对订阅源的标签</h4>
<p>上面所说的星标和标签是针对单篇文章的，但实际上标签同样可以用于订阅源，对订阅源添加标签，订阅源会在左侧栏中以目录树的形式排列，其标签也会继承给它下面的单篇文章。左侧栏的订阅源目录树，看上去像文件夹，但实际上是标签，因为标签是可以多重的。</p>
<p>这样一来，标签除了可以给订阅源分类，还可以给订阅源区分优先级，把重要的博客标记为必读，在阅读压力大的时候就可以优先阅读重要的博客下面的文章，保证不会错过。</p>
<h4>神奇排序 sort by magic</h4>
<p>按订阅源的优先级来阅读也不能完美解决问题，因为重要的博客也会有差文章，不起眼的博客也会有好文章，按订阅源的重要性来区分可能会漏掉一些精彩的文章。这时候可以用到神奇排序。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/02/sort-by-magic.png" alt="神奇排序" /></p>
<p>如图，神奇排序就在文章列表上方的视图设置里，或者在左侧栏点击标签名称的下拉箭头来选择。神奇排序是在大约三个月前新增的功能，但我觉得它的名字起得并不怎么好，至少很难让人从名字上看明白这个排序是怎么回事，听上去还挺山寨。但其实它的功能正是我所需要的：</p>
<p><u>根据文章的分享人数、喜欢人数、发布时间，进行综合排名</u></p>
<p>也许还有其它排序因素，也许朋友投票的权重会大于普通人，我就不是很确定了。用它来决定阅读顺序是非常高效的，特别是在 1000+ 的时候，基本上只需要读靠前面的一半，甚至 1/3, 就不会错过什么热门文章了，让所有的 Google Reader 用户替自己优选，每个人都是编辑，每个人都从中受益。</p>
<p>神奇排序简直就是为解决阅读的大量积压而存在，在大量积压的时候得到清晰的排序。但如果您的阅读很即时，还没有什么人分享或者喜欢过，那也不是问题，因为这时候您根本不需要它。它至少还解决了一个问题：即使没有关注什么 Google 联系人，也可以使用该排序方式，因为还有“喜欢”作为排序标准。</p>
<h4>关于信息噪音</h4>
<p>一个很多人头疼的问题：经常在 Google Reader 里面看到一篇文章的重复的分享。其实并不全是阅读器的错，我可以非常肯定的说，在您阅读之前如果有多人分享同一篇文章，Google Reader 是可以合并它们的，在您阅读之后再有人分享，也不会再重复出现。但为什么问题还是存在呢？以韩寒的新浪博客为例，广泛存在于 Google Reader 中的 feed 地址至少有下面三个：</p>
<p>三万人订阅了 blog.sina.com.cn/rss/twocold.xml<br />
九千人订阅了 blog.sina.com.cn/myblog/index_rss.php?uid=1191258123<br />
六千人订阅了 blog.sina.com.cn/rss/1191258123.xml</p>
<p>这些 feed 地址其实内容是一样的。这还不算，还有不同的烧制地址，以及 SR, meme 等各种再次分享源。即使内容雷同，Google Reader 也不可能把它们合并，这不是技术问题，我打个比方，一个博客的原始 feed, feedsky, feedburner 三者内容完全一样，但不能保证后两者突然改烧成了别的内容。例如下图，同一篇文章除了来自多种地址格式的订阅源之外，还有来自玩聚 SR 的再次分享。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/02/feeds.png" alt="来源重复" /></p>
<h4>给 Google Reader 用户的建议</h4>
<p>降低信息噪音，规范自己的分享行为。这就好比我们提倡在 Twitter 上使用官方 RT, 杜绝 RT 回复，不要反复 RT @rtmeme 一样：</p>
<ul>
<li>订阅更主流的地址，或者作者建议的地址。比如上面提到的韩寒博客，改成订阅人数最多的那个地址，和更多的人一起 share, like, 可以减少大环境中的信息噪音，我为人人，人人为我。</li>
<li>订阅 WordPress 原始 feed 并不是很好的方案，除了上一条的原因外，还有作者可能会更改域名，增加自己的麻烦。</li>
<li>批注的时候尽量采用 Google Reader 的评论功能，而不是共享备注，因为这会另起山头。</li>
<li>尽量不要再次分享 SR, meme 之类的订阅源</li>
</ul>
<h4>给博客作者的建议</h4>
<p>实际上，博客作者是很难控制这些的，几乎每个博客都有这种问题，换域名啊，换 feed 烧制地址啊什么的。但是有些问题是明显可以纠正的：</p>
<ul>
<li>要学会简单的模板修改。有些作者想提供 feedsky 给读者订阅，但是其 header.php（这决定了读者直接在阅读器中订阅首页网址时会跳转到的 feed 地址）、首页 feed 图标链接等地方仍然是原始 feed. 这直接造成了不统一。</li>
<li>尽量精简订阅源。比如 <a href="https://www.google.org.cn/" target="_blank" class="external" title="谷奥">谷奥</a> 提供了三个订阅地址，谷奥，谷安，谷奥+谷安。我认为最后一个是没有太大存在意义的。但是好像最后一个现在有很多人订阅，已经不可能回头了。我相信从一开始就做个最好的安排应该会更好。</li>
<li>说到这里，顺带提一下：有些作者还不知道如何关闭烧制 feed 里文章标题链接的跳转， 像 feedproxy.google.com 这样墙外的链接只会增加读者的麻烦。方法参考我很早的 <a href="/avoid-feed-link-redirecting.html" title="慎用 FeedBurner / Feedsky 的点击统计功能">一篇文章</a>。</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>/google-reader-tips.html/feed</wfw:commentRss>
			<slash:comments>51</slash:comments>
		
		
			</item>
		<item>
		<title>CSS 文字阴影在网页设计中的应用</title>
		<link>/text-shadow.html</link>
					<comments>/text-shadow.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sun, 17 Jan 2010 04:37:42 +0000</pubDate>
				<category><![CDATA[创意 设计]]></category>
		<category><![CDATA[网站 博客]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[WebKit]]></category>
		<category><![CDATA[浏览器]]></category>
		<category><![CDATA[设计]]></category>
		<guid isPermaLink="false">/?p=1426</guid>

					<description><![CDATA[C S S不久以前我有一篇文章介绍了 CSS3 鼠标悬停动画，里面简单提过关于 text-shadow, 本文 [&#8230;]]]></description>
										<content:encoded><![CDATA[<style type="text/css">a.button, a.button:visited, a.button:hover { font-size: 16px; font-weight: bold; color: #fff; background-color: #d80; border-bottom: 1px solid #960; border-right: 1px solid #b70; -moz-border-radius: 5px; -webkit-border-radius: 5px; text-decoration: none; padding: 0.3em 0.8em; text-shadow: 0 1px 0 rgba(0,0,0,0.4); -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.3); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.3); -webkit-transition: none; } a.button:hover {border: none; border-top: 1px solid #960; border-left: 1px solid #b70;  background-color: #e90; text-shadow: 0 -1px 0 rgba(0,0,0,0.4); -moz-transform: translate(0,1px); -webkit-transform: translate(0,1px); }</style>
<p><a class="button" href="/text-shadow.html" style="float: left; margin: 5px 15px 5px 5px; font-family: Georgia; padding: 0.3em 0.6em; ">C S S</a>不久以前我有一篇文章介绍了 <a href="/css-3-hover-animations.html" title="学习笔记: CSS3 鼠标悬停动画">CSS3 鼠标悬停动画</a>，里面简单提过关于 text-shadow, 本文则是详细写 text-shadow. 很遗憾 IE 仍然无缘，IE8 都不行，在这个 IE 特别是 IE6 居高不下的国度怎么办，由它去吧。</p>
<h4>兼容性</h4>
<p>据 <a href="https://developer.mozilla.org/En/CSS/Text-shadow" target="_blank" class="external" title="text-shadow - MDC">MDC 的文档</a>，支持 text-shadow 的浏览器有 Firefox 3.5, Chrome 2.0, Opera 9.5, Safari 4.0, 其中 Safari 是老早就可以的，但直到 4.0 才支持多重阴影。另外 Opera mini 也能显示，但比较弱，阴影不能模糊。<span id="more-1426"></span></p>
<h4>阴影文字和发光文字</h4>
<p>一个最简单的阴影文字是如下这样写的，其中 1px 2px 代表阴影相对于文字向右下方向偏移了 1px 2px, 可以为负值；5px 代表阴影的模糊半径，取值越大，阴影越扩散看不见。最后是阴影颜色。这样的阴影适合字号比较大的文字。</p>
<p style="padding: 0.5em 1em; font-family: Monaco, 'Courier New', monospace; font-size: 16px; font-weight: bold; background-color: #eee; text-shadow: 1px 2px 5px #888; ">text-shadow: 1px 2px 5px #888;</p>
<p style="margin-bottom: 50px; padding: 0.5em 1em; font-family: Monaco, 'Courier New', monospace; font-size: 16px; font-weight: bold; color: #000; background-color: #000; text-shadow: 0 0 10px #fd8; ">text-shadow: 0 0 10px #fd8;</p>
<h4>浮雕文字</h4>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/01/mac-text-shadow.png" alt="Text shadows on a Mac" title="Text shadows on a Mac" /></p>
<p>浮雕文字效果在 Mac OS X 和 iPhone 中随处可见，由于阴影半径很小，一般是 0 或 1px, 所以也适合小号的文本。在使用上一般遵循这个原则：深色文字浅色背景，用白阴影，浅色文字深色背景，用黑阴影。</p>
<p style="padding: 0.2em 1em; font-family: Monaco, 'Courier New', monospace; color: #000; background-color: #aaa; text-shadow: 0 1px 0 #eee; ">text-shadow: 0 1px 0 #eee; 凹进效果</p>
<p style="padding: 0.2em 1em; font-family: Monaco, 'Courier New', monospace; color: #fff; background-color: #789; text-shadow: 0 -1px 0 #123; ">text-shadow: 0 -1px 0 #123; 凹进效果</p>
<p style="padding: 0.2em 1em; font-family: Monaco, 'Courier New', monospace; color: #000; background-color: #aaa; text-shadow: 0 -1px 1px #eee; ">text-shadow: 0 -1px 1px #eee; 凸出效果</p>
<p style="margin-bottom: 50px; padding: 0.2em 1em; font-family: Monaco, 'Courier New', monospace; color: #fff; background-color: #789; text-shadow: 0 1px 1px #123; ">text-shadow: 0 1px 1px #123; 凸出效果 &#8211; /</p>
<h4>多重阴影</h4>
<p>在上面所列的新版浏览器中都已经支持多重阴影，可以达到一些特殊的效果，不过注意，如果文字和背景颜色接近，IE 下就杯具了。</p>
<p style="padding: 0.5em 1em; font-family: Monaco, 'Courier New', monospace; font-size: 16px; font-weight: bold; color: #fff; background-color: #eee; text-shadow: 0 -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000; ">text-shadow: 0 -1px 0 #000, 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000;</p>
<p style="padding: 0.5em 1em; font-family: Monaco, 'Courier New', monospace; font-size: 16px; font-weight: bold; color: #fff; background-color: #bcf; text-shadow: 1px 1px 5px #08c, 1px 1px 0 #68a; ">text-shadow: 1px 1px 5px #08c, 1px 1px 0 #68a;</p>
<p style="padding: 0.5em 1em; font-family: Monaco, 'Courier New', monospace; font-size: 16px; font-weight: bold; color: #014; background-color: #eee; text-shadow: -2px 0 1px #db6, 2px 0 1px #6bd; ">text-shadow: -2px 0 1px #db6, 2px 0 1px #6bd;</p>
<p style="padding: 0.5em 1em; font-family: Monaco, 'Courier New', monospace; font-size: 16px; font-weight: bold; color: #888; background-color: #888; text-shadow: -1px -1px 0 #ccc, -1px -1px 3px #ccc, 1px 1px 0 #444, 1px 1px 3px #444; ">text-shadow: -1px -1px 0 #ccc, -1px -1px 3px #ccc, 1px 1px 0 #444, 1px 1px 3px #444;</p>
<p style="line-height: 200%; margin-bottom: 50px; padding: 1.5em 1em 0.5em; font-family: Monaco, 'Courier New', monospace; font-size: 16px; font-weight: bold; color: #000; background-color: #000; text-shadow: 0 0 4px #ccc, 0 -5px 4px #ff3, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -18px 18px #f20; ">text-shadow: 0 0 4px #ccc, 0 -5px 4px #ff3, 2px -10px 6px #fd3, -2px -15px 11px #f80, 2px -18px 18px #f20;</p>
<h4>鼠标悬停切换</h4>
<p>让鼠标悬停的时候改变状态是个不错的主意，有很强的互动的感觉。阅读器中可能看不到效果。另外，在 Firefox, Chrome, Safari 中能看到整个按钮也有阴影，这是另一个应用于块模型的阴影属性，写法和 text-shadow 一样，但需要写两条：-moz-box-shadow 和 -webkit-box-shadow.</p>
<p align="center" style="margin-bottom: 50px; "><a class="button" href="/text-shadow.html">把鼠标放到按钮上切换阴影</a></p>
<h4>半透明阴影颜色</h4>
<p>有时候需要做的阴影不想它模糊半径太大，又不能太黑，于是从黑色改为灰色──问题来了，灰色的阴影在深色背景上很难看。</p>
<p style="padding: 0.5em 1em; font-family: Monaco, 'Courier New', monospace; font-size: 14px; font-weight: bold; color: #000; background: #357 url(/wp-content/uploads/2010/01/bg.png) repeat-y 0 0; text-shadow: 1px 2px 3px #888; ">text-shadow: 1px 2px 3px #888; 杯具了</p>
<p>这时候要用到 rgba 颜色，在红绿蓝之外还有第四个值 alpha 通道，取值在 0~1 之间。下面的阴影是黑色，但是半透明了。半透明阴影的适应性明显更强，在模糊半径很小的时候，也能透出底下的背景色来。</p>
<p style="margin-bottom: 50px; padding: 0.5em 1em; font-family: Monaco, 'Courier New', monospace; font-size: 14px; font-weight: bold; color: #000; background: #357 url(/wp-content/uploads/2010/01/bg.png) repeat-y 0 0; text-shadow: 1px 2px 3px rgba(0,0,0,0.5); ">text-shadow: 1px 2px 3px rgba(0,0,0,0.5);</p>
<h4>动态阴影</h4>
<p>搭配上 <a href="/css-3-hover-animations.html" title="学习笔记: CSS3 鼠标悬停动画">前文</a> 介绍过的 -webkit-transition, 可以让阴影在鼠标经过时有个变化过程，仅 Chrome, Safari 等 WebKit 浏览器有效。</p>
<style type="text/css">a.motion, a.motion:visited { -webkit-transition: all 0.5s ease-in-out; color: #0c0; text-shadow: 0 0 100px #0f0; text-decoration: none; } a.motion:hover {color: #0f0; text-shadow: 0 0 4px #0f0; text-decoration: none; }</style>
<p align="center" style="padding: 1em; font-size: 18px; font-weight: bold; background-color: #000; "><a class="motion" href="/text-shadow.html">把鼠标放到文字上，阴影在 0.5 秒内聚拢</a></p>
]]></content:encoded>
					
					<wfw:commentRss>/text-shadow.html/feed</wfw:commentRss>
			<slash:comments>79</slash:comments>
		
		
			</item>
		<item>
		<title>Mac OS X: Spotlight 与智能文件夹</title>
		<link>/spotlight-and-smart-folders.html</link>
					<comments>/spotlight-and-smart-folders.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Thu, 14 Jan 2010 17:22:33 +0000</pubDate>
				<category><![CDATA[电脑 软件]]></category>
		<category><![CDATA[苹果]]></category>
		<guid isPermaLink="false">/?p=1412</guid>

					<description><![CDATA[智能文件夹其实就是 Spotlight 搜索条件的一种保存，放到 Finder 侧栏中方便一次点击就执行复杂的 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="/wp-content/uploads/2010/01/smart-folder.png" width="142" height="113" style="float: left; margin: 5px 20px 5px 5px; " />智能文件夹其实就是 Spotlight 搜索条件的一种保存，放到 Finder 侧栏中方便一次点击就执行复杂的搜索。在外观上它是如图的紫色图标。Finder 侧栏已经预置了几个智能文件夹，比如“今天”“所有影片”，而在日常使用中会用到更多的搜索条件，都可以保存起来。由于 Spotlight 可以搜索文件的很多特性，比如文档内容，注释，照片的尺寸，ISO, 拍摄设备，经纬度，音乐的标签信息等等，加上强大的匹配公式，完全可以颠覆您原有的文件整理模式。<span id="more-1412"></span></p>
<p>在 Finder 中按下 ⌘F 就可以把焦点移到工具栏右上角的 Spotlight 搜索框中，搜索范围默认为当前文件夹，当然也可以按下 &#8220;⌘,&#8221; 在 Finder 偏好设置中设置为默认搜索整个 Mac, 或者沿用上次的范围。另外一组按钮限定了搜索文件内容还是仅搜索文件名称。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/01/spotlight.png" alt="Spotlight" /></p>
<p>输入搜索关键字，结果就会即时出现了。注意到搜索范围按钮的下方已经列出了一条匹配规则，其右侧有一个减号按钮和一个加号按钮，用来增删，多个规则之间是 AND 的关系。</p>
<p>按下“更多”，会找到超过一百种匹配规则，就像前面提到的关于图片、音乐、邮件、文档的详细属性。只要对其中某一条打勾，就会到外面这个常用规则列表里来，以后不用到更多里去找了。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/01/search-images.png" alt="Spotlight" /></p>
<p>规则之间不一定是 AND 关系，也可以是 OR 或者 -, 按住 ⌥ (option), 添加规则的加号按钮 (+) 会变成 (&#8230;), 点击会开启一个条件层级，用来“或”，“排除”。图中可以看到下级的条件左边有缩进。它们之间也可以简单的拖动来改变位置。</p>
<p>如果看看预置的“今天”的搜索条件，就是打开日期为今天，并且排除了类型为“文件夹”的项目。</p>
<p>这和 <a href="/gmail-search-tips.html" title="Gmail的邮件搜索技巧">Gmail 的搜索公式</a> 类似，只是更图形化一些。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2010/01/search-movie.png" alt="Spotlight" /></p>
<p>如果需要保存这一搜索，按一下上方的存储按钮就可以了，搜索条件将被保存，并默认添加到 Finder 侧栏。</p>
<p>智能文件夹可以在别的程序中被当成文件夹来使用，如果有一个搜索某歌手姓名的智能文件夹，把它作为播放列表添加到播放器中，那么不管将来在整台 Mac 的任意地方增加删除了关于此歌手的音乐文件，都会反映到播放列表中。</p>
]]></content:encoded>
					
					<wfw:commentRss>/spotlight-and-smart-folders.html/feed</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
			</item>
		<item>
		<title>Mac OS X 改键指南</title>
		<link>/mac-os-x-keys.html</link>
					<comments>/mac-os-x-keys.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Mon, 21 Dec 2009 06:02:45 +0000</pubDate>
				<category><![CDATA[电脑 软件]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[翻译]]></category>
		<category><![CDATA[苹果]]></category>
		<category><![CDATA[软件]]></category>
		<guid isPermaLink="false">/?p=1302</guid>

					<description><![CDATA[本文写给和我一样的快捷键控们，以下一共五类 Mac 自定义快捷键的经验总结。 Mac 自带字典有个极贴心的功能 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="/wp-content/uploads/2009/12/apple-keyboard.png" width="140" height="80" style="float: left; margin-right: 15px; " alt="Apple keyboard" border="0" />本文写给和我一样的快捷键控们，以下一共五类 Mac 自定义快捷键的经验总结。</p>
<p>Mac 自带字典有个极贴心的功能──在原生程序和部分第三方程序中 <a href="http://www.macosxhints.com/article.php?story=20050429100017391" target="_blank" class="external" title="10.4/ Use the Oxford Dictionary 'live' - Mac OS X Hints">用鼠标取词翻译</a>（<a href="http://www.macosxhints.com/images/lookups2.mov">视频</a>），甚至对中文的词语分割都做得相当不错。可惜取词快捷键被设定为 ⌃⌘D, 这简直不是人类能单手顺利按下的组合键，而且自从 10.6 Snow Leopard 之后，这个组合键的设定从键盘快捷键偏好设置下消失了。<span id="more-1302"></span></p>
<blockquote><p>10.7 Lion 之后，该功能可以用三指轻拍两次实现。10.8 Mountain Lion 则为三指轻拍一次。</p></blockquote>
<p><del datetime="2012-02-26T12:51:08+00:00">这个快捷键保存在 ~/Library/Preferences/com.apple.symbolichotkeys.plist 中，用任意文本编辑器打开它，找到 &lt;key&gt;70&lt;/key&gt;, 其下有三个 &lt;integer&gt; 数值，第二个表示按键，D 的键值为 2; 第三个表示修饰键，⇧ = 131072, ⌃ = 262144, ⌥ = 524288, ⌘ = 1048576, 无修饰键 = 0, 多个修饰键 = 数值相加之和。</del></p>
<p><del datetime="2012-02-26T12:51:08+00:00">因此，默认的 ⌃⌘D 是 2, 1310720, 将其改为 2, 524288, 就可以用 ⌥D 取词了。</del></p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/12/dictionary-panel.png" alt="Mac Dictionary panel" border="0" /></p>
<ul>
<li>修改前注意备份，修改后重启</li>
<li>上图是在 Safari 网页中取词的效果，部分第三方程序中也能支持，比如 Adium. 选中文字之后菜单中有“在字典中查找”的地方都能这样用，但取词和查找使用起来体验是不一样的</li>
<li>使用 ⌥D 取词时，可松开 D, 仅仅按住 ⌥ 就可以移动鼠标去翻译其它地方</li>
<li>如果需要改为其它按键，建议安装 <a href="http://www.manytricks.com/keycodes/" target="_blank" class="external" title="Many Tricks · Key Codes">Key Codes</a> 或 <a href="http://softwares.bajram.com/utilities/#Full_Key_Codes" target="_blank" class="external" title="Full Key Codes 1.2">Full Key Codes</a> 来获取任意键键值</li>
<li>安装第三方词典的工具是 <a href="http://code.google.com/p/mac-dictionary-kit/" target="_blank" class="external" title="mac-dictionary-kit - Project Hosting on Google Code">DictUnifier</a>, 安装方法和第三方词典下载可以参考 <a href="http://mactips.blogbus.com/logs/26891868.html" target="_blank" class="external" title="打造全能Leopard自带字典 - Mac Tips | 苹果贴士">苹果贴士</a> 和 <a href="http://stardict.sourceforge.net/Dictionaries_zh_CN.php" target="_blank" class="external" title="StarDict - The best dictionary program in linux and windows">StarDict</a></li>
</ul>
<p>其实在 Mac 上的快捷键远没有上面的这个特例复杂，比较常用到的有下面几类：</p>
<h4>系统偏好设置 &rsaquo; 键盘快捷键</h4>
<p>可以修改和查阅常用的快捷键，并且可以针对某个应用程序添加快捷键条目，“菜单标题”输入此操作在该应用程序菜单中的名字，再录入快捷键就可以了。比如我希望在 Safari 中用 ⌃⇥ 和 ⌃` 来向两个方向跳转标签页，则需要新增一条“菜单标题”为“选择上一个标签”，快捷键为 ⌃`。如果对预设快捷键不满意，还可以添加一个条目来更改它，比如“显示 Top Sites”是个三键组合，我一般把它改为两键。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/12/add-keys.png" alt="Add shortcut keys" border="0" /></p>
<h4>不被提到的快捷键</h4>
<p>很多快捷键是写在菜单里面的，还有一些快捷键并没有在任何设置或菜单中明文出现，比如 Safari 中的快速拨号键：⌘+数字，可以直接访问书签栏中前九个书签。所以我把最常用的书签放在书签栏，但把书签栏隐藏。</p>
<p>屏幕快照的快捷键是 ⇧⌘3, ⌃⇧⌘3, ⇧⌘4, ⌃⇧⌘4, 还有一个不常被提到的技巧是在 ⇧⌘4 或 ⌃⇧⌘4 之后再按空格，可以截取窗口、菜单、Dock 等任意屏幕元素，可生成半透明的截图。</p>
<p>还有一些可以查阅的快捷键，可以看看 <a href="http://support.apple.com/kb/HT1343?viewlocale=zh_CN" target="_blank" class="external" title="Mac OS X 快捷键">苹果的官方文档</a>。</p>
<h4>⌥ = option</h4>
<p>⌥ 在 Mac 中应用非常广泛，不胜枚举，附加此键通常让操作以另一种形式进行，比如拖动文件时按住 ⌥ 由移动变为复制，按住 ⌥ 点击右上角的菜单栏图标会显示更多的内容，在 Apple Menu 中 ⌥ 点击操作会省掉询问，Finder 中 ⌥空格 让 Quick Look 直接全屏进行，……</p>
<h4>修改键盘映射</h4>
<p>推荐的软件是 <a href="http://pqrs.org/macosx/keyremap4macbook/" target="_blank" class="external" title="KeyRemap4MacBook">KeyRemap4MacBook</a>, 最大利用紧凑型键盘。安装好了之后控制面板在系统偏好设置里。软件提供很多更改，选自己需要的打勾就可以了。我通常只用到两个更改：</p>
<ul>
<li>反斜杠 \ 改为向右删除。因为紧凑键盘的向右删除是 fn+delete, 而反斜杠在 Mac 上又极少用到。</li>
<li>右 ⌥ (或 enter) 改为 fn. 紧凑键盘的 Home End PgUp PgDn 是 fn+方向键，修改之后右边也有了 fn, 可以方便单手 Home End PgUp PgDn.</li>
</ul>
<h4>MPlayer OSX Extended</h4>
<p>MPlayer/MEncoder 的伟大我就不多吹捧了，Mac 和 Linux 类似，找到隐藏文件夹 ~/.mplayer, 在里面新建 input.conf, 想要什么快捷键自己写吧。此处还可以有一个配置文件 config, 无扩展名。我开始用 Mac 的时候就是直接把我在 Windows 下用的 MPlayer 的两个 .ini 配置文件拿过来，改改就差不多了。参考 <a href="http://www.mplayerhq.hu/MPlayer/DOCS/HTML/en/control.html" target="_blank" class="external" title="3.3. Control - MPlayer">官方文档</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>/mac-os-x-keys.html/feed</wfw:commentRss>
			<slash:comments>46</slash:comments>
		
		
			</item>
		<item>
		<title>我在使用的 Android 应用程序（四）</title>
		<link>/my-running-android-apps-4.html</link>
					<comments>/my-running-android-apps-4.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Wed, 09 Dec 2009 13:02:55 +0000</pubDate>
				<category><![CDATA[手机 应用]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[手机]]></category>
		<guid isPermaLink="false">/?p=1272</guid>

					<description><![CDATA[Google Goggles 由于刚刚横空出世的 Goggles, 这个 Android 应用系列文章加映一期 [&#8230;]]]></description>
										<content:encoded><![CDATA[<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/12/goggles.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="https://www.google.com/mobile/goggles/" target="_blank" class="external" title="Google Goggles - Use pictures to search the web">Google Goggles</a></h4>
<p>由于刚刚横空出世的 Goggles, 这个 Android 应用系列文章加映一期。Goggles 是 Google 又一个有趣的产品，以前我们只能输入文字搜索，后来 Android 平台上又有了对中英文都有良好识别率的语音搜索，可是如果不知道要搜索的东西叫什么名字，怎么办呢，试试 Goggles, 用手机拍摄它。</p>
<p>当然，并不是随便拍什么都可以识别，其实识别的过程就是从 Google 索引中寻找相似图片，比如著名景点、商标、产品、海报、人脸等，能否获得准确的结果一般取决于类似的图片在网络中是否好找。此外，Goggles 可用于：<span id="more-1272"></span></p>
<ul>
<li>替代名片扫描、条码二维码扫描</li>
<li>看到一张图片，想寻找它更高分辨率的图片，但不知道如何描述</li>
<li>想知道一张图片是否被 PS 过</li>
</ul>
<p>我昨天在 <a href="https://zdx.in/user.php?id=fisio" target="_blank" class="external" title="Follow me on Twitter!">Twitter</a> 上提到，其实不一定要拍摄，G1 等带有 GPS, 电磁指南针的手机可以根据手机镜头的指向，告诉你前方是什么地点，显示在拍摄界面下方：</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/12/goggles-location.jpg" alt="Goggles locations" border="0" /></p>
<p>下图是搜索结果的界面，是不是和我写过的 <a href="/google-mobile-web-apps.html" title="Google 手机端 web 应用罗列">Google web apps</a> 新版界面一致？是的，搜索结果和历史纪录其实都保存在 <a href="https://www.google.com/visualsearch/history" title="只能从 Android 设备访问">google.com/visualsearch/history</a>, 需要从 Android 设备才能访问。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/12/goggles-result.png" alt="Goggles result" border="0" /></p>
<p>这个 Similar Image 的匹配程度也震惊到我了，我尝试扫描了 @<a href="https://zdx.in/user.php?id=terryxxy" target="_blank" class="external" title="Rabr / terryxxy">terryxxy</a> 的名片，匹配的结果竟然就是他存在博客空间里的名片原件。</p>
<h4 style="clear: both; margin-top: 50px; "><img decoding="async" src="/wp-content/uploads/2009/12/picme.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><img decoding="async" src="/wp-content/uploads/2009/12/picme-server.jpg" style="float: right; margin-left: 15px; " alt="PicMe server" border="0" /><a href="http://www.androlib.com/android.application.com-bw-picme-qDnn.aspx" target="_blank" class="external" title="PicMe (Screen Grabber) v0.6.5 Application for Android | Tools">PicMe</a></h4>
<p>这是我最喜欢的截图软件，需要 root 权限和 Wi-Fi 环境。启动之后显示手机的局域网 IP 8082 端口已开放，按一下 hide, 程序完全隐藏，这时从电脑浏览器中访问以上地址，刷新就可以不断截屏。在用它之前我使用一个叫做 Screenshot 的软件截图，是倒计时方式的，截图成功率不高，而且截完了还要把图片从手机传到电脑。PicMe 就方便多了。同时在 IP:8082 这个地址还提供视频流输出，需要录制手机操作视频的朋友也可以试试。</p>
<p>该软件作者还有一个类似产品叫 ShootMe, 不需要 Wi-Fi, 截前摇一摇，或者叫一叫。还有一个 On Air, 将 /sdcard 通过 Wi-Fi 加载为电脑上的一个磁盘。嗯，扯得有点远了，打住。</p>
<h4 style="clear: both; margin-top: 50px; "><img decoding="async" src="/wp-content/uploads/2009/12/sms-backup.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="http://code.google.com/p/android-sms/" target="_blank" class="external" title="android-sms - Project Hosting on Google Code">SMS Backup</a></h4>
<p>将短信通过 IMAP 备份到 Gmail 或者 Google Apps. 备份邮件是像 Gmail 原生的会话式的，可选择自动备份，自动标记已读，自动贴标签。我很喜欢这样的备份形式，这样我可以从 Gmail 里面方便地同时在邮件和短信中搜索了。美中不足的是 Gmail 会话有 100 条上限，与同一个人超过 100 条的短信会另外开一个会话。</p>
<h4 style="clear: both; margin-top: 50px; "><img decoding="async" src="/wp-content/uploads/2009/12/twidroid.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><img decoding="async" src="/wp-content/uploads/2009/12/twidroid-menu.png" style="float: right; margin-left: 15px; " alt="Twidroid menu" border="0" /><a href="http://twidroid.com/" target="_blank" class="external" title="twidroid - the twitter &#038; identi.ca client application for android mobile phones">Twidroid</a></h4>
<p>上次介绍 Twitter 客户端的时候我把 Twidroid 略过了，那时候我用它不多，因为有些地方不是很满意。而 3.0 的发布让我重新喜欢上了它：</p>
<ul>
<li>追溯会话，如右图，回复带会话，起码的</li>
<li>官方 RT, Lists 支持（我的 Tweetie&#8230; 你什么时候支持啊）</li>
<li>@链接，超链接不再单独一个操作，而是放在右图菜单顶部</li>
<li>菜单中的 &#8220;Jump to top&#8221; 按钮</li>
<li>将所有 mentions, 以及别人的官方 RT 显示在主 timeline 中</li>
<li>选择，或者自己输入 API 地址，加密连接</li>
<li>可选择短链接服务、贴图服务</li>
<li>在 /sdcard 储存头像，也可关闭头像显示</li>
</ul>
<p>以上特性后面几个是以前版本就有的。这样几乎就已满足我所有的需求了。</p>
]]></content:encoded>
					
					<wfw:commentRss>/my-running-android-apps-4.html/feed</wfw:commentRss>
			<slash:comments>47</slash:comments>
		
		
			</item>
		<item>
		<title>Google 地图导航 G1 试用报告</title>
		<link>/google-maps-navigation-g1.html</link>
					<comments>/google-maps-navigation-g1.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Mon, 30 Nov 2009 16:11:55 +0000</pubDate>
				<category><![CDATA[手机 应用]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[地图]]></category>
		<category><![CDATA[手机]]></category>
		<guid isPermaLink="false">/?p=1249</guid>

					<description><![CDATA[Google 地图导航 已在 Market 中对 1.6 Donut 以上的 Android 设备开放，但是似 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="/wp-content/uploads/2009/11/icon-maps-nav.png" style="float: left; margin-right: 15px;" alt="Google Maps Navigation" border="0" /><a href="https://www.google.com/mobile/navigation/" target="_blank" title="官方页面: Google Maps Navigation on your mobile phone" class="external">Google 地图导航</a> 已在 Market 中对 1.6 Donut 以上的 Android 设备开放，但是似乎并不面向美国以外的用户。不过放心，有大量优秀的第三方开发者发布定制固件，选择多多。我在 G1 上安装的一直是 <a href="http://forum.xda-developers.com/showthread.php?t=538456" target="_blank" class="external" title="[ROM]TheOfficial DONUT TMO US/EU, ADP &#038; AOSP (dream/32B) [11/28/09] -- v2.3.1.1 - xda-developers">这个固件</a>，由于一些个人偏好的原因，并没有选择更为流行的 CyanMod. Google Maps 的版本号是 3.2.1, 开启了所有地区的导航功能，但是没有语音，我猜测是 G1 容量的关系所以砍掉了。图标是下一代 UI 的风格，和其它应用程序差别很大。<span id="more-1249"></span></p>
<p>在 Google Maps 中搜索驾车路线如下图，我从纵横当中选择了北京推友P哥 @Paveo 作为目的地。搜索结果给出了详细的驾车行程。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/google-maps-nav.png" alt="Google Maps Navigation" /></p>
<p>除了传统的可以在地图上查看路径之外，现在有一个叫做导航的按钮了。按了之后进入导航模式，下图中左侧是起始状态，卫星连线也还没有建立，按一下上方的“沿路线前进”，2D 地图就会切换成 3D 模式，显示出下一步转弯处位置。地图左上角的指南针随着地图的旋转而旋转。地图下方显示当前位置和离终点预计时间。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/google-maps-nav-2.jpg" alt="Google Maps Navigation" /></p>
<p>新版的 Google Maps 加入了图层，纵横被列为一个图层，其它的有餐饮，加油站，银行，景点等。在导航过程中开启图层，就可以查看附近的信息了。点击气泡打开详情和更多操作。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/google-maps-nav-3.png" alt="Google Maps Navigation" /></p>
<p>我将整个导航过程拍摄了一段影片，由于是用的是 MacBook iSight, 画质不是很好。在影片中我是一直用手按着往前走的，而且拍摄的时候是在室内，GPS 也没有连接，但如果这是个实际的驾车过程，那么导航就会随着 GPS 位置的变化自己前行，预计时间也会在下方更新了。</p>
<p align="center"><object type="application/x-shockwave-flash" width="400" height="294" data="https://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=zh-hk&#038;photo_secret=44ddca0825&#038;photo_id=4146843421&#038;flickr_show_info_box=true"></param><param name="movie" value="https://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="https://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=zh-hk&#038;photo_secret=44ddca0825&#038;photo_id=4146843421&#038;flickr_show_info_box=true" height="294" width="400"></embed></object></p>
<p>总的来讲，这是个非常牛逼的应用，特别是对于驾车族。在车载充电和 3G 网络的支持下，它已经远超市面上任何专用导航设备，因为 Google 的实时路况数据、商户信息是网络即时更新的。</p>
<p>对中国用户来讲，地图模式目前已经完全没有偏移了，卫星图则仍有偏移，在导航的时候完全无法用卫星图模式。街景么，咱也还没有。不过地图模式应该能满足大部分的需求了。遗憾的是，其中最精彩的环节与中国用户无缘，比如在街景视图中前进，<del datetime="2009-12-01T18:49:35+00:00">语音搜索</del>（中文语音识别相当强悍！）等。更多信息请参照 <a href="https://www.google.com/mobile/navigation/" target="_blank" title="官方页面: Google Maps Navigation on your mobile phone" class="external">官方页面及截图</a>，还有 <a href="http://android.google.org.cn/posts/using-google-maps-navigation-outside-us-tutorial.html" target="_blank" class="external" title="在美国以外也可以用 Google Maps Navigation 了，附教程 | 谷安——谷奥Android专题站">谷奥</a> 转存到优酷的官方介绍视频：</p>
<p align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="440" height="288" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="middle" /><param name="src" value="http://player.youku.com/player.php/sid/XMTI4Mzk4ODUy/v.swf" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="440" height="288" src="http://player.youku.com/player.php/sid/XMTI4Mzk4ODUy/v.swf" quality="high" align="middle"></embed></object></p>
]]></content:encoded>
					
					<wfw:commentRss>/google-maps-navigation-g1.html/feed</wfw:commentRss>
			<slash:comments>33</slash:comments>
		
		
			<enclosure length="128210" type="application/x-shockwave-flash" url="https://www.flickr.com/apps/video/stewart.swf?v=71377"/><itunes:explicit/><itunes:subtitle>Google 地图导航 已在 Market 中对 1.6 Donut 以上的 Android 设备开放，但是似 [&amp;#8230;]</itunes:subtitle><itunes:summary>Google 地图导航 已在 Market 中对 1.6 Donut 以上的 Android 设备开放，但是似 [&amp;#8230;]</itunes:summary><itunes:keywords>手机 应用, Android, Google, GPS, 地图, 手机</itunes:keywords></item>
		<item>
		<title>Google 手机端 web 应用罗列</title>
		<link>/google-mobile-web-apps.html</link>
					<comments>/google-mobile-web-apps.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sat, 28 Nov 2009 17:43:58 +0000</pubDate>
				<category><![CDATA[手机 应用]]></category>
		<category><![CDATA[网络 服务]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Gtalk]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[WebKit]]></category>
		<category><![CDATA[手机]]></category>
		<category><![CDATA[文档]]></category>
		<category><![CDATA[日历]]></category>
		<category><![CDATA[阅读器]]></category>
		<guid isPermaLink="false">/?p=1219</guid>

					<description><![CDATA[最近我和腿叔 @kcome 的 讨论 中我认为，webkit mobile 虽然占用资源比 Opera min [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="/wp-content/uploads/2009/11/cloud-google.png" style="float: left; margin-right: 15px; " alt="Google clouds" />最近我和腿叔 @kcome 的 <a href="http://lg11.com/dabr/status/6050549589" title="大波会话模式" target="_blank" class="external">讨论</a> 中我认为，webkit mobile 虽然占用资源比 Opera mini 多，但是 webkit 在 web apps 方面具有广阔的前景，能让更多的应用在浏览器中流畅运行，甚至能离线，而且不像 Opera mini 这样的服务器端代渲染的方案需要一直重复刷新页面。我后来仔细查看了 <a href="http://m.google.com/?hl=en" title="Google Mobile">m.google.com</a> 上罗列的所有服务，发现像纵横，路线搜索这样的复杂应用都已经 mobile web 化了，我充分相信它们是云的雏形的一部分，而且一定会在 Chrome OS 中大行其道。<span id="more-1219"></span></p>
<p>体验这些服务需要 iPhone, Android 上的 webkit 浏览器，或者在 Firefox, Safari 中 <a href="/mobile-user-agents-list.html" title="常见手机 UA 列表，可供导入">模拟 User Agent</a>. 从 m.google.com 这个入口可以看到如下列表：</p>
<p align="center"><a href="http://m.google.com/?hl=en" title="Google Mobile"><img decoding="async" src="/wp-content/uploads/2009/11/m.google.com.jpg" alt="m.google.com" class="piclink" style="opacity: 1; " border="0"/></a></p>
<p>下面我简单介绍一下其中的常用的服务，另外有部分服务并没有链接到 web apps, 像 Sync 只是链接到一个提示页面，Earth (iPhone), Voice (Android) 只是链接到应用商店下载。</p>
<h4><img decoding="async" src="/wp-content/uploads/2009/11/icon-mail.png" style="float: left; margin: 5px 15px; " />Gmail</h4>
<p>之前 Gmail 为移动浏览器提供了一个地址为 /x/ 的界面，大多数手机浏览器都能访问，而专门为 iPhone, Android 开发的 /s/ 界面具有全新的外观，更快的加载速度，键盘快捷键支持，彩色 <a href="/7-effectual-gmail-tips.html" title="提高工作效率的七个 Gmail 技巧">标签</a> 支持，以及浏览邮件时的浮动工具栏等特性。目前仅支持英文，但不必为此专门设置语言，只需要直接访问：<br />
<a href="https://mail.google.com/mail/s/#tl/Inbox">https://mail.google.com/mail/s/#tl/Inbox</a> 或者<br />
<a href="https://mail.google.com/a/DOMAIN.COM/s/#tl/Inbox">https://mail.google.com/a/DOMAIN.COM/s/#tl/Inbox</a><br />
注意，如果使用 Firefox: User Agent Switcher, 下图中的按钮不能正常显示，因为按钮使用了 -webkit-border-image 这样的专属 CSS.</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/mail.png" style="margin-bottom: 20px; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/11/icon-calendar.png" style="float: left; margin: 5px 15px; " />日历 Calendar</h4>
<p>日历同样可以通过 Google 帐户或者 Google Apps 帐户访问，同样的新 UI, 完全没有页面加载的快速使用体验。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/calendar.png" style="margin-bottom: 20px; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/11/icon-talk.png" style="float: left; margin: 5px 15px; " />Talk</h4>
<p>Talk 只能从英文界面下访问。Google Talk 不光在电脑浏览器上通过 flash 实现了 web 化，手机上也做得相当不错了，当然 webkit mobile 以外的浏览器估计还是很难跑得动。</p>
<h4><img decoding="async" src="/wp-content/uploads/2009/11/icon-docs.png" style="float: left; margin: 5px 15px; " />文档 Docs</h4>
<p>Google 文档在电脑浏览器上已经能有不错的体验，移动版专门为小屏幕上编辑文档在操作上做了一些改进。如果是上网本就完全没有操作上的不便了。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/docs.png" style="margin-bottom: 20px; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/11/icon-tasks.png" style="float: left; margin: 5px 15px; " />工作表 Tasks</h4>
<p>工作表已经从 Gmail 中完全独立出来，良好的 js 支持让它用起来就像是一个系统程序。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/tasks.png" style="margin-bottom: 20px; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/11/icon-latitude.png" style="float: left; margin: 5px 15px; " />纵横 Latitude</h4>
<p>Google 和 Apple 妥协的产物，直接访问地址是 <a href="http://maps.google.com/maps/m?mode=latitude">http://maps.google.com/maps/m?mode=latitude</a>, 使用体验和手极端安装的 Google Maps 里面完全一致，可以查看好友的详情，管理好友。另外，在 Google Maps 里也可以搜索路线等等。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/latitude.png" style="margin-bottom: 20px; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/11/icon-reader.png" style="float: left; margin: 5px 15px; " />阅读器 Reader</h4>
<p>和 Gmail 类似，移动版的 Google Reader 也有两种，适用普通手机的 /m/ 和适用于 webkit 的 /i/, 也就是说把 <a href="https://www.google.com/reader/i/">https://www.google.com/reader/i/</a> 加入书签，就可以方便地从手机访问阅读器了，和那些第三方的阅读器应用相比，我还是更偏好 web.</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/reader.png" style="margin-bottom: 20px; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/11/icon-photos.png" style="float: left; margin: 5px 15px; " />相册 Picasa web</h4>
<p>Picasa web 的移动版。撞墙之后很难拿它来分享照片了，不过要访问也不难，iPhone, Android 都是可以改那个什么 ho*** 的嘛。</p>
<p align="center"><img decoding="async" src="/wp-content/uploads/2009/11/photos.png" style="margin-bottom: 20px; " /></p>
]]></content:encoded>
					
					<wfw:commentRss>/google-mobile-web-apps.html/feed</wfw:commentRss>
			<slash:comments>35</slash:comments>
		
		
			<enclosure length="3227" type="application/xhtml+xml; charset=UTF-8" url="https://mail.google.com/a/DOMAIN.COM/s/#tl/Inbox"/><itunes:explicit/><itunes:subtitle>最近我和腿叔 @kcome 的 讨论 中我认为，webkit mobile 虽然占用资源比 Opera min [&amp;#8230;]</itunes:subtitle><itunes:summary>最近我和腿叔 @kcome 的 讨论 中我认为，webkit mobile 虽然占用资源比 Opera min [&amp;#8230;]</itunes:summary><itunes:keywords>手机 应用, 网络 服务, Android, Gmail, Google, Gtalk, iPhone, WebKit, 手机, 文档, 日历, 阅读器</itunes:keywords></item>
		<item>
		<title>我在使用的 Android 应用程序（三）</title>
		<link>/my-running-android-apps-3.html</link>
					<comments>/my-running-android-apps-3.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Thu, 29 Oct 2009 13:25:51 +0000</pubDate>
				<category><![CDATA[手机 应用]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[手机]]></category>
		<guid isPermaLink="false">/?p=1156</guid>

					<description><![CDATA[本文应该是我打包推荐的最后几个应用程序了，附加简单聊一下 1.6 Donut, 一些使用技巧，体会，我对 An [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>本文应该是我打包推荐的最后几个应用程序了，附加简单聊一下 1.6 Donut, 一些使用技巧，体会，我对 Android 的一点看法。</p>
<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/10/twidgit.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="https://www.flickr.com/photos/fisio/4045726569/" title="更多截图" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/10/twidgit.jpg" style="float: right; margin-left: 15px; " alt="Twidgit Lite" border="0" /></a><a href="http://disretrospect.com/twidgit/" title="Twidgit Lite" target="_blank" class="external">Twidgit Lite</a></h4>
<p>Twidgit 是一个界面精美的桌面 twitter widget, 但是我不知道它为什么不叫 Twidget, 也不知道它为什么叫 Lite, 据我所知没有付费版存在，大概 Lite 只是说外观小巧罢。<span id="more-1156"></span></p>
<p>它可以设置更新频率，提醒方式，点击可展开完整列表，具有大部分常用功能，我截了几张图在 <a href="https://www.flickr.com/photos/fisio/4045726569/" title="Flickr: twidgit, 将自动更新的 twitter widget 放在 android 桌面上。界面非常精致，不过有个缺点就 是并未支持 thread reply" target="_blank" class="external">这里</a>。但它不能查看用户页面，目前还不支持 thread reply, 也就是说发出的回复没有 in reply to, 这是件挺讨厌的事情，不过我一般不用它来推，也不设提醒，仅仅当成一个桌面装饰，便捷地关注朋友们在聊些什么。</p>
<p>关于 Twitter 不能登录，或者 Market 不能下载，Gmail 打不开的问题，我就不在这里说了，可以自行搜索，或者私下与我交流。另一个功能完备的 <a href="http://twidroid.com/" title="twidroid - the twitter &#038; identi.ca client application for android mobile phones" target="_blank" class="external">Twidroid</a> 名气太大，不再专门介绍。</p>
<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/10/barcode-scanner.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="https://chart.apis.google.com/chart?chs=100x100&#038;cht=qr&#038;chl=/" title="二维码内容: /"><img decoding="async" src="https://chart.apis.google.com/chart?chs=100x100&#038;cht=qr&#038;chl=/" style="float: right; margin-top: 5px; " border="0" /></a><a href="http://code.google.com/p/zxing/" title="zxing - Project Hosting on Google Code" target="_blank" class="external">Barcode Scanner</a></h4>
<p>简单实用的条形码、二维码扫描器，可将扫描结果自动复制到剪贴板，或执行搜索。我最常用它做的事情是将电脑上的网址或文本快速复制到手机：例如右图就是用 <a href="http://code.google.com/intl/zh-CN/apis/chart/#qrcodes" title="开发人员指南 - Google 图表 API - Google 代码" target="_blank" class="external">Google 图表 API</a> 生成的 QR 代码，图片的地址是：</p>
<p><code>https://chart.apis.google.com/chart?chs=100x100&cht=qr&chl=/</code></p>
<p>参数很容易看懂，修改最后的 chl= 部分就能快速生成并扫描到手机。我把这个调用地址保存为浏览器的自定义搜索引擎，指定关键字为 q, 这样我只需要在地址栏中输入 q 空格 粘帖 回车，剪贴板中的文字就变成二维码啦。</p>
<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/10/weather-widget.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><img decoding="async" src="/wp-content/uploads/2009/10/weather-widget.jpg" style="float: right; margin-left: 15px; " alt="Weather Widget" /><a href="http://www.cyrket.com/package/com.androidapps.widget.weather" title="Cyrket - Weather Widget - Free" target="_blank" class="external">Weather Widget</a></h4>
<p>天气预报应用很多，能放桌面 widget 也不少，但这款是我最喜欢的，免费自不用说，而且有良好的中文支持，尺寸也有三种选择，截图中是最大的一种，占 2&#215;2 格。设置很详细，连日夜分界时刻都可以自己调整。需要从 Market 下载安装两个东西，Weather Widget &#8211; Free, 和 Weather Widget Forecast Addon.</p>
<h4 style="clear: both; ">关于 Android 1.6 Donut</h4>
<p>不少用过的朋友对 1.6 的评价都有这一条：它真的快了，很快很快。以前我一般不在桌面放 widgets, 因为返回桌面总会卡那么几秒，现在我一直放着上面介绍的几个，几乎感觉不到延迟。当然，合理使用一个任务管理器也是很有必要的，可以试试 TasKiller 或者 Advanced Task Manager, 它们都提供桌面 widget 供一键终止所有后台程序，也都有白名单排除功能。</p>
<p>正如本文所重点介绍的，桌面 widgets 正在变得越来越实用，而在 Android 系统中，可以添加到桌面的远不仅仅是程序图标和 widgets, 还有各种快捷方式，比如：</p>
<ul>
<li>直拨某个联系人，图标会调用他/她的 Gtalk 头像；</li>
<li>直接访问某个 Gmail 标签；</li>
<li>系统设置下面的某个子类，比如我一直将 Wi-Fi 设置放在桌面；</li>
<li>Google Maps 3.2 甚至允许在桌面创建路线搜索，比如我把我家的位置存到桌面，出门在外只需要按一下，自动搜索从当前所在位置回家的公交车。图标样式可自选！
<p><img decoding="async" src="/wp-content/uploads/2009/10/directions-shortcut.png" alt="创建路线快捷方式"></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>/my-running-android-apps-3.html/feed</wfw:commentRss>
			<slash:comments>43</slash:comments>
		
		
			</item>
		<item>
		<title>我在使用的 Android 应用程序（二）</title>
		<link>/my-running-android-apps-2.html</link>
					<comments>/my-running-android-apps-2.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Thu, 17 Sep 2009 08:01:10 +0000</pubDate>
				<category><![CDATA[手机 应用]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[地图]]></category>
		<category><![CDATA[手机]]></category>
		<category><![CDATA[游戏]]></category>
		<guid isPermaLink="false">/?p=1116</guid>

					<description><![CDATA[rTerm 接 上篇 继续介绍 Android Market 上好玩的免费应用。rTerm, 或名 Roidi [&#8230;]]]></description>
										<content:encoded><![CDATA[<h4><img decoding="async" src="/wp-content/uploads/2009/09/rterm.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="http://twitpic.com/dikbv/full" title="查看原始截图" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/09/dikbv.jpg" style="float: right; margin-left: 15px; " class="piclink" border="0" /></a><a href="http://www.roiding.com/index.php/rterm" title="Roiding BBS Terminal" target="_blank" class="external">rTerm</a></h4>
<p>接 <a href="/my-running-android-apps-1.html" title="我在使用的 Android 应用程序（一）">上篇</a> 继续介绍 Android Market 上好玩的免费应用。<br />rTerm, 或名 Roiding BBS Terminal, 或名“中文 BBS Terminal 软件”，是我见过手机平台上体验最完美的 telnet BBS 终端，特别是在 G1 的高分辨率屏幕，漂亮的汉字渲染，全键盘支持下。Ctrl 等键盘映射可参阅作者 <a href="http://www.roiding.com/index.php/rterm" title="Roiding BBS Terminal" target="_blank" class="external">网站链接</a>，点击右图可查看我截的原始分辨率截屏。<span id="more-1116"></span></p>
<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/09/metal-detector.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="http://m.lastminutelabs.com/metaldetector/" title="Metal Detector (Last Minute Labs mobile)" target="_blank" class="external">Metal Detector</a></h4>
<p>纯显摆的应用，但杀伤力超强──据我所知，其它平台上好像只有 iPhone 3Gs 有了电磁传感器硬件。启动程序后屏幕正中会出现一个黄色的进度条，手机靠近金属物体的时候进度条会增加，如果加满了会嘀嘀叫，或者震动。基于电磁传感器的简单应用还有指南针，在 Market 上有好些，外观不同而已，就不单独介绍了。</p>
<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/09/google-sky-map.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><img decoding="async" src="/wp-content/uploads/2009/09/sky-map.png" style="float: right; margin-left: 15px; " title="Google Sky Map 查看星空" /><a href="https://www.google.com/sky/skymap.html" title="Google Sky Map" target="_blank" class="external">Google Sky Map</a></h4>
<p>简言之，拿着手机对着天空，手机上显示的就是指向区域的星图。不管手机怎么转，显示都能跟上。它首先根据当前城市和时间，从服务器获取日月和星空的升落方位，然后根据手机自身的电磁传感器和重力传感器来即时调整角度。</p>
<p>这个应用在 <a href="/blackberry-twitter-party.html" title="8月15日 上海莓友推友聚会">上月莓友推友聚会</a> 上极大的震撼了 @<a href="http://dabr.co.uk/user/terryxxy" target="_blank" class="external" title="阳阳猪 (terryxxy) on Twitter">terryxxy</a> 同学，因为他的 iPod touch 仅有重力感应，而没有电磁感应是没法确定初始方位的 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f47f.png" alt="👿" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 但是很遗憾，我装上它之后一次实战经历也没有过，城市里是看不到星空的。</p>
<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/09/afile-lite.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="http://www.mappn.com/community/index.php?board=4.0" title="aFile/Discover for iPhone/Android" target="_blank" class="external">aFile Lite</a></h4>
<p>界面优雅的文件管理器，亮点在于启动它之后，可以从同一无线网络的电脑上访问 web 界面去上传下载文件，比如 <u>http://192.168.1.103:1225/</u>. 可以管理所有手机上的文件，不局限在储存卡，因此我抛弃了 U盘模式。同类的应用还有一个 <a href="http://groups.google.com/group/andreasliebigapps" target="_blank" class="external" title="AndreasLiebig | Google Groups">FTPServer</a>, 就是在手机上开 ftp 服务器，供局域网内使用。</p>
<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/09/my-tracks.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="http://mytracks.appspot.com/" title="My Tracks for Android" target="_blank" class="external">My Tracks</a></h4>
<p>记录 <a href="/tag/gps" title="标签: GPS">GPS</a> 移动路径，上传到 Google Maps 我的地图。比其它平台上的 <a href="/geek-in-zhangjiajie.html" title="一名网络 Geek 的张家界游记">GPSed</a> 功能强大很多，当然，耗电也是杠杠的。</p>
<h4 style="clear: both; "><img decoding="async" src="/wp-content/uploads/2009/09/2-player-reactor.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><img decoding="async" src="/wp-content/uploads/2009/09/reactor.png" style="float: right; margin-left: 15px; " title="游戏画面" /><a href="http://www.doc.ic.ac.uk/~rb1006/projects:reactorandroid" title="Robins Pages! / projects/reactorandroid" target="_blank" class="external">2 Player Reactor</a></h4>
<p>最后推荐一个游戏，非常适合两个人一起玩，一人看一头，抢答，拼反应。屏幕上会出现一些简单的题目，种类很多，需要一定的英文能力。按对了绿色，按错了红色，比分显示在一侧。</p>
<p><br style="clear: both; " /></p>
]]></content:encoded>
					
					<wfw:commentRss>/my-running-android-apps-2.html/feed</wfw:commentRss>
			<slash:comments>33</slash:comments>
		
		
			</item>
		<item>
		<title>改域名，像大爷们一样去建国</title>
		<link>/new-domain.html</link>
					<comments>/new-domain.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Wed, 09 Sep 2009 14:34:47 +0000</pubDate>
				<category><![CDATA[网站 博客]]></category>
		<category><![CDATA[博客]]></category>
		<category><![CDATA[域名]]></category>
		<guid isPermaLink="false">/?p=1092</guid>

					<description><![CDATA[标题是瞎写的，跟内容啥关系也没有，这篇文章主要是想告诉大家，我内心十分渴望向狂欢派对献礼，但是初这初那的早都献 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p align="center" style="margin-top: -15px; "><img decoding="async" src="/wp-content/uploads/2009/09/new-domain.png" alt="fisio.cn → fis.io" title="fisio.cn → fis.io" /></p>
<p>标题是瞎写的，跟内容啥关系也没有，这篇文章主要是想告诉大家，我内心十分渴望向狂欢派对献礼，但是初这初那的早都献没了，就剩域名里还有“处男”二字，于是毅然决定剪下来献给派对。什么，你说我献错人了？不会错啦，派对到谁家都是主角啦。当然标题可以作另一种理解，就是我终于领悟到了“最后的疼爱是手放开”，爱她，就要离开，于是我把域名搬到印度洋小岛去了。<span id="more-1092"></span></p>
<p>就是这么个事儿，老肥博客的域名变短了，由于更改了 feedsky 的源，所以今天在阅读器中骚扰到了大家，在此道歉 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f62e.png" alt="😮" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 另外，如果您订阅我的地址是 feeds.fisio.cn 或者 feeds.fisio.cn/fisio, 几个月之后老域名过期，它们会失效，我将只保留这个：</p>
<h4 style="margin: 0 0 25px 20px; "><a href="http://feed.feedsky.com/fisio" title="订阅老肥博客" style="letter-spacing: 0.1em;" class="icon-left">http://feed.feedsky.com/fisio</a></h4>
<p>烦请较早订阅的朋友动手改一下。有链接我的博客有空也请更新一下链接吧。我的 Gtalk 等帐号更改到了 i@新域名，<a href="http://dabr.co.uk/user/fisio" target="_blank" class="external" title="Follow me on Twitter!">Twitter</a> 当然就不变啦。</p>
<p>最后，感谢 <a href="http://showfom.com/" target="_blank" class="external" title="Showfom's Blog - Google + FireFox + WordPress = G.F.W.">Showfom</a> 提供的优惠购买信息，感谢 <a href="http://hugege.com/" target="_blank" class="external" title="胡戈戈">胡戈戈</a> 在迁移中的强大支持，祖国满赛！</p>
]]></content:encoded>
					
					<wfw:commentRss>/new-domain.html/feed</wfw:commentRss>
			<slash:comments>84</slash:comments>
		
		
			</item>
		<item>
		<title>我在使用的 Android 应用程序（一）</title>
		<link>/my-running-android-apps-1.html</link>
					<comments>/my-running-android-apps-1.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sun, 06 Sep 2009 12:25:19 +0000</pubDate>
				<category><![CDATA[手机 应用]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[地图]]></category>
		<category><![CDATA[手机]]></category>
		<guid isPermaLink="false">/?p=1083</guid>

					<description><![CDATA[这是一篇迟到了一年的文章，去年我在 G1 上手报告 文末预告说下一篇会写 Market 上的应用，但事实上那时 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://www.android.com/market/" title="Android | Market" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/09/market.png" style="float: left; margin-right: 10px; " class="piclink" border="0"/></a>这是一篇迟到了一年的文章，去年我在 <a href="/totally-shocked-by-android.html" title="完全被 Android 所震撼">G1 上手报告</a> 文末预告说下一篇会写 Market 上的应用，但事实上那时候的应用远为单薄，而且后来我一直在用黑莓，这篇文章就这么搁下了。最近我以非常地道的价格从老友 @<a href="http://dabr.co.uk/user/faytoday" target="_blank" class="external" title="小飞 (faytoday) on Twitter">faytoday</a> 手中买下了一台 G1, 现在的 Android apps 已经大不相同，本文要介绍的就是一些我喜欢的第三方免费应用，它们都可以从 Android Market 中免费下载。<span id="more-1083"></span></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/09/steel.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><img decoding="async" src="/wp-content/uploads/2009/09/steel-browser.png" title="设置默认用 Steel 打开网页" style="float: right; margin-left: 15px; " /><a href="http://www.kolbysoft.com/" title="Steel" target="_blank" class="external">Steel</a></h4>
<p>优秀的第三方增强浏览器，调用系统自带的 Chrome Lite 渲染核心，可全屏，书签可用标签管理，长按页面弹出轮盘式菜单，缩放效果一流。更为出色的是，它的地址栏输入类似 Firefox 3 的智能地址栏，自动从书签、历史中匹配关键词，即使键入 sio, 也能匹配 fi<u>sio</u>.cn. 经我测试，不能用空格来搜寻多个关键词，其它的体验与 Firefox 地址栏无异。</p>
<p>另外，Android 系统是允许自由设置默认浏览器的，这让 Steel 可以接管任意来源的浏览请求。</p>
<p><br style="clear: both; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/09/tweetatorium.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><img decoding="async" src="/wp-content/uploads/2009/09/share-tweetatorium.png" title="用 Tweetatorium 快速分享图片" style="float: right; margin-left: 15px; " /><a href="http://weirdhenge.blogspot.com/" title="Weirdhenge" target="_blank" class="external">Tweetatorium</a></h4>
<p>照说，从 G1 往 <a href="http://dabr.co.uk/user/fisio" target="_blank" class="external" title="这是我的 Twitter 帐号">Twitter</a> 贴图最方便、不需要第三方软件的方法是 Gmail 附件，而且 Twitpic 是支持用邮件标题作图片说明文字的，但是很奇怪，从电脑这样用是可以的，但从手机发送，含有汉字的标题就给丢了，至少我测试下来是这样的。于是我平时都用 Tweetatorium, 长按图片弹出分享菜单，选择 Tweetatorium, 附注文字，它会自动在后台进行上传，上传完毕在顶部通知栏报告一下。简单实用。</p>
<p><br style="clear: both; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/09/dict.cn.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="http://dict.cn" title="Dict.CN 海词 在线词典 在线翻译 在线学习" target="_blank" class="external">Dict.cn En2Ch Dictionary</a></h4>
<p>在线发声词典，词库量比本地词典有先天的优势。查词框可伴随输入进行提示匹配，单词真人发声朗读，例句也可以朗读，由于例句上并没有播放图标，所以这点容易被忽略，其实只要点击一下句子，就可以听到啦。顺便说一下，这是我工作的公司出品的，近期还会有 <a href="/tag/blackberry" title="标签: 黑莓">BlackBerry</a> 版本上线，功能更加丰富，请期待 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><br style="clear: both; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/09/places-directory.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><img decoding="async" src="/wp-content/uploads/2009/09/places-coffee.png" title="用 Places Directory 搜寻附近的咖啡厅" style="float: right; margin-left: 15px; " /><a href="http://www.googlelabs.com/show_details?app_key=agtnbGFiczIwLXd3d3IUCxIMTGFic0FwcE1vZGVsGJ-lEww" title="Places Directory - Google Labs" target="_blank" class="external">Places Directory</a></h4>
<p>这个应用目前处于 Google Labs 阶段，让用户用一种比 <a href="/tag/maps" title="标签: 地图">Google Maps</a> 商户搜索更方便有效的方式来寻找自己附近的兴趣点：分类索引。打开程序之后是一个列表，茶馆，咖啡厅，餐饮，停车场，加油站，便利店，电影院，银行等，选择一个分类，即可打开右图这样的搜索列表，从近到远排列，红色的指南针指出方向和距离。</p>
<p>由于 G1 内置电磁指南针，所以那真的是个指南针，转动手机，指针也会旋转。<del datetime="2009-09-07T12:29:51+00:00">美中不足的是，我天朝的地图偏移让方位和距离产生一定偏差，需要显示地图路线来确认不会走错</del>。1.0.16 已修正此问题。点击一项可以看到简介、电话、点评、相册。这些就和 Google 地图上搜索差不多了。关于这个应用更详细的介绍可以参考 <a href="http://google.org.cn/posts/android-places-directory.html" title="寻找你周围的兴趣点，Places Directory for Android试用 | 谷奥——探寻谷歌的奥秘" target="_blank" class="external">谷奥的文章</a>。</p>
<p><br style="clear: both; " /></p>
<h4><img decoding="async" src="/wp-content/uploads/2009/09/hereim.png" style="float: left; margin: 0 17px 3px 7px; " border="0" /><a href="http://sites.google.com/site/hereimapp/" title="HereIm! Map Helper -- for Google Android Mobile" target="_blank" class="external">HereIm! Map Helper</a></h4>
<p>这个应用就是修正天朝定位偏差用的，修正之后再打开 Google Maps, Latitude 看看，是不是爽多了？</p>
<p><br style="clear: both; " /></p>
<p>我想介绍的免费应用不下十款，这样写下去也太长了，今天就先这些吧，未完待续。</p>
]]></content:encoded>
					
					<wfw:commentRss>/my-running-android-apps-1.html/feed</wfw:commentRss>
			<slash:comments>67</slash:comments>
		
		
			</item>
		<item>
		<title>8月15日 上海莓友推友聚会</title>
		<link>/blackberry-twitter-party.html</link>
					<comments>/blackberry-twitter-party.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sat, 15 Aug 2009 20:51:51 +0000</pubDate>
				<category><![CDATA[手机 应用]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[手机]]></category>
		<category><![CDATA[黑莓]]></category>
		<guid isPermaLink="false">/?p=1072</guid>

					<description><![CDATA[这次聚会的起因是 @himark 和 @rexking1818 运作的 英国黑莓代购 到货之后开分赃大会，经  [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://twitpic.com/dyuy4" title="全家福" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/dyuy4.jpg" style="float: right; margin-left: 10px; " class="piclink" border="0"></a>这次聚会的起因是 @<a href="https://twitter.com/himark" target="_blank" class="external" title="Mark (himark) on Twitter">himark</a> 和 @<a href="https://twitter.com/rexking1818" target="_blank" class="external" title="Rex (rexking1818) on Twitter">rexking1818</a> 运作的 <a href="http://rex3g.com/archives/88" target="_blank" class="external" title="终极一班！8月号代购最终产品线出炉！ | Rex 3G">英国黑莓代购</a> 到货之后开分赃大会，经 Twitter 上召集之后，壮大成为一次小规模的推友手机玩家聚会。</p>
<p>这是一次团结的大会，胜利的大会，大家玩出了风格，玩出了水平。经文字和照片直播，赚足了滔滔口水。现场的黑莓几乎覆盖了所有市面上的高端机型，客串阵容也空前强大，Palm Pre, iPhone 3GS, G1, G2, &#8230; 最受玩家推崇的几大阵营到齐了。<span id="more-1072"></span></p>
<p>@<a href="https://twitter.com/bao3" target="_blank" class="external" title="我是苍鹰 (bao3) on Twitter">bao3</a> 现场拆弹，为 @<a href="https://twitter.com/jacul" target="_blank" class="external" title="Jacul (jacul) on Twitter">jacul</a> 的 Bold 更换轨迹球。不过照片上的人好像是 @<a href="https://twitter.com/terryxxy" target="_blank" class="external" title="阳阳猪 (terryxxy) on Twitter">terryxxy</a>?</p>
<p><a href="http://twitpic.com/e0oin" title="" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/e0oin.jpg" style="margin: 0 20px 20px;" class="piclink" border="0"></a> <a href="http://twitpic.com/e0ol0" title="" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/e0ol0.jpg" style="margin: 0 20px 20px;" class="piclink" border="0"></a></p>
<p>@<a href="https://twitter.com/rexking1818" target="_blank" class="external" title="Rex (rexking1818) on Twitter">rexking1818</a> 的 MiniUSB 应急充电器很厉害，绝对可以把手机组装成星空战斗鸡。可以适配所有相同接口的设备，这点比额外电板强。</p>
<p><a href="http://twitpic.com/dylpx" title="" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/dylpx.jpg" style="margin: 0 20px 20px;" class="piclink" border="0"></a> <a href="http://twitpic.com/dyt20" title="" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/dyt20.jpg" style="margin: 0 20px 20px;" class="piclink" border="0"></a></p>
<p>咦，这 Storm 蓝屏了？右边的 8520 可是新鲜到货，买家竟然是我的大学同学，没想到在这里碰见了。</p>
<p><a href="http://twitpic.com/dyso4" title="" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/dyso4.jpg" style="margin: 0 20px 20px;" class="piclink" border="0"></a> <a href="http://twitpic.com/dyte9" title="" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/dyte9.jpg" style="margin: 0 20px 20px;" class="piclink" border="0"></a></p>
<p>@<a href="https://twitter.com/faytoday" target="_blank" class="external" title="小飞 (faytoday) on Twitter">faytoday</a> 的 Palm Pre 一来就震精了全场，操作界面的动态效果实在太华丽了，太华丽了… 右图乃沃达丰 G2, 可惜合影的时候已经走了。</p>
<p><a href="http://twitpic.com/dysuc" title="" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/dysuc.jpg" style="margin: 0 20px 20px;" class="piclink" border="0"></a> <a href="http://twitpic.com/dyo16" title="" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/08/dyo16.jpg" style="margin: 0 20px 20px;" class="piclink" border="0"></a></p>
<p>不少人对 G1 上的金属探测器，<a href="https://www.google.com/sky/skymap.html" target="_blank" class="external" title="Google Sky Map">Google Sky Map</a> 等应用很感兴趣，比 iPhone 上的 Sky Map 牛多了，结合了电磁指南针、重力感应、所在时区等控制，拿着手机对着天空，屏幕上显示的就是对应方向看过去的星座。</p>
<p>关于这次聚会 @<a href="https://twitter.com/coolxll" target="_blank" class="external" title="Xu Linglong (coolxll) on Twitter">coolxll</a> 已经贴出了 <a href="http://coolxll.cn/2009/08/twitter-blackberry-party/" target="_blank" class="external" title="莓控黑莓爱好者聚会 | Coolxll's Secret Garden">文章和照片</a>，我也引用了一些他拍的照片，请前往围观 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f47f.png" alt="👿" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>/blackberry-twitter-party.html/feed</wfw:commentRss>
			<slash:comments>36</slash:comments>
		
		
			</item>
		<item>
		<title>一名网络 Geek 的张家界游记</title>
		<link>/geek-in-zhangjiajie.html</link>
					<comments>/geek-in-zhangjiajie.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sat, 25 Jul 2009 14:21:46 +0000</pubDate>
				<category><![CDATA[手机 应用]]></category>
		<category><![CDATA[网络 服务]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[地图]]></category>
		<category><![CDATA[手机]]></category>
		<category><![CDATA[黑莓]]></category>
		<guid isPermaLink="false">/?p=1061</guid>

					<description><![CDATA[同行的同事说我是生活在网络中的人，因为我游山玩水的时候也一直拿着黑莓。我在 Twitter 上直播我看到的风景 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://picasaweb.google.com/sun.fisio/WkrZRJ" title="查看相册" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/07/zjj.jpg" class="piclink" border="0" /></a></p>
<p>同行的同事说我是生活在网络中的人，因为我游山玩水的时候也一直拿着黑莓。我在 <a href="https://twitter.com/fisio" class="external" target="_blank" title="Follow me on Twitter!">Twitter</a> 上直播我看到的风景，拍摄的照片，开着 <a href="/google-ditu.html" title="谷歌地图进化到国际标准">Google Maps</a> 分享我的地理坐标。其实还不止这些：<span id="more-1061"></span></p>
<ul>
<li>我从 Twitter 上获知了网易科技频道踩雷事件，在饭桌上和同事聊这个事情，有人一听到姓胡就猜到是谁了；我顺便还发短信和在网易科技的老同学调侃了一番。</li>
<li>全程用 <a href="http://gpsed.com/track/418506245838517212" class="external" target="_blank" title="查看完整 GPSed 路径和照片">GPSed</a> 纪录路径，上传路径文件之后，再把所有照片都贴到地图上去，照片会自动贴到精确拍摄点，剩下几张室内拍的照片不含有经纬度数据，手动定位它们。带有 GPS 的手机可以在拍摄的时候 <a href="/travel-with-gpsed.html" title="GPSed for mobile: 带着GPS 去旅行">将经纬度写进照片</a>，Picasa 网络相册会读取照片中的经纬度数据。如果是用 DC 拍摄，没有经纬度信息，GPSed 也会将照片拍摄时间和已纪录的路径对比，贴到当时所在的精确位置。不能访问 Picasa 的朋友请 <a href="https://www.google.cn/search?q=picasa+hosts" target="_blank" class="external" title="picasa hosts - Google 搜索">自行搜索</a>。
<p><a href="http://gpsed.com/track/418506245838517212" title="查看完整 GPSed 路径和照片" target="_blank"><img decoding="async" src="/wp-content/uploads/2009/07/attached-photos.jpg" class="piclink" border="0" /></a></p>
<p>在上图链接到的页面，就可以按拍摄顺序，在地图上查看所有照片和描述文字了。这是一个调用 Google 地图的应用，可以按地图、卫星、地形三种模式查看。</li>
<li>虽然我们从日全食的上海跑到了全食带以外的张家界，但上海下雨，张家界天气很好。张家界最暗的那几分钟，我拍了一下远处的群山，看上去和五点钟蒙蒙亮的时候差不多，天边像橘色的晨曦。我把推友贴的日食照片给同事看，可惜我们的相机都拍不好，我们用内侧有银色涂膜的食品包装袋看日食效果不错，但如果用它来拍摄，光晕太重。</li>
<li>我们后来又去了凤凰，凤凰并没有太多惊喜，我猜是因为湘西和重庆在地理、民俗等方面颇为相近，我从小就看惯了依山临江的吊脚小楼吧。这段行程还累得够呛。</li>
<li>从张家界荷花机场返程的时候，航班大面积延误，我们凌晨两点才登机，小小的候机厅里全是滞留的乘客，我拍了不少有趣的照片即时贴到 Twitter 上，包括雷死人的 <a href="http://twitpic.com/bc7ze" class="external" target="_blank" title="再囧一下张家界机场的山寨英格利息：名优 famous actor or actress; 天珠 day pearl">山寨英语</a>，后来还有一张，“张家界名吃”译作 &#8220;The name has meal in Zhang Jia Jie&#8221;.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>/geek-in-zhangjiajie.html/feed</wfw:commentRss>
			<slash:comments>70</slash:comments>
		
		
			</item>
		<item>
		<title>晒一晒我用过的博客页眉</title>
		<link>/my-blog-headers.html</link>
					<comments>/my-blog-headers.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sat, 27 Jun 2009 13:26:54 +0000</pubDate>
				<category><![CDATA[创意 设计]]></category>
		<category><![CDATA[网站 博客]]></category>
		<category><![CDATA[博客]]></category>
		<category><![CDATA[设计]]></category>
		<guid isPermaLink="false">/?p=1048</guid>

					<description><![CDATA[我们这一代人不少都迷过 Michael Jackson, 我虽然谈不上迷，但也非常喜欢他的 MV, 像 Bla [&#8230;]]]></description>
										<content:encoded><![CDATA[<p align="center"><a href="/wp-content/uploads/2009/06/7-michael.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-7-michael.jpg" class="piclink" border="0" /></a></p>
<p>我们这一代人不少都迷过 Michael Jackson, 我虽然谈不上迷，但也非常喜欢他的 MV, 像 Black or White, Remember the Time, Ghosts, &#8230; 能让我回想起中学的时候同学找我借他的 VCD 的那些时光，当然还有同桌女生，不知道她结婚了没。两年来我换过八个博客页眉 banner, 今天一起晒晒罢。<span id="more-1048"></span></p>
<ul>
<li>这是 <a href="http://gluedideas.com/" target="_blank" class="external" title="Subtle for WordPress">Subtle theme</a> 的默认页眉，属于挺耐看的那种，温暖，清新。
<p><a href="/wp-content/uploads/2009/06/0-subtle-theme.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-0-subtle-theme.jpg" class="piclink" border="0" /></a></li>
<li><a href="/wordcamp-china-2008.html" title="WordCamp China 2008 摘趣">去年 WordCamp</a> 之前我第一次尝试通过页眉图案和链接来向访客宣传，图案来自 WordCamp China 官方网站的设计。
<p><a href="/wp-content/uploads/2009/06/1-wordcamp-2008.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-1-wordcamp-2008.jpg" class="piclink" border="0" /></a></li>
<li>T-Mobile G1 发布之后，我发表了些 <a href="/t-mobile-g1-unboxing.html" title="T-Mobile G1 上手试玩报告">照片</a> 和 <a href="/totally-shocked-by-android.html" title="完全被 Android 所震撼">试用报告</a>，被 Android 所深深吸引，于是有了这个页眉。
<p><a href="/wp-content/uploads/2009/06/2-android.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-2-android.jpg" class="piclink" border="0" /></a></li>
<li>年初我 <a href="/macbook-panda.html" title="Mac 我来鸟">入了水果教</a>，琢磨着也弄了一个，但嫌颜色太艳丽，于是这是唯一一个没有挂出来过的图。
<p><a href="/wp-content/uploads/2009/06/3-apple.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-3-apple.jpg" class="piclink" border="0" /></a></li>
<li>后来我用一张 Mac 自带墙纸 Evening Reflections 加工了它，并使用至今，没有纪念页眉的时候就是它了。
<p><a href="/wp-content/uploads/2009/06/4-reflections.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-4-reflections.jpg" class="piclink" border="0" /></a></li>
<li>WordCamp Shanghai 2009 非常非常的成功，对每个 WordPress fans 来说，错过了都是一种遗憾。而且内容已经从 WordPress 拓展到许多网络热门话题、风云人物，比如 <a href="https://twitter.com/isaac" target="_blank" class="external" title="Isaac Mao (isaac) on Twitter">Isaac</a> 与草泥马的精彩故事。
<p><a href="/wp-content/uploads/2009/06/5-wordcamp-2009.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-5-wordcamp-2009.jpg" class="piclink" border="0" /></a></li>
<li>下面这是我现在看来都还激情澎湃无法平静的一个页眉，是我花了一个多小时把它从 <a href="http://commons.wikimedia.org/wiki/数字手势" target="_blank" class="external" title="数字手势 - Wikimedia Commons">素材</a> 中仔细抠出来的，还一度被推友认为是我实拍的呢 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 挂出来的时间仅仅两天，不需要这样压抑无声的愤怒的那一天，却还很遥远。
<p><a href="/wp-content/uploads/2009/06/6-535.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-6-535.jpg" class="piclink" border="0" /></a></li>
<li>最后这个，献给所有喜欢他的人们，祝愿他在天堂永生！
<p><a href="/wp-content/uploads/2009/06/7-michael.jpg" title="查看大图"><img decoding="async" src="/wp-content/uploads/2009/06/0-7-michael.jpg" class="piclink" border="0" /></a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>/my-blog-headers.html/feed</wfw:commentRss>
			<slash:comments>114</slash:comments>
		
		
			</item>
		<item>
		<title>学习笔记: CSS3 鼠标悬停动画</title>
		<link>/css-3-hover-animations.html</link>
					<comments>/css-3-hover-animations.html#comments</comments>
		
		<dc:creator><![CDATA[fisio]]></dc:creator>
		<pubDate>Sat, 30 May 2009 01:25:48 +0000</pubDate>
				<category><![CDATA[创意 设计]]></category>
		<category><![CDATA[网站 博客]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[WebKit]]></category>
		<category><![CDATA[浏览器]]></category>
		<category><![CDATA[设计]]></category>
		<guid isPermaLink="false">/?p=1038</guid>

					<description><![CDATA[受 pbtweet 里面那个漂亮的贴图徽章启发，我搜索了一些相关资料，将如何用 CSS 实现鼠标悬停动画效果的 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="/css-3-hover-animations.html" title="原文载于 fis.io"><img decoding="async" src="/wp-content/uploads/2009/05/css.png" style="float: left; margin: 5px 15px 0 0" border="0" /></a>受 <a href="/pbtweet-enhance-twitter-web.html" title="pbtweet: 增强 Twitter web 体验">pbtweet</a> 里面那个漂亮的贴图徽章启发，我搜索了一些相关资料，将如何用 CSS 实现鼠标悬停动画效果的方法整理成本文。目前，能正确显示这些非正式 CSS 属性的浏览器还非常有限，不过可以确信的是，不能显示动画的浏览器不会受到不良影响，那么就让优秀的浏览器物尽其用吧。查看示例请用 Chrome, Safari 访问 <a href="/css-3-hover-animations.html" title="学习笔记：CSS3 鼠标悬停动画 | 老肥博客 » 非唠不可">本文</a>，其它浏览器可能不能正常显示。<span id="more-1038"></span></p>
<p>上图是一个鼠标悬停动画的例子，如果将以下代码应用到全局 CSS 中，则所有带链接的图片都会有如上图动画：</p>
<p><code class="css">a img {<br />
&nbsp;&nbsp;&nbsp;&nbsp;opacity: 0.8;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-transition: all 0.2s ease-out;<br />
}<br />
&nbsp;<br />
a:hover img {<br />
&nbsp;&nbsp;&nbsp;&nbsp;opacity: 1;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-transform: scale(1.05) rotate(2deg);<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-transform: scale(1.05) rotate(2deg);<br />
}</code></p>
<p>如果要求仅应用于 class=&#8221;logo&#8221; 的图片，则将选择器改为：</p>
<p><code class="css">a img.logo {...}<br />
a:hover img.logo {...}</code></p>
<p>如果要求应用于 id=&#8221;footer&#8221; 的 div 下所有图片，则将选择器改为：</p>
<p><code class="css">#footer a img {...}<br />
#footer a:hover img {...}</code></p>
<p style="margin-bottom: 50px">到这里，所有的工作都完成了，挺简单吧？下面进入详细分析说明。</p>
<style type="text/css" media="screen">
a img.sample1 {
	opacity: 1;
	-webkit-transition: none;
}
a:hover img.sample1 {
	-moz-transform: rotate(-30deg);
	-webkit-transform: rotate(-30deg);
}
a img.sample2, a img.sample3 {
	opacity: 1;
}
a:hover img.sample2, a:hover img.sample3 {
	-moz-transform: scale(1.5);
	-webkit-transform: scale(1.5);
	-moz-transform-origin: 100% 100%;
	-webkit-transform-origin: 100% 100%;
}
a:hover img.sample3 {
	-moz-transform-origin: 0% 100%;
	-webkit-transform-origin: 0% 100%;
}
#stable .showbox {
	margin: 1em;
	width: 100px;
	height: 40px;
	border: 2px solid;
	border-color: green;
	background-color: #cfc;
	line-height: 40px;
	text-align: center;
	-webkit-transition-duration: 2s;
}
#stable:hover .showbox {
	border-color: #006;
	background-color: #ccf;
	-webkit-border-radius: 1.5em;
	-webkit-transform: translate(300px,0) rotate(5deg) skew(-15deg,0);
}
a img.sample4 {
	opacity: 1;
	-webkit-transition: all 1s cubic-bezier(0,1,1,0);
}
a:hover img.sample4 {
	opacity: 0;
	-moz-transform: translate(-128px,-50px) scale(3) rotate(360deg);
	-webkit-transform: translate(-128px,-50px) scale(3) rotate(360deg);
}
</style>
<h4>transform: 形变目标值设定</h4>
<p><a href="/css-3-hover-animations.html" title="原文载于 fis.io"><img decoding="async" src="/wp-content/uploads/2009/05/css.png" style="float: right;" class="sample1" border="0" /></a>兼容浏览器: Firefox 3.5, Chrome 2.0, Safari 3.1</p>
<p><code class="css">-moz-transform: rotate(-30deg);<br />
-webkit-transform: rotate(-30deg);</code></p>
<p><br class="clear" /><br />
上面的例子仅仅应用了 transform: rotate, 在鼠标悬停的时候逆时针旋转。除了 rotate, 还有 scale, translate, skew, matrix 等用法，想要深入把玩可参考 <a href="http://www.the-art-of-web.com/css/css-animation/" class="external" target="_blank" title="The Art of Web ~ CSS/ Animation Using CSS Transforms">Animation Using CSS Transforms</a>.</p>
<h4>transform-origin: 形变中心点设定</h4>
<p>兼容浏览器: Firefox 3.5, Chrome 2.0, Safari 3.1</p>
<p><code class="css">-moz-transform-origin: 50% 50%;<br />
-webkit-transform-origin: 50% 50%;</code></p>
<p>默认值在对象的正中，X Y 值均为 50%. 更改数值可移动形变中心。下面两个例子，左边是 100% 100%(右下角), 右边是 0%, 100%(左下角):</p>
<p align="center"><a href="/css-3-hover-animations.html" title="原文载于 fis.io"><img decoding="async" src="/wp-content/uploads/2009/05/css.png" class="sample2" border="0" /></a> <a href="/css-3-hover-animations.html" title="原文载于 fis.io"><img decoding="async" src="/wp-content/uploads/2009/05/css.png" class="sample3" border="0" /></a></p>
<h4>transition: 过程动画设定</h4>
<p>兼容浏览器: Chrome 2.0, Safari 3.1</p>
<p><code class="css">-webkit-transition: all 0.2s ease-out;</code></p>
<p>-webkit-transition 是一个神奇的属性，它定义了动画过程的类型、时间、时间轴曲线。all 表示对所有变化应用动画，包括 transform, opacity; 后面两项是时间和时间轴曲线，可以有如下赋值：</p>
<div id="stable">
<div class="showbox">default &raquo;</div>
<div class="showbox" style="-webkit-transition-timing-function: linear;">linear &raquo;</div>
<div class="showbox" style="-webkit-transition-timing-function: ease-in;">ease-in &raquo;</div>
<div class="showbox" style="-webkit-transition-timing-function: ease-out;">ease-out &raquo;</div>
<div class="showbox" style="-webkit-transition-timing-function: ease-in-out;">ease-in-out &raquo;</div>
<div class="showbox" style="-webkit-transition-timing-function: cubic-bezier(0,1,1,0);">cubic-bezier &raquo;</div>
</div>
<p>以上 demo 来自 <a href="http://www.the-art-of-web.com/css/timing-function/" class="external" target="_blank" title="The Art of Web ~ CSS/ Transition Timing Functions">Transition Timing Functions</a>, 展示了 transition 时间控制的强大，而且上面的 transform 是可以多重叠加的，配合 transition, 能做些什么大家想象一下吧！</p>
<h4>opacity: 不透明度</h4>
<p><a href="/css-3-hover-animations.html" title="原文载于 fis.io"><img decoding="async" src="/wp-content/uploads/2009/05/css.png" style="float: right; margin-left: 10px" class="sample4" border="0" /></a>兼容浏览器: 除了 IE</p>
<p>这是一个较为广泛支持的属性，前面早已没有了私有前缀(-moz, -webkit). 使用也很简单，让正常状态的图片稍微透明显示，鼠标悬停的时候恢复不透明，更加醒目。它同样可以在时间轴上受 transition 控制，试试看这个示例。</p>
<h4>text-shadow: 文字阴影</h4>
<p>兼容浏览器: Firefox 3.5, Chrome 2.0, Opera 9.5, Safari 3.1</p>
<p><code class="css">text-shadow: 0px 1px 3px black;</code></p>
<p>以上赋值分别代表 X轴偏移，Y轴偏移，阴影扩散尺寸，颜色。应用到按钮、标题等处有很好的浮雕效果，同样的风格在 Mac OS X, iPhone 系统界面中有大量应用。</p>
<h3>结语</h3>
<ul>
<li>限于篇幅，本文示例所用的 CSS 不明文列出，有兴趣可以查看页面源代码，就嵌在正文中。</li>
<li>目前 CSS3 还在草案阶段，很多属性还有私有属性前缀，能兼容新属性的浏览器在用户比例上也还是少数。话说回来，谁指望 IE Trident? 屁股都要笑掉。</li>
<li>Gecko 真的已经落后 WebKit 好多了，CSS, JS, 而且还没算上 WebKit 在 <a href="/tag/iphone" title="标签: iPhone">iPhone</a>, <a href="/tag/android" title="标签: Android">Android</a> 等移动平台的成就。Gecko 在这方面基本还是零吧。</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>/css-3-hover-animations.html/feed</wfw:commentRss>
			<slash:comments>100</slash:comments>
		
		
			</item>
	</channel>
</rss>