PHP Linkifier

Here’s a nifty bit of code I wrote a while back (utilising a function from PHP SmartyPants) that takes a bunch of HTML, searches it for some word or phrase that you specify, and turns all occurances of it into a link, unless it’s already a link! […]

Read More…

The Tao of HTML 5 – Part II

Part of the problem with the WHATWG HTML 5 specification is that it’s primarily written by browser makers. (Hixie, its editor, is the exception, as he currently works for Google, though in the past was employed by the Mozilla Foundation and Opera.) This has steered the focus of the specification towards browser manufacturers — the […]

Read More…

Ogg Theora Support in Opera 9.5

In Hâkon Wium Lie’s latest missive on Opera Labs he details Opera’s upcoming support for the element in HTML 5. He points out that it’s not much use without at least one defacto standard web video format (much like JPEG, GIF and PNG have become for the element. A preview release of Opera 9.5 includes […]

Read More…

Re: Web Design: Would you design a PDF by writing Postscript in Notepad?

fgdg wrote: Why do we put up with web design software? Nobody makes a PDFs by writing Postscript in Notepad, but that is what designer’s working for the web are expected to do. You are comparing apples with oranges here. PostScript is1 a language for describing what pages look like. HTML is a language for […]

Read More…

On Custom DTDs

Dylan Parry wrote: Of course, but validating against a custom, non-standards controlled DTD is a complete waste of time for HTML. That would be validation for validation’s sake. If you can’t validate against a recognised doctype then there is truly no point in attempting to create your own to cover your problems Using a custom […]

Read More…