Kyle, That's perfect. I actually kept coming across the Cataloging Calculator as I was searching and wondered how it worked, but I didn't think to try and track down the author! That definitely looks like something I can adopt, rather than working from scratch. Thanks! Justin On Tue, May 12, 2015 at 6:32 PM, Kyle Banerjee <[log in to unmask]> wrote: > There's one built into the Cataloging Calculator. It's a javascript program > I wrote 18 years ago for Netscape 4.0, but it still works and gets > significant use. > > Since you're working server side, you'll probably just want to copy the > method used rather than to use the code outright though anyone is welcome > to use this embarrassingly written stuff as they see fit. The cutter() > function would be easy to adopt into any language and is only a couple > dozen lines long. It can be found in the > http://calculate.alptown.com/calculate.js file > > kyle > > On Tue, May 12, 2015 at 1:37 PM, Justin Rittenhouse <[log in to unmask]> > wrote: > > > This seems like a fairly straightforward thing to write...so it seems > like > > someone else would already have done so. That said, my Google-fu hasn't > > come across anything yet. So...does anyone have a cutter generator that > > they're willing to share? Language doesn't matter, although most of our > > stuff is Perl or Ruby, so if it's one of those that's a plus. > > > > Thanks! > > Justin > > > > -- > > *Justin Rittenhouse* > > *Sr. Application Development Technician, Web and Software Engineering* > > *Hesburgh Libraries* > > > -- *Justin Rittenhouse* *Sr. Application Development Technician, Web and Software Engineering* *Hesburgh Libraries*