<?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>Dominic.Xu&#039;s 博客 &#187; 文件类型</title>
	<atom:link href="http://xuplus.com/article/tag/%e6%96%87%e4%bb%b6%e7%b1%bb%e5%9e%8b/feed" rel="self" type="application/rss+xml" />
	<link>http://xuplus.com</link>
	<description>Web 2.0 生活</description>
	<lastBuildDate>Wed, 24 Aug 2011 05:26:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress 2.1添加自定义文件上传类型（允许上传rar文件方法）</title>
		<link>http://xuplus.com/article/2007/04/a15.html</link>
		<comments>http://xuplus.com/article/2007/04/a15.html#comments</comments>
		<pubDate>Wed, 18 Apr 2007 04:28:56 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[Web应用]]></category>
		<category><![CDATA[rar]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[上传]]></category>
		<category><![CDATA[文件类型]]></category>

		<guid isPermaLink="false">http://xuplus.com/?p=15</guid>
		<description><![CDATA[注意，2.1中修改允许上传文件文件类型的的位置变了，以前的版本是wp-includes\functions-post.php，2.1之后的版本改成了wp-includes\functions.php wordpress2.1.3默认不支持上传rar文件，修改方法如下： 打开wp-includes\functions.php，查找    &#8216;zip&#8217; =&#62; &#8216;application/zip&#8217;, （第1106行左右），在这一行的下面加上这一行 &#8216;rar&#8217; =&#62; &#8216;application/rar&#8217;, 注意后面有个半角的逗号，别复制漏了，引号是半角单引号。 保存就可以了，如果是用ftp管理别忘了上传哦。 标签： rar, Wordpress, 上传, 文件类型]]></description>
			<content:encoded><![CDATA[<p class="postentry"><font size="3"><strong>注意，2.1中修改允许上传文件文件类型的的位置变了</strong>，以前的版本是<strong><font color="#ef6c6c">wp-includes\functions-post.php</font></strong>，2.1之后的版本改成了<strong><font color="#ef6c6c">wp-includes\functions.php</font></strong></font></p>
<p><font size="3"><a href="http://xuplus.com/article/tag/wordpress" class="st_tag internal_tag" rel="tag" title="标签 Wordpress 下的日志">wordpress</a>2.1.3默认不支持<span class="hilite1"><a href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0" class="st_tag internal_tag" rel="tag" title="标签 上传 下的日志">上传</a></span>rar文件，修改方法如下：<br />
打开wp-includes\functions.php，查找</font></p>
<blockquote><p><font size="3">   &#8216;zip&#8217; =&gt; &#8216;application/zip&#8217;,</font></p></blockquote>
<p><font size="3">（第1106行左右），在这一行的下面加上这一行</font></p>
<blockquote><p><font size="3">&#8216;<a href="http://xuplus.com/article/tag/rar" class="st_tag internal_tag" rel="tag" title="标签 rar 下的日志">rar</a>&#8217; =&gt; &#8216;application/<a href="http://xuplus.com/article/tag/rar" class="st_tag internal_tag" rel="tag" title="标签 rar 下的日志">rar</a>&#8217;,</font></p></blockquote>
<p><font size="3" color="#ff0000"><strong>注意后面有个半角的逗号，别复制漏了，引号是半角单引号。</strong></font></p>
<p><font size="3">保存就可以了，如果是用ftp管理别忘了上传哦。</font></p>

	标签： <a href="http://xuplus.com/article/tag/rar" title="rar" rel="tag">rar</a>, <a href="http://xuplus.com/article/tag/wordpress" title="Wordpress" rel="tag">Wordpress</a>, <a href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0" title="上传" rel="tag">上传</a>, <a href="http://xuplus.com/article/tag/%e6%96%87%e4%bb%b6%e7%b1%bb%e5%9e%8b" title="文件类型" rel="tag">文件类型</a><br />
]]></content:encoded>
			<wfw:commentRss>http://xuplus.com/article/2007/04/a15.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

