built at Trexler Library, Muhlenberg College by Adam Malantonio and Jonathan Macasevich.
Strappy is a PHP web-app used to construct bookstraps using WorldShare ILL , used everyday by our Interlibrary Loan service. It's a single page app with two views:
- The home view, which offers the manual construction of a strap as well as generation of the bookmarklet (we'll get to that in a second)
- The strap landing view which constructs a book strap. Using the bookmarklet generated on the home view, this strap contains the following data:
- Patron Name
- Lending Library symbol
- Due Date
- Barcode using RequestID
On the server side
git clone https://github.com/TrexlerLibrary/strappy <your landing point>
then head to the index page to build and copy the bookmarklet to your browser.
While in the Borrowing Requests
view in the Interlibrary Loan
module of OCLC WorldShare, open a request and click the bookmarklet.
a new tab will be opened, directing back to the strappy index page displaying a strap like such:
Right now, only the header text (Patron: Please do not remove this strap in the above example) and the body text below the due date (starting with OVERDUE FINE OF $2.00 PER DAY) are set as variables at the top of index.php
, but feel free to tinker with the css / strap layout as you wish.
- a better readme (one that makes sense!)
- refactoring, refactoring, refactoring!
- Templating?
- Custom Fields?