Changes between Version 23 and Version 24 of DynamicDatasources
- Timestamp:
- 09/21/06 00:17:58 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DynamicDatasources
v23 v24 26 26 * Create a new class that extends CrawlerBase, and add a constructor that takes a DataSource, and calls super(); and setDataSource with the argument. Use this constructor to return a new crawler instance in your crawlerFactory class. 27 27 * Now the crawlerFactory, DataSource and DataSource factory classes are all finished - only the meat remains, implementing the crawlObjects method. 28 * First you have to decide what configuration options your datasource will take. Have a look at [http://aperture.sourceforge.net/ontology/source.rdfs the aperture datasource schema] for a selection. In my case I will use source: rootURI to specify what RSS feed to crawl. Use the aperture utility method to get this:28 * First you have to decide what configuration options your datasource will take. Have a look at [http://aperture.sourceforge.net/ontology/source.rdfs the aperture datasource schema] for a selection. In my case I will use source: rootURI to specify what RSS feed to crawl. Use the aperture utility method to get this: 29 29 {{{ 30 30 RDFContainer config=source.getConfiguration();