<?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>twodinks.com</title>
	<atom:link href="http://twodinks.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://twodinks.com</link>
	<description>wordpress, genesis framework, types &#38; views, and assorted nonsense</description>
	<lastBuildDate>Tue, 08 May 2012 02:26:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>S3 Flowshield: Why does my video take forever to load?</title>
		<link>http://twodinks.com/2012/05/07/s3-flowshield-why-does-my-video-take-forever-to-load/</link>
		<comments>http://twodinks.com/2012/05/07/s3-flowshield-why-does-my-video-take-forever-to-load/#comments</comments>
		<pubDate>Tue, 08 May 2012 02:25:39 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Genesis]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1270</guid>
		<description><![CDATA[Since this has tripped me up twice – with no excuse for the second time since Flowshield support had given me the friggin&#8217; answer two months prior – I figured I&#8217;d post this here so I can find it again. The reason it takes forever for videos to start playing in Flowshield is because of [...]]]></description>
			<content:encoded><![CDATA[<p>Since this has tripped me up twice – with no excuse for the second time since Flowshield support had given me the friggin&#8217; answer two months prior – I figured I&#8217;d post this here so I can find it again.</p>
<p>The reason it takes forever for videos to start playing in Flowshield is because of an encoding issue. Some encoders place all the metadata at the end of a video file. I can&#8217;t think of any logical reason to do that, but it&#8217;s something that has to be dealt with since videos won&#8217;t start playing until the metadata has been read. That means that the <em>entire video has to be downloaded </em>before it&#8217;ll play. Since that&#8217;s pretty much the antithesis to <em>streaming</em>, it&#8217;s really, really irritating. Here&#8217;s what Rapid Crush, makers of S3Flowshield, had to say:</p>
<blockquote><p>The slow start is not an S3FlowShield or FlowPlayer issue. It is an encoding and Adobe Flash issue. In order for the flash player to start playing the video before it is fully downloaded, the metadata (information about the video) must be placed at the start of the file. Unfortunately, some encoders place this data at the end of the file instead, so the player cannot start playing the video until the entire file is downloaded and the metadata can be read. You can see more information and how to fix the files at these URLs:</p>
<p><a href="http://chirale.wordpress.com/2009/05/30/video-on-flash-doesnt-buffer-maybe-a-flv-and-mp4-issue/" target="_new">http://chirale.wordpress.com/2009/05/30/video-on-flash-doesnt-buffer-maybe-a-flv-and-mp4-issue/</a></p>
<p><a href="http://flowplayer.org/plugins/streaming/pseudostreaming.html#prepare" target="_new">http://flowplayer.org/plugins/streaming/pseudostreaming.html#prepare</a></p>
<p><a href="http://flowplayer.org/forum/2/12909" target="_new">http://flowplayer.org/forum/2/12909</a></p>
<p>The information and proposed fixes on those sites above can get quite technical. Fortunately, there is a free and easy to use utility to fix the files that can be found here:</p>
<p><a href="http://renaun.com/blog/2007/08/22/234/" target="_new">http://renaun.com/blog/2007/08/22/234/</a></p></blockquote>
<p>I used the tool linked at the bottom and it worked a treat. A video that was taking 47.5 seconds to preload before the fix now takes just shy of 5 seconds to start playing. I can live with that.</p>
<p>And since one never knows whether things will continue to live on the intertubes, I&#8217;m preserving it here for posterity: <a href="http://twodinks.com/wp-content/uploads/2012/05/QTIndexSwapper.zip">QTIndexSwapper</a></p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/05/07/s3-flowshield-why-does-my-video-take-forever-to-load/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m just going to drop this right here</title>
		<link>http://twodinks.com/2012/04/26/im-just-going-to-drop-this-right-here/</link>
		<comments>http://twodinks.com/2012/04/26/im-just-going-to-drop-this-right-here/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 17:17:19 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1267</guid>
		<description><![CDATA[So that if we ever get around to writing a new widget plugin from scratch, we&#8217;ll know where to look for guidance.]]></description>
			<content:encoded><![CDATA[<p>So that if we ever get around to writing a new widget plugin from scratch, <a href="http://www.sitepoint.com/embracing-drag-and-drop-sidebars-by-creating-your-first-wordpress-widget/">we&#8217;ll know where to look for guidance</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/04/26/im-just-going-to-drop-this-right-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add &#8216;first&#8217; and &#8216;last&#8217; classes to nav items</title>
		<link>http://twodinks.com/2012/04/13/add-first-and-last-classes-to-nav-items/</link>
		<comments>http://twodinks.com/2012/04/13/add-first-and-last-classes-to-nav-items/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 15:55:22 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1264</guid>
		<description><![CDATA[This comes in handy when you need to target the left and right (or top and bottom) ends of your navigation. Add it to your functions.php file.]]></description>
			<content:encoded><![CDATA[<p>This comes in handy when you need to target the left and right (or top and bottom) ends of your navigation. Add it to your functions.php file.</p>
<p><script type="text/javascript" src="http://snipt.net/embed/90a1eda554e1a88568acae444f29d098/"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/04/13/add-first-and-last-classes-to-nav-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Post Meta or Post Info from Custom Post Types</title>
		<link>http://twodinks.com/2012/04/06/remove-post-meta-or-post-info-from-custom-post-types/</link>
		<comments>http://twodinks.com/2012/04/06/remove-post-meta-or-post-info-from-custom-post-types/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 19:10:38 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Types and Views]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1253</guid>
		<description><![CDATA[It happens fairly often that we have a client who needs a custom post type as well as the usual blog/news feature. We need post meta and/or post info to show up for the news posts, but we don&#8217;t need that information on the custom post type since that information tends to be fairly static, [...]]]></description>
			<content:encoded><![CDATA[<p>It happens fairly often that we have a client who needs a custom post type as well as the usual blog/news feature. We need post meta and/or post info to show up for the news posts, but we don&#8217;t need that information on the custom post type since that information tends to be fairly static, and we don&#8217;t really care who the author of an attorney bio is, or who updated a used equipment list. So here&#8217;s how we pull that stuff out of CPTs.</p>
<p>Note that before we can write a function that addresses the custom post type, we have to add another function that makes that possible. We&#8217;re going to add this to our standardized functions file (which I&#8217;ll write about some other time).</p>
<p><script type="text/javascript" src="http://snipt.net/embed/f6dd98361fe24923c38b86400874f168"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/04/06/remove-post-meta-or-post-info-from-custom-post-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Genesis SEO and Layout Options to CPTs</title>
		<link>http://twodinks.com/2012/04/05/add-genesis-seo-and-layout-options-to-cpts/</link>
		<comments>http://twodinks.com/2012/04/05/add-genesis-seo-and-layout-options-to-cpts/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 20:31:01 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Genesis]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Types and Views]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1258</guid>
		<description><![CDATA[This is quick and easy. When you create a custom post type while running the Genesis framework, you won&#8217;t get Genesis&#8217; built-in SEO controls or layout options. Add this to functions.php and they&#8217;ll show up.]]></description>
			<content:encoded><![CDATA[<p>This is quick and easy. When you create a custom post type while running the Genesis framework, you won&#8217;t get Genesis&#8217; built-in SEO controls or layout options. Add this to functions.php and they&#8217;ll show up.</p>
<p><script type="text/javascript" src="http://snipt.net/embed/3a59cc09e3ebfd38dc30081c317832b8"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/04/05/add-genesis-seo-and-layout-options-to-cpts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Items from WordPress Admin</title>
		<link>http://twodinks.com/2012/04/02/remove-items-from-wordpress-admin/</link>
		<comments>http://twodinks.com/2012/04/02/remove-items-from-wordpress-admin/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 02:09:07 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1251</guid>
		<description><![CDATA[Sometimes our clients don&#8217;t need access to everything WordPress offers &#8212; most often, the Links and Comments areas. Rather than deal with the confusion, we just hide what they don&#8217;t need:]]></description>
			<content:encoded><![CDATA[<p>Sometimes our clients don&#8217;t need access to everything WordPress offers &#8212; most often, the Links and Comments areas. Rather than deal with the confusion, we just hide what they don&#8217;t need:</p>
<p><script type="text/javascript" src="http://snipt.net/embed/4c2bb407fa0b86abe160fe433169d298"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/04/02/remove-items-from-wordpress-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move Titles Around in Genesis</title>
		<link>http://twodinks.com/2012/04/02/move-titles-around-in-genesis/</link>
		<comments>http://twodinks.com/2012/04/02/move-titles-around-in-genesis/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 18:36:06 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Genesis]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1226</guid>
		<description><![CDATA[From time to time, we like pulling titles out of the normal flow of the page and put them somewhere else. Like above the content-sidebar div (or whatever div holds the page content). This causes problems, though; a customized homepage layout ends up with an unwanted title, category and archive pages display the first post [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time, we like pulling titles out of the normal flow of the page and put them somewhere else. Like above the content-sidebar div (or whatever div holds the page content). This causes problems, though; a customized homepage layout ends up with an unwanted title, category and archive pages display the first post title instead of the category title&#8230;etc. So with a fair amount of wailing and gnashing of teeth, and Joe&#8217;s skills at sleuthing, we came up with this solution:</p>
<p><script type="text/javascript" src="http://snipt.net/embed/19e45aad34d07024d09a9f1fb30df136"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/04/02/move-titles-around-in-genesis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evaluate Types &amp; Views Content; Don&#8217;t Display Empty Fields</title>
		<link>http://twodinks.com/2012/03/27/evaluate-types-dont-display-empty-fields/</link>
		<comments>http://twodinks.com/2012/03/27/evaluate-types-dont-display-empty-fields/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 17:08:50 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Types and Views]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1217</guid>
		<description><![CDATA[Now that we&#8217;re all in love with Types &#038; Views, we had to figure out how to evaluate custom fields to determine whether they should be displayed. After an hour of beating our heads against the wall, we came up with the code below. The thing that tripped us up? Check out this bit of [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we&#8217;re all in love with <a href="http://wp-types.com/">Types &#038; Views</a>, we had to figure out how to evaluate custom fields to determine whether they should be displayed. After an hour of beating our heads against the wall, we came up with the code below. The thing that tripped us up? Check out this bit of code: <code>msv="wpcf-wr_militaryservice"</code>. Nowhere in the documentation did it tell us that we need to prepend our field name with &#8220;wpcf-&#8221; to indicate that it&#8217;s a WordPress Custom Field. Without that, no worky. Anyway, here&#8217;s the code:</p>
<p><script type="text/javascript" src="http://snipt.net/embed/208b3170b074a09b11e07353b344504a"></script></p>
<p>So here&#8217;s what&#8217;s going on up there. <b>wpv-if</b> initializes the if/then thingy. Then we created variables (mbr and msv) and the fields that the variables are drawing their value from. Then we <b>evaluate</b> those variables. If they&#8217;re not empty (<b>!= &#8221;</b>), then go ahead and display the headers (<b>h3</b>) and the values of the fields. Then we close the if/then statements. Repeat until satisfied. Wet hands, wipe on pants.</p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/03/27/evaluate-types-dont-display-empty-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CPT Single Post Template with Content Check</title>
		<link>http://twodinks.com/2012/03/25/cpt-single-post-template-with-content-check/</link>
		<comments>http://twodinks.com/2012/03/25/cpt-single-post-template-with-content-check/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 16:43:18 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1210</guid>
		<description><![CDATA[This code is written to work with Pippin&#8217;s Easy Custom Post Types. While we&#8217;re making heavy use of Types &#038; Views these days (check them out, they&#8217;re effin&#8217; awesome), we thought this code might be handy to someone out there in WP land. We used this function to create a custom post type for listing [...]]]></description>
			<content:encoded><![CDATA[<p>This code is written to work with <a href="http://pippinsplugins.com/easy-content-types/">Pippin&#8217;s Easy Custom Post Types</a>. While we&#8217;re making heavy use of <a href="http://wp-types.com/">Types &#038; Views</a> these days (check them out, they&#8217;re effin&#8217; awesome), we thought this code might be handy to someone out there in WP land.</p>
<p>We used this function to create a custom post type for listing attorneys at a law firm, saved as a post template called single-attorney.php.</p>
<p><script type="text/javascript" src="http://snipt.net/embed/66f7293d93504a670705108b5922cae1"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/03/25/cpt-single-post-template-with-content-check/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use custom field to assign content well background</title>
		<link>http://twodinks.com/2012/03/15/use-custom-field-to-assign-content-well-background/</link>
		<comments>http://twodinks.com/2012/03/15/use-custom-field-to-assign-content-well-background/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 02:38:48 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://twodinks.com/?p=1193</guid>
		<description><![CDATA[Can I write a plugin that will give me the ability to upload a photo and assign it to .wrap or .content? We&#8217;ll see. The beginning of the idea is here on this post.]]></description>
			<content:encoded><![CDATA[<p>Can I write a plugin that will give me the ability to upload a photo and assign it to .wrap or .content? We&#8217;ll see. The beginning of the idea is <a href="http://www.8164.org/wordpress-custom-field/">here on this post</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://twodinks.com/2012/03/15/use-custom-field-to-assign-content-well-background/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

