Archive frjo August, 2007

A simple related content block based on terms

I recently put up a related content block on this site and here is how I did it.

There are a number of modules, at least four, for this but a simple block PHP snippet suited me best.

This PHP snippet makes sure we are viewing a node. Gets the terms for that node. Search for other nodes with the same terms and displays the five latest it can find as a node title list.

Display a more visibel "Read more" link with Drupal

Drupals “Read more” link is by default displayed together with other links like “Add new comment” at the bottom of the teaser display. Readers not used to blogs and other moderns web sites can easily miss that there is more to read.

Luckily Drupals hook_nodeapi makes its easy to add content to the node display.

My new Hi-Fi setup, Apple iTunes - AirPort Express - Musical Fidelity X-DAC V3

Apple AirPort Express with AirTunesMusical Fidelity X-DAC V3Bye bye CD player. I enjoyed listening to my Thule CD player a lot and I’m sure the new owner will enjoy it also. My new setup however sounds even better and I have all my music at a touch of a button. Lets call it progress.

I have had a Apple AirPort Express for some time. The interesting function is that it can stream music from iTunes to the stereo, something Apple calls AirTunes.

Connecting it to my amplifier via the analog line out works well but the sound is not Hi-Fi quality. To get that you need to use the optical digital out to a DAC.