<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Conal Elliott &#187; blogging</title>
	<atom:link href="http://conal.net/blog/tag/blogging/feed" rel="self" type="application/rss+xml" />
	<link>http://conal.net/blog</link>
	<description>Inspirations &#38; experiments, mainly about denotative/functional programming in Haskell</description>
	<lastBuildDate>Thu, 25 Jul 2019 18:15:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.17</generator>
	<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=conal&amp;popout=1&amp;url=http%3A%2F%2Fconal.net%2Fblog%2F&amp;language=en_US&amp;category=text&amp;title=Conal+Elliott&amp;description=Inspirations+%26amp%3B+experiments%2C+mainly+about+denotative%2Ffunctional+programming+in+Haskell&amp;tags=blog" type="text/html" />
	<item>
		<title>Switching blog engines</title>
		<link>http://conal.net/blog/posts/switching-blog-engines</link>
		<comments>http://conal.net/blog/posts/switching-blog-engines#comments</comments>
		<pubDate>Tue, 15 Jan 2008 23:46:55 +0000</pubDate>
		<dc:creator><![CDATA[Conal]]></dc:creator>
				<category><![CDATA[Functional programming]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[GeSHi]]></category>
		<category><![CDATA[Markdown]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://conal.net/blog/2008-01/switching-blog-engines</guid>
		<description><![CDATA[I gave up on Blogger, where I&#8217;d been keeping my technical blog. Blogger was removing one leading space per line of pre-formatted html (&#8220;code&#8221;) on every edit/preview cycle. Meanwhile, I&#8217;ve been enjoying using Markdown, so I poked aroud and found a WordPress solution I think I&#8217;ll like for a while. You&#8217;re looking at it. The [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I gave up on Blogger, where I&#8217;d been keeping my <a href="http://conal-elliott.blogspot.com">technical blog</a>.  Blogger was removing one leading space per line of pre-formatted html (&#8220;code&#8221;) on every edit/preview cycle.</p>

<p>Meanwhile, I&#8217;ve been enjoying using <a href="http://daringfireball.net/projects/markdown">Markdown</a>, so I poked aroud and found a <a href="http://wordpress">WordPress</a> solution I think I&#8217;ll like for a while.  You&#8217;re looking at it.</p>

<p>The steps are described in a post on <a href="http://www.dougalstanton.net/blog/index.php/2007/12/15/syntax-highlighting-with-markdown-in-wordpress">Syntax highlighting with Markdown in WordPress</a>.  It uses a combination of <a href="http://michelf.com/projects/php-markdown/extra">PHP Markdown Extra</a> and <a href="http://qbnz.com/highlighter">GeSHi</a> (Generic Syntax Highlighter), plus a small extension to specify which language for a block of code.  It works great.  I tweaked the PHP code to make the default language be Haskell instead of txt.  The GeSHi-decorated code even has links to library documentation, which I love.</p>

<p>I had a bit of trouble along the way and got help on the <code>#wordpress</code> IRC channel.  It turned out that I hadn&#8217;t followed the installation directions for PHP Markdown Extra, which say to move markdown.php out of its directory directly into my plugins directory.  Once I knew to look in the Apache error log, it was pretty easy to track down the problem.</p>

<p>Still to do:</p>

<ul>
<li>Work out how to automatically add documentation links to <a href="http://qbnz.com/highlighter">GeSHi</a>.  For now, I&#8217;ve manually added <code>Data.Monoid</code>, <code>Control.Applicative</code>, and <code>Control.Arrow</code>.</li>
<li>When I want to go public, get <a href="http://planet.haskell.org">Haskell Planet</a> to point to the new blog.</li>
</ul>
<p><a href="http://conal.net/blog/?flattrss_redirect&amp;id=250&amp;md5=05b8389397b59c41bbd7e34ff627f4c8"><img src="http://conal.net/blog/wp-content/plugins/flattr/img/flattr-badge-white.png" srcset="http://conal.net/blog/wp-content/plugins/flattr/img/flattr-badge-white.png, http://conal.net/blog/wp-content/plugins/flattr/img/flattr-badge-white@2x.png 2xhttp://conal.net/blog/wp-content/plugins/flattr/img/flattr-badge-white.png, http://conal.net/blog/wp-content/plugins/flattr/img/flattr-badge-white@3x.png 3x" alt="Flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://conal.net/blog/posts/switching-blog-engines/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<atom:link rel="payment" title="Flattr this!" href="https://flattr.com/submit/auto?user_id=conal&amp;popout=1&amp;url=http%3A%2F%2Fconal.net%2Fblog%2Fposts%2Fswitching-blog-engines&amp;language=en_GB&amp;category=text&amp;title=Switching+blog+engines&amp;description=I+gave+up+on+Blogger%2C+where+I%26%238217%3Bd+been+keeping+my+technical+blog.+Blogger+was+removing+one+leading+space+per+line+of+pre-formatted+html+%28%26%238220%3Bcode%26%238221%3B%29+on+every+edit%2Fpreview+cycle.+Meanwhile%2C+I%26%238217%3Bve...&amp;tags=blogging%2CGeSHi%2CMarkdown%2CWordPress%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>
