A single-page browser application for exploring citable resources, written in Scala.js.
See release notes.
CITE Application, by default, downloads a sample corpus of texts. Licensing and attribution for those texts is available in the downloads directory.
CITE Application is a single web page you can open in a browser. Precompiled versions are available in the downloads directory, and named cite-VERSION.html
.
N.b. In the downloads
directory there is a js
directory that CiteApp uses for providing zooming views of binary images, using OpenSeadragon.
Images not working? You probably need to deal with browser restrictions. See the Wiki page on this topic.
CITE Application is targetted for Scala 2.12.You can use normal sbt
using normal tasks for ScalaJS projects such as sbt fastOptJS
or sbt fullOptJS
.
If sbt fastOptJS
completes successfully, run the app by opening CITE-App/target/scala-2.12/classes/index-dev.html
in your browser.
If sbt fullOptJS
completes successfully, run the app by opening CITE-App/target/scala-2.12/classes/index-opt.html
in your browser.
In addition, the project defines a custom spa
task that builds a single-page application named cite-VERSION.html
(where VERSION
is the current version defined in build.sbt
), in the downloads
directory.
If sbt fastOptJS
completes successfully, run the app by opening CITE-App/target/scala-2.12/classes/index-dev.html
in your browser.
If sbt fullOptJS
completes successfully, run the app by opening CITE-App/target/scala-2.12/classes/index-opt.html
in your browser.
Documentation for configuring collections of images for CiteApp is underway at https://github.com/cite-architecture/CITE-image-configurations.
The downloads/image_archive
directory contains a one-image sample setup showing how to implement URN-aware DeepZoom images.
Running CiteApp locally, and attempting to access images, can run afoul of the Cross-Origin-Restrictions (CORS). It may be possible to tell your browser to ignore that security precaution. Or, a safer alternative, is to serve CiteApp locally. If Python is installed, navigate to the directory that contains cite-VERSION.html
, and execute:
python -m SimpleHTTPServer
CITEApplication, © 2017, 2018, 2019: Neel Smith and Christopher Blackwell. Available for use, modification, and distribution under the terms of the GPL 3.0 license. Based on the CITE and CTS protocols, by Neel Smith and Christopher Blackwell.