<?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>陈.XP</title>
	<atom:link href="http://chenxp.com/feed" rel="self" type="application/rss+xml" />
	<link>http://chenxp.com</link>
	<description>陈 Experience WordPress 博客</description>
	<pubDate>Tue, 08 Jul 2008 15:04:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>ScribeFire插件发贴测试</title>
		<link>http://chenxp.com/p80</link>
		<comments>http://chenxp.com/p80#comments</comments>
		<pubDate>Tue, 08 Jul 2008 15:04:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[随笔]]></category>

		<guid isPermaLink="false">http://chenxp.com/p80</guid>
		<description><![CDATA[哈哈firefox发贴... ]]></description>
			<content:encoded><![CDATA[<p class='fp'>哈哈<br />firefox发贴</p>
</p>]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p80/feed</wfw:commentRss>
		</item>
		<item>
		<title>测试发贴</title>
		<link>http://chenxp.com/p79</link>
		<comments>http://chenxp.com/p79#comments</comments>
		<pubDate>Fri, 04 Jul 2008 16:35:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[随笔]]></category>

		<guid isPermaLink="false">http://chenxp.com/p79</guid>
		<description><![CDATA[呵呵，用firefox插件发贴，哈... ]]></description>
			<content:encoded><![CDATA[<p class='fp'>呵呵，用firefox插件发贴，哈</p>
</p>]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p79/feed</wfw:commentRss>
		</item>
		<item>
		<title>用OpenID直接登录发表文章</title>
		<link>http://chenxp.com/p74</link>
		<comments>http://chenxp.com/p74#comments</comments>
		<pubDate>Sat, 31 May 2008 03:59:12 +0000</pubDate>
		<dc:creator>Alex Chen</dc:creator>
		
		<category><![CDATA[随笔]]></category>

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

		<guid isPermaLink="false">http://chenxp.com/?p=74</guid>
		<description><![CDATA[不用密码，用OpenID直接登录后，现身份是“投稿者”
没有“发表”，只有“提请审阅”，管理员通过后才能显示
发表篇文章试试... ]]></description>
			<content:encoded><![CDATA[<p class='fp'>不用密码，用OpenID直接登录后，现身份是“投稿者”</p>
<p>没有“发表”，只有“提请审阅”，管理员通过后才能显示</p>
<p>发表篇文章试试</p>
</p>]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p74/feed</wfw:commentRss>
		</item>
		<item>
		<title>网站启用OpenID功能，方便多了</title>
		<link>http://chenxp.com/p73</link>
		<comments>http://chenxp.com/p73#comments</comments>
		<pubDate>Sat, 31 May 2008 03:49:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[随笔]]></category>

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

		<guid isPermaLink="false">http://chenxp.com/?p=73</guid>
		<description><![CDATA[用的自己的域名，但现还是通过第三方
phpMyID安装失败
先这样吧
现在发表评论留言时不用每次输入姓名邮箱还要填网址了
像我，只要在OpenID处填chenxp.com，一切搞定
还可以直接用OpenID以“投稿... ]]></description>
			<content:encoded><![CDATA[<p class='fp'>用的自己的域名，但现还是通过第三方<br />
phpMyID安装失败<br />
先这样吧<br />
现在发表评论留言时不用每次输入姓名邮箱还要填网址了<br />
像我，只要在OpenID处填chenxp.com，一切搞定</p>
<p>还可以直接用OpenID以“投稿者”的身份登录网站发表文章<br />
不过得通过我的“审阅”后才会公开显示<br />
呵呵</p>
</p>]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p73/feed</wfw:commentRss>
		</item>
		<item>
		<title>还是放弃网络电视吧</title>
		<link>http://chenxp.com/p72</link>
		<comments>http://chenxp.com/p72#comments</comments>
		<pubDate>Fri, 30 May 2008 17:07:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[随笔]]></category>

		<guid isPermaLink="false">http://chenxp.com/?p=72</guid>
		<description><![CDATA[不单独强调了
把最下面版块留给医学... ]]></description>
			<content:encoded><![CDATA[<p class='fp'>不单独强调了<br />
把最下面版块留给医学</p>
</p>]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p72/feed</wfw:commentRss>
		</item>
		<item>
		<title>不用插件自制 WordPress 倒序留言簿</title>
		<link>http://chenxp.com/p71</link>
		<comments>http://chenxp.com/p71#comments</comments>
		<pubDate>Fri, 30 May 2008 13:04:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[修改]]></category>

		<category><![CDATA[留言板]]></category>

		<category><![CDATA[页面]]></category>

		<guid isPermaLink="false">http://chenxp.com/?p=71</guid>
		<description><![CDATA[转载fisio的“不用插件自制 WordPress 倒序留言簿”，这应该是经典之集大成者，呵呵
这篇文章是我修改 留言页面 的一个总结分享，可以生成一个倒序显示的留言簿，而且输入框在评论列表上方... ]]></description>
			<content:encoded><![CDATA[<p class='fp'>转载<a href="http://fisio.cn/">fisio</a>的“<a href="http://fisio.cn/wordpress-guestbook-without-plugins.html">不用插件自制 WordPress 倒序留言簿</a>”，这应该是经典之集大成者，呵呵</p>
<p>这篇文章是我修改 留言页面 的一个总结分享，可以生成一个倒序显示的留言簿，而且输入框在评论列表上方。概要如下：建立 一个页面模板和一个评论模板，让前者 指定 后者，修改 评论模板里面的数据读取方式，如果有评论编号的话也要 倒序 一下，最后 调整 一下布局让评论输入框位于评论列表的上方。</p>
<p>建立一个独立的页面模板<br />
通常文章的评论是顺序显示的，所以我们需要另建立一个倒序页面模板给留言簿。当然如果有遏制沙发党的需要也可以全站用这个方法 把主题的根目录下的 single.php 或 page.php (须有评论功能) 复制重命名为 guestbook.php, 把 comments.php 复制重命名为 gbcomments.php, 名称可以自定。在 guestbook.php 的开头加入：</p>
<p>&lt;?php /* Template Name: 留言簿 */ ?&gt;</p>
<p><!--p /* Template Name: 留言簿 */--></p>
<p>然后在它的末尾找到如下代码，另外指定一下评论调用：</p>
<p><!--p comments_template();-->&lt;?php comments_template(); ?&gt;</p>
<p> //替换成：<br />
&lt;?php comments_template(<span style="color: #bb6f02;"><strong>&#8216;/gbcomments.php&#8217;</strong></span>); ?&gt;</p>
<p>新建留言簿页面<br />
新建页面的时候选择页面模板 (Page Template) 为“留言簿”，这样它就具有了单独的页面和评论结构，供下面的步骤调试用。页面内容可以是留言簿说明。</p>
<p>修改 gbcomments.php 里面的评论顺序<br />
也很简单，只需要在文件中替换一处代码：</p>
<p><!--p foreach ($comments as $comment) :-->&lt;?php foreach ($comments as $comment) : ?&gt;<br />
//替换成：<br />
&lt;?php foreach (<span style="color: #bb6f02;"><strong>array_reverse(</strong></span>$comments<span style="color: #bb6f02;"><strong>)</strong></span> as $comment) : ?&gt;</p>
<p>如果有评论编号，也需要改<br />
如果代码没写错的话，现在评论应该倒过来排了噢。但是还有个问题，不少模板的评论是带有编号的，编号还没有倒过来。有点程序基础的朋友不用想也知道，原始代码是定义了一个初始为 0 的变量 $iCommentCount (名字可能不同), 自增一次输出一次，循环就好了：</p>
<p>$iCommentCount = 0;<br />
//&#8230;<br />
&lt;?php $iCommentCount++; echo($iCommentCount); ?&gt;<br />
<!--p $iCommentCount++; echo($iCommentCount);--></p>
<p>需要改成初始值为评论总数，输出一次自减一次，循环：</p>
<p><span style="font-family: Courier New;">$iCommentCount = <span style="color: #bb6f02;"><strong>get_comments_number()</strong></span>;<br />
//&#8230;<br />
&lt;?php echo($iCommentCount); <span style="color: #bb6f02;"><strong>$iCommentCount&#8211;</strong></span>; ?&gt;</span></p>
<p>把评论输入框搬到评论列表的上方<br />
好了，到这里基本上就改完了，最后这个步骤要看具体模板结构，看着改改就好，出错了大不了重来，而且调试的部分是独立的，不会影响到正常访问。</p>
<p>这样一个留言簿就做好了，比我以前用的 cbox 那可是好太多了 而且最新留言也会出现在普通文章的评论一起，头像什么的更是不在话下。这个功能如果有插件能实现，估计也没有自己改好吧，主题关联度太大了。</p>
</p>]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p71/feed</wfw:commentRss>
		</item>
		<item>
		<title>关闭“图像分享”版块</title>
		<link>http://chenxp.com/p70</link>
		<comments>http://chenxp.com/p70#comments</comments>
		<pubDate>Fri, 30 May 2008 10:31:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[随笔]]></category>

		<guid isPermaLink="false">http://chenxp.com/?p=70</guid>
		<description><![CDATA[关闭“图像分享”版块
http://chenxp.com/photo/index.php
Powered by kh_mod v0.3.0 b3 (based on MG2 v0.5.1)
很小巧方便很酷的一个相册插件
不过决定恢复功能更丰富的Gallery 相册和WordPress整合
这就是个鸡肋了
关... ]]></description>
			<content:encoded><![CDATA[<p class='fp'>关闭“图像分享”版块<br />
<a href="http://chenxp.com/photo/index.php">http://chenxp.com/photo/index.php</a><br />
Powered by <a href="http://www.tangata.de/kh_mod/">kh_mod </a>v0.3.0 b3 (based on <a href="http://www.minigal.dk/">MG2</a> v0.5.1)<br />
很小巧方便很酷的一个相册插件<br />
不过决定恢复功能更丰富的Gallery 相册和WordPress整合<br />
这就是个鸡肋了<br />
关了吧</p>
</p>]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p70/feed</wfw:commentRss>
		</item>
		<item>
		<title>上海有线通网络电视直播</title>
		<link>http://chenxp.com/p68</link>
		<comments>http://chenxp.com/p68#comments</comments>
		<pubDate>Fri, 30 May 2008 10:20:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[网络电视]]></category>

		<category><![CDATA[CCTV-5]]></category>

		<category><![CDATA[CHANNEL[V]]]></category>

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

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

		<category><![CDATA[上海体育]]></category>

		<category><![CDATA[东森娱乐]]></category>

		<category><![CDATA[东森综合]]></category>

		<category><![CDATA[东风卫视]]></category>

		<category><![CDATA[体育直播]]></category>

		<category><![CDATA[凤凰卫视]]></category>

		<category><![CDATA[星空体育]]></category>

		<category><![CDATA[直播]]></category>

		<guid isPermaLink="false">http://chenxp.com/?p=68</guid>
		<description><![CDATA[上海有线通网络电视直播
现在唯一高质量的坚挺的免费的流畅的非p2p直播网络电视
济南电信、百灵网测试都很流畅
在防盗链方面稍有进步了，所以到它网站去看吧
http://www.echinatv.cn/
新闻财经... ]]></description>
			<content:encoded><![CDATA[<p><a href='http://chenxp.com/wp-content/uploads/2008/07/photo1.png'><img src="http://chenxp.com/wp-content/uploads/2008/07/photo1.png" alt="" title="photo1" width="225" height="260" class="alignnone size-medium wp-image-78" /></a>上海有线通网络电视直播<br />
现在唯一高质量的坚挺的免费的流畅的非p2p直播网络电视<br />
济南电信、百灵网测试都很流畅<br />
在防盗链方面稍有进步了，所以到它网站去看吧<br />
<a href="http://www.echinatv.cn/">http://www.echinatv.cn/</a><br />
新闻财经类 </p>
<p>凤凰卫视资迅台<br />
凤凰卫视中文台<br />
彭博财经频道<br />
东风卫视<br />
东森综合<br />
AXN香港 </p>
<p>体育类<br />
ESPN>>><br />
星空体育<br />
CCTV-5<br />
上视体育 </p>
<p>音乐类<br />
CHANNEL[V] </p>
<p>影视类<br />
TVB-星河频道<br />
东森娱乐<br />
东森电影  </p>
<p>综艺类<br />
TVB-8<br />
华娱卫视<br />
TVBS-G </p>
<p>教育<br />
探索频道<br />
国家地理  </p>
]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p68/feed</wfw:commentRss>
		</item>
		<item>
		<title>温家宝在北川中学书写多难兴邦四字将被收藏</title>
		<link>http://chenxp.com/p65</link>
		<comments>http://chenxp.com/p65#comments</comments>
		<pubDate>Wed, 28 May 2008 04:26:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[随笔]]></category>

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

		<guid isPermaLink="false">http://chenxp.com/?p=65</guid>
		<description><![CDATA[
唉，真不知温总会怎么想。。。。。
这时候还都在搞这事
留个照片不就行了？
是不是还要把整个学校建成个博物馆？
转载自http://news.qq.com/a/20080526/000762.htm
 2008年05月26日07:44 　 四川新闻网-... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://chenxp.com/wp-content/uploads/2008/05/2008526982510.jpg"><img class="alignnone size-medium wp-image-64" title="2008526982510" src="http://chenxp.com/wp-content/uploads/2008/05/2008526982510.jpg" alt="" width="300" height="224" /></a><a href="http://chenxp.com/wp-content/uploads/2008/05/10650707.jpg"><img class="alignnone size-medium wp-image-63" title="10650707" src="http://chenxp.com/wp-content/uploads/2008/05/10650707-177x300.jpg" alt="" width="177" height="300" /></a></p>
<p>唉，真不知温总会怎么想。。。。。</p>
<p>这时候还都在搞这事</p>
<p>留个照片不就行了？</p>
<p>是不是还要把整个学校建成个博物馆？</p>
<p>转载自<a href="http://news.qq.com/a/20080526/000762.htm">http://news.qq.com/a/20080526/000762.htm</a></p>
<p> 2008年05月26日07:44 　 四川新闻网-成都商报</p>
<p align="center"><img src="http://img1.qq.com/news/pics/10650/10650706.jpg" border="1" alt="温家宝在北川中学书写多难兴邦四字将被收藏" /></p>
<div style="font-size: 10pt; font-family: 宋体;">　　温总理于23日在北川中学临时学校写下的 “多难兴邦”四个字已用有机玻璃保护起来。 图片由绵阳市文物局提供</div>
<p style="text-indent: 2em;">
<p><!--link--></p>
<p align="center"><a href="http://news.qq.com/photo.shtml" target="_blank">点击浏览更多最新图片</a></p>
<p><!--/link--></p>
<p style="text-indent: 2em;">
<p align="center"><img src="http://img1.qq.com/news/pics/10650/10650707.jpg" border="1" alt="温家宝在北川中学书写多难兴邦四字将被收藏" /></p>
<div style="font-size: 10pt; font-family: 宋体;">温总理写下的“多难兴邦”</div>
<p style="text-indent: 2em;">“建议将温总理留在北川中学的‘多难兴邦’保留下来，作为永久纪念地的重要纪念物！”昨日上午，本报热线86613333－0响个不停，不少读者提出如上建议。据悉，将温家宝总理在北川中学高三（1）班黑板上题写的“多难兴邦”四个粉笔字保存下来，已成为绵阳<a href="http://weather.qq.com/preend.htm?dc167.htm" target="_blank"><img src="http://img1.qq.com/weather/pics/5619/5619723.gif" border="0" alt="点击查看绵阳及更多城市天气预报" /></a>市文物局、北川中学和长虹集团的共识，具体保存方案目前正在协商。</p>
<div id="Reading">
<table border="0" cellspacing="0" cellpadding="0" width="270">
<tbody>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<table class="rline" border="0" cellspacing="0" cellpadding="0" width="270">
<tbody>
<tr>
<td width="268">
<table border="0" cellspacing="0" cellpadding="0" width="240" align="center">
<tbody>
<tr>
<td width="148" height="113" align="center"><a href="http://news.qq.com/a/20080528/000667.htm" target="_blank"></a></td>
<td width="120"><a href="http://news.qq.com/a/20080528/000667.htm" target="_blank"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;"><strong>北川中学： </strong></p>
<p style="text-indent: 2em;"><strong></strong></p>
<p style="text-indent: 2em;"><strong>它给我们带来力量</strong></p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">昨日中午，记者来到设于四川长虹集团培训中心院子里的北川中学临时学校时，正值午休，大多数学生都在教室外的帐篷中休息。学校外壁的左侧，是北川中学学生冒着生命危险抢救出来的学校校牌，温总理鼓励北川中学师生的“昂起坚强的头颅，挺起不屈的脊梁，向光明的未来，前进！”的话语，被连夜赶制成巨幅标语，悬挂在教学楼的外壁上。</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">高三（1）班的教室里只有十几个学生，有的伏案休息，有的安静地做着习题，黑板上保留着温总理写下的“多难兴邦”4个字。教室外，来自绵阳市博物馆的“5·12”赈灾资料征集组成员正与北川中学校长刘玉春，商讨如何保存这为灾区人民带来信心、勇气和力量的四个字。</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">“舍不得擦，却又不知道该怎么保护这四个沉甸甸的字！”北川中学校长刘玉春告诉记者，“多难兴邦”这四个字是总理用粉笔写在黑板上的，但每一堂课，老师和同学们都舍不得擦，为了不影响课堂教学，只擦去了当时的教学板书。</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">“它给我们带来了力量，我们要把这四个字记在心里。”北川中学一名高一女生对记者说：“如果能够永久保存这块黑板就更好了。”对此，北川中学很多师生都表示支持。</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;"><strong>绵阳市文物局： </strong></p>
<p style="text-indent: 2em;"><strong></strong></p>
<p style="text-indent: 2em;"><strong>先保护后保存</strong></p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">“我们将采取临时保护措施，再考虑如何永久性保存。”绵阳市文物局局长王锡鉴称，工作人员现场勘查后，已根据黑板的质地采取了相关保护措施，拿出了具体的保护方案。昨日下午6时许，“多难兴邦”四个字已经用有机玻璃保护起来，不会影响正常上课，学生们抬头就可以看到温总理的题字。绵阳市“5·12”赈灾资料征集组成员胥翠蓉告诉记者，如果当时能够连同板书内容完整保存下来，将更具史料价值。</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;"><strong>长虹集团： </strong></p>
<p style="text-indent: 2em;"><strong></strong></p>
<p style="text-indent: 2em;"><strong>黑板不能被破坏</strong></p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">长虹集团企业文化部部长刘海中在电话中告诉记者，黑板肯定不能被破坏，“多难兴邦”四个字已经被拍摄下来。目前应北川中学师生的请求，长虹正在以温家宝总理的题字为内容，赶制“多难兴邦”书签和卡片，发放给北川中学的同学们。届时，北川中学的每个教室都即将悬挂起“多难兴邦”四字匾额。</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;"><strong>省文物局： </strong></p>
<p style="text-indent: 2em;"><strong></strong></p>
<p style="text-indent: 2em;"><strong>怎样保存尊重学校意见</strong></p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">省文物局文物保护处处长朱小南告诉记者，温总理留在临时校舍黑板上的“多难兴邦”四个字，寄托着希望，让人振奋，是全民抗震救灾中一个重要的纪念物件。</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">至于将采取何种保留方式，朱小南称，如果学校希望永远保存在学校，绵阳市文物局将尊重学校的意见。由于这四个字是用粉笔书写在黑板上的，所以不论是保存在学校，还是保存在灾后设立的博物馆里，文物部门都将先采取技术保护措施。</p>
]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p65/feed</wfw:commentRss>
		</item>
		<item>
		<title>版面就这样了</title>
		<link>http://chenxp.com/p61</link>
		<comments>http://chenxp.com/p61#comments</comments>
		<pubDate>Tue, 27 May 2008 17:17:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[随笔]]></category>

		<guid isPermaLink="false">http://chenxp.com/?p=61</guid>
		<description><![CDATA[整个版面看着还是有点乱
但大致也就这样吧
删除排版时添加的测试内容... ]]></description>
			<content:encoded><![CDATA[<p class='fp'>整个版面看着还是有点乱</p>
<p>但大致也就这样吧</p>
<p>删除排版时添加的测试内容</p>
</p>]]></content:encoded>
			<wfw:commentRss>http://chenxp.com/p61/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
