<?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"
	>

<channel>
	<title>World of My Own</title>
	<atom:link href="http://niye.name/feed" rel="self" type="application/rss+xml" />
	<link>http://niye.name</link>
	<description>分享观点，记录生活</description>
	<pubDate>Mon, 13 Oct 2008 11:08:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>我靠，这到底是怎么回事！</title>
		<link>http://niye.name/archives/926</link>
		<comments>http://niye.name/archives/926#comments</comments>
		<pubDate>Mon, 13 Oct 2008 11:06:44 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[University]]></category>

		<category><![CDATA[南京大学]]></category>

		<category><![CDATA[食堂]]></category>

		<guid isPermaLink="false">http://niye.name/?p=926</guid>
		<description><![CDATA[今天下午突然发现机房可以下BT和迅雷，虽然被限了速但也能稳定在100k/s左右。上课前挂的《李米的猜想》，五点下课一看居然已经完成了，有点喜出望外。又上了会儿网，到六点多看天色已晚... ]]></description>
			<content:encoded><![CDATA[<p>今天下午突然发现机房可以下BT和迅雷，虽然被限了速但也能稳定在100k/s左右。上课前挂的《李米的猜想》，五点下课一看居然已经完成了，有点喜出望外。又上了会儿网，到六点多看天色已晚就骑车去吃饭了。</p>
<p>到了食堂肚子已经呱呱叫，来到一个窗前点了鸡肫和腐竹。正当我要走的时候，卖饭的MM笑道，“送你一个菜吧，要不要？”还没等我缓过神来，就端了碗西红柿鸡蛋放我盘子里。</p>
<p>我@#&amp;^)(&lt;&gt;:&#8221;*！有过困惑的时候，但没有过这么困惑的，已经不是<a href="http://niye.name/archives/909" target="_blank">第一次</a>了。请各位分析一下，这到底是怎么回事？</p>
<p>今天是Nova小朋友的生日。生日快乐，就这样开心幸福地和我将就一辈子吧。</p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/909" title="今晚去食堂吃饭 (2008年9月15日)">今晚去食堂吃饭</a></li>
	<li><a href="http://niye.name/archives/876" title="开学前要了结的一些事 (2008年8月6日)">开学前要了结的一些事</a></li>
	<li><a href="http://niye.name/archives/819" title="小百合趣帖一则 (2008年5月9日)">小百合趣帖一则</a></li>
	<li><a href="http://niye.name/archives/585" title="充话费兑了优盘和电影票 (2007年10月15日)">充话费兑了优盘和电影票</a></li>
	<li><a href="http://niye.name/archives/587" title="保研面试了，紧张 (2007年10月6日)">保研面试了，紧张</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/926/feed</wfw:commentRss>
		</item>
		<item>
		<title>小样儿，看我抓不住你</title>
		<link>http://niye.name/archives/925</link>
		<comments>http://niye.name/archives/925#comments</comments>
		<pubDate>Sat, 11 Oct 2008 16:48:25 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[Leisure]]></category>

		<category><![CDATA[实况]]></category>

		<category><![CDATA[游戏]]></category>

		<category><![CDATA[足球]]></category>

		<guid isPermaLink="false">http://niye.name/?p=925</guid>
		<description><![CDATA[饿虎扑食的结果往往很奇怪，闲了大半场的莱曼看到球的下场就是这样。

附赠阿尔维斯无间道一粒。还害托马森来了个狗吃屎，你缺德不。


	相关日志
	
	我的实况进球第二波
	我的实况进球... ]]></description>
			<content:encoded><![CDATA[<p>饿虎扑食的结果往往很奇怪，闲了大半场的莱曼看到球的下场就是这样。</p>
<p><img src="http://www.interbbs.org/bbs/album//6002/20081012_bba1d0b202ee1a7f348b9zxbeAM1LOQl.gif" alt="" width="240" height="200" /></p>
<p>附赠阿尔维斯无间道一粒。还害托马森来了个狗吃屎，你缺德不。</p>
<p><img src="http://www.interbbs.org/bbs/album//6002/20081012_d50b873ff3b20999b559NXYuaeHvrBVO.gif" alt="" width="239" height="200" /></p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/887" title="我的实况进球第二波 (2008年8月10日)">我的实况进球第二波</a></li>
	<li><a href="http://niye.name/archives/889" title="我的实况进球第三波 (2008年8月11日)">我的实况进球第三波</a></li>
	<li><a href="http://niye.name/archives/878" title="我的实况进球第一波 (2008年8月8日)">我的实况进球第一波</a></li>
	<li><a href="http://niye.name/archives/912" title="儒尼尼奥小角度任意球 (2008年9月21日)">儒尼尼奥小角度任意球</a></li>
	<li><a href="http://niye.name/archives/918" title="飞碟！卡西利亚斯他看见了！ (2008年9月27日)">飞碟！卡西利亚斯他看见了！</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/925/feed</wfw:commentRss>
		</item>
		<item>
		<title>采用新的防Spam方法</title>
		<link>http://niye.name/archives/924</link>
		<comments>http://niye.name/archives/924#comments</comments>
		<pubDate>Fri, 10 Oct 2008 17:00:43 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[IT]]></category>

		<category><![CDATA[sk2]]></category>

		<category><![CDATA[spam]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[垃圾评论]]></category>

		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://niye.name/?p=924</guid>
		<description><![CDATA[前阶段在一些朋友的建议下，去掉了日志评论的验证码。说老实话，这也是我一直想做的，可无奈这又是抵御Spam最好的方法。而后，安装上Spam Karma 2，也是目前最好的防垃圾评论插件，几天下... ]]></description>
			<content:encoded><![CDATA[<p>前阶段在一些朋友的建议下，去掉了日志评论的验证码。说老实话，这也是我一直想做的，可无奈这又是抵御Spam最好的方法。而后，安装上Spam Karma 2，也是目前最好的防垃圾评论插件，几天下来效果还不错。</p>
<p>问题是，我发现他的功能过于强大，受宠若惊；此外，还会自己加三个表，记录Spam、logs还有很多特征信息。长此以往数据库会变得奇大无比，对于以后的升级、搬家都会有麻烦。我感觉这就是sk2的尴尬，过小的站点用不上如此强大的功能，而大的站点则会因为存的Spam过多，数据库过大而放弃。</p>
<p>这种类型的插件基本不可信任，只能自己寻找办法了。从<a href="http://www.faceker.com/200809/block-wordpress-spam-comment-diy.html" target="_blank">自己动手阻止 WordPress 垃圾评论</a>这篇日志得到启发，因为Spam的原理是找到页面里的textarea就会自动去填，我便伪造了个隐藏的，如果有内容，那肯定是Spam无疑。但这样做并不保险，如果Spam使用xml-rpc的方法发布的话，就无法防御了。对于wordpress的这部分，我并不了解，只是推测。</p>
<p>尝试一天后，发现两条Spam。对我来讲，国内的人肉Spam还不会关注我这样的站点，99%的垃圾评论都是国外机器友人自动发布的，于是便添加了评论审核。<span style="color: #ff0000;">对于没有任何中文字符的评论，将不能通过，请留言的朋友们注意了。</span>但这应该也只会影响到少数纯英语或纯表情的朋友，谁会留个言一个中国字没呢？</p>
<p>实现方法很简单，在wp-comments-post.php文件里加入下面两行即可。但改动wordpress源代码的行为对于以后的升级肯定是不利的，可以考虑做成插件。目前太简单，先看看效果吧。</p>

<div class="wp_syntax"><div class="code"><pre class="php php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="">'/[\x80-\xff]./'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$comment_content</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
  wp_die<span style="color: #009900;">&#40;</span><span style="">'Sorry, comment without a single Chinese character cannot be accpeted!'</span><span style="color: #009900;">&#41;</span>;</pre></div></div>


	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/868" title="wordpress反垃圾评论插件使用心得 (2008年7月10日)">wordpress反垃圾评论插件使用心得</a></li>
	<li><a href="http://niye.name/archives/863" title="更换博客主题 (2008年7月4日)">更换博客主题</a></li>
	<li><a href="http://niye.name/archives/802" title="搬家至此 (2008年2月27日)">搬家至此</a></li>
	<li><a href="http://niye.name/archives/583" title="我经常使用的几个Firefox插件 (2007年10月19日)">我经常使用的几个Firefox插件</a></li>
	<li><a href="http://niye.name/archives/843" title="在Wordpress中使用Gravatar (2008年5月23日)">在Wordpress中使用Gravatar</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/924/feed</wfw:commentRss>
		</item>
		<item>
		<title>今天是我的生日，吼吼！</title>
		<link>http://niye.name/archives/919</link>
		<comments>http://niye.name/archives/919#comments</comments>
		<pubDate>Wed, 08 Oct 2008 17:00:08 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[生日]]></category>

		<category><![CDATA[音乐]]></category>

		<guid isPermaLink="false">http://niye.name/?p=919</guid>
		<description><![CDATA[这么多大牌歌星抢在我生日前后发片



9月29日
10月6日
10月9日
10月13日









还有这么多影星争着出镜



10月03日
10月03日
10月09日
10月10日









Avril开演唱会，周杰伦发专辑，满足了。
得知... ]]></description>
			<content:encoded><![CDATA[<p>这么多大牌歌星抢在我生日前后发片</p>
<table border="1">
<tbody>
<tr>
<td style="text-align: center;">9月29日</td>
<td style="text-align: center;">10月6日</td>
<td style="text-align: center;">10月9日</td>
<td style="text-align: center;">10月13日</td>
</tr>
<tr>
<td><a href="http://www.douban.com/subject/3191891/" target="_blank"><img src="http://otho.douban.com/mpic/s3268317.jpg" alt="Ode to J. Smith" /></a></td>
<td><a href="http://www.douban.com/subject/3142759/" target="_blank"><img src="http://otho.douban.com/mpic/s3176831.jpg" alt="Dig Out Your Soul" /></a></td>
<td><a href="http://www.douban.com/subject/3222423/?i=3" target="_blank"><img src="http://otho.douban.com/mpic/s3274720.jpg" alt="魔杰座" /></a></td>
<td><a href="http://www.douban.com/subject/3173583/?i=8" target="_blank"><img src="http://otho.douban.com/mpic/s3245267.jpg" alt="" /></a></td>
</tr>
</tbody>
</table>
<p>还有这么多影星争着出镜</p>
<table border="1">
<tbody>
<tr>
<td style="text-align: center;">10月03日</td>
<td style="text-align: center;">10月03日</td>
<td style="text-align: center;">10月09日</td>
<td style="text-align: center;">10月10日</td>
</tr>
<tr>
<td><a href="http://www.douban.com/subject/2132430/"><img src="http://otho.douban.com/mpic/s3080861.jpg" alt="Kirsten Dunst" width="99" height="148" /></a></td>
<td><a href="http://www.douban.com/subject/1949315/" target="_blank"><img src="http://otho.douban.com/mpic/s3124538.jpg" alt="Robert De Niro" width="99" height="148" /></a></td>
<td><a href="http://www.douban.com/subject/1945336/" target="_blank"><img src="http://otho.douban.com/mpic/s3106743.jpg" alt="大片上映国内" width="99" height="148" /></a></td>
<td><a href="http://www.douban.com/subject/2091015/" target="_blank"><img src="http://otho.douban.com/mpic/s3236199.jpg" alt="Leonardo DiCaprio" width="97" height="151" /></a></td>
</tr>
</tbody>
</table>
<p>Avril开演唱会，周杰伦发专辑，满足了。</p>
<p>得知余光中先生将于今天下午在南京图书馆新馆做主题演讲<a href="http://www.douban.com/event/10297539/" target="_blank">《当中文遇见英文》</a>，而我却由于临时补课不能聆听，真是遗憾万分。</p>
<p>10月9日是John Lennon的生日，是Nicky Byrne的生日，还有布鲁查加、维杜卡。</p>
<p>当然，10月9日也是我的生日，到婚龄了。</p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/594" title="重回故地 (2007年9月9日)">重回故地</a></li>
	<li><a href="http://niye.name/archives/772" title="胡言乱语 (2006年4月14日)">胡言乱语</a></li>
	<li><a href="http://niye.name/archives/721" title="流水 (2006年10月10日)">流水</a></li>
	<li><a href="http://niye.name/archives/565" title="桃子同学生日快乐！ (2007年11月29日)">桃子同学生日快乐！</a></li>
	<li><a href="http://niye.name/archives/632" title="我们的演唱会 (2007年5月13日)">我们的演唱会</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/919/feed</wfw:commentRss>
		</item>
		<item>
		<title>生活，我所期望的在哪里</title>
		<link>http://niye.name/archives/923</link>
		<comments>http://niye.name/archives/923#comments</comments>
		<pubDate>Tue, 07 Oct 2008 14:05:05 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[思考]]></category>

		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://niye.name/?p=923</guid>
		<description><![CDATA[
生活究竟应该是什么样的？一年前的厦门之行让我感触万千，发出了这样的叹息。一年多后的国庆，我又面临同样的困惑。
大概是对目前的生活状态过于失望，大概是对于自己能力判断过高，... ]]></description>
			<content:encoded><![CDATA[<p><img src="http://node2.foto.ycstatic.com/200810/07/2/27092018.jpg" alt="" /></p>
<p><a href="http://niye.name/archives/597" target="_blank">生活究竟应该是什么样的</a>？一年前的厦门之行让我感触万千，发出了这样的叹息。一年多后的国庆，我又面临同样的困惑。</p>
<p>大概是对目前的生活状态过于失望，大概是对于自己能力判断过高，大概是对于未来期望过于美好，我总是纠结在一次次的美丽愿望和紧跟着的失望中。如果说本科四年给我上的最大一课是什么，我肯定不假思索的回答：“人和人是不能比的”。</p>
<p>几个星期前在网上看到一个叫做<a href="http://photooftheday.hughcrawford.com/" target="_blank">Hugh Crawford</a>的摄影师，从出生那天起每天一张照片，直到离开。上面就是我出生那天他拍到的，巧合的是，帽子上写着我的名字（当然其实是纽约扬基）。我不知道照片里的人是谁，在什么情况下被拍进去的，看到这个网站我想到的是，有些人，他们敢于做自己想做的事，能让自己开心的事，而我，没有这个勇气。</p>
<p>生活大抵就是如此，甜蜜的童话故事过后终究会回到现实。我想到了无间道，刘健明在扎根警署一次次展现自己才华过后，痛苦的发现自己永远变不了梦想成为的那个角色。而我，现在做的恐怕就是把两者统一吧。</p>
<p>黑夜难眠。</p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/597" title="生活究竟应该是什么样的？ (2007年8月31日)">生活究竟应该是什么样的？</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/923/feed</wfw:commentRss>
		</item>
		<item>
		<title>Avril上海演唱会</title>
		<link>http://niye.name/archives/922</link>
		<comments>http://niye.name/archives/922#comments</comments>
		<pubDate>Sat, 04 Oct 2008 15:43:39 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[Leisure]]></category>

		<category><![CDATA[avril]]></category>

		<category><![CDATA[演唱会]]></category>

		<category><![CDATA[音乐]]></category>

		<guid isPermaLink="false">http://niye.name/?p=922</guid>
		<description><![CDATA[
从去年等到今年的Avril演唱会终于成行，上次是在遥远的旗忠网球中心，这次是在八万人，相距很远想必气氛也是必然。
整场演唱会除去舞台后方及旁边的看台，上座率乐观估计就两三成左右... ]]></description>
			<content:encoded><![CDATA[<p><img src="http://fleet1.footbig.com/957/m/8a/fe/8afe2b755e4e5cbf9b1a40c606d48c62-9342.jpg" alt="null" width="500" /></p>
<p>从去年等到今年的Avril演唱会终于成行，上次是在遥远的旗忠网球中心，这次是在八万人，相距很远想必气氛也是必然。</p>
<p>整场演唱会除去舞台后方及旁边的看台，上座率乐观估计就两三成左右，感觉放万体馆也是足够了。尽管有所预计，但还是没想到会如此惨淡。我想恐怕是Avril被去年的火热冲昏了头脑，以为中国人真的会如此的热衷于一个外国歌手到国庆黄金周跑来看演唱会的地步。</p>
<p>相比之下<a href="http://niye.name/archives/750" target="_blank">06年的Westlife</a>就精明了很多，气氛也不是一般的好。歌迷群体看来，Avril是80、90后通吃，主流非主流并存，而Westlife的观众则基本偏向我们这样的20多了，也都是喜欢多年下来的。</p>
<p>有了上次的经验，这次买黄牛小心很多。黄牛似乎修成正果，都是进场付钱了。1300的东亚大酒店贵宾票卖300吓得我不敢买，确认假票无疑，虽然买票的一口咬定坐下来再给钱，还是不敢。最后500一张的内场五折成交，我算是满足了，毕竟可以连着开场完整看。联系上座率，再加上八万人，早就对票价有底，不会再像Westlife那么紧张的，毕竟万体馆太小。Nova小朋友过了两道验票，确认无误我才在外面付钱。进场后我发现其实看不看已经无所谓了，因为能安全进来我就兴奋的不行。</p>
<p>歌曲方面，可以看<a href="http://www.avrilchina.com.cn/thread-20940-1-1.html" target="_blank">这里</a>。基本是以去年的专辑为主，我喜欢的很多都没唱，比如Mobile、Anything But Ordinary。令我惊讶的是，观众能跟着唱全场的居然有好多，这点比周杰伦、Westlife都强，虽然对我来讲都不是问题。最遗憾的是Deryck没来，In Too Deep只能和乐队的吉他手一起，Sum 41的歌看来大部分观众都没听过，我反而最High。听完Sk8r Boi，知道没有安可，直接闪人，避开了人流高峰。</p>
<p>在我的农历生日收到这样一个礼物，满足了。至于七十分钟的时间，其实国外歌手演唱会都差不多这个长度，不像国内动不动就两个小时。相信她以后不会来了，我也不会再看了。可如果Westlife再来，继续奉陪。其他就静候众英伦乐队了，没解散之前国家什么局的赶快给个机会吧。</p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/623" title="Avril上海演唱会日期确定 (2007年6月9日)">Avril上海演唱会日期确定</a></li>
	<li><a href="http://niye.name/archives/646" title="下到Avril的新专辑啦 (2007年4月8日)">下到Avril的新专辑啦</a></li>
	<li><a href="http://niye.name/archives/759" title="Westlife上海演唱会延期 (2006年5月26日)">Westlife上海演唱会延期</a></li>
	<li><a href="http://niye.name/archives/750" title="Westlife Shanghai Concert (2006年6月26日)">Westlife Shanghai Concert</a></li>
	<li><a href="http://niye.name/archives/875" title="Travis演唱会，张震岳捧场 (2008年8月5日)">Travis演唱会，张震岳捧场</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/922/feed</wfw:commentRss>
		</item>
		<item>
		<title>操蛋的米兰德比</title>
		<link>http://niye.name/archives/921</link>
		<comments>http://niye.name/archives/921#comments</comments>
		<pubDate>Sun, 28 Sep 2008 20:33:39 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[Inter]]></category>

		<category><![CDATA[AC米兰]]></category>

		<category><![CDATA[国际米兰]]></category>

		<category><![CDATA[德比]]></category>

		<category><![CDATA[足球]]></category>

		<guid isPermaLink="false">http://niye.name/?p=921</guid>
		<description><![CDATA[
我原来以为米兰只要上了马尔蒂尼，我们就肯定赢；
现在发现其实夸雷斯马才是真正的幻影。
我原来以为布尔迪索是定时炸弹；
现在发现其实他是个准时炸弹。
我原来以为打米兰只有靠冲击... ]]></description>
			<content:encoded><![CDATA[<p><img src="http://i2.sinaimg.cn/ty/g/p/2008-09-29/U1489P6T12D3980289F44DT20080929034008.jpg" alt="" width="512" height="374" /></p>
<p>我原来以为米兰只要上了马尔蒂尼，我们就肯定赢；<br />
现在发现其实夸雷斯马才是真正的幻影。<br />
我原来以为布尔迪索是定时炸弹；<br />
现在发现其实他是个准时炸弹。<br />
我原来以为打米兰只有靠冲击打法；<br />
现在发现其实米兰也能这么赢我们。<br />
我原来以为意甲没有比米兰更娘们的球队了，<br />
现在发现其实我们也差不多。<br />
我原来以为05年的冠军杯后，德比就不会那么火爆了，<br />
现在发现其实动作一大了还真收不住。<br />
我原来以为没有比米兰更恶心的球队了<br />
现在发现还真是那么回事。</p>
<p>说正事，输的没话说。战略失误，阵型还需讨论。虽然对方进球越位，但结果争议不大，权当为以后的发展积攒经验。</p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/818" title="Milan 2-1 Inter (2008年5月4日)">Milan 2-1 Inter</a></li>
	<li><a href="http://niye.name/archives/658" title="INTER 2-1 MILAN (2007年3月12日)">INTER 2-1 MILAN</a></li>
	<li><a href="http://niye.name/archives/559" title="最爽的事情莫过于此 (2007年12月24日)">最爽的事情莫过于此</a></li>
	<li><a href="http://niye.name/archives/629" title="不辩自明 (2007年5月26日)">不辩自明</a></li>
	<li><a href="http://niye.name/archives/574" title="Juventus 1-1 Inter (2007年11月5日)">Juventus 1-1 Inter</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/921/feed</wfw:commentRss>
		</item>
		<item>
		<title>最强悍的东大信封</title>
		<link>http://niye.name/archives/920</link>
		<comments>http://niye.name/archives/920#comments</comments>
		<pubDate>Sun, 28 Sep 2008 15:25:34 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[University]]></category>

		<category><![CDATA[东南大学]]></category>

		<category><![CDATA[信封]]></category>

		<category><![CDATA[照片]]></category>

		<guid isPermaLink="false">http://niye.name/?p=920</guid>
		<description><![CDATA[
要说这也是我对福建唯一反感的地方了，一电视台叫什么不好，非不以省名命名，中国大概不多。东南这个词在历史上从来没专指过福建，不然柳永的“东南形胜，三吴都会，钱塘自古繁华”... ]]></description>
			<content:encoded><![CDATA[<p><img style="border: 0pt none;" src="http://fleet1.footbig.com/957/m/95/0f/950fe7ab4c940340f91095eb53af4838-2919.jpg" border="0" alt="" width="500" /></p>
<p>要说这也是我对福建唯一反感的地方了，一电视台叫什么不好，非不以省名命名，中国大概不多。东南这个词在历史上从来没专指过福建，不然柳永的“<span id="reply_content_38761574">东南形胜，三吴都会，钱塘自古繁华</span>”也白写了。</p>
<p>不过话说回来，自己不争气也怨不得别人，内因总是主要的。东南学府第一流，今天在哪里？</p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/849" title="毕业照万岁 (2008年6月2日)">毕业照万岁</a></li>
	<li><a href="http://niye.name/archives/856" title="毕业拍照之本部 (2008年6月14日)">毕业拍照之本部</a></li>
	<li><a href="http://niye.name/archives/692" title="冬晨的东大 (2006年12月21日)">冬晨的东大</a></li>
	<li><a href="http://niye.name/archives/857" title="再见了，东南大学 (2008年6月19日)">再见了，东南大学</a></li>
	<li><a href="http://niye.name/archives/915" title="9.22东大藏族群殴流血事件 (2008年9月24日)">9.22东大藏族群殴流血事件</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/920/feed</wfw:commentRss>
		</item>
		<item>
		<title>飞碟！卡西利亚斯他看见了！</title>
		<link>http://niye.name/archives/918</link>
		<comments>http://niye.name/archives/918#comments</comments>
		<pubDate>Fri, 26 Sep 2008 16:16:10 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[Leisure]]></category>

		<category><![CDATA[实况]]></category>

		<category><![CDATA[游戏]]></category>

		<guid isPermaLink="false">http://niye.name/?p=918</guid>
		<description><![CDATA[这样的进球真是无奈，球弹得实在高，可计算它出界这样的失误电脑不可能犯啊。


	相关日志
	
	我的实况进球第二波
	我的实况进球第三波
	我的实况进球第一波
	小样儿，看我抓不住你
	儒尼... ]]></description>
			<content:encoded><![CDATA[<p>这样的进球真是无奈，球弹得实在高，可计算它出界这样的失误电脑不可能犯啊。</p>
<p><img src="http://www.interbbs.org/bbs/album//4235/20080927_8bb0c1482e5923632f19qjQA4rTBrrth.gif" alt="" /></p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/887" title="我的实况进球第二波 (2008年8月10日)">我的实况进球第二波</a></li>
	<li><a href="http://niye.name/archives/889" title="我的实况进球第三波 (2008年8月11日)">我的实况进球第三波</a></li>
	<li><a href="http://niye.name/archives/878" title="我的实况进球第一波 (2008年8月8日)">我的实况进球第一波</a></li>
	<li><a href="http://niye.name/archives/925" title="小样儿，看我抓不住你 (2008年10月12日)">小样儿，看我抓不住你</a></li>
	<li><a href="http://niye.name/archives/912" title="儒尼尼奥小角度任意球 (2008年9月21日)">儒尼尼奥小角度任意球</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/918/feed</wfw:commentRss>
		</item>
		<item>
		<title>Servlet Confusion 1 — 相对和绝对路径</title>
		<link>http://niye.name/archives/916</link>
		<comments>http://niye.name/archives/916#comments</comments>
		<pubDate>Fri, 26 Sep 2008 09:11:08 +0000</pubDate>
		<dc:creator>NickyYe</dc:creator>
		
		<category><![CDATA[IT]]></category>

		<category><![CDATA[J2EE]]></category>

		<category><![CDATA[Servlet]]></category>

		<guid isPermaLink="false">http://niye.name/?p=916</guid>
		<description><![CDATA[相对*.do，绝对/*.do。

DD（web.xml）文件中的url-pattern只能绝对路径，即/*.do，根地址为应用目录。


&#60;form action=&#8221;" &#62;中的路径一般写相对，即为DD文件中定义的servlet-mapping的url-pattern。例如... ]]></description>
			<content:encoded><![CDATA[<p>相对*.do，绝对/*.do。</p>
<ul>
<li>DD（web.xml）文件中的url-pattern只能绝对路径，即/*.do，根地址为应用目录。</li>
</ul>
<ul>
<li>&lt;form action=&#8221;" &gt;中的路径一般写相对，即为DD文件中定义的servlet-mapping的url-pattern。例如DD中&lt;url-pattern&gt;/proName&lt;/url-pattern&gt;，action=&#8221;proName&#8221;。若action要写绝对地址，则必须从服务器根写起，因为container是从server开始分析的。例如action=&#8221;/webapp/proName&#8221;。</li>
</ul>
<ul>
<li>HttpServletResponse.sendRedirect(String)</li>
<p>参数可以指定为相对路径、绝对路径或其它WebURL。</p>
<p>假设通过http://localhost/myApp/cool/bar.do请求到达该方法所属的Servlet。</p>
<p>相对路径：response.sendRedirect(&#8221;foo/stuff.do&#8221;)。容器相对于原来请求URL的目录加参数来生成完整的URL—http://localhost/myApp/cool/foo/stuff.do。</p>
<p>绝对路径：response.sendRedirect(&#8221;/foo/stuff.do&#8221;)。容器相对于Web应用本身加参数建立完整的URL—http://localhost/foo/stuff.do。</p>
<p>其它Web应用：response.sendRedirect(&#8221;http://niye.name)。容器直接定向到该URL。</ul>
<ul>
<li>HttpServletRequest.getRequestDispatcher(String)</li>
<p>参数可以指定为相对路径或绝对路径。</p>
<p>相对路径情况下生成的完整URL与sendRedirect方法相同。</p>
<p>绝对路径与重定向不同，容器将相对于Web应用的根目录加参数生成完整的URL，即：request.getRequestDispatcher(&#8221;/foo/stuff.do&#8221;)生成的URL是http://localhost/myApp/foo/stuff.do。</ul>
<p>先写这么多，其他基本类似。</p>

	<h4>相关日志</h4>
	<ul class="st-related-posts">
	<li><a href="http://niye.name/archives/727" title="天亮了 (2006年9月20日)">天亮了</a></li>
	<li><a href="http://niye.name/archives/702" title="从J2EE谈到EJB技术的缺陷 (2006年12月3日)">从J2EE谈到EJB技术的缺陷</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://niye.name/archives/916/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
