<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>《分享SEO WordPress的Description 与 Keywords》的评论</title>
	<atom:link href="http://liucheng.name/930/feed/" rel="self" type="application/rss+xml" />
	<link>http://liucheng.name/930/</link>
	<description>_SEO&#124;摄影&#124;WordPress&#124;博客</description>
	<lastBuildDate>Mon, 21 May 2012 08:33:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>作者：行车记录仪</title>
		<link>http://liucheng.name/930/#comment-52250</link>
		<dc:creator>行车记录仪</dc:creator>
		<pubDate>Wed, 11 Jan 2012 08:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.liucheng.name/?p=930#comment-52250</guid>
		<description>好文章,有个问题,火狐不乱码,ie乱码有影响吗</description>
		<content:encoded><![CDATA[<p>好文章,有个问题,火狐不乱码,ie乱码有影响吗</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：{潮汛.}</title>
		<link>http://liucheng.name/930/#comment-31300</link>
		<dc:creator>{潮汛.}</dc:creator>
		<pubDate>Sat, 25 Jun 2011 03:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.liucheng.name/?p=930#comment-31300</guid>
		<description>为什么要去掉关键字的符号和空格，这个不解？</description>
		<content:encoded><![CDATA[<p>为什么要去掉关键字的符号和空格，这个不解？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：最爱CCI &#187; SEO WordPress的Description、Keywords和Title seo优化</title>
		<link>http://liucheng.name/930/#comment-29735</link>
		<dc:creator>最爱CCI &#187; SEO WordPress的Description、Keywords和Title seo优化</dc:creator>
		<pubDate>Sat, 21 May 2011 08:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.liucheng.name/?p=930#comment-29735</guid>
		<description>[...] 分享SEO WordPress的Description 与 Keywords（ http://liucheng.name/930/ ） [...]</description>
		<content:encoded><![CDATA[<p>[...] 分享<span class='wp_keywordlink_affiliate'><a href="http://liucheng.name/" title="柳城SEO">SEO</a></span> WordPress的Description 与 Keywords（ http://liucheng.<span class='wp_keywordlink_affiliate'><a href="http://liucheng.name/" title="柳城">name</a></span>/930/ ） [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：xiang</title>
		<link>http://liucheng.name/930/#comment-26088</link>
		<dc:creator>xiang</dc:creator>
		<pubDate>Thu, 03 Mar 2011 08:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.liucheng.name/?p=930#comment-26088</guid>
		<description>这个很强大，用了，谢谢分享！ [强]</description>
		<content:encoded><![CDATA[<p>这个很强大，用了，谢谢分享！ <img src='http://liucheng.name/wp-includes/images/smilies/icon_qiang.gif' alt='[强]' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：SEO WordPress的Description、Keywords和Title(完整版，转自柳城) ∷『独孤小于』</title>
		<link>http://liucheng.name/930/#comment-23387</link>
		<dc:creator>SEO WordPress的Description、Keywords和Title(完整版，转自柳城) ∷『独孤小于』</dc:creator>
		<pubDate>Fri, 31 Dec 2010 08:54:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.liucheng.name/?p=930#comment-23387</guid>
		<description>[...] WordPress的Description 与 Keywords（ http://liucheng.name/930/ ） ◦分享SEO WordPress的标题Title ( http://liucheng.name/932/ ) [...]</description>
		<content:encoded><![CDATA[<p>[...] WordPress的Description 与 Keywords（ <a href="http://liucheng.name/930/" rel="nofollow">http://liucheng.name/930/</a> ） ◦分享<span class='wp_keywordlink_affiliate'><a href="http://liucheng.name/" title="柳城SEO">SEO</a></span> WordPress的标题Title ( <a href="http://liucheng.name/932/" rel="nofollow">http://liucheng.name/932/</a> ) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：WordPress的Description、Keywords和TitleSEO优化(完整版)&#124;︶ㄣ晓风残月博客</title>
		<link>http://liucheng.name/930/#comment-21214</link>
		<dc:creator>WordPress的Description、Keywords和TitleSEO优化(完整版)&#124;︶ㄣ晓风残月博客</dc:creator>
		<pubDate>Tue, 16 Nov 2010 07:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.liucheng.name/?p=930#comment-21214</guid>
		<description>[...] WordPress的Description 与 Keywords（ http://liucheng.name/930/ ） 分享SEO WordPress的标题Title ( http://liucheng.name/932/ [...]</description>
		<content:encoded><![CDATA[<p>[...] WordPress的Description 与 Keywords（ <a href="http://liucheng.name/930/" rel="nofollow">http://liucheng.name/930/</a> ） 分享<span class='wp_keywordlink_affiliate'><a href="http://liucheng.name/" title="柳城SEO">SEO</a></span> WordPress的标题Title ( <a href="http://liucheng.name/932/" rel="nofollow">http://liucheng.name/932/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Rik</title>
		<link>http://liucheng.name/930/#comment-21030</link>
		<dc:creator>Rik</dc:creator>
		<pubDate>Fri, 12 Nov 2010 08:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.liucheng.name/?p=930#comment-21030</guid>
		<description>你好博主，如果我不想使用摘要作为description标签，而只取用截断文章前220字的方式；那么我要去掉那些代码？</description>
		<content:encoded><![CDATA[<p>你好博主，如果我不想使用摘要作为description标签，而只取用截断文章前220字的方式；那么我要去掉那些代码？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：frank</title>
		<link>http://liucheng.name/930/#comment-20238</link>
		<dc:creator>frank</dc:creator>
		<pubDate>Thu, 21 Oct 2010 02:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.liucheng.name/?p=930#comment-20238</guid>
		<description>我网站description标签的乱码问题很长时间，我把下面的代码加入了header.php

post_excerpt) {
        $description  = $post-&gt;post_excerpt;
    } else {
   if(preg_match(&#039;/(.*)/iU&#039;,trim(strip_tags($post-&gt;post_content,&quot;&quot;)),$result)){
    $post_content = $result[&#039;1&#039;];
   } else {
    $post_content_r = explode(&quot;\n&quot;,trim(strip_tags($post-&gt;post_content)));
    $post_content = $post_content_r[&#039;0&#039;];
   }
         $description = utf8Substr($post_content,0,220);   
  }
 
    $keywords = &quot;&quot;;      
    $tags = wp_get_post_tags($post-&gt;ID);
    foreach ($tags as $tag ) {
        $keywords = $keywords . $tag-&gt;name . &quot;,&quot;;
    }

}

?&gt;
&lt;meta name=&quot;description&quot; content=&quot;&quot; /&gt;
&lt;meta name=&quot;keywords&quot; content=&quot;&quot; /&gt;


加完后，查看页面源代码，发现出现了两个description和keywords,于是我删除了header.php中原有的下列代码，


&lt;?php if((is_home() &amp;&amp; ($paged &lt; 2 )) &#124;&#124; is_single() &#124;&#124; is_page()) { echo &#039;&#039;; } else { echo &#039;&#039;; } ?&gt;
 

 
&lt;meta name=&quot;description&quot; content=&quot;&quot; /&gt;
 

 

 
&lt;meta name=&quot;description&quot; content=&quot;&quot; /&gt;
 
&lt;meta name=&quot;keywords&quot; content=&quot;&quot; /&gt;
 
 


目前看，博客工作正常。是否稳定或有其他问题等待进一步观察。</description>
		<content:encoded><![CDATA[<p>我网站description标签的乱码问题很长时间，我把下面的代码加入了header.php</p>
<p>post_excerpt) {<br />
        $description  = $post-&gt;post_excerpt;<br />
    } else {<br />
   if(preg_match('/(.*)/iU',trim(strip_tags($post-&gt;post_content,"")),$result)){<br />
    $post_content = $result['1'];<br />
   } else {<br />
    $post_content_r = explode("\n",trim(strip_tags($post-&gt;post_content)));<br />
    $post_content = $post_content_r['0'];<br />
   }<br />
         $description = utf8Substr($post_content,0,220);<br />
  }</p>
<p>    $keywords = "";<br />
    $tags = wp_get_post_tags($post-&gt;ID);<br />
    foreach ($tags as $tag ) {<br />
        $keywords = $keywords . $tag-&gt;<span class='wp_keywordlink_affiliate'><a href="http://liucheng.name/" title="柳城">name</a></span> . ",";<br />
    }</p>
<p>}</p>
<p>?&gt;<br />
&lt;meta <span class='wp_keywordlink_affiliate'><a href="http://liucheng.name/" title="柳城">name</a></span>=&quot;description&quot; content=&quot;" /&gt;<br />
&lt;meta name=&quot;keywords&quot; content=&quot;" /&gt;</p>
<p>加完后，查看页面源代码，发现出现了两个description和keywords,于是我删除了header.php中原有的下列代码，</p>
<p>&lt;?php if((is_home() &amp;&amp; ($paged &lt; 2 )) || is_single() || is_page()) { echo &#039;'; } else { echo ''; } ?&gt;</p>
<p>&lt;meta name=&quot;description&quot; content=&quot;" /&gt;</p>
<p>&lt;meta name=&quot;description&quot; content=&quot;" /&gt;</p>
<p>&lt;meta name=&quot;keywords&quot; content=&quot;" /&gt;</p>
<p>目前看，博客工作正常。是否稳定或有其他问题等待进一步观察。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

