<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  
  
  <channel>
    <title>chrisjrob: jekyll</title>
    <link>https://chrisjrob.com</link>
    <atom:link href="https://chrisjrob.com/tag/jekyll/feed/index.xml" rel="self" type="application/rss+xml" />
    <description>GNU Linux, Perl and FLOSS</description>
    <language>en-gb</language>
    <pubDate>Fri, 13 Feb 2026 17:22:31 +0000</pubDate>
    <lastBuildDate>Fri, 13 Feb 2026 17:22:31 +0000</lastBuildDate>
    
    <item>
      <title>Wordpress Comments Migration to Disqus</title>
      <link>https://chrisjrob.com/2015/11/16/wordpress-comments-migration-to-disqus/</link>
      <pubDate>Mon, 16 Nov 2015 21:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2015/11/16/wordpress-comments-migration-to-disqus</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/disqus-logo.png" align="right" alt="Featured Image">
         
         <p>I assumed that, when I <a href="/2015/11/12/migration-wordpress-to-jekyll/">migrated from Wordpress to Jekyll</a>, one of the casualties would be the old Wordpress comments. 
I had decided to use <a href="http://disqus.com">DISQUS</a> for comments on Jekyll, partly because it is the “new thing” and partly because it is incredibly easy to achieve.
But I never for a moment considered that migrating the old comments would be a possibility.</p>

<!--more-->

<p>In fact, not only is it possible, but it is <a href="https://help.disqus.com/customer/portal/articles/466255-importing-comments-from-wordpress">almost trivially easy</a>.</p>

<p>I did encounter a few issues, as I had foolishly renamed some pages to more logical names, thereby both breaking all Google and other links, but also breaking the link with DISCUS comments. That was a very bad idea and as a consequence I spent quite a while renaming files back again, but other than that it all worked flawlessly. If you are going to rename pages - probably best to do it in Wordpress before migrating to Jekyll.</p>

<p>Well done [DISCUS] for making something that you would expect to be difficult easy. And thank you <a href="http://wordpress.com">Wordpress</a> for providing a decent export routine, without which my data would have been locked away.</p>

<p>I look forward to your comments!</p>

<p>Chris.</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Reasons For Migrating from Wordpress to Jekyll</title>
      <link>https://chrisjrob.com/2015/11/15/reasons-for-migrating-from-wordpress-to-jekyll/</link>
      <pubDate>Sun, 15 Nov 2015 00:00:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2015/11/15/reasons-for-migrating-from-wordpress-to-jekyll</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/jekyll.png" align="right" alt="Featured Image">
         
         <p>Following my <a href="/2015/11/12/migration-wordpress-to-jekyll/">recent announcement</a>, I thought I would give some of my reasons for the move and some early impressions of using Jekyll.</p>

<h2 id="what-is-jekyll">What is Jekyll?</h2>

<p><a href="http://jekyllrb.com">Jekyll</a> is a <a href="http://daringfireball.net/projects/markdown/">Markdown</a> based website and blogging platform, written in Ruby. 
The principle is simple - you write markown text files and they are automatically converted to static HTML webpages.</p>

<!--more-->

<h2 id="what-is-markdown">What is Markdown?</h2>

<p>I am assuming that most of my audience have at least a passing knowledge of <a href="http://daringfireball.net/projects/markdown/">Markdown</a>, but basically it is a very clean virtually syntax-free way of writing text files, so that they can be easily converted into different formats. 
The key to markdown is the conversion utility and I currently use <a href="http://pandoc.org/">Pandoc</a>. 
I write the file once, and then I can convert into whatever format I want it in:</p>

<ul>
  <li><strong>PDF:</strong> <code class="language-plaintext highlighter-rouge">pandoc -o sample.pdf sample.markdown</code></li>
  <li><strong>Word:</strong> <code class="language-plaintext highlighter-rouge">pandoc -o sample.docx sample.markdown</code></li>
  <li><strong>HTML:</strong> <code class="language-plaintext highlighter-rouge">pandoc -o sample.html sample.markdown</code></li>
</ul>

<p>I would imagine most people start using Markdown so that can continue to use the favourite text editor - Vim or Emacs. 
At work I have found myself using it in preference to a word-processor, I have written a simple <code class="language-plaintext highlighter-rouge">md2pdf</code> perl script, so that in vim I can simply type <code class="language-plaintext highlighter-rouge">:md2pdf %</code> to have my document saved as a PDF. 
And the PDFs that Pandoc produces are beautiful and headings and sub-headings are automatically converted into PDF Bookmarks, giving your documents an effortless professionalism.</p>

<p>For complicated documents I sometimes start in Markdown and then move to LaTeX, but increasingly I am finding myself able to do virtually everything in Markdown, including simple images and hyperlinks. 
But you also have the option of extending plain markdown with HTML tags.</p>

<p>So in simplest terms Jekyll is just an automated way of creating Markdown files and converting them to HTML.</p>

<h2 id="but-why-change-from-wordpress">But why change from Wordpress?</h2>

