<?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>Two Seven &#187; Meta</title>
	<atom:link href="http://twoseven.co.nz/category/meta/feed/" rel="self" type="application/rss+xml" />
	<link>http://twoseven.co.nz</link>
	<description>...is Dan Willis blogging about web design and development, usability, standards and pretty much anything!</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:27:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2-bleeding</generator>
		<item>
		<title>Symphony</title>
		<link>http://twoseven.co.nz/2007/05/25/symphony/</link>
		<comments>http://twoseven.co.nz/2007/05/25/symphony/#comments</comments>
		<pubDate>Thu, 24 May 2007 20:40:36 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Meta]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://twoseven.co.nz/2007/05/25/symphony/</guid>
		<description><![CDATA[So I think I&#8217;m going to rebuild/redesign/relaunch this site on Symphony. Sorry WordPress.]]></description>
			<content:encoded><![CDATA[<p>So I think I&#8217;m going to rebuild/redesign/relaunch this site on <a href="http://21degrees.com.au/products/symphony/" title="Symphony, a CMS">Symphony</a>.<br />
Sorry WordPress.</p>
]]></content:encoded>
			<wfw:commentRss>http://twoseven.co.nz/2007/05/25/symphony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Development site</title>
		<link>http://twoseven.co.nz/2007/03/26/development-site/</link>
		<comments>http://twoseven.co.nz/2007/03/26/development-site/#comments</comments>
		<pubDate>Sun, 25 Mar 2007 22:14:58 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://twoseven.co.nz/2007/03/26/development-site/</guid>
		<description><![CDATA[For your viewing pleasure, I&#8217;m going to be working on my redesign for the May 1st Reboot at reboot.twoseven.co.nz.]]></description>
			<content:encoded><![CDATA[<p>For your viewing pleasure, I&#8217;m going to be working on my redesign for the <a href="http://reboot.twoseven.co.nz/2007/03/21/may-1st-reboot/">May 1st Reboot</a> at <a href="http://reboot.twoseven.co.nz/">reboot.twoseven.co.nz</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://twoseven.co.nz/2007/03/26/development-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>May 1st Reboot</title>
		<link>http://twoseven.co.nz/2007/03/21/may-1st-reboot/</link>
		<comments>http://twoseven.co.nz/2007/03/21/may-1st-reboot/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 20:44:40 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://www.twoseven.co.nz/2007/03/21/may-1st-reboot/</guid>
		<description><![CDATA[I&#8217;ve registered for the May 1st Reboot. I better get my self into gear and whip up some sort of a design for this baby. Anyone else want to join in?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve registered for the <a href="http://www.may1reboot.com/2007/" title="reboot.7">May 1st Reboot</a>.</p>
<p>I better get my self into gear and whip up some sort of a design for this baby. <a href="http://sportsthought.com">Anyone</a> <a href="http://sneak.co.nz">else</a> want to join in?</p>
]]></content:encoded>
			<wfw:commentRss>http://twoseven.co.nz/2007/03/21/may-1st-reboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress titles</title>
		<link>http://twoseven.co.nz/2007/02/15/wordpress-titles/</link>
		<comments>http://twoseven.co.nz/2007/02/15/wordpress-titles/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 05:36:54 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.twoseven.co.nz/2007/02/15/wordpress-titles/</guid>
		<description><![CDATA[So there&#8217;s problems with the default WordPress page titles; the display order, and the separator. We&#8217;re going to take a look at those problems &#8211; why are they problems? &#8211; and we&#8217;ll examine some solutions. The problem with default WordPress &#8230; <a href="http://twoseven.co.nz/2007/02/15/wordpress-titles/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So there&#8217;s problems with the default WordPress page titles; the display order, and the separator. We&#8217;re going to take a look at those problems &#8211; why are they problems? &#8211; and we&#8217;ll examine some solutions.<br />
<span id="more-3"></span></p>
<h3>The problem with default WordPress titles</h3>
<p>The default WordPress title displays something like this:</p>
<blockquote><p>[blog name] » [category name] » [post title]</p></blockquote>
<p>There are two key problems here:</p>
<ol>
<li><strong>Item order:</strong> The order of the items in the title should read from most specific to least specific (left-to-right). So the post title should be first, and the blog title should be last. This makes them more readable and useful in lists of favourites, for example.</li>
<li><strong>The separator:</strong> The separator shouldn&#8217;t be anything that needs to be escaped and it should be something that comes out nice in screenreaders, too. <a href="http://www.456bereastreet.com/archive/200410/document_titles_and_title_separators/" title="Document titles and title separators">Here&#8217;s an article</a> at <a href="http://www.456bereastreet.com/" title="Roger Johansson's 456 Berea Street">456 Berea Street</a> regarding document titles and separators. I find <a href="http://www.456bereastreet.com/archive/200410/document_titles_and_title_separators/#comment9">this comment</a> in particular to be most useful.</li>
</ol>
<h3>The solution</h3>
<p>Let&#8217;s take a look at the standard code:</p>
<p><code>&lt;title&gt;
&lt;?php bloginfo('name'); ?&gt;
&lt;?php if ( is_single() ) { ?&gt; &amp;raquo; Blog Archive &lt;?php } ?&gt; 
&lt;?php wp_title(); ?&gt;
&lt;/title&gt;</code></p>
<p>We&#8217;ll reshuffle this as follows:</p>
<p><code>&lt;title&gt;
&lt;?php wp_title(' '); ?&gt;
&lt;?php if(wp_title(' ', false)) { echo ' - '; } ?&gt;
&lt;?php bloginfo('name'); ?&gt;
&lt;/title&gt;</code></p>
<p>So you can see the title of the current page/post comes first. &#8216;wp_title&#8217; takes an empty string as a parameter; this parameter denotes the separator. We&#8217;re not using the default, and since we&#8217;ve reversed the order, we don&#8217;t need to display a separator at all.</p>
<p>We then have an &#8216;if&#8217; statement that checks if the &#8216;wp-title&#8217; holds a value and displays a separator, &#8216; &#8211; &#8216;, if it does.</p>
<p>Lastly, we display the name of the blog with bloginfo(&#8216;name&#8217;).</p>
<p>So now we get this in our title bar:</p>
<blockquote><p>[post title] &#8211; [category name] &#8211; [blog name]</p></blockquote>
<p>Much friendlier!</p>
<h3>Some useful links</h3>
<ul>
<li><a href="http://www.456bereastreet.com/archive/200410/document_titles_and_title_separators/" title="Document titles and title separators">Document titles and title separators</a>.</li>
<li><a href="http://codex.wordpress.org/Template_Tags/wp_title" title="Template Tags/wp title &laquo; WordPress Codex">Template Tags/wp title</a> &#8211; from the WordPress  documentation</li>
<li><a href="http://www.julian-bez.de/blog/2005/02/15/how-to-use-the-title-tag/" title="How to use the title tag">How to use the title tag</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://twoseven.co.nz/2007/02/15/wordpress-titles/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://twoseven.co.nz/2007/02/13/hello-world/</link>
		<comments>http://twoseven.co.nz/2007/02/13/hello-world/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 17:12:52 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#8216;Hello World!&#8217;, indeed!! If this is still a recent post, then you&#8217;re probably seeing the default WordPress template. Yay Kubrick! This site will be where I put all my web-related stuff; stuff I like, stuff I&#8217;m working on, stuff I &#8230; <a href="http://twoseven.co.nz/2007/02/13/hello-world/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>&#8216;Hello World!&#8217;, indeed!!<br />
If this is still a recent post, then you&#8217;re probably seeing the default WordPress template. Yay Kubrick!<br />
This site will be where I put all my web-related stuff; stuff I like, stuff I&#8217;m working on, stuff I don&#8217;t like&#8230;  all that stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://twoseven.co.nz/2007/02/13/hello-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

