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 [...]
Tag Archives: xml
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.
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.
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 [...]
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 [...]
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 [...]
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.
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 [...]
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.
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 [...]