NaturalHistoryMuseum/scratchpads-cite

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

=

= cite.scratchpads.eu

  1. Changelog

Version 0.1: Initial release

  1. Overview

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.

  1. Usage

    3.1 General
  2. Edit conf.php as required ;

  3. View index page at “/” for list of held snapshots ;

    3.2 Create snapshot

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.

  1. Development

The server is build in PHP, using a very simple custom made MVC framework.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.