Project: Finding Aid Shopping Cart / Research Request


Impetus:
Archives often face challenges in managing manual submissions of requests to view materials. This project attempts to automate the activity of a user requesting items for consultation from a finding aid. As proof of concept, I applied a free, open-source shopping cart to items in an EAD-encoded finding aid container list, creating a user experience similar to a library catalog "bookbag."

Automation ensures that archives receive the information they need to effectively pull and track items/folders/boxes.


Outline of the project:
Using the simpleCart javascript shopping cart, I made the following adjustments to an EAD container list (example below taken from the Library of Congress EAD documentation, Appendix C). Boxes/folders/items may be populated into a shopping cart, and a summary is e-mailed to the archives.

As I have it, data is e-mailed with its EAD encoding, for easy transfer to other applications, such as a tracking database, call slip form, etc. But you can also set up the shopping cart with an HTML document, strip out the EAD encoding, or take many other approaches!

Here's what I did, to get you started and give you an idea of the simplicity of the concept and its implementation.


EAD file tweaks
Encase each < c02 > (or other level) with a < div > class="simpleCart_shelfItem"
Each < did > gets class="item_name"
Include the "item_add" command alongside every did
Add collection number to each box/folder number for identification

Note: what's great about this process is that standard EAD encoding can be edited with just a few 'find and replace' maneuvers to achieve the needed mark-up.


Changes to simpleCart.js
Change: me.checkoutTo = Email;
Add: this script and PHP file


Collecting User Contact Information
To keep things very simple, I've used a prompt to collect the patron's e-mail address and stored this as a var in the emailCheckout function, treating it the same as "jcitems" in both simpleCart.js and the PHP file.

To replicate, add these lines to simpleCart.js:
var email = document.createElement("email");
email = prompt("Please enter your e-mail address");
form.appendChild(me.createHiddenElement("email", email));

Add this line to the PHP file:
$email = $_POST['email'];

And tweak:
mail($to, $subject, $jcitems.$email, $headers);


Or come up with your own ideas! It's super simple to implement and customize simpleCart with EAD-encoded finding aids.


Sample

MS-P29 / 1 : 1 Biographical and academic materials

MS-P29 / 1 : 1 George Peabody College for Teachers, School of the Dance, schedule of courses offered by Ted Shawn, 1938 [Request]

MS-P29 / 1 : 1 "Boston teacher called evangelist of the dance," newspaper clipping, 1939 [Request]

MS-P29 / 1 : 2-4 Dance programs

MS-P29 / 1 : 4 The Feast of Apollo, Brattle Hall, Massachusetts, 1925 [Request]

MS-P29 / 1 : 4 Mildred Davenport and her pupils, Brattle Hall, Massachusetts, 1928 [Request]

MS-P29 / 1 : 4 Recital of dance poems and songs, Allied Art Studio, Boston , 1928 [Request]

MS-P29 / 1 : 4 Mildred Davenport and Sepia Beauties in revue, Challengers Club, Boston, 1933 [Request]

MS-P29 / 1 : 2-3 Bronze rhapsody [Request]

MS-P29 / 1 : 2 , 1934 [Request]

MS-P29 / 1 : 2 Typescript of stage directions, with holograph note "Miss Davenport (personal)" on first leaf, 1934 [Request]

MS-P29 / 1 : 3 1935- 1941 [Request]

MS-P29 / 1 : 3 1942 [Request]

MS-P29 / FB-21 : 1 Hand-colored poster (partial), 1942 [Request]

MS-P29 / 1 : 4 Classic, John Hancock Hall, Boston, 1938 [Request]

MS-P29 / 1 : 4 Shadowland Ball Room performances, Boston, undated. 2 items. [Request]



Back to home, please!












































































Want to test it out? Request items from the finding aid.

If you click "Schedule Consultation" and enter your e-mail address, I'll forward you the e-mail that comes through.

- - - - - - Request List - - - - - -

Schedule Consulation:
E-mail the Archives to view
the items below