<?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"
	>
<channel>
	<title>Comments on: pjw-mime-config v0.90 released</title>
	<atom:link href="http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/</link>
	<description>Random commentary...</description>
	<pubDate>Mon, 13 Oct 2008 20:08:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Big IDEA &#187; Blog Archive &#187; Three helpful Wordpress plugins for web geeks</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-121110</link>
		<dc:creator>Big IDEA &#187; Blog Archive &#187; Three helpful Wordpress plugins for web geeks</dc:creator>
		<pubDate>Thu, 07 Feb 2008 20:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-121110</guid>
		<description>[...] Mime-config provides an interface for you to allow uploading of additional file types. [...]</description>
		<content:encoded><![CDATA[<p>[...] Mime-config provides an interface for you to allow uploading of additional file types. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l0b0</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-94242</link>
		<dc:creator>l0b0</dc:creator>
		<pubDate>Tue, 25 Sep 2007 11:11:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-94242</guid>
		<description>Ah, turned out I just had to clear the browser cache. It indeed works now. Thanks for all the help!</description>
		<content:encoded><![CDATA[<p>Ah, turned out I just had to clear the browser cache. It indeed works now. Thanks for all the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: westi</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-94236</link>
		<dc:creator>westi</dc:creator>
		<pubDate>Tue, 25 Sep 2007 10:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-94236</guid>
		<description>Ok.  I checked the headers returned by your server and they are now fine:

&lt;pre&gt;&lt;code&gt;
 curl -I http://blog.l0b0.net/wp-content/uploads/2007/09/dvorak-keyboard-layout-at-login.reg
HTTP/1.1 200 OK
Date: Tue, 25 Sep 2007 10:36:05 GMT
Server: Apache
Last-Modified: Tue, 25 Sep 2007 09:30:35 GMT
ETag: "248c6cd-491-63a384c0"
Accept-Ranges: bytes
Content-Length: 1169
Content-Type: text/plain
&lt;/code&gt;&lt;/pre&gt;

I guess your PC has associated .reg files with a MP3 player though?</description>
		<content:encoded><![CDATA[<p>Ok.  I checked the headers returned by your server and they are now fine:</p>
<pre><code>
 curl -I <a href="http://blog.l0b0.net/wp-content/uploads/2007/09/dvorak-keyboard-layout-at-login.reg" rel="nofollow">http://blog.l0b0.net/wp-content/uploads/2007/09/dvorak-keyboard-layout-at-login.reg</a>
HTTP/1.1 200 OK
Date: Tue, 25 Sep 2007 10:36:05 GMT
Server: Apache
Last-Modified: Tue, 25 Sep 2007 09:30:35 GMT
ETag: "248c6cd-491-63a384c0"
Accept-Ranges: bytes
Content-Length: 1169
Content-Type: text/plain
</code></pre>
<p>I guess your PC has associated .reg files with a MP3 player though?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l0b0</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-94222</link>
		<dc:creator>l0b0</dc:creator>
		<pubDate>Tue, 25 Sep 2007 09:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-94222</guid>
		<description>I've added the following lines to .htaccess:
&lt;code&gt;AddType text/plain .reg
ForceType text/plain .reg
AddType text/plain reg
ForceType text/plain reg
&lt;/code&gt;

I've also downloaded the file, and re-set the encoding to ISO-8859-1. According to jEdit, it was set to "x-UTF-16LE-BOM".

Still doesn't work. Any ideas where the MIME type is overridden?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added the following lines to .htaccess:<br />
<code>AddType text/plain .reg<br />
ForceType text/plain .reg<br />
AddType text/plain reg<br />
ForceType text/plain reg<br />
</code></p>
<p>I&#8217;ve also downloaded the file, and re-set the encoding to ISO-8859-1. According to jEdit, it was set to &#8220;x-UTF-16LE-BOM&#8221;.</p>
<p>Still doesn&#8217;t work. Any ideas where the MIME type is overridden?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: westi</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91272</link>
		<dc:creator>westi</dc:creator>
		<pubDate>Mon, 10 Sep 2007 18:26:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91272</guid>
		<description>&lt;blockquote&gt;Sure, look at the bottom of this post. I’ve tried it on two machines now, and both detect it as MP3.&lt;/blockquote&gt;

Yep appears as MP3 to me.

Looking at the headers returned by your webserver - it is stating that it is MP3 so it looks like a server config issue I think:
&lt;pre&gt;
$ curl -I http://blog.l0b0.net/wp-content/uploads/2007/09/dvorak-keyboard-layout-at-login.reg
HTTP/1.1 200 OK
Date: Mon, 10 Sep 2007 18:24:39 GMT
Server: Apache
Last-Modified: Mon, 10 Sep 2007 14:04:24 GMT
ETag: "248c6cd-886-77438a00"
Accept-Ranges: bytes
Content-Length: 2182
Content-Type: audio/mpeg
&lt;/pre&gt;

Interestingly, the unix file command (which helps identify file types) says this about the file - &lt;code&gt; MPEG ADTS, layer I, v1, 160 kBits, 48 kHz, Stereo&lt;/code&gt; - I guess your server config maybe using file to determine the mime type automatically.</description>
		<content:encoded><![CDATA[<blockquote><p>Sure, look at the bottom of this post. I’ve tried it on two machines now, and both detect it as MP3.</p></blockquote>
<p>Yep appears as MP3 to me.</p>
<p>Looking at the headers returned by your webserver - it is stating that it is MP3 so it looks like a server config issue I think:</p>
<pre>
$ curl -I <a href="http://blog.l0b0.net/wp-content/uploads/2007/09/dvorak-keyboard-layout-at-login.reg" rel="nofollow">http://blog.l0b0.net/wp-content/uploads/2007/09/dvorak-keyboard-layout-at-login.reg</a>
HTTP/1.1 200 OK
Date: Mon, 10 Sep 2007 18:24:39 GMT
Server: Apache
Last-Modified: Mon, 10 Sep 2007 14:04:24 GMT
ETag: "248c6cd-886-77438a00"
Accept-Ranges: bytes
Content-Length: 2182
Content-Type: audio/mpeg
</pre>
<p>Interestingly, the unix file command (which helps identify file types) says this about the file - <code> MPEG ADTS, layer I, v1, 160 kBits, 48 kHz, Stereo</code> - I guess your server config maybe using file to determine the mime type automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l0b0</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91271</link>
		<dc:creator>l0b0</dc:creator>
		<pubDate>Mon, 10 Sep 2007 18:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91271</guid>
		<description>Sure, look at the bottom of &lt;a href="http://blog.l0b0.net/?p=90" rel="nofollow"&gt;this post&lt;/a&gt;. I've tried it on two machines now, and both detect it as MP3.</description>
		<content:encoded><![CDATA[<p>Sure, look at the bottom of <a href="http://blog.l0b0.net/?p=90" rel="nofollow">this post</a>. I&#8217;ve tried it on two machines now, and both detect it as MP3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morty</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91267</link>
		<dc:creator>Morty</dc:creator>
		<pubDate>Mon, 10 Sep 2007 17:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91267</guid>
		<description>Are you sure that mp3 is reported by the server and not your mp3 player is assigned to text/plain or something like that? A link would help.</description>
		<content:encoded><![CDATA[<p>Are you sure that mp3 is reported by the server and not your mp3 player is assigned to text/plain or something like that? A link would help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: westi</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91265</link>
		<dc:creator>westi</dc:creator>
		<pubDate>Mon, 10 Sep 2007 17:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91265</guid>
		<description>&lt;blockquote&gt;I tried deleting all MIME-config entries, and the file itself, and then upload the file again. It didn’t help. It’s still downloaded as an MP3 file. I also tried changing functions.php (to include “reg” with the text/plain formats), and uninstalling MIME-config before uploading again, but it seems to be completely broken. Any tips would be great.&lt;/blockquote&gt;

Ok. It sounds like your server is configured to return a mime-type of MP3 for .reg files and as such that is what is being returned.

The list of mime-types in WordPress (and hence in the plugin) affects what you can upload to the server - it is effectively a whitelist of allowable file types - the mime-type info is stored along with the extension so as to be available when WordPress or a plugin wants to do something special based on mime-type - at present the only mime-types that WordPress does anything special with on presentation is images - where is extras the width and height to put into the generated html.</description>
		<content:encoded><![CDATA[<blockquote><p>I tried deleting all MIME-config entries, and the file itself, and then upload the file again. It didn’t help. It’s still downloaded as an MP3 file. I also tried changing functions.php (to include “reg” with the text/plain formats), and uninstalling MIME-config before uploading again, but it seems to be completely broken. Any tips would be great.</p></blockquote>
<p>Ok. It sounds like your server is configured to return a mime-type of MP3 for .reg files and as such that is what is being returned.</p>
<p>The list of mime-types in WordPress (and hence in the plugin) affects what you can upload to the server - it is effectively a whitelist of allowable file types - the mime-type info is stored along with the extension so as to be available when WordPress or a plugin wants to do something special based on mime-type - at present the only mime-types that WordPress does anything special with on presentation is images - where is extras the width and height to put into the generated html.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l0b0</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91263</link>
		<dc:creator>l0b0</dc:creator>
		<pubDate>Mon, 10 Sep 2007 17:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91263</guid>
		<description>&lt;blockquote cite=""&gt;In the admin panel you can delete individual entries. Therefore you should be able to delete the entry for .reg files and then create a new one that is correct.&lt;/blockquote&gt;
I tried deleting all MIME-config entries, and the file itself, and then upload the file again. It didn't help. It's still downloaded as an MP3 file. I also tried changing functions.php (to include "reg" with the text/plain formats), and uninstalling MIME-config before uploading again, but it seems to be completely broken. Any tips would be great.</description>
		<content:encoded><![CDATA[<blockquote cite=""><p>In the admin panel you can delete individual entries. Therefore you should be able to delete the entry for .reg files and then create a new one that is correct.</p></blockquote>
<p>I tried deleting all MIME-config entries, and the file itself, and then upload the file again. It didn&#8217;t help. It&#8217;s still downloaded as an MP3 file. I also tried changing functions.php (to include &#8220;reg&#8221; with the text/plain formats), and uninstalling MIME-config before uploading again, but it seems to be completely broken. Any tips would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: westi</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91260</link>
		<dc:creator>westi</dc:creator>
		<pubDate>Mon, 10 Sep 2007 17:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91260</guid>
		<description>&lt;blockquote cite="http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91243"&gt;I’ve tried to use v0.90 with WP 2.2.1, and it failed to register reg (Windows registry) files properly as text/plain. Now the reported MIME type is MP3. Is there any way to fix this?&lt;/blockquote&gt;

In the admin panel you can delete individual entries.  Therefore you should be able to delete the entry for .reg files and then create a new one that is correct.</description>
		<content:encoded><![CDATA[<blockquote cite="http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91243"><p>I’ve tried to use v0.90 with WP 2.2.1, and it failed to register reg (Windows registry) files properly as text/plain. Now the reported MIME type is MP3. Is there any way to fix this?</p></blockquote>
<p>In the admin panel you can delete individual entries.  Therefore you should be able to delete the entry for .reg files and then create a new one that is correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l0b0</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91243</link>
		<dc:creator>l0b0</dc:creator>
		<pubDate>Mon, 10 Sep 2007 13:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-91243</guid>
		<description>I've tried to use v0.90 with WP 2.2.1, and it failed to register reg (Windows registry) files properly as text/plain. Now the reported MIME type is MP3. Is there any way to fix this?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried to use v0.90 with WP 2.2.1, and it failed to register reg (Windows registry) files properly as text/plain. Now the reported MIME type is MP3. Is there any way to fix this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Infotropism &#8211; Weaning yourself off LJ: Images and video</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-76481</link>
		<dc:creator>Infotropism &#8211; Weaning yourself off LJ: Images and video</dc:creator>
		<pubDate>Sat, 16 Jun 2007 07:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-76481</guid>
		<description>[...] Install the MIME Config Plugin. [...]</description>
		<content:encoded><![CDATA[<p>[...] Install the MIME Config Plugin. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; Upload Mime types plugin for wordpress - PatchLog - Blog Archive</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-69775</link>
		<dc:creator>&#187; Upload Mime types plugin for wordpress - PatchLog - Blog Archive</dc:creator>
		<pubDate>Tue, 08 May 2007 20:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-69775</guid>
		<description>[...] a plugin that is actually a lot nicer and already has the web interface that let&#8217;s you easily add new mime types to wordpress   These icons link to social bookmarking sites where readers can share and discover new web [...]</description>
		<content:encoded><![CDATA[<p>[...] a plugin that is actually a lot nicer and already has the web interface that let&#8217;s you easily add new mime types to wordpress   These icons link to social bookmarking sites where readers can share and discover new web [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cogito ergo sum&#8230; &#187; Blog Archiv &#187; Deutlich zu wenige mime-typen in WP</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-49553</link>
		<dc:creator>Cogito ergo sum&#8230; &#187; Blog Archiv &#187; Deutlich zu wenige mime-typen in WP</dc:creator>
		<pubDate>Wed, 24 Jan 2007 22:48:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-49553</guid>
		<description>[...] finden um Mime-typen hinzuzufügen. Im Sourcecode wollte ich nicht rumpfuschen. Peter Westwoods pjw-mime-config schien ganz gut zu sein. Er hat sogar einene Textdatei-Importfunktion. Also musste ich eine Seite [...]</description>
		<content:encoded><![CDATA[<p>[...] finden um Mime-typen hinzuzufügen. Im Sourcecode wollte ich nicht rumpfuschen. Peter Westwoods pjw-mime-config schien ganz gut zu sein. Er hat sogar einene Textdatei-Importfunktion. Also musste ich eine Seite [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JJs wee blog &#187; Editing the allowed list of attachments for your WordPress blog</title>
		<link>http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-33055</link>
		<dc:creator>JJs wee blog &#187; Editing the allowed list of attachments for your WordPress blog</dc:creator>
		<pubDate>Sun, 17 Dec 2006 13:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#comment-33055</guid>
		<description>[...] I decided to add this post because I for one needed to attach some files (exe, dll, msi) to a posting..and Wordpress wouldnt allow me to do so; so i googled and googled and found a handy little plugin that allows for me to modify the allowed file extensions (and mime-types). Peter Westwood created the plugin, the original page can be found at: http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#more-163 Besides the plugin, I&#8217;ve attached a list of 390 custom file extensions (and their associated mime-types). [...]</description>
		<content:encoded><![CDATA[<p>[...] I decided to add this post because I for one needed to attach some files (exe, dll, msi) to a posting..and Wordpress wouldnt allow me to do so; so i googled and googled and found a handy little plugin that allows for me to modify the allowed file extensions (and mime-types). Peter Westwood created the plugin, the original page can be found at: <a href="http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#more-163" rel="nofollow">http://blog.ftwr.co.uk/archives/2006/09/03/pjw-mime-config-v090-released/#more-163</a> Besides the plugin, I&#8217;ve attached a list of 390 custom file extensions (and their associated mime-types). [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
