Facebook Location Spam

If you check in at a location on Facebook or enter the location for a photo, there is a chance that you will end up linking to spam. The main reason for this is that Facebook is crap and the people who make Facebook are idiots, but I say this in anger after hacking spam … Read More

Design pattern: event calendar (focussing on WordPress)

Event calendars tell users about interesting events that are about to happen. They can also help create an impression of how busy the near future will be. Furthermore, calendars may double as a navigation or filter tool. Events as blog posts in WordPress I’ve helped build a number of event calendars for websites in the … Read More

Making complex PHP arrays viewable

When you want to study the contents of PHP arrays, for example when you ask the API of your favourite PHP CMS a question and it returns an array in which the answer is somehow hidden, you can use PHP functions like print_r and var_dump to display the array in a way that makes it … Read More