Changes between Version 9 and Version 10 of DynamicDatasources
- Timestamp:
- 04/12/06 16:53:33 (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DynamicDatasources
v9 v10 45 45 You are of course free to make up any config properties you want, but then the ConfigurationUtil class might not help you. 46 46 * Implementing the crawlObjects method is clearly quite datasource dependent, in my case I add the rome jar and jdom, and copy some example for how to read a feed. Some other hints: 47 ** Gnowsis uses java.util.logging for logging, so to get useful debugging message add this the top of your file:47 * Gnowsis uses java.util.logging for logging, so to get useful debugging message add this the top of your file: 48 48 {{{ 49 49 Logger log=Logger.getLogger(RSSCrawler.class.getName()); 50 50 }}} 51 ** The return value of crawlObjects is taken from ExitCode, it has predefined values for you. 51 * The return value of crawlObjects is taken from ExitCode, it has predefined values for you. 52 * The CrawlerBase does many things for you, for example it provides a dataAccess object, which you use to check if things are new. 53 * For each item you crawl, call handler.objectNew, objectNotModified or objectChanged.