Blog

Quasi un'Utopia : tryouts first movement

It's official: I'm not going to perform the complete Moonlight Sonata this year. I'm not giving up the dream though, it will just take a little longer. The main reason for the delay is simply time, so I need to come up with a plan to make sure I have more time next year to study the entire piece. Hopefully, more on that later.

Exclude entities which have a redirect from the search api index

For a custom project, we use a taxonomy to tag nodes. Some terms have their own page, while others redirect to a node. The search on the site has one index which contains both nodes and terms, but the terms which are redirecting shouldn't show up when viewing a search results page. While it's possible to use hook_search_api_index_items_alter(), a nicer way to exclude them is by using a processor plugin so you can enable them in the UI per index. The relevant code is underneath. Adjust to your own likings - and maybe inject the service if you want to as well :)

Quasi un'Utopia : little steps

It's been little over a month now since I've started playing on the piano, reading notes, studying easy tunes and I have to say: it's big fun! Can I play the Moonlight sonata already ? Of course not, but I have still 8 and a half months to go, so no stress. As I explained in the first post, I will try and share my progress every month, so this clip is already a bit longer. And it features me, actually playing. I won't tell you the number of takes before I had one without mistakes :)

Webmention.io integration for Drupal 8

I've had my site for quite some time now, the internet archive goes way back to 2002 even! To be fair, most of the content until 2007 wasn't that interesting (not sure what makes me think it is nowadays though, but okay ... ), but it was mostly the primary source of well .. me :). Apart from that, I also use Twitter, but I want to turn this around and let my site be the primary source.