WP Tempus Dominus Auto

Usually when I blog about programming, it’s Perl stuff, but here’s something that’s mostly Javascript (with a little PHP to act as a shim for WordPress). It’s a script to use Tempus Dominus as a date/time picker for HTML 5 date and time form inputs on Bootstrap/jQuery-based sites. It lets you do stuff like this: … Continued

Web Scraping with Zydeco

So I like to keep local copies of my blogs.perl.org blog posts as Atom entries, but noticed yesterday that I had a few gaps in my collection. The Atom feeds offered by blogs.perl.org only have the most recent articles though,…

Pod to HTML

OK, so there were already a thousand solutions for converting pod to HTML, but I wasn’t especially happy with any of them. Things I wanted were: Clean-looking XHTML and/or HTML5 output. Unicode support. ☻ Good syntax highlighting for Perl…

Processing schema.org markup with Perl

Someone on IRC asked me for an example of how to parse schema.org markup using my "HTML::HTML5::Microdata::Parser":https://metacpan.org/module/HTML::HTML5::Microdata::Parser module. So here one is. It pulls the microdata from the page, and queries it using SPARQL.

Extending hCard with RDFa

hCard is an HTML-based format for describing contacts (people, organisations, etc) on web pages. It allows you to mark up which elements represent their name, their address, their birthday and so forth. Here’s an example: Toby Inkster Birthday: 1980-06-01. While hCard offers many useful properties that can be used to describe contacts, some are considered … Continued

The Semantic Web

One of my current interests is the semantic web — that is, the push to move from publishing text on the Web to publishing structured data, which can actually be understood by computers (in so far as a computer can truly “understand” anything). By publishing information so that computers can understand it, you make the … Continued

The Great IE8 Meta Tag Climb Down

Yeah, so I know I’m about a week late in mentioning this (I’ve been busy — let’s hope nobody is using this blog as their primary source of news), but the Microsoft Internet Explorer team have backed down on their ridiculous META tag idea. Read about it on IEblog.

The Great IE8 Meta Tag Debacle

So Microsoft, in conjunction with some of the folk at WaSP, has announced its intention to include the quirks mode that beats all quirks modes in the forthcoming Internet Explorer 8 in an article on A List Apart: Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8. This has proved to be quite a controversial idea. … Continued

CSS to HTML Compiler

I’ve searched around the ‘Net for something like this before, but without success, so decided to write my own. The basic idea is this: there are certain circumstances in which you need to write some styled HTML without access to the document’s header. For example, when composing HTML-formatted e-mails, which may be displayed in a … Continued

Open Mobile Alliance DTD Oops!

The Open Mobile Alliance, who are responsible for co-ordinating the web-browsing efforts of mobile phones, seem to have misplaced xhtml-mobile12-model-1.mod. This file is a key part of the DTD for the latest version of their XHTML Mobile Profile standard, which defines how authors should construct web pages intended for the consumption of mobile phones. Now … Continued