<p><a href="http://wordpress.com">Wordpress</a> has been great for me, it’s relatively simple, has great statistical tools, a build in commenting system and much more besides. 
So why leave all that behind for something which is fundamentally so basic?</p>

<h3 id="benefits-of-jekyll">Benefits of Jekyll</h3>

<ol>
  <li><strong>Text Editor:</strong> Once again the desire to use <a href="http://www.vim.org">Vim</a> was probably the key motivation.</li>
  <li><strong>Github Pages:</strong> The fact that Jekyll could be used <a href="https://help.github.com/articles/using-jekyll-with-pages/">with the free Github Pages</a> was another.</li>
  <li><strong>Command Line:</strong> The ability to use grep, sed and perl and all the other command line goodies makes for an incredibly versatile system.</li>
  <li><strong>Version Control:</strong> To have the whole site under version control.</li>
</ol>

<p>I cannot tell you how wonderful it is to <code class="language-plaintext highlighter-rouge">grep -l searchtext *.markdown | vim -</code> and be able to edit each matching file in Vim.</p>

<h3 id="bootpolish-blog">Bootpolish Blog</h3>

<p>There was another reason too, which was that I still had an old blog at bootpolish.net, which I wanted to close down. 
I could have merged it into my Wordpress blog, but I thought it would be easier to transfer it to Jekyll. 
To be honest I can’t say that it was particularly easy, but thankfully it is now done.</p>

<h2 id="the-migration-process">The Migration Process</h2>

<p>I followed the <a href="https://help.github.com/articles/using-jekyll-with-pages/">GitHub Instructions for Jekyll</a>.
I used rsync to copy the underlying text files from Bootpolish.net into the _drafts folder, before using bash for loops to auto-process each into a Jekyll markdown post. 
I used the <a href="http://import.jekyllrb.com/docs/wordpressdotcom/">Wordpress Importer</a> to transfer my Wordpress blog.
The importer did not work particularly well, so I ended up editing each file in turn.</p>

<p>I found there was some customisation required:</p>

<ol>
  <li><strong>Categories:</strong> By default Jekyll has no Category pages, for example: http://chrisjrob.com/category/technology/</li>
  <li><strong>Tags:</strong> By default Jekyll has no Tag pages, for example: http://chrisjrob.com/tag/3dmodel/</li>
  <li><strong>Wordpress RSS:</strong> I wanted to maintain the existing feed locations, which required creation of various additional feeds.</li>
  <li><strong>Tag Cloud:</strong> By default Jekyll has no tag cloud functionality, which I believe is crucial to a blog.</li>
  <li><strong>Site Search:</strong> By default Jekyll has no site search. There are plug-ins, but these are not compatible with GitHub pages. For now I have used Google Custom Search, but it has not yet indexed the entire site.</li>
</ol>

<p>I have written <a href="https://github.com/chrisjrob/chrisjrob.github.io/blob/master/tagger">a script to build all the tags and categories</a>, which is working well. 
I would like to integrate this into the git commit command somehow, so that I don’t forget to run it!</p>

<p>Any new categories would require additional RSS feed files creating, by simply copying the feed template into the relevant category/feed folder.</p>

<h2 id="conclusions">Conclusions</h2>

<p>This has been much more work than I would have liked. 
That said, I now have my Markdown files in a format under my control. 
I can move those files to any Jekyll provider, or indeed to any web provider and have them hosted.</p>

<p>In short, I am hoping that this is the last time I will move platforms!</p>

<p>Lastly, if you’re unfamiliar with Markdown, you can <a href="https://raw.githubusercontent.com/chrisjrob/chrisjrob.github.io/master/_posts/2015-11-15-reasons-for-migrating-from-wordpress-to-jekyll.md">view the Markdown version of this page</a>.</p>


       ]]>
      </description>
    </item>
    
    <item>
      <title>Migration from Wordpress to Jekyll</title>
      <link>https://chrisjrob.com/2015/11/12/migration-wordpress-to-jekyll/</link>
      <pubDate>Thu, 12 Nov 2015 22:44:00 +0000</pubDate>
      <author>chrisjrob@gmail.com (Chris Roberts)</author>
      <guid>https://chrisjrob.com/2015/11/12/migration-wordpress-to-jekyll</guid>
      <description>
       <![CDATA[
         
           <img src="https://chrisjrob.com/assets/jekyll.png" align="right" alt="Featured Image">
         
         <p>For the past few weeks I have migrating chrisjrob.com from Wordpress to Jekyll. 
I have also been merging in my previous blog at bootpolish.net.</p>

<p>This process has proved to be much more work than I expected, but this evening it all came together and I finally pressed the button to transfer the DNS over to the Jekyll site, hosted by GitHub.</p>

<!--more-->

<p>I have tried to maintain the URL structure, along with tags, categories and RSS feeds, but it can’t be perfect and there will be breakage.</p>

<p>If you notice any problems please do comment below.</p>

<p>Thank you.</p>

<p>Chris Roberts</p>

       ]]>
      </description>
    </item>
    
  </channel> 
</rss>
