21 lines
1.1 KiB
Text
21 lines
1.1 KiB
Text
-----
|
|
Sample programs included
|
|
-----
|
|
mkurz
|
|
-----
|
|
2011-08-15 17:38:21.664
|
|
-----
|
|
|
|
Sample programs included
|
|
|
|
There are two sample programs included with Rome Fetcher.
|
|
|
|
{{{https://github.com/rometools/rome-fetcher/blob/master/src/java/org/rometools/fetcher/samples/FeedReader.java}FeedReader}}
|
|
is a program which demonstrates the use of the Fetcher to retrieve a feed and then to use the conditional get support to retrieve
|
|
it again only if it has changed. It also shows how to use the event API in the Fetcher. It can be run using the <<<maven run\-read>>> target.
|
|
|
|
{{{https://github.com/rometools/rome-fetcher/blob/master/src/java/org/rometools/fetcher/samples/FeedAggregator.java}FeedAggregator}}
|
|
is a program which aggregates a number of feeds together into a single feed. It can be run using the <<<maven run\-aggr>>> target.
|
|
|
|
(Note that in verision 0.3 the Maven build does not include Xerces in the classpath \- which is required to use Rome. This is
|
|
{{{https://rome.dev.java.net/source/browse/rome/subprojects/fetcher/project.xml?r1\=1.1&r2\=1.2}easy to fix}}.)
|