<?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>Aldoblog &#187; enkoder</title>
	<atom:link href="http://aldoblog.com/tag/enkoder/feed/" rel="self" type="application/rss+xml" />
	<link>http://aldoblog.com</link>
	<description>Michael Alderete’s Weblog</description>
	<lastBuildDate>Wed, 23 May 2012 11:14:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How this weblog is run</title>
		<link>http://aldoblog.com/2005/01/how-this-weblog-is-run/</link>
		<comments>http://aldoblog.com/2005/01/how-this-weblog-is-run/#comments</comments>
		<pubDate>Mon, 17 Jan 2005 06:01:01 +0000</pubDate>
		<dc:creator>Alderete</dc:creator>
				<category><![CDATA[About This Site]]></category>
		<category><![CDATA[Anti-Spam]]></category>
		<category><![CDATA[enkoder]]></category>
		<category><![CDATA[kubrick]]></category>
		<category><![CDATA[textile]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://aldoblog.com/blog/427</guid>
		<description><![CDATA[As I have been working on this site, I've visited quite a few other weblogs run by WordPress, and occasionally see something that I'd like to know how to do myself. A little widget here, a list of related posts there, etc. Cool things, but nothing that says how to do them. So, if anyone ever has that thought about _my_ site, here's the info. (Hopefully other WordPress users will do this for their sites.)]]></description>
			<content:encoded><![CDATA[<p></p>	<p>As I have been working on this site, I&#8217;ve visited quite a few other weblogs run by WordPress, and occasionally see something that I&#8217;d like to know how to do myself. A little widget here, a list of related posts there, a cool show/hide trick somewhere, etc. Cool things, but nothing that says how to do them. So, if anyone ever has that thought about <em>my</em> site, here&#8217;s the info. (This is really of interest to WordPress users only, but hopefully it&#8217;ll be useful, and other WordPress users will do the same.)</p>

	<p><span id="more-427"></span></p>

	<p>First of all, I&#8217;m running <a href="http://wordpress.org/">WordPress</a> 1.2.2 (and all of its prerequisites, e.g., Apache, MySQL, <span class="caps">PHP</span>, etc.). After installing WordPress, the next thing I did was install the <a href="http://binarybonsai.com/kubrick/">Kubrick template</a>, which replaces the default index.php, wp-comments.php, and wp-layout.css files with new versions that use a much more attractive layout, design, etc.</p>

	<p>Then I tweaked the fonts in the <span class="caps">CSS</span> file (I&#8217;m using Trebuchet for the body copy, and Georgia for the headers), moved a bunch of things around (like the syndication feed links), and deleted other things (like the monthly archive links) inside the index.php file. And I encoded my e-mail address with the Automatic Labs <a href="http://automaticlabs.com/products/enkoder/">Enkoder</a>, to protect it from spam harvest bots.</p>

	<p>So far, none of this is rocket science, or hard to figure out what I did. A few of the less obvious things.</p>

	<p>I have the Textile 1 plug-in, which is part of the WordPress 1.2 distribution, turned on (it defaults to off), which converts straight quotation marks and apostrophes to curly versions, double-dashes to &#8220;em&#8221;-dashes, etc., to make the text a little prettier. This improved typography and ease of formatting is one of the major reasons I switched to WordPress.</p>

	<p>I changed the default format for permalinks (configured on the Options &raquo; Permalinks screen of the administrative console), to duplicate the link structure used by my old weblog software. Then I manually added a dozen additional rewrite rules to ones generated by WordPress, to handle all the different kinds of permalinks people were using with the old software. The details of all this will get its own post eventually.</p>

	<p>For articles where I show only an excerpt on the front page, I am displaying a word count in the &#8220;Read the rest&#8230;&#8221; link. This is done with the <a href="http://lee.org/blog/archives/2005/01/14/words-in-post/">Words In Post</a> plug-in (which I hacked a little bit so it would work in the <code>the_content()</code> call in index.php).</p>

	<p>On the permalinks pages, I use Binary Bonsai&#8217;s plug-in for <a href="http://binarybonsai.com/archives/2004/08/17/time-since-plugin/">Dunstan&#8217;s Time Since</a> to do the relative dates (&#8220;posted X days, Y minutes ago&#8221;).</p>

	<p>I am using the <a href="http://www.w-a-s-a-b-i.com/archives/2004/05/26/wordpress-related-entries-plugin/">Related Posts plug-in</a> to display links to posts which may possibly be related to the current post. I initially wasn&#8217;t happy with the related items it was finding, but I modified the plug-in&#8217;s code to slightly change the way the it uses keywords, and it seems to be doing a bit better at finding posts that are genuinely related.</p>

	<p>For a really trivial tweak, I&#8217;m using the <a href="http://txfx.net/2004/07/22/wordpress-conversational-categories/">Nice Categories</a> plug-in, which basically just adds an &#8220;and &#8220; to the list of categories a posting is filed under in the metadata section at the end of the individual post page. (This is a perfect example of how I can spend a couple of hours dicking around on this site, with little visibly accomplished.)</p>

	<p>I <em>was</em> using the <a href="http://photomatt.net/2004/07/26/staticize-25/">Staticize Reloaded</a> plug-in to do automatic caching of the web pages, but that caused problems with the relative date, and I haven&#8217;t converted that to use a <a href="http://neo.dzygn.com/archive/2004/01/timesince">JavaScript version of Time Since</a> yet, so I&#8217;ve got Staticize turned off for the moment. But it&#8217;ll go back on in the future.</p>

	<p>To control comment and trackback spam, in addition to filling WordPress&#8217;s built-in comment moderation watch list with almost 2000 keyword and IP addresses, I&#8217;ve got two plug-ins enabled, <a href="http://mookitty.co.uk/devblog/category/kittens-spaminator/">Kitten&#8217;s Spaminator</a> and <a href="http://weblogtoolscollection.com/archives/2004/09/24/three-strikes-and-out-damned-spam-out-i-say/">ThreeStrikesSPAM</a>. So far, no comment or trackback spam has made it through. Knock wood.</p>

	<p>That&#8217;s it for now, but I&#8217;m sure there will be more later&#8230;<hr />Copyright &copy; 2012 by <strong><a href="http://aldoblog.com">Aldoblog</a></strong>. All rights reserved. This feed is provided for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal-2011@aldoblog.com so we can take action immediately.</p>]]></content:encoded>
			<wfw:commentRss>http://aldoblog.com/2005/01/how-this-weblog-is-run/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

