<?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; Wordpress</title>
	<atom:link href="http://www.diguar.com/index.php/category/knowledge/wordpress-knowledge/feed" rel="self" type="application/rss+xml" />
	<link>http://www.diguar.com</link>
	<description>新鲜&#124;文摘&#124;趣闻&#124;地瓜无所不在</description>
	<lastBuildDate>Fri, 10 Sep 2010 12:56:16 +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>wp super cache 卸载方法</title>
		<link>http://www.diguar.com/index.php/wp-super-cache-uninstall-method.htm</link>
		<comments>http://www.diguar.com/index.php/wp-super-cache-uninstall-method.htm#comments</comments>
		<pubDate>Mon, 10 May 2010 06:54:46 +0000</pubDate>
		<dc:creator>地瓜</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.diguar.com/?p=4153</guid>
		<description><![CDATA[昨天Blinux在另一个Blog上测试cos-html-cache的缓存效果，于是乎就删除WP Super Cache，可是没想到提示UNINSTALL_WPSUPERCACHE must be set to a non-blank value in uninstall.php UNINSTALL_WPSUPERCACHE must be set to a non-blank value ... ]]></description>
			<content:encoded><![CDATA[<p>昨天Blinux在另一个Blog上测试cos-html-cache的缓存效果，于是乎就删除WP Super Cache，可是没想到提示UNINSTALL_WPSUPERCACHE must be set to a non-blank value in uninstall.php<br />
UNINSTALL_WPSUPERCACHE must be set to a non-blank value in uninstall.php这句话的意思就是uninstall.php 文件中UNINSTALL_WPSUPERCACHE的值不能为空.<br />
不管3*7=21，用记事本打开uninstall.php，直接删除下面的判断语句.</p>
<pre><span style="text-decoration: underline;">&lt;?php
/** Include the bootstrap for setting up WordPress environment */
include( '../../../wp-load.php' );

if ( !is_user_logged_in() )
	wp_die( 'You must be logged in to run this script.' );

if ( !current_user_can( 'install_plugins' ) )
	wp_die( 'You do not have permission to run this script.' );

if ( defined( 'UNINSTALL_WPSUPERCACHE' ) )
	wp_die( 'UNINSTALL_WPSUPERCACHE set somewhere else! It must only be set in uninstall.php' );

define( 'UNINSTALL_WPSUPERCACHE', '' );

if ( !defined( 'UNINSTALL_WPSUPERCACHE' ) || constant( 'UNINSTALL_WPSUPERCACHE' ) == '' )
	wp_die( 'UNINSTALL_WPSUPERCACHE must be set to a non-blank value in uninstall.php' );

?&gt;</span></pre>
<pre>然后上传覆盖原文件，这样就可以在  插件》》已安装》》wp super cache 》》卸载正常进行了。</pre>
<pre>删除完毕后，手动删除以下文件就可完全清空。</pre>
<pre>
<ul>
<li>删除/wp-content/plugins/wp-super-cache目录</li>
<li>删除wp-content/cache目录</li>
<li>删除wp-content目录下的wp-config.php、advanced-cache.php</li>
<li>修改wp-config.php，删掉 define(’WP_CACHE’, true);</li>
<li>重建.htaccess</li>
</ul>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.diguar.com/index.php/wp-super-cache-uninstall-method.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何让网页变成黑白色 为玉树默哀</title>
		<link>http://www.diguar.com/index.php/how-to-make-web-pages-black-and-white-silent-tribute-to-yushu.htm</link>
		<comments>http://www.diguar.com/index.php/how-to-make-web-pages-black-and-white-silent-tribute-to-yushu.htm#comments</comments>
		<pubDate>Wed, 21 Apr 2010 00:50:25 +0000</pubDate>
		<dc:creator>地瓜</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.diguar.com/?p=3924</guid>
		<description><![CDATA[为了为青海玉树地震默哀，石头把博客变成了全黑白色的，和5.12地震一样，网站黑白默哀一天。     怎样实现?  为方便站点哀悼，特提供css滤镜代码，以表哀悼。以下为全站CSS代码。  html { ... ]]></description>
			<content:encoded><![CDATA[<p>为了为青海玉树地震默哀，石头把博客变成了全黑白色的，和5.12地震一样，网站黑白默哀一天。<br />
    怎样实现? </p>
<p>为方便站点哀悼，特提供css滤镜代码，以表哀悼。以下为全站CSS代码。 </p>
<p>html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }</p>
<p>使 用方法：这段代码可以变网页为黑白，将代码加到CSS最顶端就可以实现素装。建议全国站长动起来。为在地震中遇难的同胞哀悼。</p>
<p>如果网站没有使用 CSS，可以在网页/模板的HTML代码和 之间插入：<br />
 &lt;style&gt;</p>
<p>html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }</p>
<p>&lt;/style&gt;</p>
<p>FLASH动画的颜色不能被CSS滤镜控制，可以在 FLASH代码的和之间插入：</p>
<p>&lt;param value=&#8221;false&#8221; name=&#8221;menu&#8221;/&gt;<br />
       &lt;param value=&#8221;opaque&#8221; name=&#8221;wmode&#8221;/&gt;<br />
最简单的把页面变成灰色的代码是在head 之间加 </p>
<p>&lt;style type=&#8221;text/css&#8221;&gt;<br />
html {<br />
FILTER: gray<br />
}<br />
&lt;/style&gt;</p>
<p><span style="font-size: medium;"><span style="color: red;">注：Discuz!</span></span><span style="font-size: medium;"><span style="color: #ff0000;">论坛，可以一步到位。</span></span></p>
<p><span style="font-size: medium;"><span style="color: #ff0000;">具体的操作方法是，</span></span><br />
<span style="font-size: medium;"><span style="color: #ff0000;">打开你的网站，后台，<span style="font-size: small;"><span style="color: #444444;">全局设置&#8212;-优化设置&#8212;-其他头部设置</span></span></span></span><br />
把下面的代码复制进去</p>
<p>&lt;style&gt;</p>
<p>html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }</p>
<p>&lt;/style&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diguar.com/index.php/how-to-make-web-pages-black-and-white-silent-tribute-to-yushu.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决WordPress“插件的头部错误”方法</title>
		<link>http://www.diguar.com/index.php/solve-wordpress-plug-in-head-error-method.htm</link>
		<comments>http://www.diguar.com/index.php/solve-wordpress-plug-in-head-error-method.htm#comments</comments>
		<pubDate>Tue, 09 Mar 2010 06:44:35 +0000</pubDate>
		<dc:creator>地瓜</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.diguar.com/?p=3687</guid>
		<description><![CDATA[最近在WP控制板板面安装插件，无论上传还是从wp官网添加，启用插件时遇到错误提示说 “插件的头部错误“， 经排查，应是object-cache 的问题清理缓存后问题解决。由于平时用的是wp-super-cache... ]]></description>
			<content:encoded><![CDATA[<p>最近在WP控制板板面安装插件，无论上传还是从wp官网添加，启用插件时遇到错误提示说 “插件的头部错误“，<br />
经排查，应是object-cache 的问题清理缓存后问题解决。由于平时用的是wp-super-cache和object-cache，<br />
以及gzip压缩，出点问题也是很正常的…<br />
现在通过FTP删除super-cache对应的wp-content/cache内的所有文件，就可以正常解决了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.diguar.com/index.php/solve-wordpress-plug-in-head-error-method.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>让Google给你的网站加速,快马加鞭,节省流量</title>
		<link>http://www.diguar.com/index.php/let-google-to-your-site-acceleration-full-speed-to-save-traffic.htm</link>
		<comments>http://www.diguar.com/index.php/let-google-to-your-site-acceleration-full-speed-to-save-traffic.htm#comments</comments>
		<pubDate>Tue, 09 Mar 2010 00:44:36 +0000</pubDate>
		<dc:creator>地瓜</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.diguar.com/?p=3666</guid>
		<description><![CDATA[ Google AJAX Libraries相信很多人都知到。那是Google存放流行的JavaScript框架开放给Web开发者使用。来减轻自身服务器的 负担。加快自身网页速度（Google的高速恐怕不须多讲了 吧）。作为新时代的博... ]]></description>
			<content:encoded><![CDATA[<p> Google AJAX Libraries相信很多人都知到。那是Google存放流行的JavaScript框架开放给Web开发者使用。来减轻自身服务器的 负担。加快自身网页速度（Google的高速恐怕不须多讲了 吧）。作为新时代的博客。各种Ajax效果大量运用。不免用到JavaScript框架。今天，让我来介绍一款用Google AJAX Libraries替代Wordpress自带JavaScript框架的插件给大 家：<strong><a onclick="pageTracker._trackPageview('/outbound/article/jasonpenney.net');" href="http://jasonpenney.net/wordpress-plugins/use-google-libraries/" target="_blank" onfocus="undefined">Use Google Libraries</a></strong></p>
<p><strong>Google AJAX Libraries推出的时候，其实就引起了一阵轰动。毕竟Google的服务器故障率低，加之使用了CDN加速技术。保证了何时何地都以最高速度传输。 对于使用国外主机的网站，确实是很有好处！</strong></p>
<p><strong>以前雪山飞猪曾 经推荐过Google AJAX Libraries这 个插件，但后来插件作者却放出这么一段话</strong></p>
<blockquote><p><strong>This plugin is no longer being updated. It has been superceded by the good work of Jason Penney with his <a onclick="pageTracker._trackPageview('/outbound/article/jasonpenney.net');" href="http://jasonpenney.net/wordpress-plugins/use-google-libraries/" target="_blank" onfocus="undefined">Use Google Libraries WordPress plugin</a> which uses code based on this plugin. I recommend that you use his plugin from now on.</strong></p></blockquote>
<p><strong>大意是说这个插件已经很久没有更新，以至于不能很 好的工作，并推荐大家使用<a onclick="pageTracker._trackPageview('/outbound/article/jasonpenney.net');" href="http://jasonpenney.net/wordpress-plugins/use-google-libraries/" target="_blank" onfocus="undefined">Use Google Libraries</a>这个插件。于是寻向查 找，终于发现了这款插件。并且第一时间使用，感觉速度快上不少，不仅速度快，还可以节省服务器的宽带，确实是一举两得。 </strong></p>
<p>使用方法非常简单，只需要上传并启用即可。无需配置！</p>
<p><a onclick="pageTracker._trackPageview('/outbound/article/downloads.wordpress.org');" href="http://downloads.wordpress.org/plugin/use-google-libraries.1.0.zip" target="_blank" onfocus="undefined">下载</a><a onclick="pageTracker._trackPageview('/outbound/article/downloads.wordpress.org');" href="http://downloads.wordpress.org/plugin/use-google-libraries.1.0.zip" target="_blank" onfocus="undefined">Use Google Libraries</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.diguar.com/index.php/let-google-to-your-site-acceleration-full-speed-to-save-traffic.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
