Source code for sheet music archive

I have used the Sheet music archive as an opportunity to learn a little about coding WordPress plugins. I think the code is good enough now to show to the world. 🙂 So, take a look on https://github.com/svenax/wp-plugin-sheetmusic/ if you are interested.

The plugin itself is pretty simple. I have also started on some general WordPress support classes that may come in handy if I decide to code more plugins. We’ll see … Continue reading

Multi-target publishing with Markdown

I have for a long time been a fan of writing everything as plain text. This started with me using LaTeX, which I still do when I want a perfectly formatted result. However, the last few years I have taken to using some of the many Markdown variants available. This has several advantages: First and foremost, the source is perfectly readable as-is, which makes it ideal for readme files and the like. And you can generate multiple output formats, depending of course on what markdown variant you use.

I initially started using Asciidoc, which is really good, and can generate output in HTML, PDF, ODF, and several different slideshow formats. However, it is not based on standard Markdown, but uses it’s own slightly different syntax. This is annoying if you sometimes also need to use normal Markdown. Recently I have switched to Pandoc, which is based on MultiMarkdown syntax with some extensions. It can generate oodles of different output formats, several of them text based, which for instance makes it easy to write MediaWiki pages. I always have problems remembering MediaWiki’s fiddly syntax, and having to write things like '''''bla''''' just makes me cringe. Continue reading

What am I doing to this site?

After having killed my site with a bad Drupal update more than a month ago, I decided to create a new site from the ground up using Ruby on Rails. This had been my intention for quite some time and was actually one reason why I switched web host to Site 5 (which I hightly recommend). I got quite far with programming the new site. But then I side stepped and started playing more and more with Play Framework and Scala. That is some awsome technology! But it is JVM based, so it can not (easily) be hosted by my web host. I will play (!) around more with Play Framework and Scala in the near future and host my stuff on Heroku for the time being. Watch this spot for more news.