<?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://www.afei.name/feed" rel="self" type="application/rss+xml" />
	<link>http://www.afei.name</link>
	<description>Blog of Mad Charlie</description>
	<lastBuildDate>Thu, 22 Jul 2010 17:12:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>麦兜提示音三则</title>
		<link>http://www.afei.name/archives/359</link>
		<comments>http://www.afei.name/archives/359#comments</comments>
		<pubDate>Thu, 22 Jul 2010 17:09:54 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=359</guid>
		<description><![CDATA[一个西瓜 吃橙,拉屎,速食面 好莱坞,三个老太学踢毽]]></description>
		<wfw:commentRss>http://www.afei.name/archives/359/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://www.afei.name/wp-content/uploads/2010/07/haolaiwu.mp3" length="347451" type="audio/mpeg" />
<enclosure url="http://www.afei.name/wp-content/uploads/2010/07/lashi.mp3" length="363334" type="audio/mpeg" />
<enclosure url="http://www.afei.name/wp-content/uploads/2010/07/xigua.mp3" length="1683667" type="audio/mpeg" />
		</item>
		<item>
		<title>偷天换日插曲《Money》</title>
		<link>http://www.afei.name/archives/357</link>
		<comments>http://www.afei.name/archives/357#comments</comments>
		<pubDate>Sun, 11 Jul 2010 17:34:54 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=357</guid>
		<description><![CDATA[]]></description>
		<wfw:commentRss>http://www.afei.name/archives/357/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>麦兜铃声: 我蹲下起来就头晕</title>
		<link>http://www.afei.name/archives/349</link>
		<comments>http://www.afei.name/archives/349#comments</comments>
		<pubDate>Fri, 09 Jul 2010 05:13:25 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=349</guid>
		<description><![CDATA[麦兜响当当里面, 麦太在做广告的时候唱的那首歌, 喜欢的朋友down回去当铃声啦. 我蹲下起来就头晕下载]]></description>
		<wfw:commentRss>http://www.afei.name/archives/349/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.afei.name/wp-content/uploads/2010/07/touyun.mp3" length="634171" type="audio/mpeg" />
		</item>
		<item>
		<title>敏捷开发：从外到内，自上而下</title>
		<link>http://www.afei.name/archives/314</link>
		<comments>http://www.afei.name/archives/314#comments</comments>
		<pubDate>Tue, 25 May 2010 16:10:31 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=314</guid>
		<description><![CDATA[传统的系统开发, 首先确定数据库结构, 然后是核心数据处理, 调用, 模型建立, 最后才是模板, 界面的设计. 今天想尝试一种新方法, 从外到内, 自上而下. 受启发于敏捷开发中的测试单元. 界面体现了我们最终想实现的样子, 有哪些数据需要被展示, 调用计算. 模板决定了这些数据在以后的二次开发中希望怎样被调用. 相信完成这两个步骤以后, 对框架的结构和数据库的结构也就明了了.]]></description>
		<wfw:commentRss>http://www.afei.name/archives/314/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>短歌行</title>
		<link>http://www.afei.name/duan-ge-xing</link>
		<comments>http://www.afei.name/duan-ge-xing#comments</comments>
		<pubDate>Thu, 13 May 2010 05:40:28 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=311</guid>
		<description><![CDATA[对酒当歌，人生几何？ 譬如朝露，去日苦多。 慨当以慷，忧思难忘。 何以解忧，唯有杜康。 青青子衿，悠悠我心。 但为君故，沉吟至今。 呦呦鹿鸣，食野之苹。 我有嘉宾，鼓瑟吹笙。 明明如月，何时可掇。 忧从中来，不可断绝。 越陌度阡，枉用相存。 契阔谈宴，心念旧恩。 月明星稀，乌鹊南飞。 绕树三匝，何枝可依？ 山不厌高，海不厌深。 周公吐哺，天下归心。]]></description>
		<wfw:commentRss>http://www.afei.name/duan-ge-xing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>更新, 直接Edit Permalink的Custom-Permalinks 插件</title>
		<link>http://www.afei.name/diy-custom-permalink.html</link>
		<comments>http://www.afei.name/diy-custom-permalink.html#comments</comments>
		<pubDate>Wed, 05 May 2010 07:00:12 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Code Memory]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Custom-Permalinks]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=304</guid>
		<description><![CDATA[很多人一定都使用了Custom-Permalinks这个WordPress插件. 它可以自定义你的博客URL. 但是有个比较别扭的地方, 就是在Post中,Custom Permalink的制定是放在表单最下面的, 使用起来很不方便. 我经常一不小心就想要点击Title下面的Change permalinks, 而实际上这个链接是指向系统设置页面的. 我修改了一下这个插件, 现在使得Post中修改Permalink就像在Page页面中一样, 直接Edit就可以(替换了原来的&#8217;Change Permalinks&#8217;按钮).     点击下载更新后的custom-permalinks插件]]></description>
		<wfw:commentRss>http://www.afei.name/diy-custom-permalink.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用404.php重写wordpress的URL, 导致分页URL出错的终极解决方案</title>
		<link>http://www.afei.name/archives/293</link>
		<comments>http://www.afei.name/archives/293#comments</comments>
		<pubDate>Fri, 23 Apr 2010 19:21:13 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Code Memory]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=293</guid>
		<description><![CDATA[如题, 当使用404.php重写URL的时候, 会导致文章分页的URL混乱. 网上盛传的解决方法是修改wp-setting.php文件. 但是存在一个问题, wordpress版本更新很快, 每次更新版本后, wp-setting.php文件都会自动更新, 从而导致修改被覆盖. 而且每次修改wp-setting.php很麻烦, 另外, 修改后发现中文slug的文章category页面显示不正常了. 最后反复研究url的问题, 得出终极解决方案: 只需要更新你的404.php, 一劳永逸, 而且中文url打不开的问题也一并解决了!!! 不多废话, 贴出代码: &#60; ?php $qs = $_SERVER&#91;'QUERY_STRING'&#93;; &#160; $qsu = mb_convert_encoding&#40;&#34;$qs&#34;,&#34;UTF-8&#34;,&#34;UTF-8&#34;&#41;; &#160; $_SERVER&#91;'REQUEST_URI'&#93; = substr&#40;$qsu, strpos&#40;$qsu, ':80'&#41;+3&#41;; &#160; if&#40;strpos&#40;$_SERVER&#91;'REQUEST_URI'&#93;,'?'&#41;&#62;0&#41; &#123; $_SERVER&#91;'SCRIPT_NAME'&#93; = $_SERVER&#91;'ORIG_PATH_INFO'&#93; = substr&#40;$_SERVER&#91;'REQUEST_URI'&#93;, 0, strpos&#40;$_SERVER&#91;'REQUEST_URI'&#93;, '?'&#41;&#41;; $_SERVER&#91;'QUERY_STRING'&#93; = substr&#40;$_SERVER&#91;'REQUEST_URI'&#93;, strpos&#40;$_SERVER&#91;'REQUEST_URI'&#93;, '?'&#41; + 1&#41;; &#125; else &#123; [...]]]></description>
		<wfw:commentRss>http://www.afei.name/archives/293/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>转移wordpress数据库后不能添加文章的一次查错</title>
		<link>http://www.afei.name/archives/290</link>
		<comments>http://www.afei.name/archives/290#comments</comments>
		<pubDate>Fri, 23 Apr 2010 03:42:52 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Code Memory]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=290</guid>
		<description><![CDATA[前几日转移了一个wordpress博客, 用phpadmin导出了数据库, 然后在新的数据库服务器上执行sql导入数据库. 重新安装wordpress后, 一切正常. 但隔日发现无法发布文章, 也无法上传图片. 3389服务器, 通过调试php文件, 逐级die测试, 最终把错误锚定在posts表的insert语句执行上. 执行以后wpdb产生一个隐藏的错误 Field &#8216;post_mime_type&#8217; doesn&#8217;t have a default value 打开数据库后发现, post_mime_type本应有一个&#8221;默认值的, 现在却没有了. 同时发现该表的其他若干字段的默认值也丢失了. 修改默认值后, 问题解决. 对于默认值的丢失是导出数据库时设置不当, 还是phpadmin或mysql本身的问题, 目前还在查找中. 贴出此文, 希望对遇到同类问题的朋友有所帮助.]]></description>
		<wfw:commentRss>http://www.afei.name/archives/290/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>猫尸</title>
		<link>http://www.afei.name/archives/284</link>
		<comments>http://www.afei.name/archives/284#comments</comments>
		<pubDate>Wed, 14 Apr 2010 08:03:43 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[一枚糖果]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=284</guid>
		<description><![CDATA[　　 她的名字叫猫，猫给人的感觉永远是妩媚、慵懒。这只猫却只有后者，蓬乱的头发用蝴蝶结头绳随意绑在脑后。 　　 她没念过什么书，初中以后就辍学，学习成绩一般，长的一般，眼睛修长狭窄，有点浮肿。完成了九年义务教育，认识字，会说hellobyebyethankyou。 　　 姐姐名字是春兰，打电话到家里来的时候正是家里搞双抢的时候，皮肤晒得黝黑，整日眺望山的另一端，不知道那里的世界是怎样。 　　 “那你过来吧，反正姐也是干这个，别跟妈说，实在问起来，就说去厂里打工。” 　　 妈给了猫一叠钱，不过是一块跟五块组成的，嘱咐很多次，要小心，想回来就回来，别太辛苦，要注意身体。 　　 进城的公共汽车很破，猫的心里是十分愉快的。 　　 坐火车时，猫很紧张，火车就像会活动的房子，看着窗外黑漆漆的山和路，肚子也不觉得饿。靠站的时候可以看到星星点点的灯光，越发显得寂寞，怎么还没到。 　　 下火车，姐跟姐夫在出站口望眼欲穿，姐夫是个送矿泉水的工人，力气活，姐是在皇宫酒店当按摩女郎，当然是正规的那种，她自己说的，也是力气活。 　　 猫也进了皇宫，交了一千块押金，培训后上岗，几个姐妹都是新来的，叽叽喳喳笑成一团。 　　 第一个客人是个胖子，猫使出浑身解数，客人还是不满意，最后抬头问道，你怎么这么笨，怎么让我舒服都不知道。 　　 猫疑惑的看着他。 　　 胖子肚脐上有黑色的毛，坐起来脱下裤子，对着猫说道，亲这里。 　　 猫夺门而去，后来胖子给了一百块的钟点费，小费没有，因为按摩按的手腕直发抖，还是亏了九百块，押金不退，被客人投诉，如果第二次就直接走人。 　　 猫跟姐告别，“我会尽快还钱给你，我不要赚不干不净的钱。” 　　 这个世界有肮脏的角落，也有干净的大道。猫到了一个普通的按摩馆，光明、亮堂的包厢，很多女客人都来，但每钟只有三十块，皇宫酒店是一百块，如果帮客人打飞机是三百，做爱是九百。毕竟是酒店。 　　 姐有时候打电话过来，“缺钱吗，缺钱就回来？” 　　 猫笑道，“下个月可以还你钱了，这里很好。” 　　 老板很喜欢猫，勤快又能讨好。 　　 猫开始发胖，还了春兰的九百块以后，自己存了一点钱往老家寄。后来客人渐渐少了，因为是旅游区，所以一到冬季，就得挨饿，有时候也去周围的酒店帮忙，五五分成。 　　 猫第一次帮糖果按摩的时候说道，“哎呀，你好瘦啊。” 　　 糖果躺着笑，“是吗，那你就赚了的。” 　　 “你是什么职业呢，这么晚了还来按摩？”猫十分好奇，糖果的眼圈乌黑，好像个色情狂模样。 　　 “我啊，跟你一样，靠手吃饭的人。”糖果疲惫道，“头，重点部位就是头，头痛。” 　　 一边聊着，猫十分喜欢糖果这样的客人，时间容易打发，但出手并不大方。 　　每个月的十二号，糖果都要过来找猫按摩，一般都很准时，老板对糖果道，“你还是要猫？” 　　“嗯，她态度十分好，技术也很好。”糖果躺在按摩床上看天花板，天花板漏水了，用纸糊着，象一个脸的轮廓。 　　 猫来了，糖果闭上眼睛。十二号是发工资的日子，也是身上的大姨妈接近的日子，腰酸背痛的。 　　 大家聊着，糖果有时候会睡着，猫的手指十分有劲，特别是按腰，糖果有时候觉得这是比XX更爽的一件事。 　　 [...]]]></description>
		<wfw:commentRss>http://www.afei.name/archives/284/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>godaddy的SSL域名证书在firefox上报错的问题解决</title>
		<link>http://www.afei.name/godaddy-sec_error_unknown_issuer</link>
		<comments>http://www.afei.name/godaddy-sec_error_unknown_issuer#comments</comments>
		<pubDate>Mon, 15 Mar 2010 06:34:33 +0000</pubDate>
		<dc:creator>阿飞</dc:creator>
				<category><![CDATA[Code Memory]]></category>
		<category><![CDATA[Diary]]></category>
		<category><![CDATA[godaddy]]></category>

		<guid isPermaLink="false">http://www.afei.name/?p=271</guid>
		<description><![CDATA[win2003+IIS6的服务器购买了godaddy的SSL域名证书, 使用一直没有发现问题. 后来发现在firefox通过https访问网站的时候, 跳出一个警告提示sec_error_unknown_issuer. 在百度多次无果后, 最后在google上找到一篇老外Eric Duncan写的解决方案: http://eduncan911.com/blog/getting-godaddy-ssls-working-in-firefox-on-iis.aspx 这里大概得讲一下解决途径. 造成这个错误是因为我们购买的是godaddy的三级证书, 查看域名可以发现, 证书是由顶级的 Go Daddy Class 2 CA 颁发给Go Daddy Secure Certification Authority, 再由此机构颁发给客户网站PandaPhone的.     在IE中,上面的两个证书机构都是默认为可信证书机构的, 而firefox浏览器的信任列表中却没有第二个Go Daddy Secure Certification Authority. 因此, 需要从godaddy的网站上下载这个中间证书安装到服务器上. 这里是godaddy的全部中间证书下载地址: https://certs.godaddy.com/anonymous/repository.seam 按照Eric的提示, 应该下载的是Go Daddy PKCS7 Certificate Intermediates Bundle (for Windows IIS) 下载好以后的是一个.p7b 的证书文件, 导入到mmc的证书可信证书中就可以了.(既然读者找到这篇文章, 一定已经设置过了IIS的证书, 这个中间证书的导入方式和导入客户证书的方式是一样的, 再次不再赘述, 可以参考老外Eric的图片原文). 导入完证书以后, 要记得iisreset, 重启一下IIS. [...]]]></description>
		<wfw:commentRss>http://www.afei.name/godaddy-sec_error_unknown_issuer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
