<?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>Haycroft Media</title>
	<atom:link href="http://www.haycroftmedia.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.haycroftmedia.com</link>
	<description>Quality Web Programming</description>
	<lastBuildDate>Wed, 13 Feb 2013 06:49:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stop the Skype plugin breaking layouts</title>
		<link>http://www.haycroftmedia.com/archives/654/stop-the-skype-plugin-breaking-layouts</link>
		<comments>http://www.haycroftmedia.com/archives/654/stop-the-skype-plugin-breaking-layouts#comments</comments>
		<pubDate>Wed, 13 Feb 2013 06:48:13 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[browser]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=654</guid>
		<description><![CDATA[&#60;!-- a recent site I built got totally wrecked in IE9 by the Skype plugin, to stop it just add this to your &#60;head&#62; --&#62; &#60;meta name=&#34;SKYPE_TOOLBAR&#34; content =&#34;SKYPE_TOOLBAR_PARSER_COMPATIBLE&#34;/&#62; &#60;!--simple as that!--&#62;]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/654/stop-the-skype-plugin-breaking-layouts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centre an image vertically and horizontally</title>
		<link>http://www.haycroftmedia.com/archives/651/centre-an-image-vertically-and-horizontally</link>
		<comments>http://www.haycroftmedia.com/archives/651/centre-an-image-vertically-and-horizontally#comments</comments>
		<pubDate>Sun, 23 Dec 2012 19:35:15 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=651</guid>
		<description><![CDATA[.img-container { display: table-cell; vertical-align: middle; text-align: center; } &#60;div class=&#34;img-container&#34;&#62; &#60;img src=&#34;img.jpg&#34; /&#62; &#60;/div&#62;]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/651/centre-an-image-vertically-and-horizontally/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert WordPress site to https</title>
		<link>http://www.haycroftmedia.com/archives/646/convert-wordpress-site-to-https</link>
		<comments>http://www.haycroftmedia.com/archives/646/convert-wordpress-site-to-https#comments</comments>
		<pubDate>Wed, 05 Dec 2012 07:30:53 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=646</guid>
		<description><![CDATA[I&#8217;m busy building a site for a project I&#8217;m involved in, and one of the requirements was SSL. Here&#8217;s how I converted from http to https with no plugins required. Where possible, I try and avoid adding plugins so I&#8217;m always on the lookout for ways of achieving what I want without adding endless plugins. [...]]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/646/convert-wordpress-site-to-https/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fgetcsv multibyte workaround (when set_locale isnt doing the job)</title>
		<link>http://www.haycroftmedia.com/archives/459/fgetcsv-multibyte-workaround-when-set_locale-isnt-doing-the-job</link>
		<comments>http://www.haycroftmedia.com/archives/459/fgetcsv-multibyte-workaround-when-set_locale-isnt-doing-the-job#comments</comments>
		<pubDate>Wed, 15 Aug 2012 15:54:00 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=459</guid>
		<description><![CDATA[&#60;?php $fc = iconv(&#039;windows-1250&#039;, &#039;utf-8&#039;, file_get_contents($_FILES[&#039;csv&#039;][&#039;tmp_name&#039;])); file_put_contents(&#039;tmp/import.tmp&#039;, $fc); $handle = fopen(&#039;tmp/import.tmp&#039;, &#34;r&#34;); $rows = array(); while (($data = fgetcsv($handle, 0, &#34;;&#34;)) !== FALSE) { $rows[] = $data; } fclose($handle); unlink(&#039;tmp/import.tmp&#039;); ?&#62;]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/459/fgetcsv-multibyte-workaround-when-set_locale-isnt-doing-the-job/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting a greeting based on user&#8217;s time</title>
		<link>http://www.haycroftmedia.com/archives/447/setting-a-greeting-based-on-users-time</link>
		<comments>http://www.haycroftmedia.com/archives/447/setting-a-greeting-based-on-users-time#comments</comments>
		<pubDate>Sun, 15 Jul 2012 11:28:09 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=447</guid>
		<description><![CDATA[var now = new Date(); var hrs = now.getHours(); var msg = &#34;&#34;; if (hrs &#62; 0) msg = &#34;Mornin&#039; Sunshine!&#34;; // REALLY early if (hrs &#62; 6) msg = &#34;Good morning&#34;; // After 6am if (hrs &#62; 12) msg = &#34;Good afternoon&#34;; // After 12pm if (hrs &#62; 17) msg = &#34;Good evening&#34;; // [...]]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/447/setting-a-greeting-based-on-users-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP-E-Commerce Advanced Product Importer Plugin</title>
		<link>http://www.haycroftmedia.com/archives/444/wp-e-commerce-advanced-product-importer-plugin</link>
		<comments>http://www.haycroftmedia.com/archives/444/wp-e-commerce-advanced-product-importer-plugin#comments</comments>
		<pubDate>Sun, 15 Jul 2012 10:48:45 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[WordPress Plugin]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=444</guid>
		<description><![CDATA[As my wpec tutorials no longer work with the latest release, I&#8217;ve written an importer plugin. 2012-07-18: Updated Release: beta 2.0.1: fixed ampersand error in categories Download Latest Version (beta 2.0.1) 2012-07-15: Beta 2 released I released the plugin to those that asked for it, and its been an interesting experience. Some of the feedback [...]]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/444/wp-e-commerce-advanced-product-importer-plugin/feed</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
		<item>
		<title>Strip Titles from WordPress images</title>
		<link>http://www.haycroftmedia.com/archives/421/strip-titles-from-wordpress-images</link>
		<comments>http://www.haycroftmedia.com/archives/421/strip-titles-from-wordpress-images#comments</comments>
		<pubDate>Fri, 04 May 2012 06:03:10 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=421</guid>
		<description><![CDATA[add_filter( &#039;wp_get_attachment_image_attributes&#039;, &#039;my_no_image_title&#039; ); function my_no_image_title ( $attr ) { unset( $attr[&#039;title&#039;] ); return $attr; }]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/421/strip-titles-from-wordpress-images/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Equal-height columns in jQuery</title>
		<link>http://www.haycroftmedia.com/archives/418/equal-height-columns-in-jquery</link>
		<comments>http://www.haycroftmedia.com/archives/418/equal-height-columns-in-jquery#comments</comments>
		<pubDate>Fri, 27 Apr 2012 08:59:58 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=418</guid>
		<description><![CDATA[/*if your columns have unique IDs*/ var highestCol = Math.max ( $(&#039;#element1&#039;).height(), $(&#039;#element2&#039;).height() ); $(&#039;.elements&#039;).height(highestCol); /*alternative if your columns don&#039;t have unique IDs, which was the case when I implemented the above*/ var n = 1; $(&#039;.textwidget&#039;).each(function(){ var id = &#039;element&#039; + n; $(this).attr(&#039;id&#039;,id); n++; }); /*extend this if you have more than two columns, [...]]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/418/equal-height-columns-in-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade a user from subscriber to editor</title>
		<link>http://www.haycroftmedia.com/archives/416/upgrade-a-user-from-subscriber-to-editor</link>
		<comments>http://www.haycroftmedia.com/archives/416/upgrade-a-user-from-subscriber-to-editor#comments</comments>
		<pubDate>Tue, 24 Apr 2012 06:59:42 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=416</guid>
		<description><![CDATA[$u = new WP_User( $userID ); // Remove role $u-&#62;remove_role( &#039;subscriber&#039; ); // Add role $u-&#62;add_role( &#039;editor&#039; );]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/416/upgrade-a-user-from-subscriber-to-editor/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress: Exclude the_post_thumbnail from gallery shortcode</title>
		<link>http://www.haycroftmedia.com/archives/413/wordpress-exclude-the_post_thumbnail-from-gallery-shortcode</link>
		<comments>http://www.haycroftmedia.com/archives/413/wordpress-exclude-the_post_thumbnail-from-gallery-shortcode#comments</comments>
		<pubDate>Tue, 10 Apr 2012 10:12:24 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.haycroftmedia.com/?p=413</guid>
		<description><![CDATA[function exclude_thumbnail_from_gallery($null, $attr) { if (!$thumbnail_ID = get_post_thumbnail_id()) return $null; // no point carrying on if no thumbnail ID // temporarily remove the filter, otherwise endless loop! remove_filter(&#039;post_gallery&#039;, &#039;exclude_thumbnail_from_gallery&#039;); // pop in our excluded thumbnail if (!isset($attr[&#039;exclude&#039;]) &#124;&#124; empty($attr[&#039;exclude&#039;])) $attr[&#039;exclude&#039;] = array($thumbnail_ID); elseif (is_array($attr[&#039;exclude&#039;])) $attr[&#039;exclude&#039;][] = $thumbnail_ID; // now manually invoke the shortcode handler $gallery [...]]]></description>
		<wfw:commentRss>http://www.haycroftmedia.com/archives/413/wordpress-exclude-the_post_thumbnail-from-gallery-shortcode/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.haycroftmedia.com @ 2013-05-26 07:53:26 by W3 Total Cache -->