<?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>Comments on: 批量删除不用的标签</title>
	<atom:link href="http://fairyfish.net/2008/10/07/batch-delete-unused-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/</link>
	<description>关注 WordPress，关注互联网</description>
	<lastBuildDate>Sat, 11 Feb 2012 19:42:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: myskylover</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-44575</link>
		<dc:creator>myskylover</dc:creator>
		<pubDate>Sat, 23 Jan 2010 04:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-44575</guid>
		<description>老大，详细点啊，急需这个东西，比如说同时删除tag1,tag2,tag3,要怎么写</description>
		<content:encoded><![CDATA[<div id="description">
<p>老大，详细点啊，急需这个东西，比如说同时删除tag1,tag2,tag3,要怎么写</p>
</div>
<p id="rating-44575"><span id="up-44575"  class="comment_rating_up" onclick="comment_rating('44575', 'up');">支持</span><small id="rating-44575-up"></small>&nbsp;<span id="down-44575"  class="comment_rating_down" onclick="comment_rating('44575', 'down');">反对</span><small id="rating-44575-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: myskylover</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-44574</link>
		<dc:creator>myskylover</dc:creator>
		<pubDate>Sat, 23 Jan 2010 04:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-44574</guid>
		<description>急需这个语句，老大，能不能说的详细一点啊，比如删除：tag1,tag2,tag3,用这句话应该怎么弄呢。</description>
		<content:encoded><![CDATA[<div id="description">
<p>急需这个语句，老大，能不能说的详细一点啊，比如删除：tag1,tag2,tag3,用这句话应该怎么弄呢。</p>
</div>
<p id="rating-44574"><span id="up-44574"  class="comment_rating_up" onclick="comment_rating('44574', 'up');">支持</span><small id="rating-44574-up"></small>&nbsp;<span id="down-44574"  class="comment_rating_down" onclick="comment_rating('44574', 'down');">反对</span><small id="rating-44574-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 布谷鸟</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-41115</link>
		<dc:creator>布谷鸟</dc:creator>
		<pubDate>Mon, 11 May 2009 08:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-41115</guid>
		<description>不能就这样删啊！
还需要加个条件b.taxonomy=&#039;post_tag&#039;，
因为tag,category,link在wp_term_taxonomy中都是统一处理的，害我删掉了好几个空目录，从Google网站管理员工具看到链接找不到才发现。（我的多级目录中的一级目录都是空目录，空目录也有意义）
DELETE a FROM wp_terms a,wp_term_taxonomy b WHERE a.term_id = b.term_id AND b.count=0 AND b.taxonomy=&#039;post_tag&#039;
DELETE b FROM wp_term_taxonomy b WHERE b.count=0  AND b.taxonomy=&#039;post_tag&#039;</description>
		<content:encoded><![CDATA[<div id="description">
<p>不能就这样删啊！<br />
还需要加个条件b.taxonomy=&#8217;post_tag&#8217;，<br />
因为tag,category,link在wp_term_taxonomy中都是统一处理的，害我删掉了好几个空目录，从Google网站管理员工具看到链接找不到才发现。（我的多级目录中的一级目录都是空目录，空目录也有意义）<br />
DELETE a FROM wp_terms a,wp_term_taxonomy b WHERE a.term_id = b.term_id AND b.count=0 AND b.taxonomy=&#8217;post_tag&#8217;<br />
DELETE b FROM wp_term_taxonomy b WHERE b.count=0  AND b.taxonomy=&#8217;post_tag&#8217;</p>
</div>
<p id="rating-41115"><span id="up-41115"  class="comment_rating_up" onclick="comment_rating('41115', 'up');">支持</span><small id="rating-41115-up">1</small>&nbsp;<span id="down-41115"  class="comment_rating_down" onclick="comment_rating('41115', 'down');">反对</span><small id="rating-41115-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francis</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33627</link>
		<dc:creator>Francis</dc:creator>
		<pubDate>Thu, 09 Oct 2008 15:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33627</guid>
		<description>如果是空的，那就不会在标签云显示出来。</description>
		<content:encoded><![CDATA[<div id="description">
<p>如果是空的，那就不会在标签云显示出来。</p>
</div>
<p id="rating-33627"><span id="up-33627"  class="comment_rating_up" onclick="comment_rating('33627', 'up');">支持</span><small id="rating-33627-up"></small>&nbsp;<span id="down-33627"  class="comment_rating_down" onclick="comment_rating('33627', 'down');">反对</span><small id="rating-33627-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Annie Xu</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33589</link>
		<dc:creator>Annie Xu</dc:creator>
		<pubDate>Wed, 08 Oct 2008 14:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33589</guid>
		<description>标签多了是老凌乱的
得找个插件..</description>
		<content:encoded><![CDATA[<div id="description">
<p>标签多了是老凌乱的<br />
得找个插件..</p>
</div>
<p id="rating-33589"><span id="up-33589"  class="comment_rating_up" onclick="comment_rating('33589', 'up');">支持</span><small id="rating-33589-up"></small>&nbsp;<span id="down-33589"  class="comment_rating_down" onclick="comment_rating('33589', 'down');">反对</span><small id="rating-33589-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davidli</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33586</link>
		<dc:creator>Davidli</dc:creator>
		<pubDate>Wed, 08 Oct 2008 12:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33586</guid>
		<description>我都准备建个页面放置这些东西了</description>
		<content:encoded><![CDATA[<div id="description">
<p>我都准备建个页面放置这些东西了</p>
</div>
<p id="rating-33586"><span id="up-33586"  class="comment_rating_up" onclick="comment_rating('33586', 'up');">支持</span><small id="rating-33586-up"></small>&nbsp;<span id="down-33586"  class="comment_rating_down" onclick="comment_rating('33586', 'down');">反对</span><small id="rating-33586-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jackycheung</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33567</link>
		<dc:creator>Jackycheung</dc:creator>
		<pubDate>Wed, 08 Oct 2008 06:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33567</guid>
		<description>呵呵, 我都交给Simple Tags处理了...</description>
		<content:encoded><![CDATA[<div id="description">
<p>呵呵, 我都交给Simple Tags处理了&#8230;</p>
</div>
<p id="rating-33567"><span id="up-33567"  class="comment_rating_up" onclick="comment_rating('33567', 'up');">支持</span><small id="rating-33567-up"></small>&nbsp;<span id="down-33567"  class="comment_rating_down" onclick="comment_rating('33567', 'down');">反对</span><small id="rating-33567-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: an9</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33562</link>
		<dc:creator>an9</dc:creator>
		<pubDate>Wed, 08 Oct 2008 02:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33562</guid>
		<description>不错。
 :mrgreen:</description>
		<content:encoded><![CDATA[<div id="description">
<p>不错。<br />
 <img src='http://fairyfish.b0.upaiyun.com/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
</div>
<p id="rating-33562"><span id="up-33562"  class="comment_rating_up" onclick="comment_rating('33562', 'up');">支持</span><small id="rating-33562-up"></small>&nbsp;<span id="down-33562"  class="comment_rating_down" onclick="comment_rating('33562', 'down');">反对</span><small id="rating-33562-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowers</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33558</link>
		<dc:creator>gowers</dc:creator>
		<pubDate>Wed, 08 Oct 2008 01:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33558</guid>
		<description>懒得去整理啦，我一堆无用的TAG</description>
		<content:encoded><![CDATA[<div id="description">
<p>懒得去整理啦，我一堆无用的TAG</p>
</div>
<p id="rating-33558"><span id="up-33558"  class="comment_rating_up" onclick="comment_rating('33558', 'up');">支持</span><small id="rating-33558-up"></small>&nbsp;<span id="down-33558"  class="comment_rating_down" onclick="comment_rating('33558', 'down');">反对</span><small id="rating-33558-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris.Ro</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33552</link>
		<dc:creator>Chris.Ro</dc:creator>
		<pubDate>Tue, 07 Oct 2008 18:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33552</guid>
		<description>我大学都没读。没得还呀。
虽然出来混的迟早要还</description>
		<content:encoded><![CDATA[<div id="description">
<p>我大学都没读。没得还呀。<br />
虽然出来混的迟早要还</p>
</div>
<p id="rating-33552"><span id="up-33552"  class="comment_rating_up" onclick="comment_rating('33552', 'up');">支持</span><small id="rating-33552-up"></small>&nbsp;<span id="down-33552"  class="comment_rating_down" onclick="comment_rating('33552', 'down');">反对</span><small id="rating-33552-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CNtex</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33547</link>
		<dc:creator>CNtex</dc:creator>
		<pubDate>Tue, 07 Oct 2008 16:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33547</guid>
		<description>这个值得研究，如果标签在一个单独的页面倒也无所谓，但如果在侧边栏，太多了就也不好看了</description>
		<content:encoded><![CDATA[<div id="description">
<p>这个值得研究，如果标签在一个单独的页面倒也无所谓，但如果在侧边栏，太多了就也不好看了</p>
</div>
<p id="rating-33547"><span id="up-33547"  class="comment_rating_up" onclick="comment_rating('33547', 'up');">支持</span><small id="rating-33547-up"></small>&nbsp;<span id="down-33547"  class="comment_rating_down" onclick="comment_rating('33547', 'down');">反对</span><small id="rating-33547-down"></small></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephen</title>
		<link>http://fairyfish.net/2008/10/07/batch-delete-unused-tag/comment-page-1/#comment-33543</link>
		<dc:creator>stephen</dc:creator>
		<pubDate>Tue, 07 Oct 2008 15:31:29 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/?p=1683#comment-33543</guid>
		<description>数据库的东西不太敢操作，不懂这个东西~~</description>
		<content:encoded><![CDATA[<div id="description">
<p>数据库的东西不太敢操作，不懂这个东西~~</p>
</div>
<p id="rating-33543"><span id="up-33543"  class="comment_rating_up" onclick="comment_rating('33543', 'up');">支持</span><small id="rating-33543-up"></small>&nbsp;<span id="down-33543"  class="comment_rating_down" onclick="comment_rating('33543', 'down');">反对</span><small id="rating-33543-down"></small></p>
]]></content:encoded>
	</item>
</channel>
</rss>

