<?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>子叶：子乌的叶子</title>
	<atom:link href="http://sheneyan.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://sheneyan.com/blog</link>
	<description>指穷于为薪，火传也，不知其尽也。---《养生主》</description>
	<lastBuildDate>Sun, 19 Feb 2012 06:48:29 +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>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-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-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-03-28</title>
		<link>http://sheneyan.com/blog/2011/03/weekly-tweets%ef%bc%9a2011-03-28-2/</link>
		<comments>http://sheneyan.com/blog/2011/03/weekly-tweets%ef%bc%9a2011-03-28-2/#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-2/</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-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>
		<item>
		<title>weekly tweets：2011-02-28</title>
		<link>http://sheneyan.com/blog/2011/02/weekly-tweets%ef%bc%9a2011-02-28-2/</link>
		<comments>http://sheneyan.com/blog/2011/02/weekly-tweets%ef%bc%9a2011-02-28-2/#comments</comments>
		<pubDate>Mon, 28 Feb 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/02/weekly-tweets%ef%bc%9a2011-02-28-2/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li><a href="http://amzn.com/k/2SL3ZKPLA26G3" rel="nofollow">http://amzn.com/k/2SL3ZKPLA26G3</a> #<a href="http://search.twitter.com/search?q=%23Kindle" class="aktt_hashtag">Kindle</a> <a href="http://twitter.com/sheneyan/statuses/41468438362857474" class="aktt_tweet_time">#</a></li>
