﻿<?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://xuetian.com/t/tianji/feed" rel="self" type="application/rss+xml" />
	<link>http://xuetian.com</link>
	<description>花太香，酒太烈…</description>
	<lastBuildDate>Wed, 01 Sep 2010 12:05:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>对wordpress的一些修改</title>
		<link>http://xuetian.com/2010/02/some-changes-to-the-wordpress.html</link>
		<comments>http://xuetian.com/2010/02/some-changes-to-the-wordpress.html#comments</comments>
		<pubDate>Sat, 13 Feb 2010 08:16:58 +0000</pubDate>
		<dc:creator>宁雪天</dc:creator>
				<category><![CDATA[廉贞]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[天机]]></category>

		<guid isPermaLink="false">http://xuetian.com/?p=196</guid>
		<description><![CDATA[让分类目录页面显示分类说明，可以在分类页面模板中加入这句： &#60;?php echo category_description( $category ); ?&#62; 让tags标签目录页面支持分类说明，可以在tags页面模板中加入这句： &#60;?php echo 'Tag Description: ' . tag_description(''); ?&#62; 增加缩略图功能，使用缩略图插件 名称：Thumbnails Anywhere 插件主页：http://niaolei.org.cn/thumbnails_anywhere 还有一个就是前面说过的中文截断： 在主题文件夹下的 index.php 中找到类似以下形式的代码： &#60;?php the_content('Read the rest of this entry &#38;raquo;'); ?&#62; 替换为： &#60;?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post-&#62;post_content),"&#60;br&#62;"), 0, 310,"......"); ?&#62; &#60;a rel="more-link" href="&#60;?php the_permalink() ?&#62;"  title="&#60;?php the_title(); ?&#62;"&#62;＋阅读全文＋&#60;/a&#62; 给评论增加回复邮件通知功能,在functions.php 的 区域內添加下面代码。 /* comment_mail_notify v1.0 [...]


Related posts:<ol><li><a href='http://xuetian.com/2010/02/wordpress-chinese-cut.html' rel='bookmark' title='Permanent Link: wordpress中文截断'>wordpress中文截断</a></li>
<li><a href='http://xuetian.com/2010/02/wordpress-plug.html' rel='bookmark' title='Permanent Link: 转载：无数经典wordpress插件集合，打造世上最强WP插件大全'>转载：无数经典wordpress插件集合，打造世上最强WP插件大全</a></li>
<li><a href='http://xuetian.com/2010/02/qq2010pifu-3.html' rel='bookmark' title='Permanent Link: QQ2010皮肤图片&#8211;烟雨'>QQ2010皮肤图片&#8211;烟雨</a></li>
</ol>]]></description>
		<wfw:commentRss>http://xuetian.com/2010/02/some-changes-to-the-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress中文截断</title>
		<link>http://xuetian.com/2010/02/wordpress-chinese-cut.html</link>
		<comments>http://xuetian.com/2010/02/wordpress-chinese-cut.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 18:15:33 +0000</pubDate>
		<dc:creator>宁雪天</dc:creator>
				<category><![CDATA[廉贞]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[天机]]></category>

		<guid isPermaLink="false">http://xuetian.com/?p=163</guid>
		<description><![CDATA[我不喜欢首页显示博客全文，感觉很乱的。 想找个能自动截断的插件很不容易,找了一些都很不好用。 自己又不懂程序很头痛呢。 网上查了一些解决办法，下面这个办法可以实现： 特点：免插件，完美支持中文摘要截断输出，添加后自动移除所有脚本，不能保留原文段落格式。 方法：在主题文件夹下的 index.php 中找到类似以下形式的代码： &#60;?php the_content('Read the rest of this entry &#38;raquo;'); ?&#62; 替换为： &#60;?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post-&#62;post_content)), 0, 500,"......"); ?&#62; &#60;a rel="more-link" href="&#60;?php the_permalink() ?&#62;" title="&#60;?php the_title(); ?&#62;"&#62;＋阅读全文＋&#60;/a&#62; 其中500是截断输出摘要的字数，可以按需要修改。 但问题是，这样输出的话首页显示的文字是一堆一堆的。于是我再调整了一下，把strip_tags(apply_filters('the_content', $post-&#62;post_content))这句，改为strip_tags(apply_filters('the_content',$post-&#62;post_content),"&#60;br&#62;")，这样的话就可以显示的错落有致一些。不过在写文章的时候，最好不要直接用回车直接换行而是用shift+enter来换行。 Related posts:对wordpress的一些修改 转载：无数经典wordpress插件集合，打造世上最强WP插件大全 QQ2010皮肤图片&#8211;烟雨


Related posts:<ol><li><a href='http://xuetian.com/2010/02/some-changes-to-the-wordpress.html' rel='bookmark' title='Permanent Link: 对wordpress的一些修改'>对wordpress的一些修改</a></li>
<li><a href='http://xuetian.com/2010/02/wordpress-plug.html' rel='bookmark' title='Permanent Link: 转载：无数经典wordpress插件集合，打造世上最强WP插件大全'>转载：无数经典wordpress插件集合，打造世上最强WP插件大全</a></li>
<li><a href='http://xuetian.com/2010/02/qq2010pifu-3.html' rel='bookmark' title='Permanent Link: QQ2010皮肤图片&#8211;烟雨'>QQ2010皮肤图片&#8211;烟雨</a></li>
</ol>]]></description>
		<wfw:commentRss>http://xuetian.com/2010/02/wordpress-chinese-cut.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>转载：无数经典wordpress插件集合，打造世上最强WP插件大全</title>
		<link>http://xuetian.com/2010/02/wordpress-plug.html</link>
		<comments>http://xuetian.com/2010/02/wordpress-plug.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 16:59:56 +0000</pubDate>
		<dc:creator>宁雪天</dc:creator>
				<category><![CDATA[廉贞]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[天机]]></category>

		<guid isPermaLink="false">http://xuetian.com/?p=154</guid>
		<description><![CDATA[安全相关 Anonymous WordPress Plugin Updates – 防止 WordPress 将系统当前启用插件列表、博客地址和 WordPress 版本等信息发送出去。它是 WordPress 设置中理想的隐私探查工具。 AskApache Password Protect – 为你的 WP 的 Admin 文件夹访问权限设置一个可靠的密码保护，防止搜索爬虫搜索 Admin 文件夹。 BackUpWordPress – 它几乎等同于WordPress database backup，但比较后者复杂，比较适合 WP 资深用户使用。 Bluetrait Event Viewer (BTEV) – 增强多用户博客安全性，监控用户登录、删除用户、无效用户名等内容。 Blog by Mail with Categories – 增强Wordpress的“Blog by mail”功能，允许对发送日志的分类进行限制。 Category Excluder – 建立一些浏览者没有权限浏览的分类目录。 Force SSL – 强行让浏览者使用 HTTPS [...]


Related posts:<ol><li><a href='http://xuetian.com/2010/02/some-changes-to-the-wordpress.html' rel='bookmark' title='Permanent Link: 对wordpress的一些修改'>对wordpress的一些修改</a></li>
<li><a href='http://xuetian.com/2010/02/wordpress-chinese-cut.html' rel='bookmark' title='Permanent Link: wordpress中文截断'>wordpress中文截断</a></li>
<li><a href='http://xuetian.com/2010/06/i-miss-you.html' rel='bookmark' title='Permanent Link: I miss you'>I miss you</a></li>
</ol>]]></description>
		<wfw:commentRss>http://xuetian.com/2010/02/wordpress-plug.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>不要看分数</title>
		<link>http://xuetian.com/2010/02/b-2.html</link>
		<comments>http://xuetian.com/2010/02/b-2.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 03:27:16 +0000</pubDate>
		<dc:creator>宁雪天</dc:creator>
				<category><![CDATA[廉贞]]></category>
		<category><![CDATA[天同]]></category>
		<category><![CDATA[天机]]></category>
		<category><![CDATA[巨门]]></category>

		<guid isPermaLink="false">http://xuetian.com/?p=149</guid>
		<description><![CDATA[小时候流行那种掌上玩的游戏机。我妈有阵子整天玩俄罗斯方块。但怎么也过不了一万分。 我有一次拿来玩很快就过一万分了，我妈向我讨教秘诀。 我说你别看分数，只管玩下去试试。 果然，她也过一万分了。 Related posts:偶说 自制的电脑桌 对wordpress的一些修改


Related posts:<ol><li><a href='http://xuetian.com/2010/08/even-say.html' rel='bookmark' title='Permanent Link: 偶说'>偶说</a></li>
<li><a href='http://xuetian.com/2010/06/self-made-computer-desk.html' rel='bookmark' title='Permanent Link: 自制的电脑桌'>自制的电脑桌</a></li>
<li><a href='http://xuetian.com/2010/02/some-changes-to-the-wordpress.html' rel='bookmark' title='Permanent Link: 对wordpress的一些修改'>对wordpress的一些修改</a></li>
</ol>]]></description>
		<wfw:commentRss>http://xuetian.com/2010/02/b-2.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
