<?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>Left Justified &#187; site news</title>
	<atom:link href="http://leftjustified.net/topic/site-news/feed/" rel="self" type="application/rss+xml" />
	<link>http://leftjustified.net</link>
	<description>In a few words, explain what this weblog is about.</description>
	<lastBuildDate>Thu, 09 Dec 2010 00:10:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Back From The Dead</title>
		<link>http://leftjustified.net/journal/2009/01/19/back-from-the-dead/</link>
		<comments>http://leftjustified.net/journal/2009/01/19/back-from-the-dead/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 08:43:10 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[site news]]></category>

		<guid isPermaLink="false">http://leftjustified.net/?p=175</guid>
		<description><![CDATA[After almost 2 years without activity this site has received a facelift and some new direction. ]]></description>
			<content:encoded><![CDATA[<p>After almost 2 years without activity this site has received a facelift and some new direction. I felt pigeonholed by trying to keep to a theme, so stuff that noise. This site is now about whatever interests me this week. </p>
<p>To that end, I&#8217;ve begun adding some of my guitar-related projects to <a href="http://leftjustified.net/lab/">The Lab</a>, more of which will be coming as I find time to write up details.</p>
<p>Intarwebs! </p>
]]></content:encoded>
			<wfw:commentRss>http://leftjustified.net/journal/2009/01/19/back-from-the-dead/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>No More Suspect Traffic</title>
		<link>http://leftjustified.net/journal/2005/01/30/suspect-traffic/</link>
		<comments>http://leftjustified.net/journal/2005/01/30/suspect-traffic/#comments</comments>
		<pubDate>Sun, 30 Jan 2005 03:31:57 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[site news]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://leftjustified.net/journal/2005/01/30/suspect-traffic/</guid>
		<description><![CDATA[Having just cleansed this site of ten of the vilest pieces of comment spam I've ever seen, I'm fed up.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m fed up with the entire cornucopia of suspect tinned meat products that float amongst the web. I leave comments open on all my old posts to encourage further discussion in the future; whether this will remain is in serious jeopardy. While there are many effective ways of lessening comment spam, referrer spam is another beast entirely &#8212; an insidious, pointless resource hog that baffles me by its mere existence. Do they really think <q>webmasters</q> are going to buy SEO tools from spammers?</p>
<p>As a result, I have added some severe <code>ReWrite</code> rules to <code>.htaccess</code> in an attempt to stem the tides. I&#8217;ve blocked anything remotely suspicious, including all <code>localhost</code> IP&#8217;s (my log files reveal someone is developing locally using one of my CSS files&#8230; you idiot); any odd referrers that reside behind <code>403 Authorization</code> or are &#8216;vacant&#8217; but return suspicious <i>whois</i> queries. </p>
<p>One tool that I found very useful whilst testing these changes is <a href="http://www.wannabrowser.com/index.html" title="http user agent spoofing">wannaBrowser</a>, which fakes HTTP user agent strings and referrers.</p>
<p>If I have any reason to believe that I&#8217;m blocking legitimate users with these measures I will change the redirection to a page that allows you to contact me and say that you feel hard done by. Otherwise I&#8217;ll just leave them in limbo and not waste another precious kilobyte on all this suspect traffic.</p>
]]></content:encoded>
			<wfw:commentRss>http://leftjustified.net/journal/2005/01/30/suspect-traffic/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>50,000 Pages Served</title>
		<link>http://leftjustified.net/journal/2004/10/21/fifty-thou/</link>
		<comments>http://leftjustified.net/journal/2004/10/21/fifty-thou/#comments</comments>
		<pubDate>Thu, 21 Oct 2004 10:00:27 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[site news]]></category>

		<guid isPermaLink="false">http://leftjustified.net/journal/2004/10/21/fifty-thou/</guid>
		<description><![CDATA[I came home to find this waiting for me in  shortstat

If you know why that makes me happy, you&#8217;re a nerd too  
]]></description>
			<content:encoded><![CDATA[<p>I came home to find this waiting for me in <a href="http://www.shauninman.com/mentary/past/shortstat_beta_3.php"> shortstat</a><br />
<img class="img-center" src="/posts/fifty-thou/fiftythousand.gif" alt="screenshot: 50,458 hits in 76 days" /></p>
<p>If you know why that makes me happy, you&#8217;re a nerd too <img src='http://leftjustified.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://leftjustified.net/journal/2004/10/21/fifty-thou/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>L.J. ver.1.5 &#8211; Tinkering with Wordpress</title>
		<link>http://leftjustified.net/journal/2004/10/13/ver15/</link>
		<comments>http://leftjustified.net/journal/2004/10/13/ver15/#comments</comments>
		<pubDate>Wed, 13 Oct 2004 05:42:34 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[site news]]></category>

		<guid isPermaLink="false">http://leftjustified.net/journal/2004/10/13/ver15/</guid>
		<description><![CDATA[Ever since this site launched there have been elements of my <a href="http://wordpress.org/">Wordpress</a> setup that I haven't been happy with. The most notable being:
<ul>
<li>Most pages had to scroll far too much to show the content, especially the home page.</li>
<li>Every post required an excerpt, making quick posts difficult - not to mention the fear of filling the home page with non-design posts.</li>
</ul>
Yesterday I realised that I had been approaching these problems all wrong; over complication of simple goals had taken control. Today I fixed the problems.
]]></description>
			<content:encoded><![CDATA[<h3>Index.php &#8211; More Posts, Less Space </h3>
<p>The first thing most people will notice on the new home page is the addition of the <em>Recent Entries</em> table. The table format allows me to show all the relevant details of more new posts in less vertical space than the old &#8216;<i>heading and excerpt</i>&#8217; format. If any Wordpress users want to see how I went about manipulating The Loop, I&#8217;ve attached a heavily stripped down version of the code below. It&#8217;s very simple, but that was my plan this time around &#8211; to stop ignoring the bleeding obvious methods in favour of more elegant, but essentially unnecessary solutions.</p>
<pre class="code"><code>
&lt;h2&gt;Latest Entry&lt;/h2&gt;
&lt;?php 	$cow=0;  // create our counter
 		$cowsleep=6; //tell it when to stop
if ($posts) : foreach ($posts as $post) : start_wp(); ?&gt;

&lt;?php if($cow==0) { ?&gt;
	&lt;h3&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;
	&lt;?php the_excerpt(); ?&gt;
	&lt;a href=&quot;&lt;?php echo get_permalink(); ?&gt;&quot;&gt;Continue reading &lt;?php the_title(); ?&gt;&lt;/a&gt;
	&lt;hr /&gt;
&lt;?php } ?&gt;
&lt;?php if($cow==1) { ?&gt;
	&lt;table summary=&quot;Recent journal entries from all categories&quot;&gt;
		&lt;caption&gt;Recent Entries&lt;/caption&gt;
		&lt;thead&gt;
		&lt;tr&gt;
			&lt;th scope=&quot;col&quot; class=&quot;title&quot;&gt;Title&lt;/th&gt;
			&lt;th scope=&quot;col&quot;&gt;Date&lt;/th&gt;
			&lt;th scope=&quot;col&quot;&gt;Comments&lt;/th&gt;
		&lt;/tr&gt;
		&lt;/thead&gt;
		&lt;tbody&gt;
&lt;?php } ?&gt;
&lt;?php if($cow!==0) { ?&gt;
		&lt;tr&gt;
			&lt;td&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/td&gt;
			&lt;td&gt;&lt;?php the_time(&quot;M j, Y&quot;) ?&gt;&lt;/td&gt;
			&lt;td&gt;&lt;?php comments_popup_link(__(&#x27;0&#x27;), __(&#x27;1&#x27;), __(&#x27;%&#x27;)); ?&gt;&lt;/td&gt;
		&lt;/tr&gt;
&lt;?php } ?&gt;
&lt;?php if($cow==$cowsleep) { ?&gt;
		&lt;/tbody&gt;
	&lt;/table&gt;
&lt;?php } ?&gt;
&lt;?php $cow++; //increase counter value by 1 ?&gt;
&lt;?php endforeach; else: ?&gt;
			&lt;p&gt;Sorry, something&#x27;s gone awfully wrong... &lt;/p&gt;
			&lt;?php //custom error reporting ?&gt;
&lt;?php endif; ?&gt;
</code></pre>
<p>The problem I over-intellectualised the most was <i>clickable dates</i> &#8212; month and year names that point to the archive of that period. As soon as I remembered the most important part of permalinks, (they never change) I whipped up a quick and messy solution in a minute. </p>
<pre class="code"><code>
&lt;a href=&quot;&lt;?php echo get_settings(&#x27;siteurl&#x27;);?&gt;/journal/&lt;?php the_time(&quot;Y&quot;) ?&gt;/&lt;?php the_time(&quot;m&quot;) ?&gt;/&quot; title=&quot;Archive for &lt;?php the_time(&quot;F&quot;) ?&gt;&quot;&gt;&lt;?php the_time(&quot;F&quot;) ?&gt;&lt;/a&gt;
&lt;?php the_time(&quot;j&quot;) ?&gt;,
&lt;a href=&quot;&lt;?php echo get_settings(&#x27;siteurl&#x27;);?&gt;/journal/&lt;?php the_time(&quot;Y&quot;) ?&gt;/&quot; title=&quot;Archive for &lt;?php the_time(&quot;Y&quot;) ?&gt;&quot;&gt;&lt;?php the_time(&quot;Y&quot;) ?&gt;&lt;/a&gt;
</code></pre>
<p>All I have to do is include that script where ever I want a post date to appear and it will do the rest using nothing more than the <code>the_time()</code> function and the domain name. Not very portable, but considering I would never intentionally change the URL structure it shouldn&#8217;t be a problem.</p>
<h3>Mini Posts</h3>
<p>Part of the reason I wanted to get more posts onto the home page is that I would like to start including mini-posts amongst the more lengthy articles. The quickest way I could think of to account for excerpt-less posts was using <a href="http://coffee2code.com/">Scott Reiley&#8217;s</a> highly versatile <a href="http://www.coffee2code.com/wp-plugins/"><code>get-custom</code></a> plug-in. By adding the custom field of <code>short</code> and assigning it the value of <code>true</code>, I can check for this on the fly and change the mark-up accordingly.<br />
Here is a quick example; changing the text of the permalinks.</p>
<pre class="code"><code>
&lt;?php if (c2c_get_custom(&#x27;short&#x27;)==&quot;true&quot;) { ?&gt;
	&lt;a href=&quot;&lt;?php echo get_permalink(); ?&gt;&quot; title=&quot;Permanent Link&quot;&gt;Permalink for &lt;?php the_title(); ?&gt;&lt;/a&gt;
&lt;?php } else { ?&gt;
	&lt;a href=&quot;&lt;?php echo get_permalink(); ?&gt;&quot; title=&quot;Read entire article&quot;&gt;Continue reading &lt;?php the_title(); ?&gt;&lt;/a&gt;
&lt;?php } ?&gt;
</code</pre>
<h3>Minor Tweaks</h3>
<p>There have been a fair few minor changes, including ditching the graphic submit buttons and reverting to the trusty <code>submit</code> input element. Hopefully you like the new alterations -- let me know if there&#8217;s anything else you would like to see changed. In other news, I finally have a post for the Lab section of this site; hopefully I'll find the time to finish it off later in the week.</p>
]]></content:encoded>
			<wfw:commentRss>http://leftjustified.net/journal/2004/10/13/ver15/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Cleaning Up the Sawdust</title>
		<link>http://leftjustified.net/journal/2004/08/24/sawdust/</link>
		<comments>http://leftjustified.net/journal/2004/08/24/sawdust/#comments</comments>
		<pubDate>Tue, 24 Aug 2004 02:06:47 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[site news]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://leftjustified.net/journal/2004/08/24/sawdust/</guid>
		<description><![CDATA[&#8220;It&#8217;s the little things...&#8221;

Oh so true. 
When I designed this site I had grandiose plans for the functionality as well as the design. Somehow I've only found time for the design plans and about three quarters of the functionality - that stops now.
Structural changes are afoot. 
Please watch your head for loose debris.]]></description>
			<content:encoded><![CDATA[<h3>No Soup For You!</h3>
<p>The first change that should have happened long ago was serving up <strong>real XHTML</strong> (<code>content=application/xhtml+xml</code>). This site is now XHTML 1.1 in modern browsers, with old fashioned SGML tag-soup being fed to lesser equipped browsers. <del>I&#8217;ve nervously decided to also serve all my posts and comments as XML, which means that one bad bit of code in a comment will bring on the <i>Yellow Screen of Death</i> for the whole post</del>. That was never going to last long!</p>
<h3>Not Everyone Uses a Mouse</h3>
<p>Too often designers/developers set link styling for <code>a:link</code>, <code>a:visited</code> and <code>a:hover</code>, and think that is enough. That is not enough. Many users, myself included, like to ditch the mouse while reading a long article and navigate via the keyboard <i>(*gasp*! What is this, 1986?!)</i>. Jumping from link to link using the <code>tab</code> key is fast and easy, but irresponsible design decisions can make the experience akin to driving blind. Try it out now.</p>
<p>No problems, because I have set visual changes on the <code>:focus</code> pseudo-class. That&#8217;s all well and good, until IE comes to the party. IE doesn&#8217;t support <code>:focus</code>, but in traditional IE style one of its bugs can be played against another. In this instance it is the <code>:active</code> pseudo-class that comes to the rescue. Microsoft decided to interpret <code>:active</code> as <code>:focus</code>, meaning that any changes set on <code>:active</code> will be applied when that link receives focus.</p>
<h3>Automated Testing &#8211; Home Delivered Lies</h3>
<p>As a standard practice, I run my sites through the <a href="http://www.cynthiasays.com/">Cynthia</a> and <a href="http://bobby.watchfire.com/bobby/html/en/index.jsp">Bobby</a> automated accessibility tests. The results for Left Justified are quite good, with only a minor warning or two in the Priority 3 (<abbr title="Web Accessibility Initiative">WAI</abbr>-AAA) section.<br />
What a crock.<br />
I know for a fact that I don&#8217;t even meet all the Priority 2 requirements.</p>
<blockquote><p>
3.4 Use relative rather than absolute units in markup language attribute values and style sheet property values. [Priority 2]
</p></blockquote>
<p>That alone is enough to disqualify Left Justified from anything higher than a WAI-A rating. Yet if I wanted to, I could stick up a big ugly &#8220;Bobby AAA&#8221; button and have it link to a positive test result &#8211; but I won&#8217;t, because being a responsible web designer/developer/person (I&#8217;m using the term <i>web person</i> from here on in) means that automated tests are just that &mdash; <strong>a</strong> test. It&#8217;s nowhere near an equivalent to human testing, let alone a replacement.</p>
<p>So now all of the T&#8217;s are crossed and i&#8217;s are dotted, where are the <i>XHTML 1.1</i> and <i>CSS</i> buttons on the footer of every page? Not here, folks. </p>
<p>Validity isn&#8217;t an accomplishment, it&#8217;s a requirement.</p>
]]></content:encoded>
			<wfw:commentRss>http://leftjustified.net/journal/2004/08/24/sawdust/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>The Mandatory &#8216;Hire Me&#8217; Post</title>
		<link>http://leftjustified.net/journal/2004/08/17/begging-on-the-corner/</link>
		<comments>http://leftjustified.net/journal/2004/08/17/begging-on-the-corner/#comments</comments>
		<pubDate>Tue, 17 Aug 2004 11:42:22 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[site news]]></category>

		<guid isPermaLink="false">http://leftjustified.net/journal/2004/08/17/begging-on-the-corner/</guid>
		<description><![CDATA[Do you, or someone you know, need a pixel-pushing, code-punching, every minute-of-it-loving, standards focused designer in the Brisbane area? Great! I happen to have one spare.]]></description>
			<content:encoded><![CDATA[<p>Ideally I&#8217;d love to work within a team on a full time basis, but if you&#8217;ve got any freelance work I&#8217;m accepting all offers. If you&#8217;d like to see more of my work (my portfolio isn&#8217;t entirely up to date yet) or discuss any possibilities, please feel free to drop me a line via my <a href="/about/contact/">contact form</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://leftjustified.net/journal/2004/08/17/begging-on-the-corner/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

