Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query API #355

Open
mhajder opened this issue Aug 31, 2017 · 2 comments
Open

Query API #355

mhajder opened this issue Aug 31, 2017 · 2 comments

Comments

@mhajder
Copy link

mhajder commented Aug 31, 2017

http://web.archive.org/cdx/search/cdx?url=google.com&matchType=domain&output=json

Something like this to the count of all elements (number of archived pages).

@ldko
Copy link
Member

ldko commented Aug 31, 2017

Hi @rzeszow
Are you looking for the functionality seen at the URL you provided to be made available in OpenWayback? You can get something like that if you deploy the CDX Server webapp that already exists in OpenWayback. To deploy that:

  • Download and build OpenWayback
  • cp ./wayback-cdx-server-webapp/target/openwayback-cdx-server-2.4.0-SNAPSHOT.war to your Tomcat's webapps directory, renaming the WAR file cdx.war in the process (if tomcat is running, and is set to auto deploy, the CDX server web app should auto deploy).
  • edit webapps/cdx/WEB-INF/wayback-cdx-server-servlet.xml to put in your CDX file locations in the cdxUris property of the MultiCDXInputSource, and in the cdxServer bean, if you are using SURT sorted CDX files, add:
    <property name="surtMode" value="true" />

If I am misunderstanding what you are asking for with this issue, please clarify with more details. Thank you!

@mhajder
Copy link
Author

mhajder commented Aug 31, 2017

I'm looking for a ready-made feature that would work in web.archive.org.
sample
I have circled information that I would like to receive from Api's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants