Changes between Version 23 and Version 24 of DynamicDatasources


Ignore:
Timestamp:
09/21/06 00:17:58 (15 years ago)
Author:
nadeem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DynamicDatasources

    v23 v24  
    2626 * 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. 
    2727 * 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:  
    2929{{{ 
    3030RDFContainer config=source.getConfiguration();