Here’s a variation on yesterday’s image. It’s no crop, it’s a separate exposure 😀
Next conversion, next tool, this time Jekyll. Again I used a virtual machine for sanity, but I gave it generous 8GB.
While Hexo converts from a database XML export, Jekyll needs access to WordPress’ MySql database. No problem. Inside of the VM I ran the database inside of a docker container. Then I installed Ruby, a few Gems, Jekyll and the importer. It was a little messy, but when I had it running, the conversion was quickly done. It’s not quite as fast as Hugo, but it is by no means slow.
The conversion result is interesting. The Hexo conversion fed into Hugo had immediately given me a proper blog structure. With Jekyll’s conversion to Markdown this was not the case, not even when converted to HTML by Jekyll itself. Hugo unfortunately can’t work with the Markdown produced by Jekyll at all.
Two things were much better though:
You may know that Markdown allows for embedded HTML tags. You don’t necessarily need them, but you can always use them to represent things that can’t otherwise be done in simple Markdown.
Jekyll utilizes that. This perfectly solves the problem of historic multi-image posts by keeping the original layout.
Basically Jekyll’s Markdown result is the HTML body of the original post, prefixed by generous front matter containing much more metadata than Hexo had preserved.
Did you see the comments in the front matter? Is that cool? Comments among a page’s metadata!
It seems what we need is the basic structure generated by Hexo, amended with HTML and comments from Jekyll’s conversion. I might need to use both converters and do some post-processing myself.
Then there is still the problem of how to enable new comments as well. That will need some more experiments, but I have an idea.
So, speed is a problem. Hugo is supposed to be the speed king, but it has no converter. Out of pure curiosity I decided to feed the conversion result of Hexo into Hugo.
This time I didn’t use a virtual machine, because Hugo is a single binary. No complex install, to get rid of it just throw away the single file.
It converted the files in less than a minute. The result was a beautiful rendition of my blog, very similar to what WordPress creates, keywords included. It was blindingly fast, but of course it did not have the comments and it also had the problems with multi-image posts that I’ve mentioned earlier.
Too bad. What about using a converter from one system, and the site generator from another? The conversion by Hexo is not complete enough, but it’s Markdown files are well understood by Hugo. Maybe Jekyll can convert better and still be compatible with Hugo?
This is an image that you can’t “just take”. I’ve made it in Lightroom. I had to change a lot here.
First comes the perspective. Of course I could not look straight towards the bridge. I’ve corrected the perspective in order to get a perfect rectangle.
The water of the river is greenish dark. Therefore the reflection lacks brightness and contrast, and it also has a strong cast. All three effects are stronger where you look at the water at a steeper angle. Evening it out took me a few gradients, but now the image has exactly the look that I wanted to achieve: the look of a fairy tale illustration in the books of my childhood.
Nuremberg lies on a river called Pegnitz and on the Rhine–Main–Danube Canal. If you ever ever take a river cruise from the Netherlands down to Hungary (like my friend Ted Byrne did last summer), you’ll pass through Nuremberg.
This is not the canal, this is the river Pegnitz. Nuremberg has lots of nice places along the river and quite a few bridges. Like in Paris, London or Budpest (and contrary to Vienna) the river runs right through the city’s historic center.
The trip from Vienna to Bratislava was fairly short and entertaining. The trip back … not so much. It took twice the time, and part of it it was already quite dark. I spent the time on deck reading “Night Lamp” by Jack Vance.