<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
>

<channel>
	<title>ITauthor &#187; WordPress</title>
	<atom:link href="http://www.itauthor.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itauthor.com</link>
	<description>Stuff about technical writing and software</description>
	<lastBuildDate>Sat, 07 Jan 2012 12:34:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<!-- podcast_generator="Blubrry PowerPress/2.0.4" -->
	<itunes:summary>Talking about technical writing, software and technology in general. The ITauthor Podcast is an advert-free, irregularly published show by technical writers for technical writers or anyone interested in software documentation or IT generally.</itunes:summary>
	<itunes:author>Alistair Christie - ITauthor.com</itunes:author>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.itauthor.com/images/ITauthor-PhotoLogo-300px.jpg" />
	<itunes:owner>
		<itunes:name>Alistair Christie - ITauthor.com</itunes:name>
		<itunes:email>comments@itauthor.com</itunes:email>
	</itunes:owner>
	<managingEditor>comments@itauthor.com (Alistair Christie - ITauthor.com)</managingEditor>
	<copyright>2006-2009</copyright>
	<itunes:subtitle>Talking about technical writing, software and technology in general.</itunes:subtitle>
	<itunes:keywords>itauthor, alistair christie, technology, writing, documentation</itunes:keywords>
	<image>
		<title>ITauthor &#187; WordPress</title>
		<url>http://www.itauthor.com/images/ITauthor-PhotoLogo-144px.jpg</url>
		<link>http://www.itauthor.com/category/wordpress/</link>
	</image>
	<itunes:category text="Technology">
		<itunes:category text="Software How-To" />
		<itunes:category text="Tech News" />
		<itunes:category text="Podcasting" />
	</itunes:category>
		<item>
		<title>YOURLS: Your Own URL Shortener</title>
		<link>http://www.itauthor.com/2010/10/24/yourls-your-own-url-shortener/</link>
		<comments>http://www.itauthor.com/2010/10/24/yourls-your-own-url-shortener/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 00:15:09 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[View all]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/?p=1720</guid>
		<description><![CDATA[Shorteners in brief If you use twitter you'll be familiar with the concept of URL shortening. You want to tweet about that video where the dog thinks its own leg is trying to steal the bone but you've only got 140 characters to say what the video is and include the link to YouTube. URL [...]]]></description>
			<content:encoded><![CDATA[<h3>Shorteners in brief</h3>
<p>If you use twitter you'll be familiar with the concept of URL shortening. You want to tweet about that video where the dog thinks its own leg is trying to steal the bone but you've only got 140 characters to say what the video is <em>and</em> include the link to YouTube. URL shorteners allow you to change: </p>
<p><a title="http://www.youxxxtube.com/watch?v=tJgMueh-zLM&amp;feature=youtu.be" href="http://www.youtube.com/watch?v=tJgMueh-zLM&amp;feature=youtu.be">http://www.youtube.com/watch?v=tJgMueh-zLM&amp;feature=youtu.be</a>     <br />to:     <br /><a title="http://bit.ly/dfzFE6" href="http://bit.ly/dfzFE6">http://bit.ly/dfzFE6</a></p>
<p>Even if you don't use twitter URL shorteners can come in handy. For example, at the beginning and end of the ITauthor podcast I use some music by Amplifico and I like to put a link to their page on <strong>musically.com</strong> in the MP3 description that you can read on your iPod when you're listening to the podcast. It's much nicer to give the URL <a title="http://tinyurl.com/amplifico" href="http://tinyurl.com/amplifico">http://tinyurl.com/amplifico</a>, rather than <a title="http://www.musicalley.com/music/listeners/artistdetails.php?BandHash=cdef1ecef0d12844ed816b922fcada5d" href="http://www.musicalley.com/music/listeners/artistdetails.php?BandHash=cdef1ecef0d12844ed816b922fcada5d">http://www.musicalley.com/music/listeners/artistdetails.php?BandHash=cdef1ecef0d12844ed816b922fcada5d</a>.</p>
<h3>Some popular URL shorteners</h3>
<ul>
<li><strong>tinyurl</strong> – This was the first URL shortener most of us will have come across - way back before twitter appeared and ramped up demand for short URLs, leading to a proliferation of shortening services. </li>
<li><strong>bit.ly</strong> – twitter supported use of bit.ly which made it a popular service. Recently there have been doubts raised about the wisdom of using a Libyan registered domain (<strong>.ly</strong>) as the Libyan government have said they will take down domains that contain immoral content. </li>
<li><strong>j.mp</strong> – This is just bit.ly but with 2 fewer characters. If you already have a bit.ly URL you can use the same shortened path, stick it on the end of the j.mp domain and save yourself those 2 precious characters. For example, the dog video gets shortened to <a title="http://j.mp/dfzFE6" href="http://j.mp/dfzFE6">http://j.mp/dfzFE6</a>. </li>
<li><strong>goo.gl</strong> – Google are one of the many big companies that have now got into the URL shortening business. </li>
<li><strong>is.gd</strong> – just a nice simple Web page that produces nice short URLs. </li>
<li>... I could go on, but there's not a whole lot of difference between these services. </li>
</ul>
<h3>Your very own URL shortener</h3>
<p>Shortening URLs isn't difficult to do and there are a selection of free URL shorteners that allow you to produce your own short URLs. All you need is your own Web site and your own domain name. So, for example, I own the domain name <strong>itauthor.com</strong>, so I can produce short URLs like <a title="http://itauthor.com/1" href="http://itauthor.com/1">http://itauthor.com/1</a> or (more descriptively) <a title="http://itauthor.com/podcast36" href="http://itauthor.com/podcast36">http://itauthor.com/podcast36</a>. </p>
<p><a href="http://yourls.org/"><img style="background-image: none; border-right-width: 0px; margin: 0px 0px 12pt 2.5em; padding-left: 0px; padding-right: 0px; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.itauthor.com/wp-content/uploads/2010/10/image4.png" width="196" height="79" /></a>The solution I'm using is called <a href="http://yourls.org/">yourls</a>. It's a series of PHP scripts with a MySQL database behind it. So if you're already running a Web site based on PHP and MySQL (for example, a WordPress blog) then you've already got everything you need. Just upload it and browse to the admin page. The yourls contains all the instructions you need.</p>
<p>The only problem I had was as a result of some changes not getting written to my <strong>.htaccess</strong> file in my root Web directory. I had to go and manually add the following at the start of the <strong>.htaccess</strong> file :</p>
<p><code># BEGIN YOURLS      <br />&lt;IfModule mod_rewrite.c&gt;       <br />RewriteEngine On       <br />RewriteBase /       <br />RewriteCond %{REQUEST_FILENAME} !-f       <br />RewriteCond %{REQUEST_FILENAME} !-d       <br /><strong><font color="#ff0000">RewriteCond %{HTTP_HOST} !^itauthor.com$          <br />RewriteRule . - [S=3]           <br /></font></strong>RewriteRule ^([0-9A-Za-z]+)/?$ /yourls-go.php?id=$1 [L]       <br />RewriteRule ^([0-9A-Za-z]+)\+/?$ /yourls-infos.php?id=$1 [L]       <br />RewriteRule ^([0-9A-Za-z]+)\+all/?$ /yourls-infos.php?id=$1&amp;all=1 [L]       <br />&lt;/IfModule&gt;       <br /># END YOURLS</code> </p>
<p>You don't need the two lines highlighted in red if you're not running WordPress, or anything similar that relies on being able to rewrite URLs. The yourls documentation says, in this situation, you need to put all the yourls files and directories in a subdirectory of your root Web directory (e.g. in a directory called &quot;u&quot;). However, this means that you need to include the subdirectory in the YOURLS_SITE configuration setting and it'll then be part of the shortened URL (e.g. <strong>http://itauthor.com/u/123</strong>, which kind of defeats the purpose. So the two red lines get around this by diverting URLs without &quot;www&quot; to yourls.</p>
<p>The first of the red lines says &quot;only apply the following rule if the URL doesn't begin <strong>http://itauthor.com</strong>&quot;. The second red line says &quot;if the previous condition resolved as true then skip the following three rules&quot;. </p>
<p>This seems a bit like a double negative but it's necessary because RewriteCond only applies to the RewriteRule that immediately follows it, so we need the skip rule. The result is that, on my site, the three RewriteRules that divert page requests to the yourls PHP scripts are only applied to URLs beginning <strong>http://itauthor.com</strong>. The &quot;[L]&quot; means &quot;last&quot; - in other words, if this RewriteRule is applied don't go any further, so we never reach the rules that WordPress uses, which are further down the <strong>.htaccess</strong> file. If a URL begins <strong>http://www.itauthor.com</strong> then the yourls rules are skipped and the URL is processed using the WordPress rules. </p>
<p>This means that <a href="http://itauthor.com/2"><strong>http://itauthor.com/2</strong></a> is sent to yourls to retrieve the original, long URL from its database, whereas <a title="http://www.itauthor.com/podcasts/" href="http://www.itauthor.com/podcasts"><strong>http://www.itauthor.com/podcasts</strong></a> is sent to WordPress to create a Web page using content from <em>its</em> database.</p>
<h3>What's the point?</h3>
<p>Well, okay, there's really no point other than a bit of personal domain name vanity. Why have your tweets full of <strong>bit.ly</strong> or <strong>goo.gl</strong> URLs when you could have your own domain name showing up – even if clicking the link doesn't take your tweet readers to your Web site.</p>
<p>And to finish, just because I find it very funny, here's that video of the back leg bone thief:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:ad635d3b-a1d8-4632-96df-c1221cd6ea87" class="wlWriterEditableSmartContent">
<div><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/tJgMueh-zLM&amp;hl=en"></param><embed src="http://www.youtube.com/v/tJgMueh-zLM&amp;hl=en" type="application/x-shockwave-flash" width="425" height="355"></embed></object></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2010/10/24/yourls-your-own-url-shortener/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What I&#8217;m Reading: a new way of posting to Writer River</title>
		<link>http://www.itauthor.com/2009/06/30/what-im-reading-a-new-way-of-posting-to-writer-river/</link>
		<comments>http://www.itauthor.com/2009/06/30/what-im-reading-a-new-way-of-posting-to-writer-river/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 23:04:01 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Social networks]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/06/30/what-im-reading-a-new-way-of-posting-to-writer-river/</guid>
		<description><![CDATA[[This post is out of date. For a better method, see this post. - AC, 22 August 2009] Writer River – the collaborative list of links to tech-writer-related online content – has changed slightly. You can still post links to it directly, but you can now also syndicate content to the site from your blog. [...]]]></description>
			<content:encoded><![CDATA[<p style="font-style: italic; color: gray">[This post is out of date. For a better method, see <a href="http://www.itauthor.com/2009/08/22/using-publish2-to-create-a-what-im-reading-list-on-your-blog/">this post</a>. - AC, 22 August 2009] </p>
<p><a href="http://www.writerriver.com">Writer River</a> – the collaborative list of links to tech-writer-related online content – has changed slightly. </p>
<p>You can still post links to it directly, but you can now also syndicate content to the site from your blog. This means that you can produce you own list of things you’ve read and found interesting, publish it on your blog with an accompanying RSS feed, and have those items also appear, alongside everyone else’s, on Writer River.</p>
<h3>Why would you want to do this?</h3>
<p>There are a few reasons why this might be something you’d like to do.</p>
<ol>
<li>If you maintain a website, you might be interested in getting as many people to visit your site as possible. One way this can happen is through trackbacks (automatically generated links that appear on blog B when a post is published on blog A that includes a link to blog B). If you add items of interest directly into Writer River, the trackbacks will lead back to Writer River. If you list those interesting posts and articles on your own site, the trackbacks will lead people back to your site and boost your numbers. </li>
<li>You might just like to have your own list of the things that have interested you, all listed together on your own site. Now, because of the way Writer River is designed, you could already do this by going to the page on Writer River that lists just your posts (you can find this by clicking your name in the list of authors), and grabbing the RSS for this page (e.g. my old list is currently still there at: <a title="http://writerriver.com/author/alistair-christie/feed/" href="http://writerriver.com/author/alistair-christie/feed/">http://writerriver.com/author/alistair-christie/feed/</a>) and then taking that and publishing it on your own site. RSS stands for Really Simple Syndication and that’s what it’s for: allowing content to be published in one place and syndicated out for publication in lots of other places. However, if you’re a blogger, it seems weird to post items somewhere else in order to get them to appear on your own site. Better to post to your own site and have that content crop up elsewhere (according to whoever wants to pick up your feeds and use them as they were intended to be used). </li>
<li>Doing things this way round means that when a Writer River reader, like myself, clicks an item link at Writer River they are transported to your blog, which gives them the context of who it was who found the thing interesting. The down-side to this is that there’s an extra step in there that people won’t be expecting. You’d expect, when you see something that looks interesting and click you click it, to be taken straight there to the original source, but instead you’re taken to the full version of the reference (e.g. a mini post on <strong>itauthor.com</strong>) and from <em>there</em> you can click through to the original article. This is a bit disorientating and confusing at first, but it does at least reveal something more about the poster, and it clicks up another hit on the poster’s website. </li>
</ol>
<h3>So how do you do this?</h3>
<p>The very, very short and sweet version is:</p>
<ul>
<li>Produce an RSS feed containing your reading list </li>
<li>Tell Tom Johnson (the creator/maintainer of Writer River) about the RSS feed.&#160; <br />Tom then adds it to the list of feeds that are aggregated into Writer River. </li>
</ul>
<p>There are a number of ways you could create your RSS feed. The way I’m going to explain uses categories in a WordPress blog. You could equally well use WordPress tags. You could use another type of blog. You could even manually update a hand-crafted RSS file, if you felt so inclined.&#160;&#160; </p>
<p>The basic steps for the WordPress method are as follows:</p>
<ol>
<li>Within your WordPress blog, create a new blog category that you’ll give to all your reading list posts. You can call it anything you like (e.g. “What I’m Reading”) – all it’s used for is to collect together mini blog posts that are simply references to something interesting you’ve been reading. You need to be able to separate these out from your other blog posts so that you can display them separately as a reading list. </li>
<li>Alter your home page so that these reading list mini posts don’t appear there. They’re going to be listed separately so there’s no point putting them on the Home Page, and if you don’t exclude them you run the risk of alerting subscribers several times about the same reading list entry.&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160; <br />To exclude a category from your home page, first get the ID number of the category you want to exclude. You can find the category number by going to your Categories list in the WordPress admin pages, clicking the link for a category and looking in your browser’s address bar for the ID number. Make a note of this.       <br />&#160;&#160;&#160;&#160;&#160; <br />Next, go to <strong>Appearance</strong> &gt; <strong>Editor</strong> and open <strong>functions.php</strong>. Add the following function (changing 34 in this example to the number of the category you want to exclude):       <br />&#160;&#160;&#160;&#160;&#160; <br /> 
<pre style="padding-bottom: 10px; padding-left: 10px; padding-right: 10px; font-size: 90%; padding-top: 10px" class="csharpcode">function exclude_category($query) {&#160;&#160;&#160;&#160; &#160;&#160;&#160; if ( $query-&gt;is_home ) {&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; $query-&gt;set('cat', '-34');&#160;&#160;&#160;&#160; &#160;&#160;&#160; }&#160;&#160;&#160; &#160;&#160;&#160; return $query;&#160;&#160;&#160;&#160; }&#160;&#160;&#160;&#160; add_filter('pre_get_posts', 'exclude_category');</pre>
<p>(Source: <a title="http://blogmum.com/2009/04/how-to-exclude-categories-from-the-home-page-of-your-wordpress-blog/" href="http://blogmum.com/2009/04/how-to-exclude-categories-from-the-home-page-of-your-wordpress-blog/">http://blogmum.com/2009/04/how-to-exclude-categories-from-the-home-page-of-your-wordpress-blog/</a>.)</p>
</li>
<li>Add a couple of posts about things you’ve read recently. </li>
<li>Go to the “What I’m Reading” category on your blog (assuming that’s what you called it) and check you’ve got an RSS feed that lists the items you posted. You do this in WordPress by adding <strong>/feed</strong> to the end of the URL for the category (for example, my feed is <a href="http://www.itauthor.com/category/what-i-am-reading/feed">http://www.itauthor.com/category/what-i-am-reading/feed</a>). </li>
<li>Now, with the web page version of the RSS feed displayed in your browser, right-click the page and choose to view the source code for the page.&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160; <br />This will show you the XML that produced this page. This is the RSS feed itself and, after a collection of details about the feed itself, it should contain a couple of <strong>item </strong>elements: one for each item on your list. Each <strong>item</strong> element should look something like this:&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
<div>
<pre style="padding-bottom: 10px; padding-left: 10px; padding-right: 10px; font-size: 90%; padding-top: 10px" class="csharpcode"><span class="kwrd">&lt;</span><span class="html">item</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;</span><span class="html">title</span><span class="kwrd">&gt;</span>Fascinating Blog Post<span class="kwrd">&lt;/</span><span class="html">title</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;</span><span class="html">link</span><span class="kwrd">&gt;</span>http://www.yourblog.com/path/to/this/particular/blog/entry/<span class="kwrd">&lt;/</span><span class="html">link</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;</span><span class="html">comments</span><span class="kwrd">&gt;</span>http://www.yourblog.com/path/to/this/particular/blog/entry’s/#comments<span class="kwrd">&lt;/</span><span class="html">comments</span><span class="kwrd">&gt;</span>

   <span class="kwrd">&lt;</span><span class="html">pubDate</span><span class="kwrd">&gt;</span>Sun, 28 Jun 2009 19:31:13 +0000<span class="kwrd">&lt;/</span><span class="html">pubDate</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;</span><span class="html">dc:creator</span><span class="kwrd">&gt;</span>Your Name<span class="kwrd">&lt;/</span><span class="html">dc:creator</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;</span><span class="html">category</span><span class="kwrd">&gt;&lt;!</span>[CDATA[What I'm Reading]]<span class="kwrd">&gt;&lt;/</span><span class="html">category</span><span class="kwrd">&gt;</span>

   <span class="kwrd">&lt;</span><span class="html">guid</span> <span class="attr">isPermaLink</span><span class="kwrd">=&quot;false&quot;</span><span class="kwrd">&gt;</span>http://www.yourblog.com/?p=3926<span class="kwrd">&lt;/</span><span class="html">guid</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;</span><span class="html">description</span><span class="kwrd">&gt;&lt;!</span>[CDATA[Fascinating Blog Post. This is a fantastic read. You’d be mad not to
have a look [...]]]<span class="kwrd">&gt;&lt;/</span><span class="html">description</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;</span><span class="html">content:encoded</span><span class="kwrd">&gt;&lt;!</span>[CDATA[<span class="kwrd">&lt;</span><span class="html">p</span><span class="kwrd">&gt;&lt;</span><span class="html">a</span> <span class="attr">href</span><span class="kwrd">=&quot;http://www.fascinatingblog.com/path/to/source/article&quot;</span><span class="kwrd">&gt;</span>

Fascinating Blog Post<span class="kwrd">&lt;/</span><span class="html">a</span><span class="kwrd">&gt;</span>. This is a fantastic read. You’d be mad not to have a look.<span class="kwrd">&lt;/</span><span class="html">p</span><span class="kwrd">&gt;</span>
]]<span class="kwrd">&gt;&lt;/</span><span class="html">content:encoded</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;</span><span class="html">wfw:commentRss</span><span class="kwrd">&gt;</span>http://www.yourblog.com/path/to/this/particular/blog/entry’s/feed/<span class="kwrd">&lt;/</span><span class="html">wfw:commentRss</span><span class="kwrd">&gt;</span>

   <span class="kwrd">&lt;</span><span class="html">slash:comments</span><span class="kwrd">&gt;</span>0<span class="kwrd">&lt;/</span><span class="html">slash:comments</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">item</span><span class="kwrd">&gt;</span></pre>
</p></div>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />The bits that get used on Writer River are the <strong>title</strong>, which is linked to the URL in the <strong>link</strong> element (i.e. the individual blog post on your blog) and the the contents of the <strong>description</strong> element (which are an abbreviated, plain text, version of your post).&#160; <br />&#160;&#160;&#160;&#160;&#160; <br />The bit you’ll display on your blog are the contents of the <strong>content</strong> element, which contain the full text of your post, including any links, images, etc. </li>
<li>Copy your feed URL (e.g. <a href="http://www.itauthor.com/category/what-i-am-reading/feed">http://www.itauthor.com/category/what-i-am-reading/feed</a>) and <a href="http://www.idratherbewriting.com/contact/">email it to Tom Johnson</a> asking him to add it to the Yahoo Pipes syndication aggregation he’s got set up for Writer River. </li>
</ol>
<h4>Tips</h4>
<ul>
<li>Make sure the style of your reading list content doesn’t stray too far from the sort of thing that’s already on Writer River.&#160; </li>
<li>Don’t post too many items. Writer River works best as a “Best Of” site – so stick to posting just the most interesting things you’ve read. Please don’t just post everything you’ve read! </li>
</ul>
<h3>Other things you can do</h3>
<ul>
<li><strong>Create a feed on </strong><a href="http://www.feedburner.com"><strong>Feedburner</strong></a>.
<p>&#160;&#160;&#160;&#160;&#160;&#160; <br />This isn’t necessary, but it adds a useful element of <a href="http://en.wikipedia.org/wiki/Indirection">indirection</a>. This might be useful down the line if your feed URL changes because if you promote the Feedburner version of the feed, rather than the original, then you just need to change the URL details at Feedburner and your syndications won’t break. </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160; <br />It also provides a way of gathering statistics about how your feed is used. </li>
<li><strong>Create a category template for your “What I’m Reading” category</strong>.
<p>&#160;&#160;&#160; <br />Again, why would you want to do this. Well if you don’t then your reading list, with it’s mini blog posts, will have to look like all your other categories. However (following Tom Johnson’s lead on this) I wanted to list my reading list without titles. The reason for this is that the title is linked to the individual page and I don’t want people going from the reading list to an individual reading list post: that would be really annoying for readers. What I wanted was that, if someone is interested in an item, they click the link and go to the web page I’m referring to. So, to do this, you need to be able to use a different template to display just this template. </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />To create a category template, create a PHP file in your theme’s directory called <strong>category-<em>n</em>.php</strong> where <em>n</em> is the number of your “What I’m Reading” category. As noted above, you find the category number by going to your Categories page, clicking the link for a category and looking in your browser’s address bar for the ID number. </li>
<li><strong>Make a template that’s used to display single pages where the post belongs to a specific category</strong>.
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />If you’ve got a category-specific template for your reading list you’ll probably want a category-specific single-post template, so that, when someone clicks a link on Writer River and arrives at your site, the post is displayed in a similar manner to the way it looks on the reading list. In my case this means it gets displayed without the title. And (another Tom Johnson tip) you can also put a note at the top of the page to explain that this is one item from a whole reading list of other links, and include a prominent link to that list (i.e. to your “What I’m Reading” category). </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />To create a single-post template for a specific category, first add the following to your <strong>functions.php</strong> file, anywhere between the opening and closing PHP tags: </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160; </p>
<pre style="padding-bottom: 10px; padding-left: 10px; padding-right: 10px; font-size: 90%; padding-top: 10px" class="csharpcode">add_filter('single_template', create_function('$t', 'foreach( (array) get_the_category() as $cat ) {&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; if ( file_exists(TEMPLATEPATH . &quot;/single-{$cat-&gt;term_id}.php&quot;) )&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; return TEMPLATEPATH . &quot;/single-{$cat-&gt;term_id}.php&quot;;     }&#160;&#160;&#160; return $t;' ));</pre>
<p>(Source: <a title="http://www.nathanrice.net/blog/wordpress-single-post-templates/" href="http://www.nathanrice.net/blog/wordpress-single-post-templates/">http://www.nathanrice.net/blog/wordpress-single-post-templates/</a>.)</p>
<p>Now you can create a post template by creating a PHP file in your theme’s directory called <strong>single-<em>n</em>.php</strong> where <em>n</em> is the number of your “What I’m Reading” category. For example, the <strong>/itauthor.com/wp-content/themes/blueprint</strong> directory on my server now contains the templates: <strong>category-34.php</strong> and <strong>single-34.php</strong>. </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160; <br />Once you’ve created these template files, you can edit them from the Edit Themes page of your WordPress admin pages.&#160; </li>
<li><strong>Modify the Press This bookmarklet for your blog<br />
      <br /></strong>&#160;&#160;&#160;&#160;&#160;&#160; <br />The Press This bookmarklet is a browser bookmark with added functionality provided by some nifty JavaScript. It makes it very easy to create a post relating to a web page you’re currently looking at – so it’s perfect for adding items to your reading list.&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br /><embed src="http://v.wordpress.com/DT35uYGZ" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="360"> </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />You get a Press This bookmark by going to the Tools page for your WordPress blog and dragging the <strong>Press This</strong> link into your bookmarks list. </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /><strong>Note</strong>: The bookmarklet uses the inbuilt post editor for WordPress, so if you’ve installed a plugin that swaps the normal post editing buttons for something funkier (e.g. I was using <strong>Dean's FCKEditor For WordPress</strong>) you’ll have to disable this plugin or you’ll just get a blank text box in the little Press This window. I also had to disable the <strong>Disable wpautop</strong> plugin, which disables WordPress’s irritating automatic paragraph formatting, because with this enabled any line breaks in the Press This editor disappeared when I published the post. </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />For me, posting to my reading list is the <em>only</em> thing I use my Press This bookmarklet for, so I want my “What I’m Reading” category to be selected by default. </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /><img title="PressThis-bookmarklet" style="border-width: 0px; display: inline;" alt="PressThis-bookmarklet" src="http://www.itauthor.com/wp-content/uploads/2009/06/PressThisbookmarklet.png" border="0" width="728" height="351">&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
<p>To add a default category (i.e. already checked) at the top of the Categories list in the Press This window, you need to edit the <strong>wp-admin/press-this.php</strong> file. Unfortunately you’re going to have to redo this change every time you upgrade WordPress. The stuff you need to add is in red. Change the category number and name as appropriate for your blog. </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
<pre class="csharpcode" style="padding: 10px; font-size: 90%;">&lt;div id="categorydiv" class="stuffbox"&gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &lt;h2&gt;&lt;?php _e('Categories') ?&gt;&lt;/h2&gt;&nbsp;&nbsp; &nbsp; &lt;div class="inside"&gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;div id="categories-all" class="ui-tabs-panel"&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ul id="categorychecklist" class="list:category categorychecklist form-no-clear"&gt;&nbsp;&nbsp; <strong><font color="#ec0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- Edit this line to suit your setup - my default category number is "34" and its name is "What I'm&nbsp;&nbsp; Reading" –&gt;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;li id='category-34'&gt;&lt;label class="selectit"&gt;&lt;input value="34" type="checkbox" checked&nbsp;&nbsp;&nbsp; name="post_category[]" id="in-category-34"/&gt;What I'm Reading&lt;/label&gt;&lt;/li&gt;&nbsp;&nbsp;&nbsp;&nbsp; </font></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;?php wp_category_checklist($post-&gt;ID, false, false, $popular_ids) ?&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ul&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/div&gt;&nbsp;&nbsp;&nbsp;&nbsp; </pre>
<p>Kudos to johnke at the WordPress.org forums for suggesting this (<a title="http://wordpress.org/support/topic/216525" href="http://wordpress.org/support/topic/216525">http://wordpress.org/support/topic/216525</a>). </li>
<li><strong>Create a twitterfeed for your reading list</strong>.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /><a href="http://twitterfeed.com/">Twitterfeed</a> is an online resource that allows you to push the contents of an RSS feed (like a feed from a blog) into your twitter account, so that your blog posts (or the first few words plus an abbreviated URL) get sent out to your twitter followers. If you also syndicate your tweets to Facebook it means that your new reading list items will also show up as Facebook status messages. </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />You can set Twitterfeed to check the RSS feed for your reading list once an hour. You can use the Advanced settings to add a prefix to these posts (I use “I've been reading: “), and I’d recommend setting it to include the “title only” rather than “title &amp; description” because once you’ve added the prefix and the link to your post there isn’t much room for any more than two or three words from your post content. </p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /><img title="twitterfeed-settings" style="border-width: 0px; display: inline;" alt="twitterfeed-settings" src="http://www.itauthor.com/wp-content/uploads/2009/06/twitterfeedsettings.png" border="0" width="714" height="729">&nbsp; </li>
</ul>
<h3>Respect</h3>
<p>I’ve already mentioned him a few times and, at the risk of embarrassing him, I must doff my cap once again to <a href="http://www.idratherbewriting.com/about-2/">Tom Johnson</a> who created Writer River and came up with most of the ideas I’ve fleshed out in this post. </p>
<p>Want to find out more? Go read these posts on Tom’s blog: </p>
<ul>
<li><a href="http://www.idratherbewriting.com/2009/06/24/what-im-reading-a-new-feature-on-my-site-and-tweak-of-writer-river/">"What I'm Reading": A New Feature on My Site and a Tweak of Writer River</a> </li>
<li><a href="http://www.idratherbewriting.com/2009/06/29/i-need-your-human-aggregated-content/">I Need Your Human Aggregated Content</a> </li>
</ul>
<p></embed></p>
<li><strong>Create a twitterfeed for your reading list</strong>.
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br /><a href="http://twitterfeed.com/">Twitterfeed</a> is an online resource that allows you to push the contents of an RSS feed (like a feed from a blog) into your twitter account, so that your blog posts (or the first few words plus an abbreviated URL) get sent out to your twitter followers. If you also syndicate your tweets to Facebook it means that your new reading list items will also show up as Facebook status messages. </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />You can set Twitterfeed to check the RSS feed for your reading list once an hour. You can use the Advanced settings to add a prefix to these posts (I use “I've been reading: “), and I’d recommend setting it to include the “title only” rather than “title &amp; description” because once you’ve added the prefix and the link to your post there isn’t much room for any more than two or three words from your post content. </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br /><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="twitterfeed-settings" border="0" alt="twitterfeed-settings" src="http://www.itauthor.com/wp-content/uploads/2009/06/twitterfeedsettings.png" width="714" height="729" />&#160; </li>
</li>
<h3>Respect</h3>
<p>I’ve already mentioned him a few times and, at the risk of embarrassing him, I must doff my cap once again to <a href="http://www.idratherbewriting.com/about-2/">Tom Johnson</a> who created Writer River and came up with most of the ideas I’ve fleshed out in this post. </p>
<p>Want to find out more? Go read these posts on Tom’s blog: </p>
<ul>
<li><a href="http://www.idratherbewriting.com/2009/06/24/what-im-reading-a-new-feature-on-my-site-and-tweak-of-writer-river/">&quot;What I'm Reading&quot;: A New Feature on My Site and a Tweak of Writer River</a> </li>
<li><a href="http://www.idratherbewriting.com/2009/06/29/i-need-your-human-aggregated-content/">I Need Your Human Aggregated Content</a> </li>
</ul>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/06/30/what-im-reading-a-new-way-of-posting-to-writer-river/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Is there any point in tagging/categorising WordPress posts?</title>
		<link>http://www.itauthor.com/2009/03/22/is-there-any-point-in-taggingcategorising-wordpress-posts/</link>
		<comments>http://www.itauthor.com/2009/03/22/is-there-any-point-in-taggingcategorising-wordpress-posts/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 23:33:01 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/03/22/is-there-any-point-in-taggingcategorising-wordpress-posts/</guid>
		<description><![CDATA[I’ve been doing a few little tweaks to my web site recently. Nothing major, just trying to make it easier for people to find stuff that might be interesting, either tucked away in one of my posts from the past six years, or on someone else’s blog. So, today I added a page listing a [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been doing a few little tweaks to my web site recently. Nothing major, just trying to make it easier for people to find stuff that might be interesting, either tucked away in one of my posts from the past six years, or on someone else’s blog. So, today I added a page listing a truncated summary from the latest post on the blogs I like to read:</p>
<p><a title="http://www.itauthor.com/articles/recently-posted-by-other-bloggers/" href="http://www.itauthor.com/articles/recently-posted-by-other-bloggers/">http://www.itauthor.com/articles/recently-posted-by-other-bloggers/</a></p>
<p>I realise this kind of entices people to leave my site, but so what? It’s kind of dumb to expect people to hang around your web site for very long. For example, I regularly go to the BBC web site. I never stay there very long. I don’t browse through lots of pages. I’ll look at two or three pages and then I’m off somewhere else. But because it’s well designed and has good content I go back again.</p>
<p>But I’ve been thinking about my web site and how I’ve pretty much just blindly gone along with the standard WordPress format, with a panel down one side with links to category and month archives. I sometimes click a month link – typically back a month or two but rarely further. But I never click a category link and I suspect nobody else does either. I don’t use tagging, but if I did I think it would be the same thing. Why would anyone browse through a tag or category archive?</p>
<p>The navigation that I think <em>is</em> useful is the collection of potentially similar posts at the end of each post. Sometimes this throws up something that I’d forgotten I wrote about and I’ll click to have a look. I think other people reading my posts might also click to have a look at an older “similar” post if it sounds interesting.</p>
<p>So I think I’m going to take the category links out of the side bar. I’ll probably leave the calendar links in there for now, but I’m tempted to get rid of that side bar altogether and go for a really minimalist look. On the other hand I was also thinking that the site looks quite austere. So I’m also a little tempted to try and make it look less utilitarian.</p>
<p>But I’d be interested to know if anyone finds tag/category lists useful on a blog. Aside from never using them on my own blog, I can’t remember ever having used them when I’m reading other people’s blogs either.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/22/is-there-any-point-in-taggingcategorising-wordpress-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Well, you wouldn&#8217;t want someone reading your diary, would you?</title>
		<link>http://www.itauthor.com/2009/03/11/well-you-wouldnt-want-someone-reading-your-diary-would-you/</link>
		<comments>http://www.itauthor.com/2009/03/11/well-you-wouldnt-want-someone-reading-your-diary-would-you/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 07:14:00 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/03/11/well-you-wouldnt-want-someone-reading-your-diary-would-you/</guid>
		<description><![CDATA[Blogs used to be called Web logs, which was a straightforward description of what they were: sequential, time-based personal jottings, where you just kept adding entry after entry in a linear fashion. Now, what does that remind you of? A diary, right? But these days blogs have long since evolved away from something that most [...]]]></description>
			<content:encoded><![CDATA[<p>Blogs used to be called Web logs, which was a straightforward description of what they were: sequential, time-based personal jottings, where you just kept adding entry after entry in a linear fashion. Now, what does that remind you of? A diary, right?</p>
<p>But these days blogs have long since evolved away from something that most closely resembled an online diary, into something that’s more like a multifunctional Web site. Nevertheless, blogs still make brilliant diaries. The trouble is, of course, that by default everyone gets to see what you write in your blog. One way round this is to download WordPress and install it locally on a PC, so that only someone logged onto that machine can access it. But that involves using something like XAMPP to install Apache Web server and MySQL.</p>
<p>A <em>much</em> easier way is just to sign up for a free blog at wordpress.com and then make particular posts, or the whole thing, private – as described in this WordPress video:</p>
<p><embed src="http://v.wordpress.com/HgKJ4am4" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/11/well-you-wouldnt-want-someone-reading-your-diary-would-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fingers crossed &#8211; there goes comment moderation!</title>
		<link>http://www.itauthor.com/2009/03/09/fingers-crossed-there-goes-comment-moderation/</link>
		<comments>http://www.itauthor.com/2009/03/09/fingers-crossed-there-goes-comment-moderation/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 23:21:56 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/03/09/fingers-crossed-there-goes-comment-moderation/</guid>
		<description><![CDATA[A couple of years ago, when this site was getting far higher Google rankings than it does now, and much more traffic (oh, the good old days!), I got hit by a tidal wave of comment spam that required a lengthy and tedious clean-up process to get it all out of my archives. This happened [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of years ago, when this site was getting far higher Google rankings than it does now, and much more traffic (oh, the good old days!), I got hit by a tidal wave of comment spam that required a lengthy and tedious clean-up process to get it all out of my archives.</p>
<p>This happened while I had the WordPress Akismet plugin turned on. Akismet certainly picks up most comment spam, but a lot still gets through. After I turned on moderation I then had to do a weekly cleanup of all the spam sitting waiting for approval.</p>
<p>But since installing <a href="http://www.hybrid6.com/webgeek/plugins/wp-spamfree">the WP-SpamFree plugin</a> about six months ago, I’ve had no comment spam at all. None. Not one little bit of it.</p>
<p>So now, but with a certain amount of hesitation, I’m turning off moderation again. This means that anything you comment here, or on any other post, will be immediately visible to anyone who visits the site.</p>
<p>So go on. Give it a go. Leave me a comment. Go on!</p>
<p>Awh, go on, go on, go on, go on!   <br /><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="152" alt="image" src="http://www.itauthor.com/wp-content/uploads/2009/03/image.png" width="203" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/09/fingers-crossed-there-goes-comment-moderation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syntax highlighting code snippets in WordPress</title>
		<link>http://www.itauthor.com/2009/03/06/syntax-highlighting-code-snippets-in-wordpress/</link>
		<comments>http://www.itauthor.com/2009/03/06/syntax-highlighting-code-snippets-in-wordpress/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 14:03:04 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/?p=1040</guid>
		<description><![CDATA[My last post included some code snippets. I’ve never found an altogether satisfactory way to include nicely formatted and syntax highlighted code in WordPress. I’ve tried various methods but always ended up settling on something so-so after spending a while on it and eventually deciding I was wasting my time. But this time round I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.itauthor.com/2009/03/06/changing-your-wordpress-rss-feed-titles/">My last post</a> included some code snippets.</p>
<p>I’ve never found an altogether satisfactory way to include nicely formatted and syntax highlighted code in WordPress. I’ve tried various methods but always ended up settling on something so-so after spending a while on it and eventually deciding I was wasting my time.</p>
<p>But this time round I tried again and found Chris Cagle’s <a href="http://www.cagintranet.com/archive/the-definitive-guide-on-wordpress-syntax-highligher-plugins/">Definitive Guide on WordPress Syntax Highligher Plugins</a>.</p>
<p>In the spirit of “if&#160; it’s good enough for him, it’s good enough for me” I decided to use the same plugin Chris settled on: <a href="http://noteslog.com/chili/">Chili</a>. You can see the results for yourself. However, although I’m fairly pleased with the end product, the process for getting there (using Live Writer) isn’t ideal. I’m documenting it here because, fortunately, I don’t often use code snippets, so this will serve to remind me how I did it:</p>
<ol>
<li>Copy the code you want to use. </li>
<li>Paste it into Postable (an online processor for making code browser friendly):      <br /><a href="http://www.elliotswan.com/postable/">http://www.elliotswan.com/postable/</a> </li>
<li>Click <strong>make it friendly</strong>. </li>
<li>Copy the browser-friendly code. </li>
<li>In Live Writer, go to Source view. </li>
<li>
<p>Create nested elements as follows:</p>
</p>
<pre><code class="html">&lt;p&gt;&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;</code></pre>
</p>
</li>
<li>Change &quot;html&quot; for &quot;php&quot; or &quot;c#&quot; or &quot;mysql&quot; or &quot;javascript&quot; or &quot;css&quot;. There are a few other supported languages listed <a href="http://noteslog.com/chili/">on the Chili site</a>.&#160; </li>
<li>
<p>Paste the code into the middle, between the code tags. For example: </p>
</p>
<pre><code class="html">&lt;p&gt;&lt;pre&gt;
  &lt;code class=&quot;html&quot;&gt;&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;code class=&amp;quot;html&amp;quot;&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;/code&gt;
&lt;/pre&gt;&lt;/p&gt;</code></pre>
</p>
</li>
<li>Publish your post. </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/06/syntax-highlighting-code-snippets-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing your WordPress RSS feed titles</title>
		<link>http://www.itauthor.com/2009/03/06/changing-your-wordpress-rss-feed-titles/</link>
		<comments>http://www.itauthor.com/2009/03/06/changing-your-wordpress-rss-feed-titles/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 11:42:38 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/?p=1035</guid>
		<description><![CDATA[In my last post I mentioned that I'd been tweaking the feeds from my WordPress blog. Here's the detail (in case I need to redo this next time I upgrade WordPress). The problem The feed for the ITauthor Podcast (which is just a feed for a WordPress category called &#34;Podcast&#34;) was coming out as ITauthor [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.itauthor.com/2009/03/04/is-wordpress-the-venice-of-blogging-software/">my last post</a> I mentioned that I'd been tweaking the feeds from my WordPress blog. Here's the detail (in case I need to redo this next time I upgrade WordPress). </p>
<h4><strong>The problem</strong> </h4>
<p>The <a href="http://www.itauthor.com/category/podcasts/feed">feed for the ITauthor Podcast</a> (which is just a feed for a WordPress category called &quot;Podcast&quot;) was coming out as <strong>ITauthor &gt;&gt; Podcast</strong>. It annoyed me that the podcast showed up in iTunes with those two greater than signs, or double angle brackets, chevrons, whatever you want to call them. In fact, although it looks like two characters it's actually the double right angle quote character:     <br /><strong><span style="font-size: 200%">»</span></strong>&#160;&#160; which is typically written in HTML using the character code <strong>&amp;raquo;</strong> and in XML using the code <strong>&amp;#187;</strong> </p>
<h4>My solution</h4>
<p>The way I got rid of this may not be the easiest or best way. I search the WordPress Codex without finding out how to fix this, so in the end this is just the way I figured out how to do it. It may not be good. It may not be nice. It's certainly not pretty. All I'm saying is that it works for me. </p>
<p>So what I wanted to do was have a feed for my podcast category page that had the feed title &quot;The ITauthor Podcast&quot;. </p>
<p>There were two tasks: </p>
<ol style="font-style: italic">
<li>Remove the angle quote completely in the cast of the feed for my &quot;podcast&quot; category page, but for other feeds change this character to a colon so that, for other categories, instead of &quot;ITauthor &gt;&gt; Category&quot;, I'd have &quot;ITauthor: Category&quot;. </li>
<li>For the &quot;podcast&quot; category page, add &quot;The&quot; at the start of the feed title. </li>
</ol>
<p>   <br class="none" />Here's what you do: </p>
<ol>
<li>Go into your <strong>wp-includes</strong> directory and take a backup copy of <strong>feed.php</strong> and <strong>feed-rss2.php</strong>.       </p>
<p>Now I've moved to Dreamhost, I have the luxury of an ssh connection and a command line, which makes this very quick and easy (provided you're happy working on the command line). </li>
<li>Open the <strong>feed.php</strong> file (e.g. using vi or some other plain text editor). </li>
<li>
<p>Change:</p>
<p>
<pre><code class="php">function wp_title_rss($sep = &#39;&amp;#187;&#39;) {
        echo apply_filters(&#39;wp_title_rss&#39;, get_wp_title_rss($sep));
}</code></pre>
</p>
<p>to: </p>
<p><pre><code class="php">function wp_title_rss($sep = '&amp;#187;') {
     if (in_category('26')) {
          echo ' ' . trim( get_wp_title_rss('') );
     } elseif ( is_archive() | is_category() | is_tag() | is_date() ) {
          echo ': ' . trim( get_wp_title_rss('') );
     }
}</code></pre>
</p>
<p>What this does is as follows. </p>
<p>For category 26 (which happens to be the number of my podcast category), it gets the category title. The empty string for an argument means that it prepends a space followed by nothing (because I don’t want a separator character), followed by a space. The second space is added because the function expects a separator character in the middle. The trim function trims away the two spaces, but we add back a single space (that's the first thing that gets echoed) otherwise the result would be &quot;ITauthorPodcast&quot;.&#160; </p>
<p>For all other categories, and various other types of pages we do exactly the same, but prepend a colon followed by a space, rather than just a space. This gives us &quot;ITauthor: Category&quot;. </p>
<p>For anything else (e.g. the Home Page) this function does nothing, which results in a feed title of just &quot;ITauthor&quot;. </p>
</li>
<li>Save your changes to this file. </li>
<li>Open <strong>feed-rss2.php</strong>.
<p>This is the file that creates the RSS2 feed (the default format for feeds). It's here that the category title (as generated by wp_title_rss() in the <strong>feed.php</strong> file) is appended to the blog title. So it's here we can prepend &quot;The &quot; to give us &quot;The ITauthor Podcast. </li>
<li>Insert an if clause into the part of the script that prints the title, so that if this is the feed for the podcast category (ID 26 on my system) it adds &quot;The &quot; in front of the title generated by bloginfo_rss('name') and wp_title_rss(). </li>
<li>
<p>Change: </p>
<p>
<pre><code class="html">&lt;title&gt;&lt;?php bloginfo_rss(&#39;name&#39;); wp_title_rss(); ?&gt;&lt;/title&gt;</code></pre>
</p>
<p>to: </p>
<p>
<pre><code class="html">&lt;title&gt;&lt;?php if (in_category(&#39;26&#39;)) echo &#39;The &#39;; bloginfo_rss(&#39;name&#39;); wp_title_rss(); ?&gt;&lt;/title&gt;</code></pre>
</p>
</li>
<li>
<p>Save the file.</p>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/06/changing-your-wordpress-rss-feed-titles/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Is WordPress the Venice of blogging software?</title>
		<link>http://www.itauthor.com/2009/03/04/is-wordpress-the-venice-of-blogging-software/</link>
		<comments>http://www.itauthor.com/2009/03/04/is-wordpress-the-venice-of-blogging-software/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 17:43:48 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/03/04/is-wordpress-the-venice-of-blogging-software/</guid>
		<description><![CDATA[All I wanted to do was change the title of one of the RSS feeds for this blog. Sounds simple enough and, to be honest it wasn&#8217;t rocket science, but it did involve digging around among the foundations of my WordPress blog. And this made me think: WordPress is a bit like Venice. What you [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0px;"><img height="117" width="278" border="0" src="http://www.itauthor.com/wp-content/uploads/2009/03/wordpresslogo.png" alt="wordpress-logo" style="border-width: 0px; margin: 0px; display: inline;" title="wordpress-logo" /></p>
<p>All I wanted to do was change the title of one of the RSS feeds for this blog. Sounds simple enough and, to be honest it wasn&rsquo;t rocket science, but it did involve digging around among the foundations of my WordPress blog. And this made me think: WordPress is a bit like Venice. What you see (gliding towards the Lido on a water taxi or arriving at the home page of a WordPress blog) is usually attractive. There are things that are not so great (crumbling masonry or a cumbersome list of categories in a side panel), but on the whole it&rsquo;s a good experience.</p>
<p>However, WordPress, like Venice, is not built on strong foundations. It&rsquo;s built on the software version of rotting wood.</p>
<p>WordPress is a great example of a software application that has grown organically and has ended up one great big mess. Granted it&rsquo;s a mess that people (millions of them) manage to do wonderful things with. But if you sat down to design a highly configurable, mass market blogging application you would not build it like WordPress. For starters (sorry PHP lovers out there), you would not use PHP. WordPress&rsquo;s collection of PHP on PHP on PHP, distributed through a collection of files that is only loosely architected (I&rsquo;m trying to be kind here), is the equivalent of Venice&rsquo;s wooden posts driven into the mud of a lagoon, long, long ago. It seemed like a good way to build a town at the time. It made perfect sense back then. But the years went by and Venice grew: outwards and upwards. And down the ages the architects of Venice have wished they had something better to support their beautiful, lovingly designed constructions than lots and lots of rotting posts.</p>
<p>But to answer my own question: Is WordPress the Venice of blogging software? No, it&rsquo;s not. And the reason it&rsquo;s not is that, unlike WordPress, Venice will outlive us all. It&rsquo;s too important and we love it too much. The posts are being replaced. Huge amounts of effort and money have gone into solving the problem of sinking buildings. Venice&rsquo;s future is secure (except maybe for the effects of climate change &ndash; but that&rsquo;s another story).</p>
<p>WordPress on the other hand, I believe, has trouble ahead. It&rsquo;s massively popular right now. But because of the mess at its core, there&rsquo;s an opportunity for someone to come along with something that provides everything WordPress does but is much easier to use, is easier to configure into a wider variety of looks and styles, and is easier to create plugins for. And because all your data is in a MySQL database, it wouldn&rsquo;t be difficult to make it very easy to migrate blogs over to a new system.</p>
<p>At the moment WordPress is king of the hill. I, like millions of others, enjoy using it from day to day to write up our thoughts (like these) and inflict them on the world (or some small part of it). Mind you, I think the things I like most about posting to my WordPress blog are mostly features of Microsoft&rsquo;s Live Writer application, which I use for writing posts, rather than features of WordPress itself.</p>
<p>So this king better watch out. I wouldn&rsquo;t be at all surprised if, before too long, WordPress ends up the ruler of a small and crumbling city state whose days of influence are long behind it.</p>
<p><a href="http://www.flickr.com/people/marcomaheu/" title="Marc-Olivier Maheu (http://www.flickr.com/people/marcomaheu/)"><img height="322" width="746" border="0" src="http://www.itauthor.com/wp-content/uploads/2009/03/venice.jpg" alt="Marc-Olivier Maheu (http://www.flickr.com/people/marcomaheu/)" style="border-width: 0px; display: inline;" title="venice" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/04/is-wordpress-the-venice-of-blogging-software/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Inserting a feed into your WordPress blog</title>
		<link>http://www.itauthor.com/2009/03/04/inserting-a-feed-into-your-wordpress-blog/</link>
		<comments>http://www.itauthor.com/2009/03/04/inserting-a-feed-into-your-wordpress-blog/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 00:05:11 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Social networks]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/2009/03/04/inserting-a-feed-into-your-wordpress-blog/</guid>
		<description><![CDATA[Now that RSS feeds are all over the place, and we have our own personal feeds provided for us on all sort of social network sites, it’s nice to be able to able to drop an RSS feed into your blog as a list. Bill Rawlinson’s feedList plugin for WordPress allows you to do precisely [...]]]></description>
			<content:encoded><![CDATA[<p>Now that RSS feeds are all over the place, and we have our own personal feeds provided for us on all sort of social network sites, it’s nice to be able to able to drop an RSS feed into your blog as a list.</p>
<p>Bill Rawlinson’s <a href="http://rawlinson.us/blog/articles/feedlist-plugin/">feedList plugin</a> for WordPress allows you to do precisely that.</p>
<p>As a simple example of what it can do. Here’s my personal Writer River feed and my twitter feed grabbed and stuck together on a blog page:</p>
<p><a title="http://www.itauthor.com/syndicated-posts/" href="http://www.itauthor.com/syndicated-posts/">http://www.itauthor.com/syndicated-posts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2009/03/04/inserting-a-feed-into-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Site problems</title>
		<link>http://www.itauthor.com/2008/10/28/site-problems/</link>
		<comments>http://www.itauthor.com/2008/10/28/site-problems/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 22:18:43 +0000</pubDate>
		<dc:creator>Alistair</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">/?p=663</guid>
		<description><![CDATA[I went on holiday to Glen Esk for a week last week: no mobile phone reception, no Internet connection, just a week of walking the dog, listening to Radio 4 and reading books. Fantastic. Little did I know that all that while my Web site was unreachable. It wasn't down as such, it was just [...]]]></description>
			<content:encoded><![CDATA[<p>I went on holiday to Glen Esk for a week last week: no mobile phone reception, no Internet connection, just a week of walking the dog, listening to Radio 4 and reading books. Fantastic.</p>
<p>Little did I know that all that while my Web site was unreachable. It wasn't down as such, it was just that before going away I'd changed the <strong>home</strong> option in the <strong>wp_options</strong> table in phpMyAdmin to www.itauthor.com instead of www.itauthor.com. This didn't have any bad effect for me immediately - presumably because of some page caching going on either in WordPress or, more likely, my browser - but this change caused www.itauthor.com to be redirected to www.itauthor.com which is already redirected to www.itauthor.com, with the effect that nothing ever got resolved and a page was never displayed.</p>
<p>The itauthor.eu domain is just a temporary home until I rehome my .com domain. Anyway, sorry if you tried to visit the site last week. Mind you the number of emails I received about the site being unavailable (none) suggests that nobody minded too much (or noticed!) that the site took a holiday when I did.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/10/28/site-problems/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress upgrade plugin</title>
		<link>http://www.itauthor.com/2008/10/12/wordpress-upgrade-plugin/</link>
		<comments>http://www.itauthor.com/2008/10/12/wordpress-upgrade-plugin/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 22:26:47 +0000</pubDate>
		<dc:creator>Alistair</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/?p=647</guid>
		<description><![CDATA[I just completed an upgrade of WordPress using the WordPress Automatic Upgrade plugin. I went from 2.2.3 to 2.6.2 without a hitch. It took me about 15 minutes. The only thing I'd say is that I'm not sure I trust the backups the plugin makes. I had a look in the zip file and it [...]]]></description>
			<content:encoded><![CDATA[<p>I just completed an upgrade of WordPress using the <a href="http://techie-buzz.com/wordpress-plugins/wordpress-automatic-upgrade-plugin.html">WordPress Automatic Upgrade plugin</a>. I went from 2.2.3 to 2.6.2 without a hitch. It took me about 15 minutes.</p>
<p>The only thing I'd say is that I'm not sure I trust the backups the plugin makes. I had a look in the zip file and it didn't have a wp-content directory. So I'll continue to do manual backups, as follows:</p>
<p>1. Using FileZilla, download the whole WordPress directory (in my case this is the Web root directory, called <strong>web</strong>), with the exception of a couple of things that live within the wp-content directory:</p>
<ul>
<li><strong>advanced-cache.php</strong> <br />
    This seems to be a link that FileZilla doesn't understand and treats like a directory, but drops the connection if you try to download it.</li>
<li><strong>cache</strong><br />
    This directory won't reveal its contents and, again, the connection drops if you try to download it.</li>
</ul>
<p>2. Backup your data using phpMyAdmin (see <a href="http://www.tamba2.org.uk/wordpress/backup/">this tutorial</a>, or <a href="http://codex.wordpress.org/Backing_Up_Your_Database">this one</a>) and save the SQL somewhere safe.</p>
<p>That said, I'm very impressed with this upgrade plugin. I'd been resisting upgrading because I was sure it would cause me pain. However, everything <em>seems</em> to be working, even PodPress.</p>
<p>The following video (there are 2 parts to it) is very slow-paced but it does go through the process very thoroughly. It also shows how to use the <a href="http://www.ilfilosofo.com/blog/wp-db-backup">WordPress Database Backup plugin</a>, which I'm just about to try out. </p>
<p><object height="344" width="425"><param value="http://www.youtube.com/v/89WBEPrhXUs&amp;hl=en&amp;fs=1" name="movie" /><param value="true" name="allowFullScreen" /><embed height="344" width="425" allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/89WBEPrhXUs&amp;hl=en&amp;fs=1"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/10/12/wordpress-upgrade-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating a hosted WordPress site to your local PC</title>
		<link>http://www.itauthor.com/2008/10/12/migrating-a-hosted-wordpress-site-to-your-local-pc/</link>
		<comments>http://www.itauthor.com/2008/10/12/migrating-a-hosted-wordpress-site-to-your-local-pc/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 15:02:16 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/10/12/migrating-a-hosted-wordpress-site-to-your-local-pc/</guid>
		<description><![CDATA[This has wasted me hours and hours of time and effort, but I eventually got there. I want to move my WordPress site up from version 2.2.3 to the latest version 2.6.2. I don't like to put myself through the pain of upgrading every time there's a new WordPress version, but I'm quite far behind [...]]]></description>
			<content:encoded><![CDATA[<p>This has wasted me hours and hours of time and effort, but I eventually got there. I want to move my WordPress site up from version 2.2.3 to the latest version 2.6.2. </p>
<p>I don't like to put myself through the pain of upgrading every time there's a new WordPress version, but I'm quite far behind now and there's a particular plugin I want to use which won't work under 2.2.</p>
<p>So, before upgrading live, I thought I'd migrate everything onto my laptop, do an upgrade there and see how I get on. If it just doesn't work, or breaks PodPress, for example, then I won't bother trying it on my live site.</p>
<p>Theorectically, migrating should just be a case of:</p>
<ul>
<li>Download all the files using FTP. </li>
<li>Export the data from MySQL.</li>
<li>Put Apache and MySQL on my laptop using XAMPP.</li>
<li>Put all the downloaded files into the web directory hierarchy.</li>
<li>Create a new database on the laptop with the same name and user as on my web host.</li>
<li>Import the data into this new database.</li>
</ul>
<p>That's basically what you do but, as ever with this kind of thing, it's the fiddly little extra things you have to do to make it work that always trip you up and take forever to figure out.</p>
<p>The best directions (though neither of them complete) for doing this task were:</p>
<p><a title="http://mark-kirby.co.uk/2008/how-to-create-a-local-copy-of-a-wordpress-site/" href="http://mark-kirby.co.uk/2008/how-to-create-a-local-copy-of-a-wordpress-site/">http://mark-kirby.co.uk/2008/how-to-create-a-local-copy-of-a-wordpress-site/</a></p>
<p>and</p>
<p><a title="http://www.aniquito.com/2008/08/12/how-to-move-wordpress-from-hosting-site-to-local-computer-or-to-a-new-domain/" href="http://www.aniquito.com/2008/08/12/how-to-move-wordpress-from-hosting-site-to-local-computer-or-to-a-new-domain/">http://www.aniquito.com/2008/08/12/how-to-move-wordpress-from-hosting-site-to-local-computer-or-to-a-new-domain/</a></p>
<p>The latter is good because it has some search/replace commands that you can run in phpMyAdmin to replace full URLs with relative paths.</p>
<p>There's also:</p>
<p><a title="http://weblogtoolscollection.com/archives/2008/01/03/install-wordpress-locally-part-2-of-2/" href="http://weblogtoolscollection.com/archives/2008/01/03/install-wordpress-locally-part-2-of-2/">http://weblogtoolscollection.com/archives/2008/01/03/install-wordpress-locally-part-2-of-2/</a></p>
<p>Which doesn't add much, but contains some information about large SQL files and phpMyAdmin.</p>
<p>I mainly used the first of those pages. However, additional points to note before following these instructions:</p>
<ol>
<li>Disable all plugins before exporting the data and downloading the files (you can turn them back on later, once everything else is working).     </li>
<li>Make sure you've change the siteurl and home options in phpMyAdmin. After changing them search again and make sure they really have got the localhost value in them now.     </li>
<li>Comment out the WP_CACHE line in the wp-config.php file:
<p>&lt;?php       <br />// ** MySQL settings ** //       <br />//define('WP_CACHE', true); //Added by WP-Cache Manager       <br />define('DB_NAME', 'mydb');&#160;&#160;&#160; // The name of the database       <br />define('DB_USER', 'mydbuser');&#160;&#160;&#160;&#160; // Your MySQL username       <br />define('DB_PASSWORD', 'fiendishlycomplicatedpassword'); // ...and password       <br />define('DB_HOST', 'localhost');&#160;&#160;&#160; // 99% chance you won't need to change this value       <br />define('DB_CHARSET', 'utf8');       <br />define('DB_COLLATE', '');      </p>
<p>For a long, long while, when I browsed to the local site I got redirected to the Web site home page. I puzzled with this for hours and eventually after trying lots of different things, it went away. I'm not quite sure how I solved it. I think it was something to do with caching, so make sure you comment out the line above if you use the wp-cache plugin.      </li>
<li>Make sure the DB_HOST in this file is localhost. It should be anyway, but mine wasn't.     </li>
<li>If you want to use permalinks, you will need to make a change inside Apache's httpd.conf file.
<p>In my case this is located within this directory:       <br />D:\programs\xampp\apache\conf      </p>
<p>Open that in a text editor. Use the search facility in the editor to find &quot;rewrite&quot;. The line you need looks like this:      </p>
<p>#LoadModule rewrite_module modules/mod_rewrite.so       </p>
<p>You need to take away the hash sign so it looks like this:      </p>
<p>LoadModule rewrite_module modules/mod_rewrite.so       </p>
<p>Save the file.      </li>
<li>Make sure the .htaccess file in the root of your wordpress directory (in my case this directory is called itauthor) contains the following:
<p># BEGIN WordPress       <br />&lt;IfModule mod_rewrite.c&gt;       <br />RewriteEngine On       <br />RewriteBase /       <br />RewriteCond %{REQUEST_FILENAME} !-f       <br />RewriteCond %{REQUEST_FILENAME} !-d       <br />RewriteRule . /itauthor/index.php [L]       <br />&lt;/IfModule&gt;      </p>
<p>Note the name of the wordpress directory in the RewriteRule. You may need to change:      </p>
<p>RewriteRule . /index.php [L]      </p>
<p>to:      </p>
<p>RewriteRule . /<em>yourwordpressdirectory</em>/index.php [L]      </p>
<p>If the WordPress files aren't in the root of your web server.      </li>
<li>Now restart the apache2 service in the Windows services dialog box.      </li>
<li>Live Writer likes to use URLs, so if you use it to post to your blog you'll probably have to spend a while carefully searching/replacing URLs to relative paths. For me, I wasn't too bothered as I'm just going to use this as a sandbox for checking the effects of running through the upgrade process.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/10/12/migrating-a-hosted-wordpress-site-to-your-local-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress anguish</title>
		<link>http://www.itauthor.com/2008/09/15/wordpress-anguish/</link>
		<comments>http://www.itauthor.com/2008/09/15/wordpress-anguish/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 23:33:50 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/09/15/wordpress-anguish/</guid>
		<description><![CDATA[After many hours of Googling and much trial and error I have finally given up on my hope of making a minor improvement to this site. All I wanted to do was to make comments, and the comments form, show up at the bottom of each post, no matter what type of page it appeared [...]]]></description>
			<content:encoded><![CDATA[<p>After many hours of Googling and much trial and error I have finally given up on my hope of making a minor improvement to this site. </p>
<p>All I wanted to do was to make comments, and the comments form, show up at the bottom of each post, no matter what type of page it appeared on. By default, comments in WordPress only show up if you display a post on a page of its own. I know a lot of people who visit this site click the <a href="http://www.itauthor.com/podcasts">Podcasts</a> tab. This displays posts in a category view, which means the comments form is not displayed.</p>
<p>WordPress, like MovableType, demands an extremely high degree of patience of anyone who wants to configure their own site. WordPress isn't as bad as MT in this respect (hence my decision a few years ago to make the switch across to WordPress), but it can still sap hour upon hour of your free time to make what you might expect would be the simplest of changes.</p>
<p>Given the popularity of blogging, there is real scope for someone to come in here and steal a market away from WordPress. I wonder what Google and Microsoft have up their sleeves? Microsoft already have the best tool for writing blog posts (<a href="http://www.windowslive.com/Explore/Writer">Live Writer</a>), I wouldn't be surprised if they had a WordPress killer among their plans for <a href="http://www.windowslive.com/Home">Live</a>. </p>
<p>So for now, unless you're reading this on the front page or on a single-post page, if you want to comment on this post you're going to have to click on the heading above to display it singly and then scroll down to the comments form.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/09/15/wordpress-anguish/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Line breaks in WordPress</title>
		<link>http://www.itauthor.com/2008/08/14/line-breaks-in-wordpress/</link>
		<comments>http://www.itauthor.com/2008/08/14/line-breaks-in-wordpress/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 12:42:19 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/08/14/line-breaks-in-wordpress/</guid>
		<description><![CDATA[Usually I use LiveWriter to post/edit blog posts, but occasionally I have to revert to doing things in the horrible WordPress editor. One annoying thing about this editor is that it removes your line breaks. For example, suppose you're in a list and you do a couple of shift-returns to add a new paragraph within [...]]]></description>
			<content:encoded><![CDATA[<p>Usually I use LiveWriter to post/edit blog posts, but occasionally I have to revert to doing things in the horrible WordPress editor.</p>
<p>One annoying thing about this editor is that it removes your line breaks. For example, suppose you're in a list and you do a couple of shift-returns to add a new paragraph within the same point in the list (i.e. an indented paragraph that's not numbered). WordPress will remove the &lt;br/&gt; tags and close up the space. This might not happen straight away but it will happen if you reopen the post in the editor.</p>
<p>Even if you go into code view and manually type in &lt;br/&gt;, WordPress will take them out. It seems to think it knows better. So you have to prevent it recognising the &lt;br/&gt; tags by entering them manually in code view as:</p>
<p><strong>&lt;br align=&quot;left&quot; /&gt;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/08/14/line-breaks-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ITauthor back up again</title>
		<link>http://www.itauthor.com/2008/03/11/itauthor-back-up-again/</link>
		<comments>http://www.itauthor.com/2008/03/11/itauthor-back-up-again/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 00:37:25 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.eu/2008/03/11/itauthor-back-up-again/</guid>
		<description><![CDATA[The site has been up and down, there and not there, recently. This is for a number of reasons but mainly because Sky cut off my internet connection which meant that - because my site was hosted from an old PC running Linux, sitting in a basement cubby hole in my house - my Web [...]]]></description>
			<content:encoded><![CDATA[<p>The site has been up and down, there and not there, recently. This is for a number of reasons but mainly because Sky cut off my internet connection which meant that - because my site was hosted from an old PC running Linux, sitting in a basement cubby hole in my house - my Web site disappeared.</p>
<p>At around the same time some of my domain names came up for renewal and when I was renewing <strong>itauthor.eu</strong> with Euro-Reg.com I decided, on the spur of the moment, to buy a hosting package and move everything onto their servers. You may have noticed that, at the time of writing at any rate, the URL for the site is <strong>.eu</strong> rather than the usual <strong>.com</strong>.</p>
<p>Things may change because I subsequently realised that Euro-Reg only allows me 500MB of space, which isn't enough to put everything up that was originally on my site (so you may notice some missing pics etc.). I think I might move everything over to Dreamhost, but for the time being it's working OK where it is and it means I can save a bit of electricity by turning off my Web server.</p>
<p>If you've visited before you may notice that the site runs a little faster than before - not a huge amount though, which is a little disappointing given that I got a tiny upload speed from Sky.</p>
<p>The downside of moving things to Euro-Reg is that I have no command line access and I have to move files via FTP. I'd forgotten how slow and arduous FTP is. I'd got so used to using WinSCP for putting stuff on my Web server. I'd kind of consigned FTP to history and thought I'd never use it again. Funny how things turn around.</p>
<p>However, the big gain from moving my WordPress blog onto someone else's server is that - for reasons unknown - the &quot;Next/Previous&quot; links in WordPress that had never appeared before now work just fine. I'd spent ages in WordPress forums trying to get these links to show up, without success, so it's nice that the site is now much more accessible and you can get more than 5 search results now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2008/03/11/itauthor-back-up-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL find and replace</title>
		<link>http://www.itauthor.com/2007/11/08/sql-find-and-replace/</link>
		<comments>http://www.itauthor.com/2007/11/08/sql-find-and-replace/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 09:42:37 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/11/08/sql-find-and-replace/</guid>
		<description><![CDATA[It's remarkable easy, and quick, to do a search/replace on a MySQL database. PHPmyAdmin makes it even easier. For example, say you have a table containing Web links to a server on your network and the server name gets changed or, more likely, the Web pages get moved. You might have links such as http://oldwebserver/importantstuff/index.html [...]]]></description>
			<content:encoded><![CDATA[<p>It's remarkable easy, and quick, to do a search/replace on a MySQL database. PHPmyAdmin makes it even easier.</p>
<p>For example, say you have a table containing Web links to a server on your network and the server name gets changed or, more likely, the Web pages get moved. You might have links such as <strong>http://oldwebserver/importantstuff/index.html</strong> that should now be <strong>http://newwebserver/importantstuff/index.html</strong>.&nbsp; To correct these with an SQL statement, use:</p>
<pre>UPDATE <em>table_name</em> SET <em>field_name</em> = REPLACE (
<em>field_name</em>,
"<em>old text</em>",
"<em>new text</em>");</pre>
<p>For example:</p>
<pre>UPDATE mytable SET url = REPLACE (
url,
"<strong>http://oldwebserver/importantstuff/</strong>",
"<strong>http://newwebserver/importantstuff/</strong>");<strong></pre>
<p><strong><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="281" alt="PHPmyAdmin-searchreplace" src="http://www.itauthor.com/wp-content/uploads/2007/11/phpmyadmin-searchreplace.png" width="540" border="0"></strong></p>
<p>Note</strong>: The reason I didn't just replace "oldwebserver" with "newwebserver" is as a safeguard against changing things I didn't want changed. You've got to be pretty careful about what you do, and I would strongly advise that you <strong><font color="#ff0000">always back up the database before making any changes like this</font></strong>.</p>
<p>WordPress expert Lorelle has some good advice about doing this kind of thing on your WordPress tables at:</p>
<p><a title="http://lorelle.wordpress.com/2005/12/01/search-and-replace-in-wordpress-mysql-database/" href="http://lorelle.wordpress.com/2005/12/01/search-and-replace-in-wordpress-mysql-database/">http://lorelle.wordpress.com/2005/12/01/search-and-replace-in-wordpress-mysql-database/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/11/08/sql-find-and-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Live Writer large image problem #3</title>
		<link>http://www.itauthor.com/2007/10/30/live-writer-large-image-problem-3/</link>
		<comments>http://www.itauthor.com/2007/10/30/live-writer-large-image-problem-3/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 23:24:41 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/10/30/live-writer-large-image-problem-3/</guid>
		<description><![CDATA[In March I wrote a couple of posts about a problem using Microsoft Live Writer to post blog entries where I'd included an image above a certain size: Live Writer large image problem Live Writer large image problem #2 Basically, if I tried including an image above about 30KB I got the following error: Error [...]]]></description>
			<content:encoded><![CDATA[<p>In March I wrote a couple of posts about a problem using Microsoft Live Writer to post blog entries where I'd included an image above a certain size:</p>
<p><a href="http://www.itauthor.com/2007/03/01/live-writer-large-image-problem/">Live Writer large image problem</a></p>
<p><a href="http://www.itauthor.com/2007/03/01/live-writer-large-image-problem-2/">Live Writer large image problem #2</a></p>
<p>Basically, if I tried including an image above about 30KB I got the following error:</p>
<table cellspacing="2" cellpadding="2" width="400" border="1">
<tbody>
<tr>
<td valign="top" width="394">
<p><font face="ver" size="2">Error attempting to connect to weblog at:             <br />http://www.itauthor.com/xmlrpc.php </font></p>
<p><font face="ver" size="2">The underlying connection was closed: The connection was closed unexpectedly.</font></p>
</td>
</tr>
</tbody>
</table>
<p>I got the problem again, this evening, trying to upload my previous post, which included several decent-sized images, and I was determined to get to the bottom of the problem. It turns out the problem is with the PHP memory limit. The fix is to adjust the memory limit for PHP for your blog. To do this, simply add the following line to the <strong>.htaccess</strong> file in the root directory of your blog (in my case this directory is <strong>/var/www/html/wordpress</strong> on my Web server):</p>
<p><font face="Courier New" size="2">php_value memory_limit 16M</font></p>
<p>You don't need to restart Apache or anything. Just change the <strong>.htaccess</strong> file and click Publish in Live Writer and it should work fine now. I can't promise it'll work in all cases, but it worked for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/10/30/live-writer-large-image-problem-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overdue upgrade</title>
		<link>http://www.itauthor.com/2007/10/02/overdue-upgrade/</link>
		<comments>http://www.itauthor.com/2007/10/02/overdue-upgrade/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 07:31:59 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/10/02/overdue-upgrade/</guid>
		<description><![CDATA[Now that WordPress 2.3 is out I really must upgrade this blog. In fact I never finished designing the blog, as you can see. I couldn't find a theme that suited me so I decided to create my own. Bad move. I hardly have time to write blog posts. I never find the time to [...]]]></description>
			<content:encoded><![CDATA[<p>Now that WordPress 2.3 is out I really must upgrade this blog. In fact I never finished designing the blog, as you can see. I couldn't find a theme that suited me so I decided to create my own. Bad move. I hardly have time to write blog posts. I never find the time to do podcasts. So the chance of me finding time to fiddle about designing my own WordPress theme is slim to non-existent.</p>
<p>So, when I do find some time (hopefully some weekend soon), I'm going to upgrade WordPress and choose an off-the-shelf theme for 2.3 that looks like it might be supported through future upgrades and stick with that, so that at least everything works, even if it doesn't work, or look, like I'd like it to.</p>
<p>At the moment I'm on WordPress 2.1.3 so I'm just hoping the upgrade to 2.3 is fairly painless. We'll see.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/10/02/overdue-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Guide to Writing Well</title>
		<link>http://www.itauthor.com/2007/09/13/a-guide-to-writing-well/</link>
		<comments>http://www.itauthor.com/2007/09/13/a-guide-to-writing-well/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 12:58:15 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/09/13/a-guide-to-writing-well/</guid>
		<description><![CDATA[I was looking for a WordPress theme to replace the half-finished, half-broken theme I'm currently using. I stumbled upon a site called Fire &#38; Knowledge by Joshua Sowin. Joshua uses a simple, clean theme that I might try out, rather than using my own theme, which I've never finished and am not likely to. In [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a WordPress theme to replace the half-finished, half-broken theme I'm currently using. I stumbled upon a site called <a href="http://www.fireandknowledge.org/">Fire &amp; Knowledge</a> by Joshua Sowin. Joshua uses a simple, clean theme that I might try out, rather than using my own theme, which I've never finished and am not likely to.</p>
<p>In the list of Latest Essays on Joshua's site I noticed one called <a href="http://www.fireandknowledge.org/archives/2007/01/08/a-guide-to-writing-well/">A Guide to Writing Well</a>, which isn't aimed at technical writing but, nevertheless,&nbsp;lists lots of useful principles that we should keep in mind while writing technical documents. Here's a few:</p>
<ul>
<li><font face="Verdana" color="#400000" size="2">Omit needless words. Write simply and without clutter. Don&rsquo;t add words for &ldquo;style.&rdquo;</font>
<li><font face="Verdana" color="#400000" size="2">Avoid fancy words. <br />&ldquo;Never use a long word where a short one will do.&rdquo; (George Orwell) <br />&ldquo;Look for all fancy wordings and get rid of them.&rdquo; (Jacques Barzun)<br />Examples: Assistance (help), facilitate (ease), implement (do), referred to as (called).</font>
<li><font face="Verdana" color="#400000" size="2">After every sentence, ask yourself what the reader wants to know next.</font>
<li><font face="Verdana" color="#400000" size="2">Use orthodox spelling, punctuation, and capitalization.</font>
<li><font face="Verdana" color="#400000" size="2">Use active verbs. Example: &ldquo;He was seen by Joe&rdquo; should be &ldquo;Joe saw him.&rdquo;</font>
<li><font face="Verdana" color="#400000" size="2">Keep sentences short. <br />&ldquo;There&rsquo;s not much to be said about the period except that most writers don&rsquo;t reach it soon enough.&rdquo; (Zinsser) </font>
<li><font face="Verdana" color="#400000" size="2">Remove laborious phrases. Why use &ldquo;at the present time&rdquo; instead of &ldquo;now&rdquo;?</font>
<li><font face="Verdana" color="#400000" size="2">Use contractions when they sound natural.</font>
<li><font face="Verdana" color="#400000" size="2">Write like a person and not like a scientist.</font></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/09/13/a-guide-to-writing-well/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress search plugin</title>
		<link>http://www.itauthor.com/2007/06/24/wordpress-search-plugin/</link>
		<comments>http://www.itauthor.com/2007/06/24/wordpress-search-plugin/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 00:07:43 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/06/24/wordpress-search-plugin/</guid>
		<description><![CDATA[The search functionality that comes with WordPress is limited. Results are always listed in chronological order, rather than by relevance. I've just installed a plugin that makes it much easier to find posts in your blog. The plugin is very easy to install, just follow the instructions here: http://www.zirona.com/software/wordpress-advanced-search]]></description>
			<content:encoded><![CDATA[<p>The search functionality that comes with WordPress is limited. Results are always listed in chronological order, rather than by relevance.</p>
<p>I've just installed a plugin that makes it much easier to find posts in your blog. The plugin is very easy to install, just follow the instructions here:</p>
<p><a title="http://www.zirona.com/software/wordpress-advanced-search" href="http://www.zirona.com/software/wordpress-advanced-search">http://www.zirona.com/software/wordpress-advanced-search</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/06/24/wordpress-search-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wp-cache &#8211; a reminder to myself</title>
		<link>http://www.itauthor.com/2007/06/20/wp-cache-a-reminder-to-myself/</link>
		<comments>http://www.itauthor.com/2007/06/20/wp-cache-a-reminder-to-myself/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 23:09:44 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/06/20/wp-cache-a-reminder-to-myself/</guid>
		<description><![CDATA[wp-cache is a useful plugin for speeding up your WordPress blog. However, it has some disadvantages: If you're in the middle of a redesign, where you're changing the presentation features of the site without changing the content, you have to clear the cache to see the effects of changes. To clear the cache, go to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>wp-cache</strong> is a useful plugin for speeding up your WordPress blog. However, it has some disadvantages:
<ol>
<li>If you're in the middle of a redesign, where you're changing the presentation features of the site without changing the content, you have to clear the cache to see the effects of changes.</p>
<p>To clear the cache, go to the <strong>wp-content/cache</strong> directory and do:<br /><strong>rm -rf *<br /></strong></li>
<li>If, like me, you have some fairly static pages that contain dynamic content in a sidebar (e.g. an About page that has a list of recent posts in the sidebar), the sidebar content will not change because <strong>wp-cache</strong> makes sure the page from the cache gets served up unless something actually changes in the content.
<p>Effectively this means doing a manual cache clear every time you post if you want your static pages to be regenerated.</li>
</ol>
<h3>Turning off wp-cache</h3>
<p>WordPress leads you to believe you can turn off <strong>wp-cache</strong>&nbsp;by deactivating it in the Plugin Management page of the admin&nbsp;interface. Unfortunately it's not as easy as that.</p>
<p>What you need to do is go into&nbsp;your <strong>wp-config.php</strong> file and delete or comment out (by adding // at the start of the line) the following line:</p>
<p><code>define('WP_CACHE', true)</code></p>
<p>If you want to completely remove <strong>wp-cache</strong>, rather than just temporarily disabling it while you do some redesign work: </p>
<ol>
<li>Delete the <strong>wp-cache</strong> directory within the <strong>wp-content/plugins</strong> directory.</li>
<li>Delete the line from the <strong>wp-config.php</strong> file, as above.</li>
<li>Delete the&nbsp;<strong>wp-cache-config.php</strong> and <strong>advanced-cache.php</strong> files from the <strong>wp-content</strong> directory.</li>
</ol>
<p>Where <strong>wp-cache</strong> comes into its own is if you have a standard blog that gets a lot of hits.&nbsp;<strong>wp-cache</strong> stores ready-made HTML pages that can be served straight up to your visitors without having to use PHP to generate SQL queries to the MySQL database and build HTML dynamically.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/06/20/wp-cache-a-reminder-to-myself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making a backup of your WordPress tables</title>
		<link>http://www.itauthor.com/2007/05/12/making-a-backup-of-your-wordpress-tables/</link>
		<comments>http://www.itauthor.com/2007/05/12/making-a-backup-of-your-wordpress-tables/#comments</comments>
		<pubDate>Sat, 12 May 2007 16:31:13 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/05/12/making-a-backup-of-your-wordpress-tables/</guid>
		<description><![CDATA[This page gives details of how to use PHPmyAdmin to take a backup of your WordPress tables: http://www.tamba2.org.uk/wordpress/backup/ The tables are backed up as one SQL file, which you can save locally. Actually, since writing the above, I came across: http://codex.wordpress.org/Backing_Up_Your_Database and http://codex.wordpress.org/WordPress_Backups#Backing_Up_Your_WordPress_Site from the WordPress Codex, from which the first link I posted took [...]]]></description>
			<content:encoded><![CDATA[<p>This page gives details of how to use PHPmyAdmin to take a backup of your WordPress tables:</p>
<p><a href="http://www.tamba2.org.uk/wordpress/backup/" title="http://www.tamba2.org.uk/wordpress/backup/">http://www.tamba2.org.uk/wordpress/backup/</a></p>
<p>The tables are backed up as one SQL file, which you can save locally.</p>
<hr />Actually, since writing the above, I came across:</p>
<p><a href="http://codex.wordpress.org/Backing_Up_Your_Database">http://codex.wordpress.org/Backing_Up_Your_Database </a></p>
<p>and</p>
<p><a href="http://codex.wordpress.org/WordPress_Backups#Backing_Up_Your_WordPress_Site">http://codex.wordpress.org/WordPress_Backups#Backing_Up_Your_WordPress_Site</a></p>
<p>from the WordPress Codex, from which the first link I posted took the information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/05/12/making-a-backup-of-your-wordpress-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weird WordPress Theme</title>
		<link>http://www.itauthor.com/2007/05/12/weird-wordpress-theme/</link>
		<comments>http://www.itauthor.com/2007/05/12/weird-wordpress-theme/#comments</comments>
		<pubDate>Sat, 12 May 2007 16:19:22 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[View all]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/2007/05/12/weird-wordpress-theme/</guid>
		<description><![CDATA[I found this while looking for a new theme for the ITauthor Notes blog. It's got to be the weirdest WordPress theme ever. It emulates a Commodore 64: http://blog.elinc.ca/rod/ Yes, that's what it looks like!]]></description>
			<content:encoded><![CDATA[<p>I found this while looking for a new theme for the ITauthor Notes blog. It's got to be the weirdest WordPress theme ever. It emulates a Commodore 64:</p>
<p><a href="http://blog.elinc.ca/rod/" title="http://blog.elinc.ca/rod/">http://blog.elinc.ca/rod/</a></p>
<p><a href="http://www.itauthor.com/wp-content/uploads/2007/05/WindowsLiveWriter/WordPressThemes_E624/Commodore64WordPressTheme%5B2%5D.png" atomicselection="true"><img src="http://www.itauthor.com/wp-content/uploads/2007/05/WindowsLiveWriter/WordPressThemes_E624/Commodore64WordPressTheme_thumb%5B2%5D.png" height="504" width="495" /></a></p>
<p>Yes, that's what it looks like!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2007/05/12/weird-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website rework progress #2</title>
		<link>http://www.itauthor.com/2006/11/16/website-rework-progress-2/</link>
		<comments>http://www.itauthor.com/2006/11/16/website-rework-progress-2/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 00:56:08 +0000</pubDate>
		<dc:creator>ac</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[View all]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.itauthor.com/wordpress/?p=219</guid>
		<description><![CDATA[Well, I haven't sorted out the IE7 problem yet, but I have found a fix for the load speed problem. It's a plug-in called wp-cache. You can get it here: http://mnm.uib.es/gallir/wp-cache-2 Installing this plug-in has taken my time-to-load from 25+ seconds to just 3&#8221;“4 seconds, which compares very nicely with the performance I was getting [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I haven't sorted out the IE7 problem yet, but I have found a fix for the load speed problem. It's a plug-in called <strong>wp-cache</strong>. You can get it here:</p>
<p><a title="Click to go there" href="http://mnm.uib.es/gallir/wp-cache-2/">http://mnm.uib.es/gallir/wp-cache-2</a></p>
<p>Installing this plug-in has taken my time-to-load from 25+ seconds to just 3&rdquo;“4 seconds, which compares very nicely with the performance I was getting from Plone. It does this by caching pages on the server so that preprepared HTML pages are served up to your browser, rather than dynamically generating pages on request, using PHP. You can check that you're looking at a cached page by viewing the source of the page. If it's a cached page, the last line of the source will be:</p>
<pre><code>!-- Cached page served by WP-Cache --</code></pre>
<p>Two installation methods are documented. I chose the manual method, just because that's the one everyone seems to talk about, so I reckonned I'd stick with tried-and-tested. Installation is a little more difficult than installing most WordPress plug-ins. But if you're used to ploytering around on a UNIX command line on your Web server you'll find it easy enough.</p>
<p>There are 2 little problems with this plug-in that you must watch out for. Both of these cause your site to serve up completely blank pages after you install the wp-cache plug-in.</p>
<ol>
<li>If you're server uses PHP 5 you need to edit <strong>/wp-content/plugins/wp-cache/wp-cache-phase2.php</strong>, locate <strong>ob_end_clean();</strong> in  this file and replace it with <strong>ob_end_flush();</strong>That is, you need to change "clean" to "flush".</li>
<li>Don't use the documented command for creating the symbolic link. I copied and pasted it onto the command line and it created a duff symlink. The correct command, from the <strong>wp-content</strong> directory is:<strong>ln -s plugins/wp-cache/wp-cache-phase1.php advanced-cache.php</strong></li>
</ol>
<p>Once you've sorted this out and added the <strong>define</strong> statement to your <strong>wp-config.php</strong>, you can go to the <strong>Options</strong> section of the WordPress admin and you'll see a <strong>WP-Cache</strong> tab. Go in there and click the button to enable the cache. Having done that everything should work fine and your pages will fly.</p>
<p>Incidentally, I just did a <strong>php -v</strong> and realised I'm still on PHP 4.3, so I guess I should go and change back that <strong>ob_end_clean();</strong> function, but it seems to work fine as it is, so maybe I won't bother.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itauthor.com/2006/11/16/website-rework-progress-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

