Syndication Roundup

Update: title change.
Blogger does Atom, Trifecta Complete
Blogger announced support for Atom: both the format and the API.
It’s easy to turn on Atom feeds from the Blogger control panel.
So the big three of the Weblog space: Blogger, Live Journal, and Moveable Type are all supporting the format.
Feed Validator Moves to Source Forge
Same great project, now with [...]

Live Journal Friends Feed in Atom 0.3

Update: note that:

The custom style below no longer works for LJ’s other than mine.
Atom 0.3 has been deprecated.
I do not plan to fix the bug.

Thanks to Kim Slawson for letting me know about the custom style bug.

I’ve wasted a sunny afternoon working on a Atom 0.3 friends feed from Live Journal:
http://www.livejournal.com/customview.cgi?user=[username]&styleid=379504
This is not the same [...]

Librarian Tees: Metadata

[ via Dorothea ] I must have this t-shirt!
Alas, I can’t. They stopped taking orders.

Atom Roundup

Several Atom (Syndication Format) links to note:

Sam Ruby’s slides for XML 2003
The 0.3 Syntax Draft
The 0.9 API Draft
Mark Pilgrim’s explication of the 0.3 syntax draft.
Mark also wrote a Movable Type template for the new syntax.

Update: my Atom feed now validates as 0.3.

Paul Ford redoes Harpers.org

Paul Ford, polymath at large, has redone the Harpers Magazine website using his XSLT framework.
He’s built the site out of a collection of articles, and smaller bits of content, all wired together with a ontology/glossary mechanism he calls “Connections”.
So you go to the Harpers’ Index, see a mention of Enron, and follow it to a [...]

Link Dump: Web Tech

Keeping Navigation Current with PHP
PHP is not the key to this, it’s CSS. I’m using the same trick with XSLT generating static pages.
Multi-ISBN Library Lookup
Jon Udell’s tool extended to support multiple versions of a title.
Scripting OS X
Introduction to shell, Perl, and Apple Script from the terminal
Entry Replacement JavaScript
Gazingus is back!

Using XInclude in Feeds

It was great to read Ken MacLeod’s note on “Is a feed the right place for your data?” as it confirmed some things I’ve been experimenting with at work.
Rather than using an html:link reference from a feed to a content piece, I use xinclude, so you get, in Atom:
<entry xmlns=”…”>

<content type=”text/xhtml”>

[...]

Dynamically Creating PDFs in a Web Application

Using the iText library from a servlet to deliver PDF files.

Cocoon’s Competitors

From the Cocoon Wiki, a list of open source and proprietary projects similar to Apache Cocoon.
From that list, mod_murka looks neat. It looks for a cached HTML version of the request URI, and if it’s not found, looks for the .xml file, transforms it using whatever stylesheet’s mentioned in the file’s processing instruction, and caches [...]

A RSS Primer for Publishers and Content Providers

[ via Lockergnome's RSS Resources ] The Edinburgh Electronic Virtual Library wrote a guide to RSS for publishers. It covers why’d you want to provide RSS, what makes a good source for an RSS feed, and how to build one. However, the example of making a feed doesn’t cover escaping the content.

A CMS with WebDAV and Cocoon

Guido Casper wrote a how-to for the Cocoon Wiki on creating a Content Management System using Coocon and WebDAV: no additional Java needed. It’s just configuration.

Supporting the Desperate RSS Hacker

Continuing with making it easier for “Big Pubs” to create RSS feeds. I’m assuming that they have a publishing system, but it wasn’t built with RSS in mind, but they want on the bandwagon.
As a start, rather than retrofitting their existing publishing system, they can scrape their HTML. All they need are curl or wget, [...]

Why Produce a Valid Feed?

Continuing the discussion on feed validity, and punishing users for the mistakes of producers, Brent Simmons writes:
The single most common cause of non-well-formedness that I see is unencoded ampersands. They appear in a feed as & rather than as &amp;. This is most often in <title>s.
In my experience this most often afflicts larger publications, not [...]

TEI Markup and Style Sheet Example

From the XML for Libraries list: a sample document and XSLT style sheets for writing and rendering academic articles using the TEI’s XML scheme.

Atom 0.2 snapshot

For future reference: the Atom 0.2 snapshot. It removes a few annoying redundancies from the feed.