Simon Laws wrote:
Ok, sounds good. I started to look at ROME but go distracted by something
else and I haven't looked at Abdera. So if you have a binding on the way
that would be really good. Am back looking at bringing up the aggregator
sample so I'll leave the implementation of the feed readers a little
hazy in
anticipation of using your stuff.
Thanks
Simon
Simon,
Under revision r543070 I have committed a strawman implementation of a
Feed binding that uses Rome to handle both Atom and RSS feeds.
The binding code is there:
http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/sebastien/java/sca/modules/binding-feed/
There's a sample there:
http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/sebastien/java/sca/samples/feed-aggregator/
The sample shows how to implement a simple SCA component that gets Atom
and RSS feeds using the Feed binding, and aggregates them into a new
feed, available in both RSS and Atom forms. Both the binding and sample
are very simple, there's not much code at all, but I think it'll help
build the bigger AlertAggregator sample.
To try it out, run the feed.SampleServer class in
samples/feed-aggregator, it'll start the FeedAggregator SCA composite
with an embedded Tomcat and will display the URLs that you can browse to
get the aggregated feeds.
Let me know if you find it useful, any suggestions to improve it are
welcome. If people review it and find it useful I'd like to contribute
it to trunk in the next few days.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]