Tag Archives: River

4272 – Once More The Holy Spirit Hospital

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.

---
layout: post
status: publish
published: true
title: 1266 - Something Magic
author:
display_name: andreas
login: amanessinger
email: andreas @ manessinger.com
url: http://manessinger.com/
author_login: amanessinger
author_email: andreas @ manessinger.com
author_url: http://manessinger.com/
wordpress_id: 4087
wordpress_url: http://manessinger.com/?p=4087
date: '2010-04-02 07:05:41 +0200'
date_gmt: '2010-04-02 05:05:41 +0200'
categories:
- Nikon 24/2.8 AF
tags:
- Austria
- Vienna
- Wien
- Color
- Spring
- Street
comments:
- id: 6444
author: Thomas
author_email: q @ q.com
author_url: http://www.nobodys-domain.de
date: '2010-04-05 00:55:18 +0200'
date_gmt: '2010-04-04 22:55:18 +0200'
content: Love the lead photo! The yellow-blue split works greatly.Although it reminds
me a bit on a German political party that I don't like that much... ;)
- id: 6445
author: andreas
author_email: andreas @ manessinger.com
author_url: http://manessinger.com/
date: '2010-04-05 01:58:20 +0200'
date_gmt: '2010-04-04 23:58:20 +0200'
content: Yellow/blue? No idea. Help me along!
- id: 6447
author: andreas
author_email: andreas @ manessinger.com
author_url: http://manessinger.com/
date: '2010-04-05 08:54:47 +0200'
date_gmt: '2010-04-05 06:54:47 +0200'
content: |-
Oh, I see. I always thought they were yellow/black.

Anyway. That's too much of a nice color combo to let it be occupied in my mind by the Masters of Opportunism :)
---
<p><a target="_blank" href="http://manessinger.com/display.php/1024x1024/2010/20100331_191638_ps.jpg"><img src="http://manessinger.com/images/0600x0600/2010/20100331_191638_ps.jpg" /></a></p>
<p><a target="_blank" href="http://manessinger.com/display.php/1024x1024/2010/20100401_084642_ps.jpg"><img style="margin: 0pt 0px 0pt 10px; float: right;" src="http://manessinger.com/images/0150x0150/2010/20100401_084642_ps.jpg" alt="" border="0" /></a> It's funny. Yesterday was an incredibly beautiful day and I thought I had taken all sorts of good images, though when I came home and looked at them, there were only some very naive pictures of leaves coming out on the trees, blossoms and the blinding sun. Not a single good image, this street scene being the only thing even remotely usable.</p>
<p>There is really something magic in Spring. Experiencing such a day fills me with wild joy, and even though one would think the city can't have changed, it has. Now my only job would be to actually capture this in an image :)</p>
<p>Fortunately I have an image left from Wednesday. It's no replacement for the missing Spring image, but after I had posted "<a target="_blankhref="http://manessinger.com/2010/03/1265-the-people-who-grinned-themselves-to-death.html">1265 – The People Who Grinned Themselves To Death</a>", I saw it, tried working on it, and the result pleased me enough to carry it over to this post.</p>
<p><iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=000000&fc1=FFFFFF&lc1=99AADD&t=thedailphotof-20&o=1&p=8&l=as1&m=amazon&f=ifr&md=10FE9736YVPPT7A0FBG2&asins=B0025X4P6K" style="margin: 0pt 10px 0pt 0px; float: left; width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe> The Song of the Day is "<a target="_blank" href="http://www.lyricsmode.com/lyrics/p/procol_harum/something_magic.html">Something Magic</a>" by Procol Harum, originally from the 1977 album of the same name. I have it on the 2009 live album "In Concert with The Danish National Concert Orchestra and Choir" that I bought some days ago from Amazon.de as digital downloads. Interestingly enough, Amazon.com has only the CD, not the MP3 files. Oh how I marvel at the intricacy of the international music business.</p>
<p>Here's a video on <a target="_blank" href="http://www.youtube.com/watch?v=uyGTmRSFgeY">YouTube</a>. Enjoy!</p>

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.

4271 – The River Once More

I gave up on Hexo, but I kept the Markdown files.

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?

4201 – A River Runs Through It II

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.

4191 – Reflections and the River

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.