Name: scratchpads-cite
Owner: Natural History Museum
Description: Repository for the http://cite.scratchpads.eu/ site
Created: 2015-06-08 16:01:00.0
Updated: 2015-06-08 16:26:24.0
Pushed: 2015-09-02 12:58:52.0
Homepage: null
Size: 148
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
=
Version 0.1: Initial release
This is a simple server application that is used to generate and store snapshots of a given page, to be used for citing a page at a particular time.
The server provides:
The current implementation relies on phantomJS to generate the snapshots and exiftool to set PDF metadata.
Edit conf.php as required ;
View index page at “/” for list of held snapshots ;
Send a request to “/preview” to get a preview snapshot, and to “/generate” to generate and store a snapshot.
Parameters are:
The requests returns a json value, defining an array of file type to file URL. In preview mode the only entry in 'png' with a link to the preview file. In generate mode there are entried for the pdf file ('pdf'), as well as 'bib', 'ris' and 'xml' for the Bibtex, RIS and Endnote files respectively.
The server is build in PHP, using a very simple custom made MVC framework.