Tag Archives: xml

Representation, Again

I mean, XML is better if you have more text and fewer tags. And JSON is better if you have more tags and less text. Argh! I mean, come on, it’s that easy. But you know, there’s a big debate about it. [Steve Yegge, via Simon Wilison] I’ve been asking that question in interviews, and [...]

That URI you keep using…

The World Wide Web consortium would appreciate it if our tools, such as libxml2, would stop hitting their servers every time we parse (X)HTML. As I’ve mentioned previously, XML Catalogs matter.

Leopard Feeds Yay!

A happy discovery this morning in Safari 3: Click on the poorly named ‘RSS’ button in the address bar and get a list of all the feeds available at the current URL. Torley, we need to talk about upgrading you to WordPress 2.3.

At least it didn’t involve a codpiece

Paul Ford: You know how the Iraq War solved 9/11? That’s how RSS 2.0 solved syndication.

Liveblogging Typhoon Fitow

Typhoon Fitow makes landfall soon, the eye coming ashore to the west of Tokyo. Cynthia and I have tickets for the Nozomi Shinkansen to Hiroshima tomorrow morning at 7. The typhoon’s track cuts across the main bullet train route, so our trip may be delayed. Right now we have heavy rain and wind, and many [...]

DuCharme’s XLink Example

Tim, wrt your essay on linking, see Bob DuCharme’s XLink example from 2003, most browsers now support this, and you could forgo the XSLT piece if someone wanted to make it a pure JavaScript/DOM solution.

No, really, catalogs matter.

Back in 2004, I wrote up my harsh lesson in using a validating parser and why you should use an XML Catalog in your systems. Last week, Netscape temporarily removed the DTD for RSS 0.91 from their site, and things promptly went south. In response to that mess, Henri Sivonen points out that if you’re [...]


Tim Bray has the right take on the JSON/XML kerfluffle.

The Monkey’s Already Gone to the Airport

Todd Ditchendorf, commenting on the rising popularity of JSON: But here’s hoping no one takes JSON seriously as a general-purpose data interchange format. We already have one of those. And it’s better. And it has TONS of great tools and ubiquitous platform support built around it. Too late. According to Mark Nottingham, Robert Cerny’s proposed [...]

Atom 1.0 Plugin for WordPress

Ben Smedberg updated his Atom 1.0 syndication plugin for WordPress. Drop this into your plugins folder, and it will hook in and return Atom 1.0 feeds as the default. Version 0.6 fixes a problem with displaying feeds in Safari.

Everyday is Christmas

Now that’s validation. And if you’re on MacOS X and haven’t checked out Todd’s XML tools, do so.

Atom Bank Shot

I installed the experimental Atom Publishing Protocol Server in in my local WordPress test install. Posted a entry using curl to talk to WordPress. Used hAtom2Atom.xsl to grab the embedded hAtom from the Sandbox themed blog. Read the posted entry in NetNewsWire. Round trip.

Atom Publishing Protocol for WordPress

My webhost doesn’t run PHP 5 so I can’t experiment with Elias Torres’ APP client for WordPress here. I was able to post to a test install of WordPress on my PowerBook running PHP 5. ETA: there’s an updated version that runs on PHP 4.4.x. ETA 2: And it works, too. I just tried it [...]

Some Syndication Links

Niall Kennedy shows how Digg could rewrite their feeds in Atom instead of RSS + custom namespaces, so that systems that consume the feed don’t have to be aware of Digg’s extensions. Support for displaying and routing feeds in Firefox 2.0. M. David Peterson’s misadventures with automatic feed handling in IE and Safari.

On Patching WordPress with Atom 1.0

Niklas Lindblad, in the comments to the post on hAtom, wrote to remind me that James Snell has a drop-in replacement for wp-atom.php that will upgrade your WordPress blog’s Atom feed to 1.0. In order to use that with PHP 4, apply Niklas’ patch. Finally, if you don’t want to syndicate your feed’s content as [...]