Skip to content

Acadia-University-Library/spine-labels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Alma API Key

Create an API key at https://developers.exlibrisgroup.com/alma/apis/#defining

It needs to have read permissions for "Bibs"

Docker (Optional)

If using Docker, copy sample-docker-compose.yml to docker-compose.yml and edit it as necessary

  • Update image name
  • Update prod URL

Config

Copy sample-config.php to config.php and edit it

  • add your own API keys for as many libraries as you like

Branding

Replace header-bg.jpg and logo.png with your own images if you want to customize the header

Query Parameters

Library

You can use the 'library' param to auto select a library from the dropdown list. The value of the param is the code from the config file.

eg. ?library=sandbox

Collection Codes

You can toggle the print collection codes checkbox by setting the 'print-codes' param to true or false.

eg. ?print-codes=true

If printing collection codes you can skip certain ones by providing a comma separated list in the 'skip-codes' param.

eg. ?print-codes=true&skip-codes=CODE1,CODE2

Fonts

You can change the default font by adding the 'font' and 'fontsize' params.

eg. ?font=arial&fontsize=16

You can also toggle the bold checkbox by setting the 'bold' param to true or false.

eg. ?bold=true

Label Sizing

You can specify your label sizes by adding the 'rows', 'columns', 'height', 'width', and 'x-margin' parameters.

eg. ?rows=8&columns=6&height=2400&width=1440&top-margin=1440&left-margin=1440&right-margin=1440&bottom-margin=1440

Note that sizes are in DXA, where one inch is 1440

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors