Skip to content

Instantly share code, notes, and snippets.

Created May 8, 2012 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2634523 to your computer and use it in GitHub Desktop.
Save anonymous/2634523 to your computer and use it in GitHub Desktop.
wayback xml result
create a new access point[1] on WEB-INF/wayback.xml
that will serve http://yourwayback:8080/xml/*/http://archived.site
<bean name="8080:xml" class="org.archive.wayback.webapp.AccessPoint">
<property name="serveStatic" value="true" />
<property name="bounceToReplayPrefix" value="false" />
<property name="bounceToQueryPrefix" value="false" />
<property name="replayPrefix" value="${wayback.urlprefix}" />
<property name="queryPrefix" value="${wayback.urlprefix}" />
<property name="staticPrefix" value="${wayback.urlprefix}" />
<property name="collection" ref="localbdbcollection" />
<property name="replay" ref="archivalurlreplay" />
<property name="query">
<bean class="org.archive.wayback.query.Renderer">
<property name="captureJsp" value="/WEB-INF/query/XMLCaptureResults.jsp" />
</bean>
</property>
<property name="uriConverter">
<bean class="org.archive.wayback.archivalurl.ArchivalUrlResultURIConverter">
<property name="replayURIPrefix" value="${wayback.urlprefix}"/>
</bean>
</property>
<property name="parser">
<bean class="org.archive.wayback.archivalurl.ArchivalUrlRequestParser">
<property name="maxRecords" value="10000" />
</bean>
</property>
</bean>
[1] http://archive-access.sourceforge.net/projects/wayback/access_point_naming.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment