<?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>Martin Ström &#187; wordpress</title>
	<atom:link href="http://my-domain.se/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://my-domain.se</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 10:02:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Uglycute.com</title>
		<link>http://my-domain.se/uglycute/</link>
		<comments>http://my-domain.se/uglycute/#comments</comments>
		<pubDate>Tue, 19 May 2009 14:59:51 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/?p=213</guid>
		<description><![CDATA[Today we released www.uglycute.com — the result of a two day workshop together with Konst &#38; Teknik, Ola Bergengren, Uglycute and me.]]></description>
			<content:encoded><![CDATA[<p><img src="http://my-domain.se/wordpress/wp-content/uploads/uglycute.png" alt="www.uglycute.com" title="www.uglycute.com" width="600" height="535" class="alignnone size-full wp-image-215" /></p>

<p>Today we released <a href="http://www.uglycute.com">www.uglycute.com</a> — the result of a two day workshop together with <a href="http://www.konst-teknik.se">Konst &amp; Teknik</a>,  Ola Bergengren, Uglycute and me.</p>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/uglycute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Burnfield Dark WordPress Theme issue</title>
		<link>http://my-domain.se/burnfield-dark-wordpress-theme-issue/</link>
		<comments>http://my-domain.se/burnfield-dark-wordpress-theme-issue/#comments</comments>
		<pubDate>Sat, 18 Aug 2007 13:22:19 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[burnfield]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress-theme]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2007/08/18/burnfield-dark-wordpress-theme-issue/</guid>
		<description><![CDATA[I get a lot of questions on how to make the thumbails show up on theme behind this site. So I&#8217;ve updated the page with some instructions to help you all. I&#8217;ve started on the 2.0 version on the theme that will (along other features) make thumbnails easier to manage. Read more]]></description>
			<content:encoded><![CDATA[<p>I get a lot of questions on how to make the thumbails show up on theme behind this site. So I&#8217;ve updated the <a href="http://burnfield.com/martin/2006/04/12/wordpress-theme/">page</a> with some instructions to help you all.</p>

<p>I&#8217;ve started on the 2.0 version on the theme that will (along other features) make thumbnails easier to manage.</p>

<p><a href="http://burnfield.com/martin/2006/04/12/wordpress-theme/">Read more</a></p>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/burnfield-dark-wordpress-theme-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Easy FeedBurner redirect</title>
		<link>http://my-domain.se/easy-feedburner-redirect/</link>
		<comments>http://my-domain.se/easy-feedburner-redirect/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 09:24:08 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[feedburner]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2006/04/26/easy-feedburner-redirect/</guid>
		<description><![CDATA[This is a trick I&#8217;m using at this site that I picked up somewhere on the FeedBurner Forums. I wanted to have my RSS-feed from this site to go via FeedBurner to get stats etc, but I don&#8217;t want to communicate the http://feeds.feedburner.com/xxxx URL public since it might change in the future. So instead, in [...]]]></description>
			<content:encoded><![CDATA[<p>This is a trick I&#8217;m using at this site that I picked up somewhere on the <a href="http://forums.feedburner.com">FeedBurner Forums</a>. I wanted to have my RSS-feed from this site to go via FeedBurner to get stats etc, but I don&#8217;t want to communicate the <code>http://feeds.feedburner.com/xxxx</code> URL public since it might change in the future. So instead, in my <a href="http://httpd.apache.org/docs/1.3/howto/htaccess.html"><code>.htaccess</code></a>, I have these lines that will redirect all visitors except FeedBurner itself (otherwise it wouldn&#8217;t have any chance to read and parse my feed) to my FeedBurner URL.</p>

<pre><code>RewriteEngine On
RewriteBase /martin/

# FeedBurner
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/haraldmartin [R,L]
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/easy-feedburner-redirect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Colhour WordPress plugin</title>
		<link>http://my-domain.se/colhour-wordpress-plugin/</link>
		<comments>http://my-domain.se/colhour-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 24 Apr 2006 09:13:43 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[colhour]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress-plugin]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2006/04/24/colhour-wordpress-plugin/</guid>
		<description><![CDATA[This is a plugin for WordPress. The Plugin makes it easy to have elements on your site in colors generated by the Colhour system. Basically it will let you input CSS rules from a option page in the WordPress Admin, and when the site is viewed later it will have the colors replaced by an [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://my-domain.se/wordpress/wp-content/uploads/2006/04/colhour-plugin.png" alt="Colhour Plugin" />
This is a plugin for <a href="http://wordpress.org">WordPress</a>. The Plugin makes it easy to have elements on your site in colors generated by the <a href="http://harald.net/colhour">Colhour</a> system. Basically it will let you input CSS rules from a option page in the WordPress Admin, and when the site is viewed later it will have the colors replaced by an ever updating Colhour-color.</p>

<p>There are a couple of input fields on the options page; one for each &#8220;length&#8221; of the spectrum (for it to start over again). I.e., if you want a <code>div</code> element with the id &#8220;header&#8221; to get its background colorized from Colhour and its Colhour cycle starting over every day (after 24 hours), you just enter the CSS rules in the &#8220;day&#8221; input field. The actual color-value should be replaced with `%colhour%´ so the plugin can insert the current color in its place. </p>

<p><img src="http://my-domain.se/wordpress/wp-content/uploads/2006/04/colhour-plugin2.png" alt="colhour-plugin2.png" /></p>

<p>I suggest not having any other CSS rules in the Colhour admin than the ones dealing with the colors you want replaced. I.e., strip out the fonts, border sizes etc and keep all that in your <code>.css</code> file where they belong (and can be cached).</p>

<p>Bad:</p>

<pre><code>#myDiv {
    font: 1.1em Courier; 
    padding: 2em;
    background: #DDD url(my-background.png) no-repeat top left;
    border: 2px dotted %colhour%;
}
</code></pre>

<p>Good: </p>

<pre><code>#myDiv {border-color: %colhour%;}
</code></pre>

<p><a href="http://burnfield.com/martin/wordpress/wp-content/uploads/colhour.php.html">Download here</a>, put it in your <code>wp-themes/plugins/colhour.php</code> (note the <code>.php</code> extension) folder and activate it as usual in WordPress admin &raquo; Plugins. The options can be found under Options &raquo; Colhour.</p>

<div markdown="1" class="updated">
Update May 4, 2006
I&#8217;ve updated the plugin with some minor tweaks and UI enhancement. Also, this site is now using the plugin to style the links.
</div>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/colhour-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress theme released</title>
		<link>http://my-domain.se/burnfield-dark-wordpress-theme-released/</link>
		<comments>http://my-domain.se/burnfield-dark-wordpress-theme-released/#comments</comments>
		<pubDate>Thu, 20 Apr 2006 20:10:33 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2006/04/20/wordpress-theme-released/</guid>
		<description><![CDATA[This theme behind this site is now available for download. Read more&#8230;]]></description>
			<content:encoded><![CDATA[<p>This theme behind this site is now available for download. <a href="http://burnfield.com/martin/2006/04/12/wordpress-theme">Read more&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/burnfield-dark-wordpress-theme-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress theme</title>
		<link>http://my-domain.se/burnfield-dark-wordpress-theme/</link>
		<comments>http://my-domain.se/burnfield-dark-wordpress-theme/#comments</comments>
		<pubDate>Wed, 12 Apr 2006 07:48:19 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress-theme]]></category>

		<guid isPermaLink="false">http://burnfield.com/martin/2006/04/12/wordpress-theme/</guid>
		<description><![CDATA[Finally this site looks like something other than the default WordPress theme. Peter and I wanted to connect our work sites to each other and decided to use his simple but easy-to-use WordPress theme as a base. The problem was that his theme never was cross browser compatible and worked more or less only in [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://my-domain.se/wordpress/wp-content/uploads/wordpress-theme.png" alt=""></p>

<p>Finally this site looks like something other than the <a href="http://themes.wordpress.net/wordpress/" title="Default WordPress theme 'Kubrick'">default WordPress theme</a>. <a href="http://konst-teknik.se">Peter</a> and I wanted to connect our work sites to each other and decided to use his simple but easy-to-use <a href="http://konst-teknik.se">WordPress theme</a> as a base.</p>

<p>The problem was that his theme never was cross browser compatible and worked more or less only in <a href="http://www.apple.com/safari">Safari</a>. My first task was to re-code the theme from scratch to make it work in all modern browsers using valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> and <a href="http://http://jigsaw.w3.org/css-validator/check/referer">CSS</a> with as clean and simple code as possible.</p>

<p>I also set all font sizes using <a href="http://www.w3.org/WAI/GL/css2em.htm">em</a>:s (instead of px or pt) to make the text resizable. It wasn&#8217;t too hard making it work (even in Microsoft Internet Explorer) thanks to <a href="http://www.alistapart.com/articles/sizematters/">some</a> <a href="http://www.clagnut.com/blog/348/">great</a> <a href="http://css-discuss.incutio.com/?page=UsingEms">resources</a>. Sooner or later I&#8217;ll convert the positions, margins etc to em:s as well, but font sizes should be enough for now.</p>

<p>I also added <a href="http://zeo.unic.net.my/2005/12/25/wordpress-ajax-commenting-revisited/">AJAX comments</a> and used effects from <a href="http://script.aculo.us/" title="Web 2.0 JavaScript">script.aculo.us</a>. I&#8217;m using <a href="http://prototype.conio.net/" title="Prototype JavaScript Framework">Prototype</a> to add CSS classes to some elements and to wrap i.e. all <code>&lt;h3&gt;</code>&#8216;s content in a <code>&lt;span&gt;</code> to achieve the look I wanted without any unnecessary  markup. Since <code>&lt;input type="search" /&gt;</code> only is supported by Safari and I wanted to use it, I used a script (thanks <a href="http://www.bartelme.at">Wolfgang Bartelme</a>) that replaces the regular text input field with a search field for Safari only. This way the document will stay valid XHTML 1.1.</p>

<p>Next task was to make the theme more personal for my site. I&#8217;ve tried some different looks but couldn&#8217;t really decide how I wanted it and choose (for now at least) a slightly darker version of Peter&#8217;s theme. I think it looks good and is easy to use without making too much noise.</p>

<p>When I implanted the tagging I first looked at <a href="http://www.neato.co.nz/ultimate-tag-warrior/">Ultimate Tag Warrior 3</a> but it seemed too advanced for my needs, so I decided to use the native category system in WordPress 2.0, that lets one add tags (categories) by just entering them in separated by comma in a text field (WP 1.x didn&#8217;t have this feature). The <a href="/martin/tags">tag cloud</a> is a modified and simplified version of <a href="http://register.intruder.ru/2005/08/30/tag-cloud-plugin/">Tag Cloud Plugin</a>.</p>

<p class="download">
  <a href="http://burnfield.com/martin/wordpress/wp-content/uploads/burnfield-dark.zip">Download</a>
</p>

<div markdown="1" class="updated">
Update April 20, 2006
The theme is now released in a beta version. Some notes:

* You&#8217;ll need the [Post Updated Plugin](http://guff.szub.net/2005/02/22/post-updated) to get a page&#8217;s last modified date.

* My &#8220;lite&#8221; version of the [TagCloud plugin][tagcloud] can be [downloaded here][tagcloudlite].

* You&#8217;ll problably want to change the `autosave` attributes value in `javascripts/global.js` (line #24) to your own unique id. [Read more on the attribute](http://weblogs.mozillazine.org/hyatt/archives/2004_07.html#005890).

I also found this great plugin for the admin area, <del>[Cat2Tag](http://www.agkamai.org/cat2tag)</del> <add>The link seems to be broken, get it <a href="/martin/wordpress/wp-content/uploads/cat2tag.phps">download it here</a> for now</add> for easier tagging of your content without using a separete database like [Ultimate Tag Warrior 3][utw] does. Cat2Tag just use WordPress&#8217; own categories instead.

[Download](http://my-domain.se/wordpress/wp-content/uploads/burnfield-dark.zip).
</div>

<div markdown="1" class="updated">
Update May 4, 2006
The [TagCloud plugin][tagcloudlite] is updated to use the [rel-tag](http://microformats.org/wiki/rel-tag) [microformat](http://microformats.org/about).
</div>

<div markdown="1" class="updated">
Update August 18, 2007

Since a lot of people ask me how to get the thumbnails to work, here is the instructions I usually email them:

<br /><br />— ✄ ——————<br /><br />

First, download a newer version of <a href="http://burnfield.com/martin/wordpress/wp-content/uploads/posts-thumbnail.phps">`posts-thumbnail.php`</a> replace the current one (from the downloaded .zip file) with this one attached in this message.

Create the thumbnail image and name it &#8220;thumb-POST_SLUG.png&#8221;. The post slug is shown on the &#8220;edit post&#8221; screen in the admin (i.e my latest post with title &#8220;Rails&#8217; time extensions ported to JavaScript&#8221; has post slug &#8220;rails-time-extensions-ported-to-javascript&#8221; and the thumbnail should therefore be named &#8220;thumb-rails-time-extensions-ported-to-javascript.png&#8221;). Then just upload the image from the same screen using WordPress&#8217; built-in uploader (you dont have to give it any description or title). Then the theme should automatically find the image for you and show it in the list view.

<br /><br />———— ✄ ——<br /><br />

Btw is a new version of this theme under development and will make the thumbnail handling easier.

</div>

<div markdown="1" class="updated">
Update October 31, 2007

The link to the plugin &#8220;Cat2Tag&#8221; seems to be down (thanks Kris Aubuchon) so, for now at least, you can <a href="/martin/wordpress/wp-content/uploads/cat2tag.phps">download it here</a>.

I haven&#8217;t really looked into the new tagging system in WP 2.3 so perhaps this plugin isn&#8217;t necessary any more.
</div>
]]></content:encoded>
			<wfw:commentRss>http://my-domain.se/burnfield-dark-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
	</channel>
</rss>

