Changes between Version 4 and Version 5 of DynamicDatasources


Ignore:
Timestamp:
04/12/06 15:59:57 (18 years ago)
Author:
grimnes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DynamicDatasources

    v4 v5  
    2424Note that blank lines are not allowed.  
    2525 
     26 
     27!A quick guide to creating your own aperture datasource (in eclipse):  
     28 
     29Here I will step through all the steps required to create a new aperture datasource and how to package it so that it can be used with gnowsis. I will create a datasource that wraps an RSS/Atom feed, and I will base it on [https://rome.dev.java.net/ rome]. 
     30 
     31 * Create a new Eclipse project, copy the main aperture jar (mine is aperture-2006.1-alpha-2.jar) and the 3 sesame jars into the project and add them to the build-path.  
     32 * Create a new class that implements CrawlerFactory, tell Eclipse to add all unimplemented methods. 
     33 * Create a new class that implements DataSourceFactory, add unimplemented methods.  
     34 * Create a new class that extends DataSourceBase - create a public static URI called TYPE, and return this in the getType(). 
     35{{{ 
     36public static URI TYPE=new URIImpl("http://example.org/RSSDataSource"); 
     37}}} 
     38 * Create a new