Welcome to my little place on the web.

I'm a software developer by day, but occasionally when time allows, I like to tinker with home automation, home theatre and retro gaming (basically anything geeky that involves a computer).

When I get time I'll try and blog about these projects here. I have also shared some of my software, which I hope may be of use to others. It's on my software page.

Hide message

Displaying entries for #hashclear filter

We have #hashtags

Now that I have a few varied posts, I thought it’s about time I started to look at categorising these entries. My original plan was to create a new table to store the categories in the way you would expect with a normalised database. Then it occurred to me, if it’s good enough for twitter, it should be fine for my little humble site. I’ll use these new-fangled things called hash tags.

Using php regular expression, whenever there is a word with a #hash in front it, my code will wrap a hyperlink round it. Clicking this link will then return a list of posts that contain the same ... read more