W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 2004

Re: Amaya-like project for RSS?

From: Danny Ayers <danny.ayers@gmail.com>
Date: Mon, 29 Nov 2004 00:29:58 +0100
Message-ID: <1f2ed5cd041128152915c4433d@mail.gmail.com>
To: Benja Fallenstein <b.fallenstein@gmx.de>
Cc: www-rdf-interest@w3.org

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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:57 UTC