<li><a href="http://amzn.com/k/2SZD092D5Q2GY" rel="nofollow">http://amzn.com/k/2SZD092D5Q2GY</a> #<a href="http://search.twitter.com/search?q=%23Kindle" class="aktt_hashtag">Kindle</a> <a href="http://twitter.com/sheneyan/statuses/41694575840067585" class="aktt_tweet_time">#</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li><a href="http://amzn.com/k/2SL3ZKPLA26G3" rel="nofollow">http://amzn.com/k/2SL3ZKPLA26G3</a> #<a href="http://search.twitter.com/search?q=%23Kindle" class="aktt_hashtag">Kindle</a> <a href="http://twitter.com/sheneyan/statuses/41468438362857474" class="aktt_tweet_time">#</a></li>
<li><a href="http://amzn.com/k/2SZD092D5Q2GY" rel="nofollow">http://amzn.com/k/2SZD092D5Q2GY</a> #<a href="http://search.twitter.com/search?q=%23Kindle" class="aktt_hashtag">Kindle</a> <a href="http://twitter.com/sheneyan/statuses/41694575840067585" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2011/02/weekly-tweets%ef%bc%9a2011-02-28-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weekly tweets：2011-02-21</title>
		<link>http://sheneyan.com/blog/2011/02/weekly-tweets%ef%bc%9a2011-02-21/</link>
		<comments>http://sheneyan.com/blog/2011/02/weekly-tweets%ef%bc%9a2011-02-21/#comments</comments>
		<pubDate>Mon, 21 Feb 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/02/weekly-tweets%ef%bc%9a2011-02-21/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>百年千書，雖然現在書(epub)還不是很多，不過值得期待：http://wp.1000ebooks.tw <a href="http://twitter.com/sheneyan/statuses/38535145199767552" class="aktt_tweet_time">#</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>百年千書，雖然現在書(epub)還不是很多，不過值得期待：http://wp.1000ebooks.tw <a href="http://twitter.com/sheneyan/statuses/38535145199767552" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2011/02/weekly-tweets%ef%bc%9a2011-02-21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>『子乌书简』的建立及更新日志</title>
		<link>http://sheneyan.com/blog/2011/01/logs-for-my-books-site/</link>
		<comments>http://sheneyan.com/blog/2011/01/logs-for-my-books-site/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 06:30:27 +0000</pubDate>
		<dc:creator>子乌</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[日记]]></category>
		<category><![CDATA[calibre]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[读书]]></category>

		<guid isPermaLink="false">http://sheneyan.com/blog/?p=2228</guid>
		<description><![CDATA[<h4>建站缘由</h4>
<p>建立子站<a href="http://book.zi5.me" title="子乌书简">子乌书简</a>的原意只是为了方便自己利用kindle自带的3G网络下载自己收集的电子书并与友人共享，所以最开始只是利用了<a href="http://calibre-ebook.com/">电子书收藏软件Calibre</a>和<a href="wiki.mobileread.com/wiki/Calibre2opds">Calibre的html化插件Calibre2Opds</a>在<a href="https://www.dropbox.com">云存储服务Dropbox</a>上建立了一个静态网站。</p>
<p>但是在用了一两天之后发现一个问题：静态网站无法提供搜索服务，当书籍的数量达到一定量级时，寻找需要的书就会变成一个比较吃力的事情，尤其是在我们河蟹的帝国，dropbox这种庸俗的服务是不允许直接使用的，需要一定的技术手段才能达到目标，但是也并不太方便，速度上也有一定影响。</p>
<p>好吧，如果我没好奇地去看一下calibre真实使用的数据库结构[......]</p><p class='read-more'><a href='http://sheneyan.com/blog/2011/01/logs-for-my-books-site/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<h4>建站缘由</h4>
<p>建立子站<a href="http://book.zi5.me" title="子乌书简">子乌书简</a>的原意只是为了方便自己利用kindle自带的3G网络下载自己收集的电子书并与友人共享，所以最开始只是利用了<a href="http://calibre-ebook.com/">电子书收藏软件Calibre</a>和<a href="wiki.mobileread.com/wiki/Calibre2opds">Calibre的html化插件Calibre2Opds</a>在<a href="https://www.dropbox.com">云存储服务Dropbox</a>上建立了一个静态网站。</p>
<p>但是在用了一两天之后发现一个问题：静态网站无法提供搜索服务，当书籍的数量达到一定量级时，寻找需要的书就会变成一个比较吃力的事情，尤其是在我们河蟹的帝国，dropbox这种庸俗的服务是不允许直接使用的，需要一定的技术手段才能达到目标，但是也并不太方便，速度上也有一定影响。</p>
<p>好吧，如果我没好奇地去看一下calibre真实使用的数据库结构的话，我可能会使用另外一种方式来实现我自己的搜索：那就是所谓的小偷程序，我得把<strong>我自己</strong>的网站的内容偷到<strong>我自己</strong>的另一个网站上去……</p>
<p>在研究calibre2opds的实现方式时，发现它读取的数据库是sqlite，好了，接下来一切都简单了，我按照calibre2opds建立网站的大概结构建立了<a href="http://book.zi5.me/">子乌书简</a>，即<a href="http://book.zi5.me/">book.zi5.me</a>。</p>
<p>对我来说，现在更新书籍的工作很简单，找到我想看的书，导入到calibre中，转换出所需的类型，利用calibre内置引擎到豆瓣或别的地方更新一下相关的元数据（标题、作者、系列、封面、简介等），然后接下来就交给dropbox去搞定了。当dropbox数据提交完毕后，网站会自动从dropbox下载数据库到本地，而书籍封面、电子书文件都还存放在dropbox上，我的站只是作为我放在dropobx上的电子书和伟大帝国屁民之间的桥梁而已。</p>
<p>介绍完毕。</p>
<h4>建站日志</h4>
<ul>
<li>1、2011-2-20，dropbox再次提示流量超限-_-，再改一次看看是不是数据库的原因；2、修改了在线阅读时书籍内部超链接可能出错的bug(目前的修正方法还是不太满意，做个标记，以后有机会看看能否完善)；</li>
<li>2011-2-16，顺手实现字母排序查询～～；</li>
<li>2011-2-8，dropbox提示我流量超限，把我的public目录给suspend了……为此修改了书籍下载的方式；</li>
<li style='color:red;'>2011-1-25，增加epub格式在线阅读功能（简单快捷键：左、右、回车）；</li>
<li>2011-1-23，显示豆瓣评分（因为速度原因，暂时只在详细页面显示，并隐藏评价数小于10人的书籍评分）；</li>
<li>2011-1-22，将排序列表完全放出；</li>
<li>2011-1-22，完成功能：pdf格式文件直接通过邮件发送到kindle上（可选择是否需要转换为azw格式）</li>
<li>2011-1-21，完成rss功能；</li>
<li>2011-1-20，修改了多作者的书籍无法在kindle下载的问题；</li>
<li><del>2011-1-xx，实现浏览数和下载数统计（独立数据库）</del>(因为下载的实现做了修改，下载统计暂时停止，有空再改)</li>
<li>2011-1-xx，修改了mobi格式书籍无法在kindle下载的问题；</li>
</ul>
<h4>待完成功能</h4>
<ul>
<li>考虑加入豆瓣id登录进行评论（顺便实现底下的报告功能）(2011-2-16:考虑实现豆瓣的收藏、已读、评论、笔记功能)；</li>
<li>考虑实现单ip限制下载功能（比如单ip10秒内只能下载一本书籍，稍微降低一点对dropbox的影响）</li>
<li>提交自制电子书/提交想看的电子书(可能放弃)；</li>
<li>放出tag功能（需要整理现有书籍的tag）；</li>
<li>(已完成)<del>考虑是否实现打分功能或支持从豆瓣采集相关的分数；</del></li>
<li>考虑实现错误报告（文件无法下载、文件无法打开、文件格式不好看，等等等等）；</li>
<li>系列的优化（实现一书多系列）；</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2011/01/logs-for-my-books-site/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>weekly tweets：2011-01-17</title>
		<link>http://sheneyan.com/blog/2011/01/weekly-tweets%ef%bc%9a2011-01-17/</link>
		<comments>http://sheneyan.com/blog/2011/01/weekly-tweets%ef%bc%9a2011-01-17/#comments</comments>
		<pubDate>Mon, 17 Jan 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/01/weekly-tweets%ef%bc%9a2011-01-17/</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>calibre+calibre2opds+dropbox=在线个人书库 如果再加上php和sqlite，那就是一个可供查询的在线书库了~~ <a href="http://twitter.com/sheneyan/statuses/25388493261770752" class="aktt_tweet_time">#</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>calibre+calibre2opds+dropbox=在线个人书库 如果再加上php和sqlite，那就是一个可供查询的在线书库了~~ <a href="http://twitter.com/sheneyan/statuses/25388493261770752" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sheneyan.com/blog/2011/01/weekly-tweets%ef%bc%9a2011-01-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

