nick.recoil.org

Mephisto plugin to allow self-updating links

I’ve placed a page under code which details a little plugin I’ve been working on for Mephisto. It’s designed to make links in your templates which need to point to the latest software release always valid. It scans a directory according to a shell glob expression, and gives back a block with the file path, name and version as local variables.

The shell glob expression can be passed in via the liquid template, as per normal with mephisto plugins, or it can be passed in as a special tag attached to the page which is being rendered. This allows per-page links, rather than per-template, and gives greater flexibility.

More information is on the dynamic file link page.

Flickr photostream

Nick Ludlam posted a photo:Sitting in the Whole Foods cafe in Clapham Junction, this is the list of available WiFi networksNick Ludlam posted a photo:Ordered yesterday, arrived today. The lovely people at Square Mile Coffee are great! Not entirely sure how to prepare this coffee though..Nick Ludlam posted a photo:Calibration of the compass seems necessary, although sometimes I get the "wave in a figure 8" message, and sometimes not.Nick Ludlam posted a photo:At the top of Roche De Mio in La Plagne, 2700m up. In the distance is Mont Blanc. This pic is augmented with the "Peaks" iPhone application. It almost lines up, and was good enough to use it to identify the individual peaks.Nick Ludlam posted a photo:At the top of Roche De Mio in La Plagne, 2700m up. In the distance is Mont Blanc.Nick Ludlam posted a photo:The view of distant peaks from Plagne Centre.Nick Ludlam posted a photo:Mike's talk on Core Data in the Main HallNick Ludlam posted a photo:Mike's talk on Core Data in the Main HallNick Ludlam posted a photo:Hovering very low over Balham, like some massive sinister wasp.

Delicious links