<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>TannieSpace (Posts about programming)</title><link>https://tannie.nl/</link><description></description><atom:link href="https://tannie.nl/tags/programming.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2022 &lt;a href="mailto:tanja@tannie.nl"&gt;Tanja&lt;/a&gt; </copyright><lastBuildDate>Wed, 30 Mar 2022 13:35:11 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Oh yeah, btw...</title><link>https://tannie.nl/2014/oh-yeah-btw/</link><dc:creator>Tanja</dc:creator><description>&lt;div&gt;&lt;p&gt;I got a little tired from the issues I had with &lt;a href="https://wordpress.org"&gt;WordPress&lt;/a&gt; . Not
because WordPress doesn’t do what it says it does — it does actually —
but because I don’t write that much here anymore and I felt that I only
consistently kept the site up-to-date WordPress-wise, and not
content-wise. I felt I spent more time on updating than on anything
else.&lt;/p&gt;
&lt;p&gt;Which — naturally — meant I started fiddling. First, I tried &lt;a href="http://blog.getpelican.com"&gt;Pelican&lt;/a&gt;
which I liked and really wanted to use. Then, I stumbled on &lt;a href="http://getnikola.com"&gt;Nikola&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I tried them both and they both seemed to work for me. In the end, I
went for Nikola. It seems faster and better at not rebuilding posts
unnecessarily.&lt;/p&gt;
&lt;p&gt;The migration required the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Export an xml-file of my WordPress-data (posts and pages).&lt;/p&gt;
&lt;p&gt;Easy enough through the ‘Tools &amp;gt; Export &amp;gt; All Content’ in the
WordPress Admin pane (although I must admit it went horribly wrong
for me, but in the end, I managed to get a usable file).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Import in Nikola with &lt;code&gt;nikola import_wordpress file.xml&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This did not work for me, it got stuck or crashed even though I
checked the file with &lt;code&gt;xmllint&lt;/code&gt;. Instead, I downloaded &lt;a href="https://github.com/dreikanter/wp2md"&gt;WordPress to
Markdown Exporter&lt;/a&gt; and converted the xml-file that way. I lost
some info, but nothing very dramatic.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Mess around until everything works and looks okay.&lt;/p&gt;
&lt;p&gt;This took the most time because I got distracted by lots of new
stuff like Python and RestructeredText. Had fun.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Pretty sure some things didn’t work as expected and I’ve possibly broken
some links. However, I delved into my .htaccess file which should
redirect old links to their new place. This mattered even more because
at the same time I decided to switch domains &lt;sup id="fnref:1"&gt;&lt;a class="footnote-ref" href="https://tannie.nl/2014/oh-yeah-btw/#fn:1"&gt;1&lt;/a&gt;&lt;/sup&gt; from
&lt;a href="http://tanniespace.com"&gt;http://tanniespace.com&lt;/a&gt; to &lt;a href="http://tannie.nl"&gt;http://tannie.nl&lt;/a&gt; . Apparently, when I
decide to mess with things, I mess with them thoroughly.&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Yes, I love breaking the internet. &lt;a class="footnote-backref" href="https://tannie.nl/2014/oh-yeah-btw/#fnref:1" title="Jump back to footnote 1 in the text"&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;&lt;/div&gt;</description><category>programming</category><category>python</category><category>site</category><category>update</category><category>wordpress</category><guid>https://tannie.nl/2014/oh-yeah-btw/</guid><pubDate>Wed, 01 Oct 2014 15:36:00 GMT</pubDate></item></channel></rss>