-
Notifications
You must be signed in to change notification settings - Fork 297
Closed
Description
By default, OpenWayback does not enable the/xmlquery
endpoint for search requests. Nor do I think we have the process for enabling it documented anywhere.
The only way I can get this to work is by adding this to the AccessPoint
configuration in wayback.xml
:
<property name="forceCleanQueries" value="false" />
However, I'm not sure if this is necessarily correct..? Additionally, while this works, it causes a problem in Java 8:
The type java.util.Map$Entry cannot be resolved.
It looks like it relies on a deprecated class in that version of Java.
Finally, it looks like the query is ignoring startdate
and enddate
parameters; adding:
/xmlquery?type=urlquery&startdate=20140423131055
...returns the following:
<wayback>
<request>
<startdate>19910806145620</startdate>
<numreturned>13</numreturned>
<type>urlquery</type>
<enddate>20141126100700</enddate>
...
...which doesn't match the query.