<?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>Geekality &#187; Blogging</title>
	<atom:link href="http://www.geekality.net/tag/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekality.net</link>
	<description>With a hint of Social Ineptitude</description>
	<lastBuildDate>Sun, 05 Feb 2012 17:53:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SQL for listing all WordPress tags</title>
		<link>http://www.geekality.net/2011/06/13/sql-for-listing-all-wordpress-tags/</link>
		<comments>http://www.geekality.net/2011/06/13/sql-for-listing-all-wordpress-tags/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 20:47:17 +0000</pubDate>
		<dc:creator>Torleif</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Snippet]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.geekality.net/?p=1715</guid>
		<description><![CDATA[When writing a post I sometimes find it difficult to choose what I should tag it with. I try reuse tags I already have to prevent a total mess, and sometimes I just don&#8217;t really remember what tags I have &#8230; <a href="http://www.geekality.net/2011/06/13/sql-for-listing-all-wordpress-tags/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When writing a post I sometimes find it difficult to choose what I should tag it with. I try reuse tags I already have to prevent a total mess, and sometimes I just don&#8217;t really remember what tags I have used so far. When writing a post in WordPress you can get a list of the most used ones, but once in a while I write a post on subject I haven&#8217;t written a lot about. So, instead of going to the Post Tags page and look through all the pages of tags, I decided to just connect to my blog database and run a query.</p>
<p><span id="more-1715"></span></p>
<div class="codecolorer-container sql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="sql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #993333; font-weight: bold;">SELECT</span> name<span style="color: #66cc66;">,</span> slug<span style="color: #66cc66;">,</span> description<span style="color: #66cc66;">,</span> <span style="color: #993333; font-weight: bold;">COUNT</span> <span style="color: #993333; font-weight: bold;">FROM</span> wp_terms<br />
<span style="color: #993333; font-weight: bold;">NATURAL</span> <span style="color: #993333; font-weight: bold;">JOIN</span> wp_term_taxonomy<br />
<span style="color: #993333; font-weight: bold;">WHERE</span> taxonomy<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;post_tag&quot;</span><br />
<span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> name</div></div>
<p>Lists all your tags, sorted by name <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':)' class='wp-smiley smiley-1' /> </p>
<p class="wp-flattr-button"></p> <p><a href="http://www.geekality.net/?flattrss_redirect&amp;id=1715&amp;md5=9996d29443248765a13d414f1e0aa91c" title="Flattr" target="_blank"><img src="http://www.geekality.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.geekality.net/2011/06/13/sql-for-listing-all-wordpress-tags/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Some speedy WordPress fixes</title>
		<link>http://www.geekality.net/2011/06/03/some-speedy-wordpress-fixes/</link>
		<comments>http://www.geekality.net/2011/06/03/some-speedy-wordpress-fixes/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 20:41:51 +0000</pubDate>
		<dc:creator>Torleif</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Compression]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Speed]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.geekality.net/?p=1706</guid>
		<description><![CDATA[Used Page Speed for FireFox the other day to analyze my blog. Found a couple of issues and a couple were very simple to fix. If these will work for you, depends a bit on where your WordPress site is &#8230; <a href="http://www.geekality.net/2011/06/03/some-speedy-wordpress-fixes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Used <a href="http://code.google.com/speed/page-speed/docs/using_firefox.html">Page Speed</a> for FireFox the other day to analyze my blog. Found a couple of issues and a couple were very simple to fix. If these will work for you, depends a bit on where your WordPress site is hosted and what your web server does already. So, be brave and analyze your own site. Look through the results and see if you can fix some of it without too much hassle <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':)' class='wp-smiley smiley-1' /> </p>
<p><span id="more-1706"></span></p>
<h2>Missing expiration date and unnecessary ETag</h2>
<p>The browser caches stuff, and to do that it needs some information. When we have stuff that doesn&#8217;t change very often (if ever) we should tell the browser that, once you&#8217;ve downloaded this, you don&#8217;t really need to check back for a new version for a while. To do this we add an expiration date. In addition you have two headers called Last-Modified and one called ETag. you can read more about that and all the rest of this in the link earlier in this paragraph, but the short story is you should have one. Having both is just not necessary. When I checked the headers sent with my images, I found that both were sent. So I decided to turn off the FileETag. To do all of this, for images, javascript files and stylesheets, I added the following lines to the <a href="http://en.wikipedia.org/wiki/.htaccess">.htaccess</a> file in the root of my WordPress blog:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;FilesMatch &quot;\.(ico|jpg|jpeg|png|gif|js|css)$&quot;&gt;<br />
&nbsp; ExpiresActive On<br />
&nbsp; ExpiresDefault &quot;access plus 2 weeks&quot;<br />
&nbsp; FileETag none<br />
&lt;/FilesMatch&gt;</div></div>
<p><a href="http://code.google.com/speed/page-speed/docs/caching.html#LeverageBrowserCaching">More info</a></p>
<h2>Enable Compression</h2>
<p>Compressing stuff means less data has to go across the wire between the browser and the web server. Which is generally a nice thing. And as long as the web server supports it, enabling it is pretty simple. Just add the following line to your <a href="http://en.wikipedia.org/wiki/.htaccess">.htaccess</a> file.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css application/javascript</div></div>
<p><a href="http://code.google.com/speed/page-speed/docs/payload.html#GzipCompression">More info</a></p>
<h2>Don&#8217;t touch the default stuff</h2>
<p>Just to make it less likely that someone messes up their WordPress installation after reading this: Make sure you <em>add</em> the above stuff. Do not just replace the .htaccess file. WordPress comes with an .htaccess file, and what&#8217;s in there needs to be there. Here is how the default stuff looks in mine:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># BEGIN WordPress<br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteRule ^index\.php$ - [L]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
&lt;/IfModule&gt;<br />
# END WordPress</div></div>
<p>Unless you know what you&#8217;re doing, it&#8217;s probably a good idea to not touch any of that <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':)' class='wp-smiley smiley-1' /> And if you <em>do</em> end up messing up your WordPress blog after reading this blog post, don&#8217;t blame me <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':P' class='wp-smiley smiley-13' /> </p>
<p class="wp-flattr-button"></p> <p><a href="http://www.geekality.net/?flattrss_redirect&amp;id=1706&amp;md5=dcfafa9e08f9cdf7a8ae87f6af5467f1" title="Flattr" target="_blank"><img src="http://www.geekality.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.geekality.net/2011/06/03/some-speedy-wordpress-fixes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New blog!</title>
		<link>http://www.geekality.net/2009/09/11/new-blog/</link>
		<comments>http://www.geekality.net/2009/09/11/new-blog/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 06:19:56 +0000</pubDate>
		<dc:creator>Torleif</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://www.geekality.net/?p=82</guid>
		<description><![CDATA[Alright, we are doing this again. After having watched a very inspiring session with Scott Hanselman called Making Your Blog Suck Less: Social Networking and Your Personal Brand Online at the Norwegian Developer Conference 2009, I figured I should have &#8230; <a href="http://www.geekality.net/2009/09/11/new-blog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Alright, we are doing this again. After having watched a very inspiring session with <a href="http://www.hanselman.com/blog/">Scott Hanselman</a> called <em>Making Your Blog Suck Less: Social Networking and Your Personal Brand Online</em> at the Norwegian Developer Conference 2009, I figured I should have a go at this thing again. I have had various websites before and a couple of blogs, however they all suffered from me wanting to program more than I wanted to write. That means I usually ended up programming my own stuff, having loads of fun designing, putting things together, forcing some text about myself and what I do out there, and then&#8230; well, then they pretty much died. </p>
<p>So, now I am going for WordPress and is hoping that I will manage to stick with it for a while. And hopefully get some stuff out here too. Will try out Scott&#8217;s advice on using drafts in Live Writer, etc.</p>
<p>Aaaaanyways, have a look around, drop me an email if you want, comment on stuff, subscribe to my feed, et cetera. Or just ignore me. That is fine by me too <img src='http://www.geekality.net/wp-includes/images/blank.gif' alt=':P' class='wp-smiley smiley-13' /> </p>
<p><strong>By the way</strong> if you are interested in seeing that very good session, you can find them <a href="http://www.alsagile.com/archive/2009/08/31/ndc-2009-videos.aspx" class="broken_link">here</a>. I recommend downloading it using the BitTorrent file you find there. If you think it is a bit much, just use a decent BitTorrent client like <a href="http://www.utorrent.com/">µTorrent</a> and you can select just that file. However I really do recommend that you download the whole thing cause it is a lot of really great stuff there. For example some very good introduction sections to Test-Driven Development with <a href="http://weblogs.asp.net/ROsherove/">Roy Osherove</a>.</p>
<p class="wp-flattr-button"></p>]]></content:encoded>
			<wfw:commentRss>http://www.geekality.net/2009/09/11/new-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

