Re: Amaya-like project for RSS?

On Mon, 29 Nov 2004 00:04:38 +0100, Benja Fallenstein
<b.fallenstein@gmx.de> wrote:

> > You can get a long way with Morten's feed -> RDF/XML XSLT, I used an
> > early version of that in my IdeaGraph play. It now supports Atom too.
> 
> Cool. I just tried it out on Dave Winer's RSS 2.0 feed, and it just
> worked. And when you pass RSS 1.0 through it, it apparently doesn't
> touch it at all, so any additional RDF just goes through. And it's GPL.
> Sweet.

Indeed, the Dane deserves beer.

> I think I'll use that as my starting point -- when reading a feed,
> always pass it through the XSLT before parsing it with a standard
> RDF/XML parser.

Yep, amazing how much grind a well-crafted XSLT can deal with. But
don't forget the HTTP Conditional GET stuff too - that's a grind too,
but well worth doing.

> No, no, I don't want to work on an RSS parser ;-)

Heh, understandable. 
I've not seen any reliable surveys recently, but the % of ill-formed
XML is more than negligible. I've got a SAX-like soup parser that
could act as a preprocessor if that proves a problem in practice. (The
ill-formedness can be intermittent - characters of the wrong encoding
pasted into a blog (HTML) form - I manage it a couple of times a month
myself...).

> I'm afraid I'll have to ask -- does someone know a Java library for blog
> *posting*? ;) ;)

Mr.Google should sort you there. Most blogging tools seem to support
the Blogger API and the semi-incompatible Metaweblog API and some also
use proprietary extensions (Movable Type has loads of them), all based
on XML-RPC. Remarkably ugly stuff (see [1]), but fairly
straightforward to implement. Joe Gregorio's done some nice work on
RESTful alternatives, however now all eyes are on the Atom Protocol.
I'd be interested to hear what RDF-oriented posting kit there is
around, all that springs to mind is Annotea.

Cheers,
Danny.

[1] http://www.xml.com/pub/a/2003/10/15/dive.html

-- 

http://dannyayers.com

Received on Sunday, 28 November 2004 23:29:59 UTC