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:	From the Android supplement from The Guardian on 29/08/2010. I was interviewed for a piece on the future trends in Mobile apps. www.guardian.co.uk/lg-talking-technology/the-future-of-apps			Nick Ludlam posted a photo:	My wonderful colleagues at BERG bought lots of cake for my birthday. And not just any old cake! This was from Konditor and Cook. It was delicious!We get bonus points for having to cut it with a craft knife, since it was either that or a scalpel.			Nick Ludlam posted a photo:	I've set up a custom Ruby script to scrape my balance information from the Three.co.uk website, and a custom app to receive the notifications. I've set it up to tell me my balance every day, since there is no automatic notification on Three as there is with O2.			Nick Ludlam posted a photo:	Just up the road from BRIG. Lovely coffee, and nice people serving it. The map shows you where it is!			Nick Ludlam posted a photo:	An image of an advertisement in the Sun Newspaper for Android phones sold by Carphone Warehouse here in the UK.Underneath is a section which lists 10 apps that "you need to get through the day". 8 are free, 1 is £1, and the last one did not even seem to be listed when I searched. "Where's The Train", the only non-free app, is listed as having "100 - 500 downloads"This is very typical of my experience with the Android Market. Unless your business model can support free applications, with your revenue coming from advertising, a website or service you sell, then you are unlikely to be able to recoup the time spent developing quality applications.			Nick Ludlam posted a photo:	I love their spoons. As you pull the spoon out of your mouth, you can feel the texture of the detailing on your top lip			Nick Ludlam posted a photo:	The girls pose for a quick picture before heading off to the race start line			Nick Ludlam posted a photo:	That 'Touch here if bicycle is damaged' button will be too tempting			Nick Ludlam posted a photo:	The new bike stands have just appeared on Shoreditch High St.

Delicious links