Skip to content

DavidCThames/MobileMink-WebService

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

MobileMink-WebService

Web Service to provide aggregated memento data sorted from oldest to newest for a given URI-R

Author List

  • David Thames
  • Justin Brunelle

Summary

Using the Memento API [4], we retrieve a list of Time- Maps for a URI-R (e.g., http://www.google.com/). We request each TimeMap individually, compiling the URI-Ms from the TimeMaps, sorting the mementos by memento datetime from newest to oldest, and returning the entire set of known URI-Ms in a newly aggregated TimeMap to the requesting client.

How to Run

NOTE: Built in server (startServer.bat) currently not working. Please use your own.

  • Start a web server at the root directory of the root directory by either starting your own or running 'startServer.bat' on a windows machine.
  • run the command on the terminal or command line 'curl "[WEBSERVER NAME]/index.php?url=http://[URL TO LOAD MEMENTOS FOR]&n=[# OF PAGES OF TIMEMAPS TO LOAD]"' replaceing the [...] with your information
  • curl will return a list of all the mementos for the site sorted newest to oldest from top to bottom

Log - TMInversionService.log

The webservice also provides a log for information on each request located in the root directory

It outputs in the following format for each request

[YYYY-MM-DD HH:MM:SS Timezone]
URI:
Mementos:
Time Map URIs:

Example

Command:

curl localhost/?url=http://design.google.com

Log:

[2016-01-1 20:41:10 America/New_York]
URI: http://design.google.com
Mementos: 78
Time Map URIs:
    http://mementoproxy.cs.odu.edu/aggr/timemap/link/1/http://design.google.com

Output (Translated into markdown for readability):

<http://design.google.com&gt;;rel=&quot;original" ,<http://web.archive.org/web/20160117142159/https://design.google.com/&gt;;rel=&quot;memento last"; d atetime="Sun, 17 Jan 2016 14:21:59 GMT" ,<http://web.archive.org/web/20160117121249/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sun, 17 Jan 2016 12:12:49 GMT" ,<http://web.archive.org/web/20160115102113/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 15 Jan 2016 10:21:13 GMT" ,<http://web.archive.org/web/20160115102109/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 15 Jan 2016 10:21:09 GMT" ,<http://web.archive.org/web/20160110013111/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sun, 10 Jan 2016 01:31:11 GMT" ,<http://web.archive.org/web/20160110013108/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sun, 10 Jan 2016 01:31:08 GMT" ,<http://web.archive.org/web/20160108210938/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 08 Jan 2016 21:09:38 GMT" ,<http://web.archive.org/web/20160108210911/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 08 Jan 2016 21:09:11 GMT" ,<http://web.archive.org/web/20160101030754/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 01 Jan 2016 03:07:54 GMT" ,<http://web.archive.org/web/20160101030711/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 01 Jan 2016 03:07:11 GMT" ,<http://web.archive.org/web/20151227172748/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sun, 27 Dec 2015 17:27:48 GMT" ,<http://web.archive.org/web/20151226220816/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sat, 26 Dec 2015 22:08:16 GMT" ,<http://web.archive.org/web/20151226164140/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sat, 26 Dec 2015 16:41:40 GMT" ,<http://web.archive.org/web/20151225023600/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 25 Dec 2015 02:36:00 GMT" ,<http://web.archive.org/web/20151225023557/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 25 Dec 2015 02:35:57 GMT" ,<http://web.archive.org/web/20151224175056/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Thu, 24 Dec 2015 17:50:56 GMT" ,<http://web.archive.org/web/20151218134847/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 18 Dec 2015 13:48:47 GMT" ,<http://web.archive.org/web/20151218134833/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 18 Dec 2015 13:48:33 GMT" ,<http://web.archive.org/web/20151217134002/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Thu, 17 Dec 2015 13:40:02 GMT" ,<http://web.archive.org/web/20151211230436/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 11 Dec 2015 23:04:36 GMT" ,<http://web.archive.org/web/20151211015335/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 11 Dec 2015 01:53:35 GMT" ,<http://web.archive.org/web/20151211015332/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 11 Dec 2015 01:53:32 GMT" ,<http://web.archive.org/web/20151204014146/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 04 Dec 2015 01:41:46 GMT" ,<http://web.archive.org/web/20151204014142/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 04 Dec 2015 01:41:42 GMT" ,<http://web.archive.org/web/20151127151308/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 27 Nov 2015 15:13:08 GMT" ,<http://web.archive.org/web/20151127151302/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 27 Nov 2015 15:13:02 GMT" ,<http://web.archive.org/web/20151114064400/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sat, 14 Nov 2015 06:44:00 GMT" ,<http://web.archive.org/web/20151114064356/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sat, 14 Nov 2015 06:43:56 GMT" ,<http://web.archive.org/web/20151110012539/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Tue, 10 Nov 2015 01:25:39 GMT" ,<http://web.archive.org/web/20151110012537/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Tue, 10 Nov 2015 01:25:37 GMT" ,<http://web.archive.org/web/20151030011925/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 30 Oct 2015 01:19:25 GMT" ,<http://web.archive.org/web/20151026070442/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Mon, 26 Oct 2015 07:04:42 GMT" ,<http://web.archive.org/web/20151026070440/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Mon, 26 Oct 2015 07:04:40 GMT" ,<http://web.archive.org/web/20151025051524/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sun, 25 Oct 2015 05:15:24 GMT" ,<http://web.archive.org/web/20151025051522/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sun, 25 Oct 2015 05:15:22 GMT" ,<http://web.archive.org/web/20151024034740/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sat, 24 Oct 2015 03:47:40 GMT" ,<http://web.archive.org/web/20151024034738/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sat, 24 Oct 2015 03:47:38 GMT" ,<http://web.archive.org/web/20151015210520/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Thu, 15 Oct 2015 21:05:20 GMT" ,<http://web.archive.org/web/20151015210516/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Thu, 15 Oct 2015 21:05:16 GMT" ,<http://wayback.archive-it.org/all/20151013220915/https://design.google.com/&gt;;rel=&quot;memento"; datetime="Tue, 13 Oct 2015 22:09:15 GMT" ,<http://wayback.archive-it.org/all/20151013161625/https://design.google.com/&gt;;rel=&quot;memento"; datetime="Tue, 13 Oct 2015 16:16:25 GMT" ,<http://web.archive.org/web/20151011150951/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sun, 11 Oct 2015 15:09:51 GMT" ,<http://web.archive.org/web/20150924085939/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Thu, 24 Sep 2015 08:59:39 GMT" ,<https://archive.is/20150923190738/https://design.google.com/&gt;;rel=&quot;memento"; datetime="Wed, 23 Sep 2015 19:07:38 GMT" ,<http://web.archive.org/web/20150914222557/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Mon, 14 Sep 2015 22:25:57 GMT" ,<http://web.archive.org/web/20150914222556/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Mon, 14 Sep 2015 22:25:56 GMT" ,<http://web.archive.org/web/20150913094954/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sun, 13 Sep 2015 09:49:54 GMT" ,<http://web.archive.org/web/20150913094952/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sun, 13 Sep 2015 09:49:52 GMT" ,<http://web.archive.org/web/20150908213444/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Tue, 08 Sep 2015 21:34:44 GMT" ,<http://web.archive.org/web/20150908113352/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Tue, 08 Sep 2015 11:33:52 GMT" ,<http://web.archive.org/web/20150906050455/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sun, 06 Sep 2015 05:04:55 GMT" ,<http://web.archive.org/web/20150905224855/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sat, 05 Sep 2015 22:48:55 GMT" ,<http://web.archive.org/web/20150824193130/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Mon, 24 Aug 2015 19:31:30 GMT" ,<http://web.archive.org/web/20150824193126/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Mon, 24 Aug 2015 19:31:26 GMT" ,<http://web.archive.org/web/20150824125737/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Mon, 24 Aug 2015 12:57:37 GMT" ,<http://web.archive.org/web/20150824125735/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Mon, 24 Aug 2015 12:57:35 GMT" ,<http://web.archive.org/web/20150823192230/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sun, 23 Aug 2015 19:22:30 GMT" ,<http://web.archive.org/web/20150823192228/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sun, 23 Aug 2015 19:22:28 GMT" ,<http://web.archive.org/web/20150822163126/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sat, 22 Aug 2015 16:31:26 GMT" ,<http://web.archive.org/web/20150822155119/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sat, 22 Aug 2015 15:51:19 GMT" ,<http://web.archive.org/web/20150822155115/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sat, 22 Aug 2015 15:51:15 GMT" ,<http://web.archive.org/web/20150822151907/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Sat, 22 Aug 2015 15:19:07 GMT" ,<http://web.archive.org/web/20150821022111/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 21 Aug 2015 02:21:11 GMT" ,<http://web.archive.org/web/20150821022109/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 21 Aug 2015 02:21:09 GMT" ,<http://web.archive.org/web/20150820091837/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Thu, 20 Aug 2015 09:18:37 GMT" ,<http://web.archive.org/web/20150820091830/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Thu, 20 Aug 2015 09:18:30 GMT" ,<http://web.archive.org/web/20150819112031/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Wed, 19 Aug 2015 11:20:31 GMT" ,<http://web.archive.org/web/20150818195804/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Tue, 18 Aug 2015 19:58:04 GMT" ,<http://web.archive.org/web/20150818160217/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Tue, 18 Aug 2015 16:02:17 GMT" ,<http://web.archive.org/web/20150818033829/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Tue, 18 Aug 2015 03:38:29 GMT" ,<http://web.archive.org/web/20150815184449/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Sat, 15 Aug 2015 18:44:49 GMT" ,<http://web.archive.org/web/20150814171029/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 14 Aug 2015 17:10:29 GMT" ,<http://web.archive.org/web/20150814014603/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 14 Aug 2015 01:46:03 GMT" ,<http://web.archive.org/web/20150814005059/https://design.google.com/&gt;;rel=&quot;memento"; dateti me="Fri, 14 Aug 2015 00:50:59 GMT" ,<http://web.archive.org/web/20150814005043/http://design.google.com/&gt;;rel=&quot;memento"; datetim e="Fri, 14 Aug 2015 00:50:43 GMT" ,<http://web.archive.org/web/20150813231741/http://design.google.com/&gt;;rel=&quot;memento first"; d atetime="Thu, 13 Aug 2015 23:17:41 GMT" , <http://mementoproxy.cs.odu.edu/aggr/timegate/http://design.google.com&gt;;rel=&quot;timegate" , <http://mementoproxy.cs.odu.edu/aggr/timemap/link/1/http://design.google.com&gt;;rel=&quot;self"; type="application/link-format"; from ="Thu, 13 Aug 2015 23:17:41 GMT";until="Sun, 17 Jan 2016 14:21:59 GMT"

About

Web Service to provide memento data to the Mobile Memento app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published