conifer icon indicating copy to clipboard operation
conifer copied to clipboard

Memento dynamics using webrecorder.io

Open machawk1 opened this issue 6 years ago • 0 comments

I am attempting to get a Memento TimeMap for a public collection I have created at webrecorder.io. After recording the page using the web interface at webrecorder.io, I view the capture at:

https://webrecorder.io/machawk1/collectioname/14digitdatetime/https://uri.r.com/example.html

curling this URI-M (identifier for the capture in Memento parlance) provides no Link or Memento-Datetime header.

@N0taN3rd advised me that using the URI of the iframe in the interface might remedy this, so I curled:

https://content.webrecorder.io/machawk1/collectioname/14digitdatetimemp_/https://uri.r.com/example.html

...and the two missing headers are now present. Within the Link header, the TimeMap is listed as being accessible at:

https://content.webrecorder.io/machawk1/collectioname/timemap/link/https://uri.r.com/example.html

I curl this and get an HTTP 303, a 0 length entity body (and reported content length) and a HTTP location response header of:

https://webrecorder.io/machawk1/collectioname/timemap/link/https://uri.r.com/example.html

curling this URI gives me an HTTP 404, content-type of text/html and some HTML not indicative of a TimeMap (instead a web page stating "There's been an error").

machawk1 avatar Jan 25 '19 15:01 machawk1