GithubHelp home page GithubHelp logo

buda-iiif-presentation's Introduction

Vagrant scripts for BUDA platform instanciation

The base platform is built using Vagrant and VirtualBox:

  1. Install Vagrant and VirtualBox.
  2. Download or git clone this repository.
  3. cd into the unzipped directory or git clone
  4. install VirtualBox guest additions with vagrant plugin install vagrant-vbguest
  5. run vagrant up to summon a local instance

Or for an AWS EC2 instance:

  1. install the vbguest plugin: vagrant plugin install vagrant-vbguest
  2. and run the command: vagrant up or rename Vagrantfile.aws to Vagrantfile and run vagrant up --provider=aws

This will grind awhile installing all the dependencies of the BUDA platform.

Once the initial install has completed the command: vagrant ssh will connect to the instance where development, customization of the environment and so on can be performed as for any headless server.

Similarly, the jena-fuseki server will be listening on:

http://localhost:13180/fuseki

Lds-pdi application is accessible at :

http://localhost:13280/

(see https://github.com/buda-base/lds-pdi/blob/master/README.md for details about using this rest services)

The command: vagrant halt will shut the instance down. After halting (or suspending the instance) a further: vagrant up will simply boot the instance without further downloads, and vagrant destroy will completely remove the instance.

If running an AWS instance, after provisioning access the instance via ssh -p 15345 and delete Port 22 from /etc/ssh/sshd_config and sudo systemctl restart sshd. This will further secure the instance from attacks on port 22.

buda-iiif-presentation's People

Contributors

eroux avatar marcagate avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

buda-iiif-presentation's Issues

outline of a volume in a manifest

No iiif viewer currently handles collections of collections, which is what would be needed for our outlines to be displayed in the viewer directly for a whole work. In the meantime, I think it would be good to have a per-volume outline in each manifest, by having different ranges. This seems to be something iiif viewers can display and it would make a nice improvement.

Technically, I think it's best to have these "outlined manifests" in another "namespace" (I'm talking about the first part of the identifier, like i:, etc.), and there should be a few manual tests beforehand to make sure iiif viewers are able to display that.

performance issues with per-volume outline generation

The SPARQL request to get the outline for a volume is too slow, we need to find other ways to create it. Knowing that an outline for a volume is most often asked with the outline of the other volumes, it would probably be a good idea to fetch the outline for an entire work and then select the nodes relevant to the volume programmatically.

handle auth for fairuse works

when requesting a manifest for a fair use work, the auth token should be read and if the user doesn't have access to the full book, the manifest should be adjusted accordingly

Wrong url for zip rendering

in the following, 2d id should be http://iiif.bdrc.io/download/ zip /v:bdr:V22084_I0888::1-588

rendering: [
{
@id: "http://iiif.bdrc.io/download/pdf/v:bdr:V22084_I0888::1-588",
label: "Download as PDF",
format: "application/pdf"
},
{
@id: "http://iiif.bdrc.io/download/pdf/v:bdr:V22084_I0888::1-588",
label: "Download as ZIP",
format: "application/zip"
}

],

implement wv: scheme

The wv: schema expressed in this doc should be implemented (and have nice labels like "worklabel in volume volumeNumber"). Manifests using this schema should be used by collections using the wio: schema.

inconsistency between manifest and actual image list

manifest uses wrong first image index in http://library.bdrc.io/show/bdr:W22083 :

link to PDF / ZIP

There is a property (rendering) that could be used to link the PDF from the manifest, it should be added (just to manifests, not to collections)

change canvas url

Currently canvas url depend on the identifier that was passed to generate the manifest, example:

http://presentation.bdrc.io/2.1.1/v:bdr:V23703_I1421::4-82/canvas/4

but some other identifiers (such as v:bdr:V23703_I1421::4-81 would use the exact same cavas. So only parts of the identifier should be used. This would allow annotations to be targetted at one "independent" canvas. The new URLs could be:

http://presentation.bdrc.io/2.1.1/v:bdr:V23703_I1421/canvas/4

or

http://presentation.bdrc.io/2.1.1/v:bdr:V23703_I1421/canvas/14210004.tif

(although the latter is a bit strange because it's not at all a .tif file)

choose compliance level 1 for big images

For works that have big cover images (ex: W1KG4941), it would be better to advertise level 1 in the manifest instead of level 0, so that the viewer requests a smaller image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.