<?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>William Astle&#039;s General Clutter &#187; Metababbling</title>
	<atom:link href="http://lost.l-w.ca/0x04/archives/category/metababbling/feed" rel="self" type="application/rss+xml" />
	<link>http://lost.l-w.ca/0x04</link>
	<description></description>
	<lastBuildDate>Mon, 30 Aug 2010 16:56:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Akismet to the Rescue</title>
		<link>http://lost.l-w.ca/0x04/archives/801</link>
		<comments>http://lost.l-w.ca/0x04/archives/801#comments</comments>
		<pubDate>Mon, 30 Aug 2010 16:56:00 +0000</pubDate>
		<dc:creator>lost</dc:creator>
				<category><![CDATA[Metababbling]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Tech Stuff]]></category>

		<guid isPermaLink="false">http://lost.l-w.ca/0x04/?p=801</guid>
		<description><![CDATA[Any web site that&#8217;s been online for more than a few seconds seems to attract spammers, especially if it supports comment posting or other user generated content. The magnitude of the problem seems to be higher when the site is &#8230; <a href="http://lost.l-w.ca/0x04/archives/801">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Any web site that&#8217;s been online for more than a few seconds seems to attract spammers, especially if it supports comment posting or other user generated content. The magnitude of the problem seems to be higher when the site is using a well known software package such as <a href="http://www.wordpress.org/" target="_blank">WordPress</a>. My blog is no exception and the problem has become steadily worse as the amount of content on my site has increased.</p>
<p><span id="more-801"></span>I learned very quickly that I could not allow comments to be passed through to the site unchecked. The obvious solution was to moderate comments. While this is 100% effective at keeping spam off the site, it very quickly becomes unworkable when the volume of spam comments exceeds a handful every day. While it is not particularly burdensome to reject a couple dozen comments a week, when that number suddenly rockets into the high hundreds every week, moderation alone is not sufficient.</p>
<p>There is also another issue with moderation. It means that legitimate posts on the site do not appear immediately. Rather, they must wait until they are approved. While this is not a particularly large issue given the volume of legitimate comments my blog attracts, I do want the comments to appear as quickly as possible.</p>
<p>Enter <a href="http://www.akismet.com/" target="_blank">Akismet</a>. I discovered it when I noticed that WordPress wanted to update its Akismet plugin. Noticing that, I did some quick research and realized that Akismet might be exactly what I needed to solve my spam  problem. After jumping through the minor hoop of getting an API key and enabling the plugin, I was on my way.</p>
<p>Within seconds of enabling Akismet, it blocked two spam comments. Since enabling it, no false positives or false negatives have occurred. Given my experience over the handful of days since I enabled it, I have to say that it is a wonderful product. Indeed, if I was making any money with my blog, I would not hesitate to pony up the astoundingly reasonable fee they charge for non-hobby blogs.</p>
<p>So if anyone reading this is having a spam problem with their WordPress blog, give Akismet a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://lost.l-w.ca/0x04/archives/801/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Blogging</title>
		<link>http://lost.l-w.ca/0x04/archives/571</link>
		<comments>http://lost.l-w.ca/0x04/archives/571#comments</comments>
		<pubDate>Tue, 06 Jul 2010 23:03:13 +0000</pubDate>
		<dc:creator>lost</dc:creator>
				<category><![CDATA[Metababbling]]></category>

		<guid isPermaLink="false">http://lost.l-w.ca/0x04/?p=571</guid>
		<description><![CDATA[It&#8217;s hard to believe that it&#8217;s been nearly seven years since I wrote my . Most blogs end up with a flurry of posts and then fizzle out completely as the blogger gets bored or runs out of things to &#8230; <a href="http://lost.l-w.ca/0x04/archives/571">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s hard to believe that it&#8217;s been nearly seven years since I wrote my <a href="http://lost.l-w.ca/0x04/archives/22">first blog post</a>. Most blogs end up with a flurry of posts and then fizzle out completely as the blogger gets bored or runs out of things to say. Way back in August of 2003, I gave myself even odds that I&#8217;d manage to actually keep this thing going more than a few months. Well, over 270 blog entries and two major software overhauls later, I&#8217;m still on the air, so to speak. Sure, there have been lulls, some of them long, but I&#8217;ve always come back.</p>
<p><span id="more-571"></span></p>
<p>In general, I enjoy writing these entries. Sometimes I write them because something has a bug up my butt but mostly I&#8217;m writing about things that are interesting to me. Anyone who has read through my posts will know that the things that interest me are somewhat eclectic. I mean, 地球少女アルジュナ, Battlestar Galactica, English grammar, and TRS-80 Color Computers? (No, I don&#8217;t read or speak Japanese; I just copied that text from a much cooler source.)</p>
<p>One thing I&#8217;ve never really thought about, though, is why do I really do it? I mean, my comments in that first post mentioned above are great but that doesn&#8217;t really provide any insight into why I keep doing it. After all, my blog is fairly obscure. I&#8217;m pretty certain almost nobody reads it. My <a href="http://www.lexi.net/" target="_blank">web host</a> doesn&#8217;t even notice the traffic I get. So I&#8217;m clearly not making any money from this thing and I certainly am not getting famous. Still, I must be deriving some benefit from doing this or I would hardly still be at it all these years later, would I?</p>
<p>I put some thought into just that question. Like everything else in life, the answer is not exactly simple. It turns out I have multiple reasons for having continued this long.</p>
<p>The first, and probably least important, reason is that I enjoy writing. I dabble with writing novels (none finished or published), short stories (<a href="http://lost.l-w.ca/0x04/writings/fiction">some on my site</a>), poetry (available in dead tree form <a href="http://www.l-w.ca/">from the publisher</a>) and even non-fiction rambles about current events. But pleasure is not sufficient to continue something long term for it eventually gets boring if that is the whole purpose.</p>
<p>There is also a certain ego trip that results from seeing ones work published in any form. With the advent of the WWW, it is trivial for anyone to publish anything they want. And I have done just that. In fact, I had a personal web site with actual content on it long before the blogging craze took over the web. Indeed, I registered my first domain name on October 7, 1998 and that domain still directs traffic to the one I use today (which I couldn&#8217;t get until late 2000 when the .ca domain was deregulated). Since my site has been online as long as it has, when it actually has content relevant to a particular search, it seems to rank fairly well. Being able to say I&#8217;ve had a web site since 1998 is also an ego boost. But the ego boost is even bigger if I can say the site has been active since then. And it has.</p>
<p>But ego trips aside, I think real reason continue is for the occasional comment out of the blue from people I do not know and who wouldn&#8217;t know me if we passed on the street. Every once in a while, I&#8217;ll write a piece that gets somebody&#8217;s attention and they will care enough to leave a comment. It happened occasionally before I started this blog and, thus, posting more regularly. It has continued to happen since then. Some of these comments are available for all to see when viewing the blog archives. I think it is for these small moments of awesome that I do this. I think it is wonderful that I can write about some random topic and find that another person actually reads it and feels strongly enough to comment on what I wrote. I think this modern world with its Internet and WWW counts as one of humankind&#8217;s crowning moments of awesome and I am simply honoured to be able to participate.</p>
<p>So what it comes down to is I like hearing myself talk (figuratively), I like seeing my name and my work appear where others can see it, and I like being part of something cool. In other words, I&#8217;m human. And it&#8217;s fun. So I keep doing it. So sue me. <img src='http://lost.l-w.ca/0x04/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://lost.l-w.ca/0x04/archives/571/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Tinkering</title>
		<link>http://lost.l-w.ca/0x04/archives/381</link>
		<comments>http://lost.l-w.ca/0x04/archives/381#comments</comments>
		<pubDate>Thu, 25 Feb 2010 04:55:02 +0000</pubDate>
		<dc:creator>lost</dc:creator>
				<category><![CDATA[Metababbling]]></category>

		<guid isPermaLink="false">http://lost.l-w.ca/0x04/?p=381</guid>
		<description><![CDATA[Well, I&#8217;ve finally decided to ditch the old school method of running a web site and move entirely over to a content management system. Since the majority of my site content consists of blog posts, I have decided that WordPress &#8230; <a href="http://lost.l-w.ca/0x04/archives/381">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve finally decided to ditch the old school method of running a web site and move entirely over to a content management system. Since the majority of my site content consists of blog posts, I have decided that WordPress is a good choice. I have been using WordPress for my blog for some time and I have been happy with it so I thought, why not use it for the whole site?</p>
<p>I made this decision not because I have any great difficulties managing the site using old school static html files but because this way is much easier to add content to. It is also much easier to redo the site look without having to monkey with a large number of files and I no longer have to maintain stylesheets and so on if I don&#8217;t feel like it.</p>
<p>So far, I have brought the entire blog history across as well as the main web site pages. I have taken the opportunity to eliminate a few pages that were horribly out of date and not terribly useful. I have not finished bringing over the deep content pages, however. That may take some time as there is much fiddly work involved in doing so. I have, however, ensured that the internal linking structure of those pages will bring viewers back to the new WordPress installation instead of leaving them in limbo.</p>
<p>After tinkering with various WordPress themes, I think I have found one that I am happy with. It follows largely in the same vein as my older site layout, being largely text based with relatively little fancy layout gimmickry. That makes me even happier because it means I don&#8217;t have to monkey with creating a theme for WordPress which, while it is something I could do if I chose to, I really don&#8217;t feel the need to get that deep into WordPress.</p>
<p>This whole adventure has left me somewhat awed by the progress that web site publishing has made over the past ten years. When I made my <a href="http://lost.l-w.ca/0x04/archives/22">first foray into blogging</a> back in 2003, the state of the art was quite basic. Content management systems were just becoming a mainstream concept and blogging wasn&#8217;t really on most people&#8217;s radar. Back then, I rolled my own blog software which I used in one form or another until I <a href="http://lost.l-w.ca/0x04/archives/279">switched to WordPress</a>. Now, I have finally jumped on the content management system bandwagon though, in all honesty, the state of the art for that arrived a couple of years ago. It was really just inertia that kept me using the same old system since then. No doubt the next seven years will result in similar advancements which will be interesting to witness.</p>
]]></content:encoded>
			<wfw:commentRss>http://lost.l-w.ca/0x04/archives/381/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog Overhaul</title>
		<link>http://lost.l-w.ca/0x04/archives/279</link>
		<comments>http://lost.l-w.ca/0x04/archives/279#comments</comments>
		<pubDate>Tue, 28 Jul 2009 03:35:36 +0000</pubDate>
		<dc:creator>lost</dc:creator>
				<category><![CDATA[Metababbling]]></category>

		<guid isPermaLink="false">http://lost.l-w.ca/v3/?p=268</guid>
		<description><![CDATA[Well, I decided to overhaul my blog today. After much pondering and thought (about five minutes worth), I decided to throw WordPress at the job. Turns out that it is fairly easy to install and I got the basic install &#8230; <a href="http://lost.l-w.ca/0x04/archives/279">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, I decided to overhaul my blog today. After much pondering and thought (about five minutes worth), I decided to throw <a href="http://wordpress.org/">WordPress</a> at the job. Turns out that it is fairly easy to install and I got the basic install operating quite quickly. However, it wasn&#8217;t quite all fun and games.</p>
<p>First, I like my site design so I wanted my blog to use a similar look and feel. Since the world at large goes for all sorts of whizbang gewgaws, my site design is fairly unusual, what with its total lack of images or fancy layouts. It took me the better part of today to work out how to get the basic look right and still maintain the functionality of WordPress that I was interested in.</p>
<p>The second, and possibly more pressing, issue was how to get all the old comments from my original home-grown blog software into WordPress. Knowing this would not be easy, I cranked up my PHP and MySQL skillz and started poking around. Without too much trouble I managed to incant the right stuff at MySQL to copy the data from the old tables to WordPress&#8217;s tables. Thus I was able to import all my blog posts since the dawn of time and all the comments associated with them! Yah!</p>
<p>For those of you wondering just why I went to an off-the-shelf software package, it comes down to time. I wanted a bunch of new features which one gets with such software without having to do all the tedious research and write all the tedious code to make it happen. That is just not efficient. I have better things to do, like ripping DVDs or reading books or watching TV or what have you. It&#8217;s not that my home grown software was terrible; it was quite good for the design specifications I built it to, but it was just getting old.</p>
<p>So here&#8217;s my shiny new blog with all its shiny old content. If you find anything that didn&#8217;t come over correctly, feel free to let me know. Also, I am likely going to be tinkering with the site layout for some time to come so don&#8217;t be surprised if something is broken for no apparent reason. Feel free to let me know if you find something like that, too.</p>
<p>I now return you to your regularly scheduled sparse stream of ramblings.</p>
]]></content:encoded>
			<wfw:commentRss>http://lost.l-w.ca/0x04/archives/279/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Site Redesign</title>
		<link>http://lost.l-w.ca/0x04/archives/215</link>
		<comments>http://lost.l-w.ca/0x04/archives/215#comments</comments>
		<pubDate>Thu, 08 Feb 2007 21:04:29 +0000</pubDate>
		<dc:creator>lost</dc:creator>
				<category><![CDATA[Metababbling]]></category>

		<guid isPermaLink="false">http://202</guid>
		<description><![CDATA[I decided recently to completely rebuild the backend logic of my web site. Over the years, I&#8217;ve noticed a number of problems with managing my site. I&#8217;ve had a web site since long before dynamic content and PHP were cool. &#8230; <a href="http://lost.l-w.ca/0x04/archives/215">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I decided recently to completely rebuild the backend logic of my web site. Over the years, I&#8217;ve noticed a number of problems with managing my site. I&#8217;ve had a web site since long before dynamic content and PHP were cool. As a result, much of my content is a set of static pages. That&#8217;s all well and good, but it does create a number of problems.</p>
<p>The first major problem is what to do when reorganizing the site. Since I like to keep the old links functional with redirects, I end up creating a bunch of rewrite rules in Apache or placeholder PHP pages or what have you. That&#8217;s a real pain to do and easy to mess up. It would be much easier to maintain if there were to be a lookup table somewhere that is consulted for links that don&#8217;t exist and an appropriate redirect generated in that case. That can be accomplished using mod_rewrite or with some sort of PHP script in a 404 handler.</p>
<p>When rearranging a site, one also wants to update all the internal links to avoid having them go through the redirection process or worse, hit a 404 error. This problem is not so easy to solve as it requires a periodic validation of the site or preprocessing every page to check for outdated links and rewrite them. This is not really practical.</p>
<p>A content management system can solve the above two problems without too much difficulty. However, most content management systems rely on a database server in the backend. That&#8217;s overkill for content that almost never changes, especially for someone proficient with a text editor and file transfer methods. That said, it is conceivable to create a content management system using static files on the file system which then preprocesses the files for links and so on. In fact, that is exactly what I have done, along with a caching scheme so that pages don&#8217;t get reparsed every time they are loaded.</p>
<p>Another problem content management systems often have is that the pages they serve appear to be modified every time they are loaded. This is not ideal for web site traffic volumes as search engines and web browsers will have no way of knowing the page really hasn&#8217;t been modified. My system uses the modification time of the source file to set the last modified time in the response and it also handles the if modified since request option and returns the proper not modified status if appropriate. This means browser caching can behave normally.</p>
<p>Many of my pages also have a last modified time in the footer. This has historically been updated manually by me when the page is updated. This is not ideal, however, since it requires me to remember to update it. Instead, the new system provides a substitution that adds standard footer along with modification time based on the file&#8217;s modification time. After all, the computer is very good at identifying such bits of information.</p>
<p>So I have a content management system that handles static pages implemented. I even arranged for apache to call it for every request within a particular folder. That means that unless the content system recognizes a request, it is not returned. The content system has full control. This prevents anyone from seeing the underlying file structure that implements the site. That is not sufficient, however.</p>
<p>My site also has a number of sections which have well defined behaviour or require more dynamic operation. These are such things as my blog or the photo album section. To make it possible to add such sections on at any time without having to modify the global site code, I have created a module system. The main content system examines the requested item, figures out a module name for the contents, and attempts to pass the request off to that module. If the module exists, it handles the request. In fact, the static pages are implemented as a module in the content system.</p>
<p>And, to top things off, if no module handles the request, it is passed on to a final step that looks up the requested item in a list and determines if a redirection is needed. If a match is found, a redirection is sent back to the browser, If that last ditch effort fails, a 404 error is returned.</p>
<p>It&#8217;s a very ambitious project. So far, I have implemented the framework for static pages and have started converting existing static pages to it. Still, I have the blog, photo album, etc., to implement yet before I can bring the new version of the site live. Even with the amount of work involved, I think it is well worth the effort even if there is no real visible change as far as the site users are concerned. Who knows, maybe I&#8217;ll share the site code once I have it all working.</p>
]]></content:encoded>
			<wfw:commentRss>http://lost.l-w.ca/0x04/archives/215/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jumping on the Bandwagon</title>
		<link>http://lost.l-w.ca/0x04/archives/22</link>
		<comments>http://lost.l-w.ca/0x04/archives/22#comments</comments>
		<pubDate>Sun, 17 Aug 2003 12:54:00 +0000</pubDate>
		<dc:creator>lost</dc:creator>
				<category><![CDATA[Metababbling]]></category>

		<guid isPermaLink="false">http://3</guid>
		<description><![CDATA[Well, I&#8217;ve finally done it. I&#8217;ve jumped on the blogging bandwagon. And while you won&#8217;t believe it, I didn&#8217;t do it because everyone else is doing it. After all, not everyone is doing it. I did it because I often &#8230; <a href="http://lost.l-w.ca/0x04/archives/22">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve finally done it. I&#8217;ve jumped on the blogging bandwagon. And while you won&#8217;t believe it, I didn&#8217;t do it because everyone else is doing it. After all, not everyone <i>is</i> doing it. I did it because I often feel the need to comment on current events but find it is too much of a hassle to build a web page each time. So I took the time to hack together some PHP code to run a blog and here we are. Now all the remains to be seen is whether I actually make entries on a regular basis.</p>
]]></content:encoded>
			<wfw:commentRss>http://lost.l-w.ca/0x04/archives/22/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
