Changes between Version 9 and Version 10 of DynamicDatasources


Ignore:
Timestamp:
04/12/06 16:53:33 (19 years ago)
Author:
grimnes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DynamicDatasources

    v9 v10  
    4545 You are of course free to make up any config properties you want, but then the ConfigurationUtil class might not help you.  
    4646 * 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:  
    4848{{{  
    4949Logger log=Logger.getLogger(RSSCrawler.class.getName()); 
    5050}}} 
    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.