Safari Guide 1.2: Greasemonkey for Safari

Todd Ditchendorf released a new version of his Safari Guide app last Friday. It already let you execute XPath and XQuery on the contents of the frontmost Safari window. Now it lets you execute JavaScript user scripts against the front window. It’s Greasemonkey for Safari!
Meanwhile if you’re anxious to try out XQuery, Michael Kay, the [...]

Oh the joy of Unicode…

A test post while I figure out why this is going out with a byte-order-mark.
Ah, I had forgotten to set the new class file’s encoding to ‘no-BOM’.

The State of Play in XML Editing

From the XML-DOC list:
That said, I do think most XML editing tools are pretty awful (and if you don’t spend the time to make them useful for your content model, they are even more awful - but that’s a problem for the implementer) - they just about work when you’re editing existing content but almost [...]

DocBook Tiny: Five elements, in your pocket

In time for NaNoWrMo, how about a five element DocBook nano?

A RESTful Web service, an example

Recasting del.icio.us as a REST-ful web service.

IE Conditional Comments in XSLT 1.0

How to generate conditional comments for IE using XSLT.

hAtom: or one less output format

David James has been working out a microformat version of Atom.
Why?
In Mark Pilgrim’s world of the future, where your web browser does more than just display HTML documents, it means that when you want to add a site to your aggregator, your aggregator wouldn’t look for an Atom feed. Instead it’d parse the site using [...]

REX: REST-Enabled XHTML

Ernie Prabhakar gave a talk yesterday on what he now calls REX: REST-Enabled XHTML. This grew out his work with the microformats gang. Briefly:

Your back end provides key/value pairs like vcard or icalendar.
Your web view of the data is the corresponding format such as hcard or hcalendar.
The the web application provides a REST-style interface to [...]

4 Layers of Separation

Ryan Campbell’s Four Layer Model of web development.

Atom (0.3) to HTML

Two transforms for getting from Atom 0.3 to (x)HTML.

Rich Manalang
Aristotle Pagaltzis

A little tweaking and they’d be ready for Atom 1.0.

Old Formats Die Hard

I restored a RSS 2.0 feed for More Like This using Feed Burner.
There are plenty of people pointing at my old RSS feed.
But the feed had been replaced with a script that was supposed to tell you that the feed was gone and to switch to the Atom feed. However, I also sent a 410 [...]

Safari Guide

[ via Elliotte Rusty Harold ] Safari Guide: evaluate XPath and XQuery expressions against the current page in Safari.

Mozilla XPath Documentation

[ via Jon Udell ] Mozilla supports DOM 3 and DOM 3 means XPath via JavaScript!

hReview clarified

Yesterday at Webzine, Ryan King clarified something that was bugging me about the hReview microformat.
In the examples, the editorial content, or description, of the review was inside a blockquote element, which didn’t make sense to me since as a reviewer, you’re not quoting yourself.
Ryan explained that any tool consuming hReview will be looking for the [...]

XML Nanny

[ via Daring Fireball ] Todd Ditchendorf’s XML Nanny checks an XML or XHTML document for well-formedness* and validity.

Yeah, I know I shouldn’t send a text/html content type header, and Sam Ruby has some nice stuff for sending the right header on a user agent basis, but hey, I’m going to let it pass.
*Well-formedness is [...]