<?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>Fractured State &#187; Process</title>
	<atom:link href="http://www.fractured-state.com/category/process/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fractured-state.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 27 Nov 2011 18:08:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Quick WordPress/website performance tweaks</title>
		<link>http://www.fractured-state.com/2011/11/quick-wordpresswebsite-performance-tweaks/</link>
		<comments>http://www.fractured-state.com/2011/11/quick-wordpresswebsite-performance-tweaks/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 18:04:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Process]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.fractured-state.com/?p=547</guid>
		<description><![CDATA[Add some expires data and compress stuff. Add this to your .htaccess file and be done, or your httpd.conf file and then restart apache. FileETag MTime Size &#60;IfModule mod_deflate.c&#62; SetOutputFilter DEFLATE AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript application/x-php &#60;/IfModule&#62; &#60;IfModule mod_expires.c&#62; ExpiresActive On ExpiresByType image/jpeg &#34;access plus 3 month&#34; ExpiresByType image/gif &#34;access plus 3 [...]]]></description>
			<content:encoded><![CDATA[<p>Add some expires data and compress stuff.   Add this to your .htaccess file and be done, or your httpd.conf file and then restart apache.<br />
<span id="more-547"></span><br />
<code><br />
FileETag MTime Size</p>
<p>&lt;IfModule mod_deflate.c&gt;<br />
   SetOutputFilter DEFLATE</p>
<p>   AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript application/x-php<br />
 &lt;/IfModule&gt;</p>
<p> &lt;IfModule mod_expires.c&gt;<br />
   ExpiresActive On</p>
<p>   ExpiresByType image/jpeg &quot;access plus 3 month&quot;<br />
   ExpiresByType image/gif &quot;access plus 3 month&quot;<br />
   ExpiresByType image/png &quot;access plus 3 month&quot;<br />
   ExpiresByType image/vnd.microsoft.icon &quot;access plus 3 month&quot;<br />
   ExpiresByType text/css &quot;access plus 3 month&quot;<br />
   ExpiresByType application/x-javascript &quot;access plus 3 month&quot;<br />
 &lt;/IfModule&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fractured-state.com/2011/11/quick-wordpresswebsite-performance-tweaks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser color override test for Modernizr</title>
		<link>http://www.fractured-state.com/2011/07/browser-color-override-test-for-modernizr/</link>
		<comments>http://www.fractured-state.com/2011/07/browser-color-override-test-for-modernizr/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 10:21:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Process]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.fractured-state.com/?p=527</guid>
		<description><![CDATA[I&#8217;ve been working on a project recently that requires the website to be usable for people with visual and cognitive impairments. One of the tests that we&#8217;ve been doing is overriding the text/link and background colors in Firefox and IE. The way the layout works for various parts of the site design needs to change [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a project recently that requires the website to be usable for people with visual and cognitive impairments. One of the tests that we&#8217;ve been doing is overriding the text/link and background colors in Firefox and IE.   </p>
<p><a href="http://www.fractured-state.com/wp-content/uploads/2011/07/pink-gmail.jpg"><img src="http://www.fractured-state.com/wp-content/uploads/2011/07/pink-gmail-220x138.jpg" alt="" title="Browser color override of google results" width="220" height="138" class="aligncenter size-medium wp-image-528" /></a></p>
<p><span id="more-527"></span></p>
<p>The way the layout works for various parts of the site design needs to change when in this viewing mode so I&#8217;ve needed a way to test for when this happens so I can use different css.  Here is a little <a href="http://www.modernizr.com/">Modernizr</a> test that adds a high-contrast/no-high-contrast class to the other Modernizr classes.</p>
<pre><code>Modernizr.testStyles('#modernizr {background-color: rgb(171,239,86)} ', function(elem, rule){
  var backgroundColor = jQuery('#modernizr').css('background-color');
  Modernizr.addTest('high-contrast', backgroundColor !== 'rgb(171, 239, 86)'
    &#038;&#038; backgroundColor !== 'rgb(171,239,86)'
    &#038;&#038; backgroundColor !== '#abef56');
});</code></pre>
<p>One problem I had was getting a reliable way of accessing the backgroundColor property from the DOM so I&#8217;ve had to use some jQuery ( not ideal I know ) as well.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.fractured-state.com/2011/07/browser-color-override-test-for-modernizr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Google Analytics Content Filter</title>
		<link>http://www.fractured-state.com/2011/03/wordpress-google-analytics-content-filter/</link>
		<comments>http://www.fractured-state.com/2011/03/wordpress-google-analytics-content-filter/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 18:10:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Process]]></category>

		<guid isPermaLink="false">http://www.fractured-state.com/?p=517</guid>
		<description><![CDATA[I&#8217;ve been working on a site recently that has a lot of PDFs that the content owners link to and I&#8217;ve been wanting to track the number of views that each PDF has. To accomplish that I&#8217;ve been using a feature of google analytics that requires you to add some extra info to links so [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a site recently that has a lot of PDFs that the content owners link to and I&#8217;ve been wanting to track the number of views that each PDF has.  To accomplish that I&#8217;ve been using a feature of google analytics that requires you to <a href="http://www.google.com/support/analytics/bin/answer.py?answer=55529">add some extra info</a> to links so you can track how many clicks a PDF gets.</p>
<p>Up until now I&#8217;ve been adding that extra information by hand because there haven&#8217;t been a lot of links but I figured there was a ripe oppurtunity to do some simple automation.   I&#8217;ve created the following content filter that will automatically add the google analytics bit to each link in the content, you just have to put it in your theme&#8217;s function.php file.  I also added a bit that tracks outbound links as well just because that might be handy info to have as well.<br />
<span id="more-517"></span><br />
<code> </code></p>
<pre>// google link filter
add_filter( "the_content", "google_external_link_filter" );

function google_external_link_filter($content)
{
  // load the content in to a dom object
  $dom = new domDocument;
  $dom-&gt;loadHTML($content);

  // find the A tags
  $xpath = new DOMXPath($dom);
  $links = $xpath-&gt;evaluate("//a");

  // loop through reach link and check if we need to add the google stuff
  foreach ($links as $tag)
  {
    // get link details
   $linkURL = $tag-&gt;getAttribute('href');
   $linkExtension = pathinfo($linkURL, PATHINFO_EXTENSION);
   $linkHost = parse_url($linkURL, PHP_URL_HOST);

   // get the site host
   $siteHost = parse_url(get_bloginfo('siteurl'), PHP_URL_HOST);	

   // check if the link has an extension or goes to another site
   if(!empty($linkExtension) || $linkHost != $siteHost)
   {
     // if the link goes to a file
     if(!empty($linkExtension))
     {
       $linkFileName = pathinfo($linkURL, PATHINFO_FILENAME);
       $tag-&gt;removeAttribute('onclick');
       $tag-&gt;setAttribute("onclick", "javascript: _gaq.push(['_trackPageview', '/file/". $linkFileName . '.' . $linkExtension . "']);");
     }
     // if it goes to an external site
     elseif($linkHost != $siteHost)
     {
        // strip http://
        $cleanURL = str_replace('http://','',$linkURL);

        $tag-&gt;removeAttribute('onclick');
        $tag-&gt;setAttribute("onclick", "javascript: _gaq.push(['_trackPageview', '/external/". $cleanURL . "']);");
      }
    }
  }
  // update the content with the changes
  $content = $dom-&gt;saveHTML();

  return $content;
}</pre>
<p>If you use it and find a bug or a better way of doing something <a href="http://www.fractured-state.com/about/">let me know</a> and I&#8217;ll update it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fractured-state.com/2011/03/wordpress-google-analytics-content-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Good WordPress Plugins</title>
		<link>http://www.fractured-state.com/2009/12/good-wordpress-plugins/</link>
		<comments>http://www.fractured-state.com/2009/12/good-wordpress-plugins/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 07:24:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Process]]></category>

		<guid isPermaLink="false">http://www.fractured-state.com/?p=342</guid>
		<description><![CDATA[When I make wordpress themes there are usually a few good plugins that I use repeatedly and I thought that if I found them useful other folks might to. Autothumb This is best plugin for resizing images. I&#8217;ve found it most effective when I set image URLs in custom fields and then grab that info [...]]]></description>
			<content:encoded><![CDATA[<p>When I make wordpress themes there are usually a few good plugins that I use repeatedly and I thought that if I found them useful other folks might to.</p>
<p><strong><a href="http://wordpress.org/extend/plugins/autothumb/">Autothumb</a></strong><br />
This is  best plugin for resizing images.   I&#8217;ve found it most effective when I set image URLs in custom fields and then grab that info to generate resized images.   This is really handy when people upload pictures and don&#8217;t have any concept about picture dimensions and where the image is actually going to go.  It can even grab pictures from another host and resize those as well.</p>
<p><strong><a href="http://wordpress.org/extend/plugins/tdo-mini-forms/">TDO Mini Forms</a></strong><br />
This plugin is great if you want people to submit posts or pages for your site.   It lets people upload pictures and write everything you would need for a post; it also has built in moderation features and the forms that it makes are very customizable.   I&#8217;ve used it several times for contest websites where people upload photos and descriptions.</p>
<p><strong><a href="http://wordpress.org/extend/plugins/page-link-manager/">Page Link Manager</a></strong><br />
When you need to hide pages from being listed in the <code>wp_list_pages()</code> function this plugin is really handy.   It provides a simple page of with all the published pages in the site listed and select a checkbox to turn them on and off.</p>
<p><strong><a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All In One SEO</a></strong><br />
Really great plugin to generate the basic metatags for your content without you actually having to write it in.</p>
<p><strong><a href="http://wordpress.org/extend/plugins/link-to-post/">Link to Post</a></strong><br />
The WYSIWYG link button in wordpress drives me nuts.   This plugin will add two new buttons to the WYSIWYG editor that will provide you with a list of pages or posts on your site that you can select from. No more copying and pasting links!</p>
<p><strong><a href="http://wordpress.org/extend/plugins/page-links-to/">Page Links To</a></strong><br />
If you ever need to redirect a post/page to another location this plugin is great.   Adds a simple field on the edit post page where you can type in the URL that you want that post to redirect to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fractured-state.com/2009/12/good-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version Cue</title>
		<link>http://www.fractured-state.com/2008/09/version-cue/</link>
		<comments>http://www.fractured-state.com/2008/09/version-cue/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 08:01:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Process]]></category>

		<guid isPermaLink="false">http://blog.fractured-state.com/?p=140</guid>
		<description><![CDATA[Version Cue is the Adobe file management software that comes with any larger package of Adobe software. If you aren&#8217;t familiar with file management, it&#8217;s the process of handling multiple versions of the same file. For example, if I work on a logo 3 different times, proper file management allows me to go back to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.adobe.com/products/creativesuite/versioncue/" target="_blank">Version Cue</a> is the Adobe file management software that comes with any larger package of Adobe software. If you aren&#8217;t familiar with file management, it&#8217;s the process of handling multiple versions of the same file. For example, if I work on a logo 3 different times, proper file management allows me to go back to a previous saved version of the logo I may have made. For the past couple of months we&#8217;ve been using Version Cue at the office and overall it&#8217;s been a great addition and powerful productivity tool.</p>
<p>Initially the way we handled versions was with file naming conventions (Client Name &#8211; Project Name &#8211; v1.1.psd for example). That was ok for awhile but we found that people didn&#8217;t follow it 100% of the time. There was often miscommunication about who had the most current file and what needed to be done. At the time we also didn&#8217;t have a networked storage solution, so everyone was working on their own sets of files and it was really hard to share work on a project and know what the most recent file was.</p>
<p>I had a looked into another file management system called <a href="http://subversion.tigris.org/" target="_blank">Subversion</a> and found the system way to complex and not particularly user friendly to non computer geeks.  It was geared towards managing text files, which would have been ok for websites but with the amount of imagery we work with it wasn&#8217;t feasible.   I ended up deciding to try Version Cue out on my own computer to see how it works.</p>
<p>After you turn Version Cue on, you can access it though most Adobe programs (Photoshop, inDesign, Illustrator, Flash) so you can easily save the file you&#8217;re work on as a version.  You can also access Version Cue through <a href="http://www.adobe.com/products/creativesuite/bridge/" target="_blank">Bridge</a>; this is Adobe&#8217;s take on a file manager like Windows Explorer or Finder but with artists in mind.  Using Bridge and Version Cue you can browse though the version history of a file as well as tag and label files and slew of other options.</p>
<p>Over time we found that Version Cue can also do simple networking as well.   We ended up putting Version Cue on a dedicated computer on our network and using Bridge it was really easy to find the server and start working on files.  It also allowed us to do automatic backups which was something we had needed to setup for a while.  There is simple web administration software that you can login to from any computer in your local network that allows you to backup the server data as well as set a schedule for when you want a particular project to backup.</p>
<p>One of the issues we have run into is the stability of Bridge on Windows.  Depending on what features you have turned on, Bridge can crash as often as every 5 minutes. By turning certain features off you can reduce the amount of crashing but it still ends up being finicky.  On the Mac computers we use there haven&#8217;t been any problems.</p>
<p>For any designers that want to take the next step in how they do file management on their projects I would recommend giving Version Cue and Bridge a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fractured-state.com/2008/09/version-cue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

