Weblog - page 3

Posts

  • BristolCon 2012

    A few days have passed since this year’s BristolCon and I thought I’d best get something down. I’m on the con committee, albeit in a fairly minor role, so I spent much of the day dashing about helping keep things ticking over. I like this; I think it’s a good way to see a small, friendly con like ours. So here’s my very personal and unofficial write-up - just some things that have stuck in my befuddled mind.

  • Flickrtweeter: automatically tweet your flickr pics

    A few weeks ago I decided to roll my own script to automatically twitter an update if I posted a photo onto my flickr pages with a certain tag. I know that there are third party services out there that can do this for you (e.g. Snaptweet, Twittergram) but I thought it’d be an interesting project to do it myself. As well as (obviously) requiring flickr and twitter accounts, it also requires a bit.ly account and API key as it uses this service to produce a shortened URL for the photo to include in the tweet.

  • Basic version control with wikieditish

    At the St Werburghs Community Centre, we use Blosxom to power our website. As the other staff needed to be able to update and add content quickly and with the minimum of fuss, I combined the wikieditish plugin with TinyMCE and a couple of other scripts to create a simple rich-text web interface to the site.

  • Blosxom and application/xhtml+xml

    Since this website is written to the XHTML 1.0 Strict Doctype, I thought it would be nice to serve it with the correct MIME type to conforming user-agents. I remembered hearing about a plugin called xhtml that would do this, but after a cursory search came up with nothing I decided that I’d just write my own.

  • Auto escaping HTML in RSS with blosxom

    Out of the box, blosxom comes with simple HTML and RSS formats built in. In order to get the RSS 0.91 feed set-up correctly, blosxom escapes HTML tags during the story generation phase where is finds an XML content-type (specifically: $content_type =~ m{\Wxml$}).