<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Cms on Website of Jamie McClelland</title>
    <link>https://current.workingdirectory.net/tags/cms/</link>
    <description>Recent content in Cms on Website of Jamie McClelland</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 16 Jul 2021 08:27:10 -0400</lastBuildDate><atom:link href="https://current.workingdirectory.net/tags/cms/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>From Ikiwiki to Hugo</title>
      <link>https://current.workingdirectory.net/posts/2021/hugo/</link>
      <pubDate>Fri, 16 Jul 2021 08:27:10 -0400</pubDate>
      
      <guid>https://current.workingdirectory.net/posts/2021/hugo/</guid>
      
        <description>&lt;p&gt;Back in the days of Etch, I converted this blog from Drupal to
&lt;a href=&#34;https://ikiwiki.info&#34;&gt;ikiwiki&lt;/a&gt;. I remember being very excited about this brand
new concept of static web sites derived from content stored in a version
control system.&lt;/p&gt;
&lt;p&gt;And now over a decade later I&amp;rsquo;ve moved to &lt;a href=&#34;https://gohugo.io/&#34;&gt;hugo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I feel some loyalty to ikiwiki and Joey Hess for opening my eyes to the static
web site concept. But ultimately I grew tired of splitting my time and energy
between learning ikiwiki and hugo, which has been my tool of choice for new
projects. When I started getting strange emails that I suspect had something to
do with spammers filling out ikiwiki&amp;rsquo;s commenting registration system, I choose
to invest my time in switching to hugo over debugging and really understanding
how ikiwiki handles user registration.&lt;/p&gt;
&lt;p&gt;I carefully reviewed &lt;a href=&#34;https://anarc.at/services/wiki/ikiwiki-hugo-conversion/&#34;&gt;anarcat&amp;rsquo;s blog on converting from ikiwiki to
hugo&lt;/a&gt; and learned
about a lot of ikiwiki features I am not using. Wow, it&amp;rsquo;s times like these that
I&amp;rsquo;m glad I keep it really simple. Based on the various ikiwiki2hugo python
scripts I studied, I eventually wrote a &lt;a href=&#34;https://gitlab.com/jamie/current-working-directory/-/tree/main/tools&#34;&gt;far simpler
one&lt;/a&gt;
tailored to my needs.&lt;/p&gt;
&lt;p&gt;Also, in what could only be called a desperate act of procrastination combined
with a touch of self-hatred (it&amp;rsquo;s been a rough week) I rejected all the
commenting options available to me and choose to &lt;a href=&#34;https://gitlab.com/jamie/commenter&#34;&gt;implement my own in
PHP&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;What?!?!  Why would anyone do such a thing?&lt;/p&gt;
&lt;p&gt;I refer you to my previous sentence about desperate procrastination. And
also&amp;hellip; I know it&amp;rsquo;s fashionable to hate PHP, but honestly as the first
programming language I learned, there is something comforting and familiar
about it. And, on a more objective level, I can deploy it easily to just about
any hosting provider in the world. I don&amp;rsquo;t have to maintain a unicorn service
or a nodejs service and make special configuration entries in my web
configuration. All I have to do is upload the php files and I&amp;rsquo;m done.&lt;/p&gt;
&lt;p&gt;Well, I&amp;rsquo;m sure I&amp;rsquo;ll regret this decision.&lt;/p&gt;
&lt;p&gt;Special thanks to &lt;a href=&#34;https://github.com/lxndrblz&#34;&gt;Alexander Bilz&lt;/a&gt; for the
&lt;a href=&#34;https://github.com/lxndrblz/anatole/&#34;&gt;anatole hugo theme&lt;/a&gt;. I choose it via a
nearly random click to avoid the rabbit hole of choosing a theme. And, by luck,
it has turned out quite well. I only had to override the commento partial theme
page to hijack it for my own commenting system&amp;rsquo;s use.&lt;/p&gt;
</description>
      
    </item>
    
    <item>
      <title>Ikiwiki upgrading and disabled comments</title>
      <link>https://current.workingdirectory.net/posts/2009/ikiwiki-upgrade/</link>
      <pubDate>Thu, 08 Jan 2009 09:32:44 +0000</pubDate>
      
      <guid>https://current.workingdirectory.net/posts/2009/ikiwiki-upgrade/</guid>
      
        <description>&lt;p&gt;Although not nearly as hairy as &lt;a href=&#34;https://support.mayfirst.org/ticket/2100&#34;&gt;helping David Swanson
upgrade&lt;/a&gt; upgrade &lt;a href=&#34;http://davidswanson.org&#34;&gt;his Drupal
blog&lt;/a&gt;, the ikiwiki upgrade from version 2 to version 3
has been a bit hairy.&lt;/p&gt;
&lt;p&gt;My biggest difficulty is that my published version of the blog is running
Debian Etch (and pulling ikwiki from Debian Lenny) while my laptop is running
Debian Squeeze. Hence, my laptop pulled in ikiwiki 3, which as prompted me to upgrade my blog, whereas my published wiki is still running 2.53.&lt;/p&gt;
&lt;p&gt;My temporary solution to this problem is to disable commenting and make my
published blog a plain rsync&amp;rsquo;ed version of the version on my laptop.  Sorry!
Commenting will return soon.&lt;/p&gt;
</description>
      
    </item>
    
  </channel>
</rss>