<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/mime</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 07:03:50 GMT</pubDate>
<item>
<title>(CSS) styling as per mime type / type of linked item - skopp</title>
<link>http://snipplr.com/view/66944/styling-as-per-mime-type--type-of-linked-item/</link>
<description><![CDATA[ <p>Style links depending on file format

Since CSS3 you can style links depending on some rules also called attribute selectors. This is extremely convenient if you have files in PDF, Zip among other and you want to display a small icon near it. With this technique you can do it without including an image on your link. This snippet shows a small icons next to your links telling the user if it is an external link, an email, a pdf, a zip or whatever you would like.</p> ]]></description>
<pubDate>Wed, 29 Aug 2012 22:55:01 GMT</pubDate>
<guid>http://snipplr.com/view/66944/styling-as-per-mime-type--type-of-linked-item/</guid>
</item>
<item>
<title>(PHP) Custom mime types in Wordpress - scienzedellevanghe</title>
<link>http://snipplr.com/view/65223/custom-mime-types-in-wordpress/</link>
<description><![CDATA[ <p>This code allows the upload of files with extensions usually forbidden in wordpress</p> ]]></description>
<pubDate>Sun, 27 May 2012 22:00:28 GMT</pubDate>
<guid>http://snipplr.com/view/65223/custom-mime-types-in-wordpress/</guid>
</item>
<item>
<title>(PHP) p11creative email class - ryarwood</title>
<link>http://snipplr.com/view/55435/p11creative-email-class/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 18 Jun 2011 02:43:10 GMT</pubDate>
<guid>http://snipplr.com/view/55435/p11creative-email-class/</guid>
</item>
<item>
<title>(PHP) Standard Contact Form - ryarwood</title>
<link>http://snipplr.com/view/55434/standard-contact-form/</link>
<description><![CDATA[ <p>Just a standard mail function. Set the fields on the top, send it at the bottom.</p> ]]></description>
<pubDate>Sat, 18 Jun 2011 02:41:06 GMT</pubDate>
<guid>http://snipplr.com/view/55434/standard-contact-form/</guid>
</item>
<item>
<title>(PHP) Humanize MIME type - jatkins</title>
<link>http://snipplr.com/view/52610/humanize-mime-type/</link>
<description><![CDATA[ <p>Released into the public domain. Amend `$file_types` as you wish to add more types.</p> ]]></description>
<pubDate>Wed, 27 Apr 2011 01:01:31 GMT</pubDate>
<guid>http://snipplr.com/view/52610/humanize-mime-type/</guid>
</item>
<item>
<title>(Rails) Set Content-Type - chrisamini</title>
<link>http://snipplr.com/view/20636/set-contenttype/</link>
<description><![CDATA[ <p>Put the following in your controller to define the content-type for *that* specific controller.</p> ]]></description>
<pubDate>Sun, 04 Oct 2009 14:51:25 GMT</pubDate>
<guid>http://snipplr.com/view/20636/set-contenttype/</guid>
</item>
<item>
<title>(PHP) get file mime-type - fackz</title>
<link>http://snipplr.com/view/11451/get-file-mimetype/</link>
<description><![CDATA[ <p>You only use the filename as $value
for get_mimetype().</p> ]]></description>
<pubDate>Thu, 22 Jan 2009 16:15:12 GMT</pubDate>
<guid>http://snipplr.com/view/11451/get-file-mimetype/</guid>
</item>
<item>
<title>(PHP) PHP: Sending Email (Text/HTML/Attachments) - funkmyer</title>
<link>http://snipplr.com/view/6053/php-sending-email-texthtmlattachments/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 29 Apr 2008 15:15:43 GMT</pubDate>
<guid>http://snipplr.com/view/6053/php-sending-email-texthtmlattachments/</guid>
</item>
<item>
<title>(PHP) mySQL MIME Table (PHP) - fabian</title>
<link>http://snipplr.com/view/4914/mysql-mime-table-php/</link>
<description><![CDATA[ <p>PHP function that creates a mySQL INSERT statement for mime types. Type are extracted from a text file.</p> ]]></description>
<pubDate>Wed, 06 Feb 2008 04:21:43 GMT</pubDate>
<guid>http://snipplr.com/view/4914/mysql-mime-table-php/</guid>
</item>
<item>
<title>(PHP) Parsing MIME email into parts - d4rk</title>
<link>http://snipplr.com/view/2636/parsing-mime-email-into-parts/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 14 May 2007 20:22:05 GMT</pubDate>
<guid>http://snipplr.com/view/2636/parsing-mime-email-into-parts/</guid>
</item>
<item>
<title>(PHP) Array of MIME Types - tylerhall</title>
<link>http://snipplr.com/view/1937/array-of-mime-types/</link>
<description><![CDATA[ <p>This is an associative array of nearly every common MIME type. It's useful when you need to serve a file for download but you don't know the correct content type. You can look it up using it's extension.</p> ]]></description>
<pubDate>Fri, 05 Jan 2007 15:23:45 GMT</pubDate>
<guid>http://snipplr.com/view/1937/array-of-mime-types/</guid>
</item>
</channel>
</rss>