<?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.dayu.name/p/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dayu.name</link>
	<description>人生是一场旅行，我们才刚刚上路</description>
	<lastBuildDate>Sat, 31 Dec 2011 15:38:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>wordpress升级中的缓存问题</title>
		<link>http://www.dayu.name/p/751.html</link>
		<comments>http://www.dayu.name/p/751.html#comments</comments>
		<pubDate>Fri, 25 Feb 2011 15:20:32 +0000</pubDate>
		<dc:creator>大宇</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dayu.name/?p=751</guid>
		<description><![CDATA[升级wordpress到3.1版本，上传了新文件后，进入后台，总是报告升级成功，不需要再次升级数据库。 查看源代码发现get_option的db_version和文件中的wp_db_version变量总是不一致。 仔细研究后，发现原来是原来wp-content目录下的object-cache.php的缓存在起作用。 不知道什么时候我上传的该文件，大概是配置服务器memcached之后，使用的吧。重启服务器上的memcached后，清空缓存后，再次进入后台一切正常！ 谢天谢地，这个缓存插件文件（但又不再插件目录下，也不在官方的发布包里，也可以称为增强型缓存）我总算知道是干嘛的了。]]></description>
			<content:encoded><![CDATA[<p>升级wordpress到3.1版本，上传了新文件后，进入后台，总是报告升级成功，不需要再次升级数据库。</p>
<p>查看源代码发现get_option的db_version和文件中的wp_db_version变量总是不一致。</p>
<p>仔细研究后，发现原来是原来wp-content目录下的object-cache.php的缓存在起作用。</p>
<p>不知道什么时候我上传的该文件，大概是配置服务器memcached之后，使用的吧。重启服务器上的memcached后，清空缓存后，再次进入后台一切正常！</p>
<p>谢天谢地，这个缓存插件文件（但又不再插件目录下，也不在官方的发布包里，也可以称为增强型缓存）我总算知道是干嘛的了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dayu.name/p/751.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HelloFlash使用方法及注意事项</title>
		<link>http://www.dayu.name/p/42.html</link>
		<comments>http://www.dayu.name/p/42.html#comments</comments>
		<pubDate>Tue, 13 Jan 2009 06:32:29 +0000</pubDate>
		<dc:creator>大宇</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://dayu.name/?p=42</guid>
		<description><![CDATA[HelloFlash使用方法及注意事项]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.phpstudio.cn/2008/10/04/wp-flash-plugins/" target="_blank">HelloFlash</a> 是国人开发的一款 <a href="http://wordpress.org/" target="_blank">WordPress</a> 幻灯插件。对于这方面的插件，我了解的并不多，所以对于该插件也是在使用 <a href="http://www.bbon.cn/2008/12/wordpress-bbtheme-cms-beta2.html/" target="_blank">WordPress BBtheme CMS</a> 主题后才知道的。虽然它的使用非常简单，但对于初次使用该插件的朋友来说，要想在幻灯中显示出图片，有些细节是必需要注意的。</p>
<p>　　根据官方的说明，HelloFlash 和标准 WordPress 插件一样，只要将 HelloFlash 的 Flash 文件夹上传至 wp-content/plugins/ 目录下，并在插件管理页面激活，然后在想要显示幻灯的页面中加入 &lt;?php flash(); ?&gt; 就可以使用了。 但到底怎么使用呢？怎样才能让图片显示在幻灯里呢？这里有两个方法可供参考。</p>
<p>１、 如果你使用的编辑器是 WordPress 自带的 TinyMCE，那么可以打开“撰写”页面，点击上传图标，将想要显示在幻灯里的图片上传，写好文章并发表后该图就显示在幻灯里了。</p>
<p>２、 如果你和我一样，用了第三方编辑器（例如 FCKEditor），可以点击“媒体”菜单下的“新建”进入上传页面，上传想要显示在幻灯里的图片后，在“媒体库”中选择“未用到的附件”，点击上传图片下方的“关联到文章”，输入想要关联的文章链接并保存即可。</p>
<p>　　使用方法很简单，不过仍然要注意以下两点。</p>
<p>１、上传的图片必需关联到文章，但图片可以不在文章中显示。</p>
<p>２、HelloFlash 只能识别通过 WordPress 内置的上传功能上传的图片，外链的无法识别。</p>
<p>３、HelloFlash 的链接是读取的 wp_posts 表的 guid 字段，如果你曾经修改过永久链接的话，这里的链接可能不正确。例如我以前的永久链接的格式为：</p>
<p>http://www.mxjava.com/weblog/index.php/life/51</p>
<p>后来改为：</p>
<p>http://www.mxjava.com/weblog/?p=51</p>
<p>现在是</p>
<p>http://www.mxjava.com/blog/archives/51.html</p>
<p>如果你的网站使用了缓存插件（例如：cos-html-cache），点击图片后，系统提示找不到页面或返回到首页。这时你需要将 wp_posts.guid 修改为正确的链接地址。相反，如果没有使用缓存插件，那么即使链接不正确， WordPress 仍然可以解析到正确的页面。</p>
<p>文章来源：<a href="http://www.mxjava.com/blog/archives/213.html#more-213">http://www.mxjava.com/blog/archives/213.html#more-213</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dayu.name/p/42.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

