From: <bra...@us...> - 2008-04-16 00:37:41
|
Revision: 2243 http://archive-access.svn.sourceforge.net/archive-access/?rev=2243&view=rev Author: bradtofel Date: 2008-04-15 17:37:46 -0700 (Tue, 15 Apr 2008) Log Message: ----------- TWEAK: Added oracle exclusion example, added NutchWAX example. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/wayback.xml Modified: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/wayback.xml =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/wayback.xml 2008-04-16 00:36:51 UTC (rev 2242) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/wayback.xml 2008-04-16 00:37:46 UTC (rev 2243) @@ -67,7 +67,19 @@ <property name="webCache" ref="livewebcache" /> </bean> --> +<!-- + The following bean is an example using the Access Control Oracle, thanks Alex Osborne. + Currently this is pretty undocumented, but here is a place to get started: + http://webteam.archive.org/confluence/display/wayback/Exclusions+API +--> +<!-- + <bean id="excluder-factory-oracle" class="org.archive.wayback.accesscontrol.oracleclient.OracleExclusionFilterFactory"> + <property name="oracleUrl" value="http://192.168.1.11:8080/oracle-0.0.1-SNAPSHOT/" /> + <property name="accessGroup" value="ia_archiver" /> + </bean> +--> + <bean id="localbdbcollection" class="org.archive.wayback.webapp.WaybackCollection"> <property name="resourceStore"> @@ -164,10 +176,37 @@ <property name="searchUrlBase" value="http://indexhost:8080/index/xmlquery" /> </bean> </property> + + </bean> --> <!-- + The following WaybackCollection bean template is an example for using a NutchWAX + full-text index with Wayback, using a RemoteResourceStore to access + replayed documents. You will need to change searchUrlBase to your local NutchWAX + installation. You may also need to ensure that the maxRecords on your RequestParser is + not greater than the maxRecords configured on the RemoteNutchResourceIndex. +--> +<!-- + <bean id="remotenutchcollection" class="org.archive.wayback.webapp.WaybackCollection"> + + <property name="resourceStore"> + <bean class="org.archive.wayback.resourcestore.Http11ResourceStore"> + <property name="urlPrefix" value="http://localhost:8080/arcproxy/" /> + </bean> + </property> + + <property name="resourceIndex"> + <bean class="org.archive.wayback.resourceindex.NutchResourceIndex" init-method="init"> + <property name="searchUrlBase" value="http://webteam-ws.us.archive.org:8080/katrina/opensearch" /> + <property name="maxRecords" value="100" /> + </bean> + </property> + </bean> +--> + +<!-- This is the only AccessPoint defined by default within this wayback.xml Spring configuration file, providing an ArchivalURL Replay UI to the "localbdbcollection" by providing ArchivalURL-specific implementations This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |