<?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; Web</title>
	<atom:link href="http://www.shunfly.com/category/web/feed" rel="self" type="application/rss+xml" />
	<link>http://www.shunfly.com</link>
	<description>Find,Face,Fight,Fix,Fun</description>
	<lastBuildDate>Fri, 27 Aug 2010 16:17:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>2010温家宝答记者问精彩言论</title>
		<link>http://www.shunfly.com/life/20100314240.html</link>
		<comments>http://www.shunfly.com/life/20100314240.html#comments</comments>
		<pubDate>Sun, 14 Mar 2010 15:38:07 +0000</pubDate>
		<dc:creator>shunfly</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.shunfly.com/?p=240</guid>
		<description><![CDATA[[温家宝]:我知道商签协议是一个复杂的过程，但是正因为我们是兄弟，兄弟虽有小忿，不废懿亲，问题总会可以解决的。我去台湾的愿望依旧是那么强烈，因为我认为中华民族5000年的文化，具有强大的震撼力和凝聚力，不要因为50年的政治而丢掉5000年的文化。

]]></description>
			<content:encoded><![CDATA[<p>[温家宝]:我知道商签协议是一个复杂的过程，但是正因为我们是兄弟，兄弟虽有小忿，不废懿亲，问题总会可以解决的。我去台湾的愿望依旧是那么强烈，因为我认为中华民族5000年的文化，具有强大的震撼力和凝聚力，不要因为50年的政治而丢掉5000年的文化。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunfly.com/life/20100314240.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress高亮管理员的留言信息</title>
		<link>http://www.shunfly.com/web/20091227171.html</link>
		<comments>http://www.shunfly.com/web/20091227171.html#comments</comments>
		<pubDate>Sun, 27 Dec 2009 08:39:42 +0000</pubDate>
		<dc:creator>shunfly</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.shunfly.com/?p=171</guid>
		<description><![CDATA[在Style.css中添加如下CSS样式代码：



.admincomment&#123;

<span class="readmore"><a href="http://www.shunfly.com/web/20091227171.html" title="Wordpress高亮管理员的留言信息">阅读全文——共145字</a></span>]]></description>
			<content:encoded><![CDATA[<p>在Style.css中添加如下CSS样式代码：</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">.admincomment<span style="color: #00AA00;">&#123;</span>
      <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#0000EE</span><span style="color: #00AA00;">;</span>
      <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>在Function.php的function mytheme_comment($comment, $args, $depth)函数中修改如下代码<br />
将</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">   <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_text<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>修改为</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&lt;div class=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$comment</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">comment_author_email</span><span style="color: #339933;">==</span> get_the_author_email<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'admincomment'</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;  
     <span style="color: #000000; font-weight: bold;">&lt;?php</span> comment_text<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> 
&lt;/div&gt;</pre></div></div>

<ul>
<li>
                主要就是修改comment_text() 的输出样式，通过Email判断是否为管理员，输出管理员的样式即可。
        </li>
<li>
                Email判断的一个不足之处在于不利于访客知道管理员Email后仿照管理员样式留言。可以尝试用ID的方式判断。
        </li>
<li>
                不同主题修改地方不一样。
        </li>
</ul>
<ul>参考链接：</p>
<li>
               <a href="http://www.ihiro.org/highlight-the-administrators-reply-message"><font color=#000099> Wordpress:高亮管理员的留言信息 By ihiro</font></a>
        </li>
<li>
                <a href="http://plugins.trac.wordpress.org/wiki/AuthorHighlight"><font color=#000099> AuthorHighlight Plugin代码</font></a>
        </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.shunfly.com/web/20091227171.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Simple-Lines主题</title>
		<link>http://www.shunfly.com/web/20091225144.html</link>
		<comments>http://www.shunfly.com/web/20091225144.html#comments</comments>
		<pubDate>Sat, 26 Dec 2009 05:52:30 +0000</pubDate>
		<dc:creator>shunfly</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordP]]></category>

		<guid isPermaLink="false">http://www.shunfly.com/?p=144</guid>
		<description><![CDATA[安装了木木木木木的Simple-Lines主题。很简洁清爽。玩WordPress就是拿来折腾的，但是内容与坚持为主，折腾为辅助，所以WordPress主题的事就此打住。以后就在此主题基础上修改适应。

jQuery是刚刚学会的一个词，是门很过瘾的CODE。这也是这个主题吸引我的一个原因之一。

对该主题的修改

<span class="readmore"><a href="http://www.shunfly.com/web/20091225144.html" title="Simple-Lines主题">阅读全文——共286字</a></span>]]></description>
			<content:encoded><![CDATA[<p>安装了<a href="http://immmmm.com/"><font color=" #003399">木木木木木</font ></a>的Simple-Lines主题。很简洁清爽。玩WordPress就是拿来折腾的，但是内容与坚持为主，折腾为辅助，所以WordPress主题的事就此打住。以后就在此主题基础上修改适应。</p>
<p>jQuery是刚刚学会的一个词，是门很过瘾的CODE。这也是这个主题吸引我的一个原因之一。</p>
<p>对该主题的修改</p>
<ul>
<li>Copyright放在各个页面，而不放在footer中。这样侧边栏的jQuery伸缩不会影响CopyRight的上下位置。</li>
<li>将首页文章伸缩改为Toggle事件。第一次点击展开，第二次点击收缩要好点。效果有待实践检验。</li>
<li>Tab切换，修改了一点点部分，使其可以容纳不同的Div。</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.shunfly.com/web/20091225144.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WP学习</title>
		<link>http://www.shunfly.com/web/2009121462.html</link>
		<comments>http://www.shunfly.com/web/2009121462.html#comments</comments>
		<pubDate>Mon, 14 Dec 2009 14:04:57 +0000</pubDate>
		<dc:creator>shunfly</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.shunfly.com/?p=62</guid>
		<description><![CDATA[WordPress之于我，即我之于未知。

但，但凡陌生的事物，其学习过程总是很相似。网上搜索&#8211;〉自己阅读相关HELP&#8212;〉动手试验&#8212;〉网上搜寻答案。

这是一个反复的理论到实践再到结合理论的过程。

<span class="readmore"><a href="http://www.shunfly.com/web/2009121462.html" title="WP学习">阅读全文——共170字</a></span>]]></description>
			<content:encoded><![CDATA[<p>WordPress之于我，即我之于未知。</p>
<p>但，但凡陌生的事物，其学习过程总是很相似。网上搜索&#8211;〉自己阅读相关HELP&#8212;〉动手试验&#8212;〉网上搜寻答案。</p>
<p>这是一个反复的理论到实践再到结合理论的过程。</p>
<p>安装WordPress,选择主题，修改主题，学习CSS，安装插件。</p>
<p>DIY是件很快乐的事情。学习是件很快乐的事情。</p>
<p>PS：祈祷祝福某的父亲好起来。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunfly.com/web/2009121462.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>开张了</title>
		<link>http://www.shunfly.com/web/2009121333.html</link>
		<comments>http://www.shunfly.com/web/2009121333.html#comments</comments>
		<pubDate>Sun, 13 Dec 2009 13:59:28 +0000</pubDate>
		<dc:creator>shunfly</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.shunfly.com/?p=33</guid>
		<description><![CDATA[在丹麦首都哥本哈根，联合国气候变化大会开得是如火如荼。讨论，争吵，控诉，请求，协商，谱出一曲和谐的鸣奏曲。

而在此时，此地，我在WP下第一个BLOG开通了。送给自己一下几个字吧：坚持，学习，思索！

今天是南京大屠杀64周年纪念日。铭记历史，警钟长鸣！

]]></description>
			<content:encoded><![CDATA[<p>在丹麦首都哥本哈根，联合国气候变化大会开得是如火如荼。讨论，争吵，控诉，请求，协商，谱出一曲和谐的鸣奏曲。<br />
而在此时，此地，我在WP下第一个BLOG开通了。送给自己一下几个字吧：<strong><span style="color: #008000;">坚持，学习，思索！</span></strong><br />
<strong><span style="color: #000000;">今天是南京大屠杀64周年纪念日。铭记历史，警钟长鸣！</span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shunfly.com/web/2009121333.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
