Giter Site home page Giter Site logo

iiif-php's People

Contributors

apricot13 avatar garyttierney avatar jrgriffiniii avatar stephenwf avatar tomcrane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iiif-php's Issues

Other content field

Canvases can have "otherContent" field that produce annotation lists. This will probably be similar to the W3C annotation list from Elucidate.

example:

{
  "service": {
    "Average_confidence": 83,
    "Entity_stats": {
      "ORG": "2"
    },
    "Full_text_length": 135,
    "Spelling_accuracy": 100,
    "Total_entities_found": 2,
    "Typescript": true,
    "@context": "https:\/\/dlcs-ida.org\/ocr-info"
  },
  "otherContent": [
    {
      "@id": "https:\/\/transcriptions.dlcs-ida.org\/annotations\/line\/?width=2576&canvas=https%3A%2F%2Fpresley.dlcs-ida.org%2Fiiif%2Fidatest01%2F_roll_M-1473_18_cvs-2-11%2Fcanvas%2Fc2&image=https%3A%2F%2Fdlcs-ida.org%2Fiiif-img%2F2%2F1%2FM-1473_R-18_0003&height=3328",
      "@type": "sc:AnnotationList",
      "label": "Transcription annotations"
    },
    {
      "@id": "https:\/\/annotations.dlcs-ida.org\/annotationlist\/ac98c286ef37ffc691709762b53be9d1\/",
      "@type": "sc:AnnotationList",
      "label": "Named Entity Extraction Annotations"
    }
  ]
}

Documentation or getting in touch

Hey fabulous IIIF developers,

We're working with the Folger Shakespeare Library in DC on a project implementing an IIIF api for their digital asset repository. We'd love to chat with you all about your work here and see if we can join in contributing or what not. Is there a way we can learn a little more about this project or peep some documentation for how you all are using this library?

Thanks!

Collection facory

Currently if you want to customise how lazy manifests are loaded you have to do it in two steps:

$collection = Collection::fromArray(
    fetchJson($collectionUrl)
);
$collection->setManifestLoader(function($url) {
     fetchJson($url);
});

It would be nice to be able to combine these steps.

Defined Image Sizes

The PP uses defined image sizes sm / md / lg
would be good to inherit this information / setup this information n the module config so image sizes remain consistent and I can say image.full('sm') in the templates :D

Extra meta data

Applications usually add more information to Manifests, Collections, Images etc.

It would be nice to have a standard way of adding and accessing this meta. Ideally:

$collection->mapManifests(function($manifest) {
    return $manifest->withMetadata(['omekaId' => 123]);
});

// ...somewhere else

$manifest->omekaId; // yields 123

// Alternatively

$manifest->getMetadata('omekaId');

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.