Coder Social home page Coder Social logo

altr's Introduction

𖤐LTR

This is a simple webapp to allow the selection and downloading of alternative files from ResourceSpace. The immediate use case is for staff who need to access cropped versions (at standardized pixel dimensions) of an original image for use in our program guide or website.

Dependencies

pip3 install bottle requests

This uses the Bottle webapp framework, which itself only uses the Python standard library. The app also uses the requests module. Bootstrap styling is included using CDN links.

Usage

  • Make your cropped selections in ResourceSpace, make sure that they are marked with the correct type (e.g. "web crop")
  • Put all the resources with crops you want into a collection in ResourceSpace
  • From the collection "Actions" menu choose "Download metadata CSV"
  • Open the csv and copy the resource IDs from the first column, then paste them into a plain text file
  • There should be one ID per line, nothing else (no other text, etc.)
  • Upload the text file to altr and select the correct type ("web crop" or whatever)
  • Your files will get wrapped in a zip archive that you can then download

altr's People

Contributors

mcampos-quinn avatar

Watchers

James Cloos avatar  avatar

altr's Issues

error handling for nonexistent alt types

it's possible that someone could request an alternative file type that doesn't exist for a given image. currently the app just fails silently, so add better error handling and a message to display.

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.