Thought you might like to know, I've done a first cut of a general content
negotiation plugin for atombeat, borrowing heavily from your html plugin
and Ian's transform plugin. It supports HTML and JSON out of the box and
can be extended for other media types using either XSLT or XQuery functions
to perform the transformation from atom. There's still a couple of issues to
iron out, but it's mostly there, there's a bit more info in the release notes
for 0.2-alpha-5 [1]. If you're feeling really geeky, the test case is at [2] :)
Kudos to you and Ian for doing the early work on this, it's going to be
very useful in the malariagen data repository project (people will be able
to actually see something in the browser!).
Cheers,
Alistair
[1] http://code.google.com/p/atombeat/wiki/ReleaseNotes#-_configurable_conneg_plugin
[2] http://code.google.com/p/atombeat/source/browse/trunk/parent/atombeat-integration-tests/src/test/java/org/atombeat/it/plugin/conneg/TestConnegPlugin.java
--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health <http://cggh.org>
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Web: http://purl.org/net/aliman
Email: alim...@gmail.com
Tel: +44 (0)1865 287669
This looks really nice!
The transform to json will enable a whole new class of applications.
I think there may be a use case within HTML where the Entry links
within a feed are rendered as HTML anchors but lead to a standard Atom
XML Entry.
To make this more concrete I am thinking of the Firefox feed viewer,
which is not fully featured, but would allow one to navigate a feed
through to XML entries.
cheers
Tim
--
Tim Pizey - http://pizey.net/~timp
Centre for Genomics and Global Health - http://cggh.org