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

<channel>
	<title>子叶：子乌的叶子 &#187; 日记</title>
	<atom:link href="http://sheneyan.com/blog/category/diary/feed/" rel="self" type="application/rss+xml" />
	<link>http://sheneyan.com/blog</link>
	<description>指穷于为薪，火传也，不知其尽也。---《养生主》</description>
	<lastBuildDate>Mon, 30 Apr 2012 09:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>weekly tweets：2012-04-30</title>
		<link>http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-30/</link>
		<comments>http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-30/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 09:00:00 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-30/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>嗯，好像真的得翻才能访问，否则一直停在redirect⋯⋯ “@GoneWater: 我这里无法访问？一出生就头撞南墙么…… RT @<a href="http://twitter.com/mranti" class="aktt_username">mranti</a>: Google Drive上线拉！” <a href="http://twitter.com/sheneyan/statuses/194829359050276864" class="aktt_tweet_time">#</a></li>
<li>我正在下mac客户端呢～ “@mranti: 我怎么成了最早体验Google Drive的人之一？不过大家甭气馁它被墙，因为丫根本和Docs也没什么区别。至少目前无Desktop客户端。” <a href="http://twitter.com/sheneyan/statuses/194830997290893312" class="aktt_tweet_time">#</a></li>
<li>看来google drive客户端也不怎么靠谱⋯⋯漫长的sign in中⋯⋯估计得vpn才能上，再等等 <a href="http://twitter.com/sheneyan/statuses/194832841576677377" class="aktt_tweet_time">#</a></li>
<li>google drive client在漫长的登录等待后抛了个5826错误给我，还跟我说如果重复出现这个错[......]</li></ul><p class='read-more'><a href='http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-30/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>嗯，好像真的得翻才能访问，否则一直停在redirect⋯⋯ “@GoneWater: 我这里无法访问？一出生就头撞南墙么…… RT @<a href="http://twitter.com/mranti" class="aktt_username">mranti</a>: Google Drive上线拉！” <a href="http://twitter.com/sheneyan/statuses/194829359050276864" class="aktt_tweet_time">#</a></li>
<li>我正在下mac客户端呢～ “@mranti: 我怎么成了最早体验Google Drive的人之一？不过大家甭气馁它被墙，因为丫根本和Docs也没什么区别。至少目前无Desktop客户端。” <a href="http://twitter.com/sheneyan/statuses/194830997290893312" class="aktt_tweet_time">#</a></li>
<li>看来google drive客户端也不怎么靠谱⋯⋯漫长的sign in中⋯⋯估计得vpn才能上，再等等 <a href="http://twitter.com/sheneyan/statuses/194832841576677377" class="aktt_tweet_time">#</a></li>
<li>google drive client在漫长的登录等待后抛了个5826错误给我，还跟我说如果重复出现这个错误，需要disconnect my account⋯⋯啥意思？出错需要disconnect？？ <a href="http://twitter.com/sheneyan/statuses/194834770939756544" class="aktt_tweet_time">#</a></li>
<li>登录google drive客户端用了快40分钟，然后还没成功登录一次（失败倒是有4次了⋯⋯），暂时决定放弃 <a href="http://twitter.com/sheneyan/statuses/194841175365128193" class="aktt_tweet_time">#</a></li>
<li>扔个错误界面，不知道多少人出这个错误 <a href="http://t.co/z58vCF52" rel="nofollow">http://t.co/z58vCF52</a> <a href="http://twitter.com/sheneyan/statuses/194842908673851392" class="aktt_tweet_time">#</a></li>
<li>每个车模都有一张劳累过度的脸，越有名越严重。。 <a href="http://twitter.com/sheneyan/statuses/194998825562288128" class="aktt_tweet_time">#</a></li>
<li>问题是得提前十个月订票，还容易出事故，到不了目的地。 “@cluries: RT @<a href="http://twitter.com/tixiang" class="aktt_username">tixiang</a>: #译自法语推 ：到世界上来走一遭，是多么方便的事情，连返程票都不需要买。 via @<a href="http://twitter.com/RomainFA" class="aktt_username">RomainFA</a>” <a href="http://twitter.com/sheneyan/statuses/195012801796902912" class="aktt_tweet_time">#</a></li>
<li>从google drive客户端的登录及出错界面来看（好吧，我完全登不进去），似乎只是集成了网页而已，有点小失望，这样也能说明为什么只是快捷方式了。另外，对google来说，既然有了chrome OS这种东西，也就是他认为你可以随时随地都在网上，不太可能出现断网的情况。 <a href="http://twitter.com/sheneyan/statuses/195410245953142784" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-30/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weekly tweets：2012-04-23</title>
		<link>http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-23/</link>
		<comments>http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-23/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 09:00:00 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-23/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>一台让你见客户时背，一台在公司用 “@cluries: 没搞懂为嘛给2台笔记本，给一台式机一笔记本才对嘛！！ #<a href="http://search.twitter.com/search?q=%23t2o" class="aktt_hashtag">t2o</a><br />]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>一台让你见客户时背，一台在公司用 “@cluries: 没搞懂为嘛给2台笔记本，给一台式机一笔记本才对嘛！！ #<a href="http://search.twitter.com/search?q=%23t2o" class="aktt_hashtag">t2o</a><br />
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2012/04/weekly-tweets%ef%bc%9a2012-04-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mosaic for mac</title>
		<link>http://sheneyan.com/blog/2012/04/mosaic-for-mac/</link>
		<comments>http://sheneyan.com/blog/2012/04/mosaic-for-mac/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 07:59:59 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[图片处理]]></category>
		<category><![CDATA[照片]]></category>
		<category><![CDATA[软件]]></category>
		<category><![CDATA[马赛克]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/?p=2311</guid>
		<description><![CDATA[<p>之前在x61上写了一篇<a href="http://sheneyan.com/blog/2010/09/create-your-own-mosaic-photo-under-ubuntu/">在Ubuntu下制作你自己的马赛克照片</a>后，对照片马赛克效果爱不释手（其实也就弄了张结婚照而已⋯⋯），换了macbook pro后，想着伟大的苹果上应该也有类似的软件，于是去搜索了一番，找了三个软件试手，Mazaika free（免费，lite版18元）、MacOsaiX（免费）、photomosaic（198元）。<br />
在比较三个软件之前，先看一下原图，有请麻豆：<br />
<a href="http://www.flickr.com/photos/sheneyan/6952127008/in/photostream"><img class="alignnone" title="麻豆" src="http://sheneyan.com/blog/wp-content/uploads/2012/04/6952127008_eb71d33d13_z1.jpg" alt="麻豆" width="640" height="425" /></a></p>
<p>为了比较，我用了同一组2501照片来制作马赛克效果（为了节约时间以及避免程序挂掉，这组照片全部是4xx大小的缩略图）<br />
首先，在app store上找了个免费的<a href="http://www.mazaika.com/">Mazaika Free</a>，在app store上也有l[......]</p><p class='read-more'><a href='http://sheneyan.com/blog/2012/04/mosaic-for-mac/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>之前在x61上写了一篇<a href="http://sheneyan.com/blog/2010/09/create-your-own-mosaic-photo-under-ubuntu/">在Ubuntu下制作你自己的马赛克照片</a>后，对照片马赛克效果爱不释手（其实也就弄了张结婚照而已⋯⋯），换了macbook pro后，想着伟大的苹果上应该也有类似的软件，于是去搜索了一番，找了三个软件试手，Mazaika free（免费，lite版18元）、MacOsaiX（免费）、photomosaic（198元）。<br />
在比较三个软件之前，先看一下原图，有请麻豆：<br />
<a href="http://www.flickr.com/photos/sheneyan/6952127008/in/photostream"><img class="alignnone" title="麻豆" src="http://sheneyan.com/blog/wp-content/uploads/2012/04/6952127008_eb71d33d13_z1.jpg" alt="麻豆" width="640" height="425" /></a></p>
<p>为了比较，我用了同一组2501照片来制作马赛克效果（为了节约时间以及避免程序挂掉，这组照片全部是4xx大小的缩略图）<br />
首先，在app store上找了个免费的<a href="http://www.mazaika.com/">Mazaika Free</a>，在app store上也有lite版（18元rmb，区别待会说），试用了一下，说说感受：<br />
首先一点很重要的，free版只能用它内置的照片库实现马赛克效果，也就是说，那一块块马赛克全是它提供的，你没法用自己的照片来做。从这一点，我就把它给排除了。不过可以看看效果（见下图），考虑一下是否需要花18元买个lite（话说为什么没有pro？lite一般不也是功能比较弱的版本吗？），当然，据说lite版可以用自己的照片（因为不想浪费这18元，所以没测试）<br />
<a href="http://sheneyan.com/blog/wp-content/uploads/2012/04/屏幕快照-2012-04-21-下午3.10.13.png" rel="lightbox[2311]" rel="shadowbox[sbpost-2311];player=img;" title="Mazaika Free 效果"><img class="alignnone size-full wp-image-2312" title="Mazaika Free 效果" src="http://sheneyan.com/blog/wp-content/uploads/2012/04/屏幕快照-2012-04-21-下午3.10.13.png" alt="Mazaika Free 效果" width="640" height="389" /></a></p>
<p>其次，如果上一点可以接受的话，还有一点我不太喜欢的，它的马赛克尺寸是固定的，也就是说，你选择了30&#215;30大小的马赛克尺寸，你可能只能生成一张包含原照片一部分内容的新照片，上图是最大尺寸（根据照片大小决定尺寸，我不知道有没有限制）。</p>
<p>没有第三了，基本上就这两点。下面是最终效果图。<br />
<a href="http://sheneyan.com/blog/wp-content/uploads/2012/04/2.jpg" rel="lightbox[2311]" rel="shadowbox[sbpost-2311];player=img;" title="Mazaika free"><img class="alignnone size-full wp-image-2313" title="Mazaika free" src="http://sheneyan.com/blog/wp-content/uploads/2012/04/2.jpg" alt="Mazaika free" width="640" /></a></p>
<p>忘了说lite和free的区别：1 支持用自己的照片当library、2支持保存尺寸达到4200px的jpg（一个马赛克42px，最大支持100&#215;100）。至于这个软件的详细功能，自己去它的网站看或者在app store里下个free的研究一下即可。</p>
<p>下面说第二个&lt;a href=”http://web.me.com/knarf/MacOSaiX/Home.html”&gt;MacOSaiX&lt;/a&gt;。这是个免费软件，library（也就是马赛克块）功能应该是三个软件中最强大的（可以支持目录、flickr、google图片搜索、glyphs、delicious、iPhoto、itunes），并且可以支持多来源（你可以选目录、flickr等等等等，只要你不觉得速度慢），马赛克砖头可以选三个类型（长方形、拼图形状、六边形），其他的⋯⋯没什么了，中规中矩，一个标准的照片马赛克软件，先看效果图。</p>
<p><a href="http://www.flickr.com/photos/sheneyan/7098202985/in/photostream/"><img class="alignnone" title="MacOSaix" src="http://sheneyan.com/blog/wp-content/uploads/2012/04/7098202985_bd0d433ced_z1.jpg" alt="MacOSaix" width="640" height="425" /></a></p>
<p>下面说一下感受：</p>
<p>首先：这个软件的tile（马赛克砖头）全是横的！也就是说，你竖拍的照片它也给你横着放⋯⋯虽然问题不是太大，不过如果想用这个软件制作一个摆放在酒店大厅的结婚照海报的话，可能需要去掉所有竖拍照片～</p>
<p>其次：软件有可能崩溃，它的算法可能存在部分问题（速度一般），所以生成满意效果后记得保存（保存2次，第一次是project文件，第二次才是jpg或你所选的格式）</p>
<p>其三：我在上传flickr时才发现，我6m多的原文件，经过它生成png，变成了189m⋯⋯还好因为频频崩溃，我改用缩略图来制作效果图，不然不知道还得多大。</p>
<p>其四：这点我很喜欢，你将照片放大到原始尺寸，你会很清晰的看到一张张小照片，应该会比当时在ubuntu下的效果更好（这牵扯到一个马赛克效果实现的问题，待会在比较ubuntu和mac下类似软件时会提及）。</p>
<p>&nbsp;</p>
<p>最后，也就是我花了198大洋买的<a href="http://www.cfxsoftware.com/products/supportcfxphotomosaic.html">photomosaic</a>（可以先试用，我也是先试了才买的，试用版功能一模一样，除了保存的文件有一个巨大无比的DEMO水印外⋯⋯）。</p>
<p>这个软件的效果及速度（用缩略图的情况下⋯⋯）应该算是最好的（Mazaika我不知道，毕竟free版已经内置了图片，不确定lite速度如何），library不如MacOSaiX，不过也还说得过去（不过只能选一个source！），另外，还可以生成动画⋯⋯这个有必要吗⋯⋯</p>
<p>这个软件的马赛克和前面两款不同，它有很多预设选项可以使用（我还没仔细研究，只是大概看了一下现有预设，好像可以自定义来着），而且，它会根据色块的大小来放大或缩小马赛克的尺寸，以及进行适度的旋转（看着就好像自己用大头钉把照片拼起来一样，还不错），下面是效果图：<br />
<a href="http://www.flickr.com/photos/sheneyan/6952134786/in/photostream/"><img class="alignnone" title="photomosaic" src="http://sheneyan.com/blog/wp-content/uploads/2012/04/6952134786_6de6a379f5_z1.jpg" alt="photomosaic" width="640" height="426" /></a></p>
<p>从效果图可以看出照片大小的变化以及旋转，似乎还不错的样子吧。</p>
<p>说说不太喜欢的地方：</p>
<p>1 选择马赛克来源时最好用独立的缩略图目录，而不要选择你的原始照片目录（这点和MacOSaiX一样，不过MacOSaiX是因为图片尺寸太大可能导致崩溃），因为，photomosaic会把你的raw文件也当成照片来处理，后果就是它在解析的时候解析着解析着就在那不动了（也可能是因为图片太多太大，得需要很长时间）。</p>
<p>2 虽然说解析速度很快，但是它每次都要重新读取一次所有图片来生成效果，为什么不只读取一次呢？这块的时间如果节约下来，这个软件会更好。</p>
<p>哦，对了，忘记说，这三个软件都是英文版滴～～</p>
<p>&nbsp;</p>
<p>最后说一下它们仨和ubuntu下我用的<a title="Pixelize" href="http://lashwhip.com/pixelize.html" rel="external">pixelize</a>的区别（app store里也有这个软件，不过只是同名，功能完全不同），根据照片，可以发现生成的效果明显比当时用pixelize效果好很多，那是因为⋯⋯mac下的这三个软件其实还是有一个照片地图，然后上层覆盖了马赛克，并微调了马赛克照片的颜色，使得其看起来就像是照片拼起来的，其实不是～当然，软件还是会根据马赛克照片本身的明暗度进行筛选。</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2012/04/mosaic-for-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weekly tweets：2012-03-26</title>
		<link>http://sheneyan.com/blog/2012/03/weekly-tweets%ef%bc%9a2012-03-26/</link>
		<comments>http://sheneyan.com/blog/2012/03/weekly-tweets%ef%bc%9a2012-03-26/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 09:00:00 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/2012/03/weekly-tweets%ef%bc%9a2012-03-26/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>回厦 (@ 虹桥机场1号航站楼A10登机口) <a href="http://t.co/emMrhNHg" rel="nofollow">http://t.co/emMrhNHg</a> <a href="http://twitter.com/sheneyan/statuses/183156658023837696" class="aktt_tweet_time">#</a></li>
<li>厦门好热。。。。 (@ Xiamen Gaoqi Int‘l Airport &#124; XMN) <a href="http://t.co/a8p0immx" rel="nofollow">http://t.co/a8p0immx</a> <a href="http://twitter.com/sheneyan/statuses/183201381375684608" class="aktt_tweet_time">#</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>回厦 (@ 虹桥机场1号航站楼A10登机口) <a href="http://t.co/emMrhNHg" rel="nofollow">http://t.co/emMrhNHg</a> <a href="http://twitter.com/sheneyan/statuses/183156658023837696" class="aktt_tweet_time">#</a></li>
<li>厦门好热。。。。 (@ Xiamen Gaoqi Int‘l Airport | XMN) <a href="http://t.co/a8p0immx" rel="nofollow">http://t.co/a8p0immx</a> <a href="http://twitter.com/sheneyan/statuses/183201381375684608" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2012/03/weekly-tweets%ef%bc%9a2012-03-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weekly tweets：2012-03-12</title>
		<link>http://sheneyan.com/blog/2012/03/weekly-tweets%ef%bc%9a2012-03-12/</link>
		<comments>http://sheneyan.com/blog/2012/03/weekly-tweets%ef%bc%9a2012-03-12/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 09:00:00 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/2012/03/weekly-tweets%ef%bc%9a2012-03-12/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>Get Paradise Island for free on Android! <a href="http://t.co/gdwDYii6" rel="nofollow">http://t.co/gdwDYii6</a> #<a href="http://search.twitter.com/search?q=%23Android" class="aktt_hashtag">Android</a> #Androidgames! Join my friends! <a href="http://twitter.com/sheneyan/statuses/177802563926765568" class="aktt_tweet_time">#</a></li>
<li>I&#039;ve just received an achievement: Diligent <a href="http://t.co/gdwDYii6" rel="nofollow">http://t.co/gdwDYii6</a> #<a href="http://search.twitter.com/search?q=%23Android" class="aktt_hashtag">Android</a> #Androidgames <a href="http://twitter.com/sheneyan/statuses/178128072355217408" class="aktt_tweet_time">#</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>Get Paradise Island for free on Android! <a href="http://t.co/gdwDYii6" rel="nofollow">http://t.co/gdwDYii6</a> #<a href="http://search.twitter.com/search?q=%23Android" class="aktt_hashtag">Android</a> #Androidgames! Join my friends! <a href="http://twitter.com/sheneyan/statuses/177802563926765568" class="aktt_tweet_time">#</a></li>
<li>I&#039;ve just received an achievement: Diligent <a href="http://t.co/gdwDYii6" rel="nofollow">http://t.co/gdwDYii6</a> #<a href="http://search.twitter.com/search?q=%23Android" class="aktt_hashtag">Android</a> #Androidgames <a href="http://twitter.com/sheneyan/statuses/178128072355217408" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2012/03/weekly-tweets%ef%bc%9a2012-03-12/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>android短信导入软件athg2sms使用注意事项</title>
		<link>http://sheneyan.com/blog/2012/02/athg2sms-problem/</link>
		<comments>http://sheneyan.com/blog/2012/02/athg2sms-problem/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 06:33:48 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[日记]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[athg2sms]]></category>
		<category><![CDATA[i9220]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[短信]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/?p=2293</guid>
		<description><![CDATA[<p>很多人在从其他系统的手机转移到android的时候，碰到的第二个问题应该就是如何将以前攒了n年的短信复制到新的手机上（第一个问题一般是联系人的复制，嗯？root？刷机？那不关我的事，我想大部分秉持着拿来就用原则的手机用户来说，那是手机卖家应该考虑的问题……）。</p>
<p>查找后我们可以在安卓官方市场上找到这款手机短信导入软件（导出我想应该问题不太大，诺基亚有ovi套件、iphone上越不越狱都有各自的解决方案，黑莓的话好像会麻烦些，不过也有第三方的软件可以实现）：<a href="https://market.android.com/details?id=org.toilelibre.libe.athg2sms&#38;hl=en">athg2sms</a>（在度娘或google上也能找到独立的下载）。它可以做的事情就是如它的标题所称：anything to sms (csv,xm[......]</p><p class='read-more'><a href='http://sheneyan.com/blog/2012/02/athg2sms-problem/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>很多人在从其他系统的手机转移到android的时候，碰到的第二个问题应该就是如何将以前攒了n年的短信复制到新的手机上（第一个问题一般是联系人的复制，嗯？root？刷机？那不关我的事，我想大部分秉持着拿来就用原则的手机用户来说，那是手机卖家应该考虑的问题……）。</p>
<p>查找后我们可以在安卓官方市场上找到这款手机短信导入软件（导出我想应该问题不太大，诺基亚有ovi套件、iphone上越不越狱都有各自的解决方案，黑莓的话好像会麻烦些，不过也有第三方的软件可以实现）：<a href="https://market.android.com/details?id=org.toilelibre.libe.athg2sms&amp;hl=en">athg2sms</a>（在度娘或google上也能找到独立的下载）。它可以做的事情就是如它的标题所称：anything to sms (csv,xml,sql)。</p>
<p>听着似乎很酷是吧，只是用起来并不是那么美好。不过这个软件本身存在着非常多的问题或者说是不足，从某种角度来说，这个软件对windows用户的支持实在是有点低，对天朝用户的支持度实在是有点低，所以，对在天朝使用windows的用户来说，它并不是那么好用，甚至可以说是没法用（其实看软件官方网站上的回复也可以知道，各国人民都不大会用这个玩意儿）。</p>
<p>不扯了，先简单说一下程序的使用吧：</p>
<p>安装完成后，点击那个很丑的图标进入程序，会看到这个界面：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/capture_01.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="athg2sms_home"><img class="alignnone size-medium wp-image-2294" title="athg2sms_home" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/capture_01-187x300.png" alt="" width="187" height="300" /></a></p>
<p>红色框框标明的是修改匹配模板配置，蓝色框框是开始导入（请无视书法，下同）</p>
<p>2、先看看如何修改模板，点击那个大长按钮，进入下一个界面：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/capture_02.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="athg2sms_manage"><img class="alignnone size-medium wp-image-2295" title="athg2sms_manage" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/capture_02-187x300.png" alt="" width="187" height="300" /></a></p>
<p>上面列的两个是默认的配置好的模板，底下第一个按钮是添加个性化模板（这里会有问题，待会说）</p>
<p>3、ok，选择一个需要修改的模板，会看到：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/athg2sms_modify.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="athg2sms_modify"><img class="alignnone size-medium wp-image-2296" title="athg2sms_modify" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/athg2sms_modify-187x300.png" alt="" width="187" height="300" /></a></p>
<p>红色：你正在修改的模板，避免因为手指太粗等原因改错了模板</p>
<p>黄色：你收到的短信的模板，细节待会说</p>
<p>蓝色：你发出的短信的模板，细节待会说</p>
<p>紫色：修改</p>
<p>白色：删除（慎！虽然这软件修改添加模板有问题，但我不保证删除也有问题……）</p>
<p>棕色：取消……</p>
<p>在这里，你可以根据你导出的短信格式进行修改，我以nokia csv为例，它的inbox模板内容为：</p>
<p>sms;deliver;”$(address)”;”";”";”$(dateyyyy.MM.dd hh:mm)”;”";”$(body)”[\n]</p>
<p>而我的e72导出的inbox内容为：</p>
<p>“sms”,”READ,RECEIVED”,”+861302xxxxx85&#8243;,”",”",”2012.02.19 09:51&#8243;,”",”您好！您有一份包裹，因地址不详，无法派送；速电：xxxx-xxxx”</p>
<p>对比之后我们可以把模板修改为：</p>
<p>“sms”,”READ,RECEIVED”,”$(address)”,”",”",”$(dateyyyy.MM.dd hh:mm)”,”",”$(body)”[\n]</p>
<p>其中，$(address),$(date&#8230;.),$(body)是它的内置的匹配语法，我们可以直接拿来用，如果很悲催的你的导出格式很复杂，请看首页quick help里的帮助，或者问我也行（当然，问度娘怎么写正则表达式的话我觉得更好，你会多学会一门技术~~）</p>
<p>对了，我不知道是不是我的e72比较高级还是比较傻，还是nokia ovi套件的问题，e72的发送消息的格式比较奇葩：</p>
<p>“sms”,”SENT,READ”,”95566&#8243;,”136xxxxxxx5&#8243;,”",”2012.02.17 00:33&#8243;,”",”？”</p>
<p>它的第一个号码是我之前别的短信里的号码，它直接抠过来了……你导入的话可能会碰到点问题，这个待会和软件的问题解决方式一起说。</p>
<p>嗯，假设我们把inbox和sent都改成一样的语法，那就继续吧：</p>
<p>4、嗯，修改好了（或者不需要修改……），点击“begin conversion”：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/capture_04.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="capture_04"><img class="alignnone size-medium wp-image-2297" title="capture_04" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/capture_04-187x300.png" alt="" width="187" height="300" /></a></p>
<p>选choose选择csv文件，选择文件格式，然后点击start conversion now！</p>
<p>绝大部分情况下会出现下面这个界面：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/SC20120219-130040.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="athg2sms_error"><img class="alignnone size-medium wp-image-2298" title="athg2sms_error" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/SC20120219-130040-187x300.png" alt="" width="187" height="300" /></a></p>
<p>嗯，挂了……你会觉得奇怪，模板明明是对的，为啥会出错呢&#8230;</p>
<p>在列举错误及解决方案之前，建议装一个比较高级一点的，带<strong><span style="color: #ff0000;">正则表达式替换功能</span></strong>的编辑器，比如editplus，有xx版，如果不愿意xx，或者说不知道如何找xx，那直接装也行，反正你就用这么一次，是吧。其他的支持正则的编辑器还有notepad++（免费）、ultraedit（收费）、jedit（免费）。不过有些编辑器的正则语法可能不太一样（特指notepad++……），请自行选择。</p>
<p>下面会列举出可能出错的n个原因：</p>
<p>1、athg2sms有一个bug或者是我比较菜不会用，它在退出之后，你做的所有修改自动失效，包括你新增的模板……所以建议你在程序之外先编辑好，再复制进去……</p>
<p>下面是nokia csv的模板：</p>
<p>sms;deliver;”$(address)”;”";”";”$(dateyyyy.MM.dd hh:mm)”;”";”$(body)”[\n]<br />
sms;submit;”";”$(address)”;”";”";”$(dateyyyy.MM.dd hh:mm)”;”";”$(body)”[\n]</p>
<p>这两行是iphone csv的模板：</p>
<p>“Received”,”$(dateM/d/yy)”,”$(dateh:mm a)”,”$(address)”,”[^"]*”,”[^"]*”,”[^"]*”,”$(body)”,”[^"]*”[\n]<br />
“Sent”,”$(dateM/d/yy)”,”$(dateh:mm a)”,”$(address)”,”[^"]*”,”[^"]*”,”[^"]*”,”$(body)”,”[^"]*”[\n]</p>
<p>你在外部编辑器里修改完后再想办法黏贴进去~</p>
<p>为了方便起见，我把我的csv文件的格式改成了和它的模板一样，这里需要使用正则表达式替换，否则大量的短信息的修改会是个可怕的事情，下面是我进行替换写的语法：</p>
<p>a、先替换nokia sent消息中的号码问题（其他格式不知道会不会存在这种问题，请 自行研究）：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/editplue_replace_address.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="editplue_replace_address"><img class="alignnone size-medium wp-image-2299" title="editplue_replace_address" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/editplue_replace_address-300x140.png" alt="" width="300" height="140" /></a></p>
<p>Find what填写寻找的正则表达式，根据我的发送消息的格式：</p>
<p>“sms”,”SENT,READ”,”95533&#8243;,”13xxxxxx65&#8243;,”",”2012.02.24 00:08&#8243;,”",”&#8230;&#8230;..”</p>
<p>我用的语法是：<span style="color: #ff0000;"><strong>“SENT,READ”,”([^"]+)”,”([^"]+)”</strong></span></p>
<p>replace填写：<span style="color: #ff0000;"><strong>“SENT,READ”,”\2&#8243;,”"</strong></span></p>
<p>记得勾上Regular expression，然后就replace all（安全起见，先find一个看看语法是否正确，接着replace一个，看看是不是想要的结果，无错才replace all）</p>
<p>b、替换inbox语法：</p>
<p>find what：<span style="color: #ff0000;"><strong>“sms”,”READ,RECEIVED”</strong></span></p>
<p>replace：<span style="color: #ff0000;"><strong>sms,deliver</strong></span></p>
<p>c、替换sent语法：</p>
<p>find what：<span style="color: #ff0000;"><strong>“sms”,”SENT,READ”</strong></span></p>
<p>replace：<span style="color: #ff0000;"><strong>sms,submit</strong></span></p>
<p>d、替换分号（刚才其实可以一步完成，不过语法会略显复杂，从输入及正确性的角度考虑，这里用最简单的）：</p>
<p>find what：<span style="color: #ff0000;"><strong>,”</strong></span></p>
<p>replace：<span style="color: #ff0000;"><strong>;”</strong></span></p>
<p>经过这四步，你的csv的内容大概是这样：</p>
<p>(inbox)<span style="color: #ff0000;"><strong>sms;deliver;”13799xxxxx91&#8243;;”";”";”2011.07.08 23:23&#8243;;”";”好的，我安排”</strong></span></p>
<p>(sent)<span style="color: #ff0000;"><strong>sms;submit;”";”136xxxxx65&#8243;;”";”";”2012.02.17 00:33&#8243;;”";”？”</strong></span></p>
<p>保存好csv，扔手机上，再试试能不能导入</p>
<p>2、我上一步按照前面说的做了，格式也确定一模一样，可是还是出错，怎么回事？</p>
<p>答：因为作者的模板是针对linux或者是mac的，这两个操作系统的回车与windows下的并不相同，所以，作者的模板结尾处的[\n]会导致你的csv完全无法使用（如果你是mac的话，估计你也不会来看这篇文章了），解决方法有2个：</p>
<p>a、把模板结尾处的[\n]改为[\r\n]*</p>
<p>b、因为对该软件修改模板功能觉得很不靠谱，个人推荐第二种方式：在editplus里设定文件的格式：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/editplus_change_crlf.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="editplus_change_crlf"><img class="alignnone size-medium wp-image-2300" title="editplus_change_crlf" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/editplus_change_crlf-300x243.png" alt="" width="300" height="243" /></a></p>
<p>在菜单：Document(文档)-&gt;File Format(CR/LF)(文件格式&#8230;)-&gt;Change File Format(修改文件格式)（不同版本的editplus可能会在不同的菜单下，其他编辑器如notepad++、ultraedit也有类似选项），进入后出现界面：<a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/editplus_change_crlf_2.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="editplus_change_crlf_2"><img class="alignnone size-full wp-image-2301" title="editplus_change_crlf_2" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/editplus_change_crlf_2.png" alt="" width="349" height="136" /></a></p>
<p>我选择的是unix格式，mac应该也是一样（安全起见还是学我选unix吧……）。</p>
<p>修改完后保存即可。</p>
<p>3、导入成功，但是乱码：恭喜你，就要成功了！之所以出现这个问题，是因为你的csv文件保存成ansi编码或者其他iso8859-1之类的编码，而不是程序认识的utf-8编码，如果出现这个错误，你可以将文件进行另存：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/editplue_save_utf8.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="editplue_save_utf8"><img class="alignnone size-full wp-image-2302" title="editplue_save_utf8" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/editplue_save_utf8.png" alt="" width="626" height="573" /></a></p>
<p>在最底下的Encoding（编码）处，选择UTF-8，注意，不要选底下那个带BOM字样的。其他编辑器不一定是保存时设定，可能是在菜单中选择。</p>
<p>做完这几步修改后应该就可以正常导入短信了：</p>
<p><a href="http://sheneyan.com/blog/wp-content/uploads/2012/02/SC20120219-131206.png" rel="lightbox[2293]" rel="shadowbox[sbpost-2293];player=img;" title="SC20120219-131206"><img class="alignnone size-medium wp-image-2303" title="SC20120219-131206" src="http://sheneyan.com/blog/wp-content/uploads/2012/02/SC20120219-131206-187x300.png" alt="" width="187" height="300" /></a></p>
<p>导入后可以看到显示正常。</p>
<p>呃，最后还有一件事儿要说一下：导入的短信全部是未读状态……后来有找到一款名为“重置未读短信”的软件，重置了一下，总算不用再一条条看过去了（下载地址：http://www.apkok.com/soft/7_1745.html）</p>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2012/02/athg2sms-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>draftcraft和wordpress for ipad 试用</title>
		<link>http://sheneyan.com/blog/2012/01/draftcraft%e5%92%8cwordpress-for-ipad-%e8%af%95%e7%94%a8/</link>
		<comments>http://sheneyan.com/blog/2012/01/draftcraft%e5%92%8cwordpress-for-ipad-%e8%af%95%e7%94%a8/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 03:05:10 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[iPad draftcraft wordpress]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/?p=2291</guid>
		<description><![CDATA[<p><html><body>
<p>这是我用draftcraft这个ipad软件写的一个测试文章，之前测试了很久一直无法使用，在看了<a href="http://www.lionshuang.com/wordpress-for-ipad客户端的xml-rpc问题.html">梁爽的文章</a>之后才发现问题居然在于draftcraft不支持gzip！！wordpress for ipad也是一个样的德性。。</p>
<p>测试了draftcraft和wordpress for ipad之后，得出的结论是：这俩玩意儿只适合随手写写感受啥的，想象以前那样写稍微复杂点的界面那是一个复杂的工作，还不如直接在web上写来的舒服。	</p>
<p><i>来自 连结 <a href="http://www.draftcraftapp.com">DraftCraft app</a></i></p>
<p></body></html></p>]]></description>
			<content:encoded><![CDATA[<p><html><body>
<p>这是我用draftcraft这个ipad软件写的一个测试文章，之前测试了很久一直无法使用，在看了<a href="http://www.lionshuang.com/wordpress-for-ipad客户端的xml-rpc问题.html">梁爽的文章</a>之后才发现问题居然在于draftcraft不支持gzip！！wordpress for ipad也是一个样的德性。。</p>
<p>测试了draftcraft和wordpress for ipad之后，得出的结论是：这俩玩意儿只适合随手写写感受啥的，想象以前那样写稍微复杂点的界面那是一个复杂的工作，还不如直接在web上写来的舒服。	</p>
<p><i>来自 连结 <a href="http://www.draftcraftapp.com">DraftCraft app</a></i></p>
<p></body></html></p>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2012/01/draftcraft%e5%92%8cwordpress-for-ipad-%e8%af%95%e7%94%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weekly tweets：2011-12-26</title>
		<link>http://sheneyan.com/blog/2011/12/weekly-tweets%ef%bc%9a2011-12-26/</link>
		<comments>http://sheneyan.com/blog/2011/12/weekly-tweets%ef%bc%9a2011-12-26/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 09:00:00 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/2011/12/weekly-tweets%ef%bc%9a2011-12-26/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>冒个泡。。。好久没上了。。 <a href="http://twitter.com/sheneyan/statuses/150737835794763777" class="aktt_tweet_time">#</a></li>
<li>RT @<a href="http://twitter.com/lihlii" class="aktt_username">lihlii</a>: RT @<a href="http://twitter.com/ashaw" class="aktt_username">ashaw</a>: 讀〈適應數位 才能生存〉：瑞士政府調查發現，三分之一民眾從網路上下載非經授權的音樂、電影、遊戲。瑞士政府決定維持「個人用途」的非經授權下載的合法性。無獨有偶，荷蘭政府的研究報告也發現，檔案分享有助於提振經濟。&#34; <a href="http://twitter.com/sheneyan/statuses/150740558682394624" class="aktt_tweet_time">#</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>冒个泡。。。好久没上了。。 <a href="http://twitter.com/sheneyan/statuses/150737835794763777" class="aktt_tweet_time">#</a></li>
<li>RT @<a href="http://twitter.com/lihlii" class="aktt_username">lihlii</a>: RT @<a href="http://twitter.com/ashaw" class="aktt_username">ashaw</a>: 讀〈適應數位 才能生存〉：瑞士政府調查發現，三分之一民眾從網路上下載非經授權的音樂、電影、遊戲。瑞士政府決定維持「個人用途」的非經授權下載的合法性。無獨有偶，荷蘭政府的研究報告也發現，檔案分享有助於提振經濟。&quot; <a href="http://twitter.com/sheneyan/statuses/150740558682394624" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2011/12/weekly-tweets%ef%bc%9a2011-12-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weekly tweets：2011-12-26</title>
		<link>http://sheneyan.com/blog/2011/12/weekly-tweets%ef%bc%9a2011-12-26-2/</link>
		<comments>http://sheneyan.com/blog/2011/12/weekly-tweets%ef%bc%9a2011-12-26-2/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 09:00:00 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/2011/12/weekly-tweets%ef%bc%9a2011-12-26-2/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>冒个泡。。。好久没上了。。 <a href="http://twitter.com/sheneyan/statuses/150737835794763777" class="aktt_tweet_time">#</a></li>
<li>RT @<a href="http://twitter.com/lihlii" class="aktt_username">lihlii</a>: RT @<a href="http://twitter.com/ashaw" class="aktt_username">ashaw</a>: 讀〈適應數位 才能生存〉：瑞士政府調查發現，三分之一民眾從網路上下載非經授權的音樂、電影、遊戲。瑞士政府決定維持「個人用途」的非經授權下載的合法性。無獨有偶，荷蘭政府的研究報告也發現，檔案分享有助於提振經濟。&#34; <a href="http://twitter.com/sheneyan/statuses/150740558682394624" class="aktt_tweet_time">#</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>冒个泡。。。好久没上了。。 <a href="http://twitter.com/sheneyan/statuses/150737835794763777" class="aktt_tweet_time">#</a></li>
<li>RT @<a href="http://twitter.com/lihlii" class="aktt_username">lihlii</a>: RT @<a href="http://twitter.com/ashaw" class="aktt_username">ashaw</a>: 讀〈適應數位 才能生存〉：瑞士政府調查發現，三分之一民眾從網路上下載非經授權的音樂、電影、遊戲。瑞士政府決定維持「個人用途」的非經授權下載的合法性。無獨有偶，荷蘭政府的研究報告也發現，檔案分享有助於提振經濟。&quot; <a href="http://twitter.com/sheneyan/statuses/150740558682394624" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2011/12/weekly-tweets%ef%bc%9a2011-12-26-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weekly tweets：2011-03-28</title>
		<link>http://sheneyan.com/blog/2011/03/weekly-tweets%ef%bc%9a2011-03-28/</link>
		<comments>http://sheneyan.com/blog/2011/03/weekly-tweets%ef%bc%9a2011-03-28/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 09:00:00 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[日记]]></category>
		<category><![CDATA[tweet]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/2011/03/weekly-tweets%ef%bc%9a2011-03-28/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li><a href="http://amzn.com/k/JPITJVZSE77M" rel="nofollow">http://amzn.com/k/JPITJVZSE77M</a> #<a href="http://search.twitter.com/search?q=%23Kindle" class="aktt_hashtag">Kindle</a> <a href="http://twitter.com/sheneyan/statuses/50081231018262528" class="aktt_tweet_time">#</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li><a href="http://amzn.com/k/JPITJVZSE77M" rel="nofollow">http://amzn.com/k/JPITJVZSE77M</a> #<a href="http://search.twitter.com/search?q=%23Kindle" class="aktt_hashtag">Kindle</a> <a href="http://twitter.com/sheneyan/statuses/50081231018262528" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2011/03/weekly-tweets%ef%bc%9a2011-03-28/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

