Jean-Sebastien Delfino wrote:
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.
I'd like to move this binding plus the small feed-aggregator sample
component to the trunk.
It would be great if some people could take a look and have any
suggestions to improve it or any ideas for components that could
leverage it, in addition to the aggregator component.
If there's no objection, I'm planning to add a few test cases to it and
move it over sometime this weekend.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]