A while back I outlined my system for preventing comment spam. One of the core fundamentals in there is that I send people an email to verify their email address before their comment is published. For this to work well, I need to trust on my email to be received. As it turns out, email …Read: "Email Reliability: use an SPF record"
Dev BlogWelcome to the dev blog, where you can find articles on subject matters such as WordPress code, a11y, Gutenberg and all other things related to programming.
So it's friday, I've been coding all day and I thought I'd share some of the cool snippets I've come across and/or developed today. I've mostly been working with Custom Post Types and Taxonomies, so let me share some of that goodness. Let's geek out in a bit, but first let me show you why …Read: "Custom Post Type Snippets to make you smile"
When you change domains, for instance using my moving WordPress to a new domain guide, you'll usually redirect your visitors with something looking like this: The only issue with this is that people might not notice that you've moved to a new domain, and thus might not update their links to you. As Matt Cutts …Read: "Change domain, and warn your visitors"
For a small project, I had to create a smart mailto link to make my life a bit easier. I wanted the mailto link to hold not only a to and the subject (I'd figured that much out) but a multi-lined body too. Turns out that is pretty darn easy to do. So, for my …Read: "The Full mailto Link Syntax"
Today, I checked an item off on my todo list that had been on there way too long: I created a print style sheet for this site. Every time I write an article that is longer than 5 paragraphs, I get emails from readers asking for a better print style sheet. Until just a few …Read: "Added a print CSS style sheet"
As regular readers of this blog might know I have written quite some tools using the different API's of search engines, and always found them quite useful. When I was implementing my sitewide search function, one of the things that bothered me that it was a bit slow. I knew that I had seen some …Read: "PHP-APC: Speed up your web applications!"
Those of you coming to this site more often might have noticed a small change in the search box. It's now implemented sitewide, and I've built a sitewide search functions using the Yahoo! API. It was quite nescessary because I found that people were searching for "sortable.zip" on the blog, and they wouldn't find anything …Read: "Implementing a sitewide search function"
I'm doing some work on a site which has like 4,500 pages indexed with a PHPSESSID in the URL, causing some major duplicate content problems. I got the server admin to disable the PHPSESSID's by adding the following to the vhost config: I also wanted Google to get a clean URL when it decided to …Read: "PHPSESSID in your URL? Learn to 301 redirect them with PHP"
Recently (I honestly don't know when), MSN launched a Digg clone in the Netherlands, called MSN reporter. You can submit your story, and others can vote for it or against it. The top stories go to the MSN.nl homepage. Now the boys at MSN haven't really thought this through, as they store what stories you've …Read: "MSN launches Dutch Digg clone, but forgets spam prevention"
I got an email from Mozilla's director of product management Sherman Dickman today, that my sortable table script wasn't sorting numbers above 1 million which have comma's in them correctly (they do have a lot of Firefox downloads 😉 ). The problem was caused by the fact that replace only replaced items once, where they …Read: "Sortable table script updated to v1.5.5"