Re-using Metadata from the Voyager Library Catalog – CUL Metadata Working Group – Friday October 19, 2007 Nick Cappadona Interface Designer Mann Library [email protected]Tom Trutt E-Reserve & Access Services Specialist Mann Library [email protected]
33
Embed
Re-using Metadata from the Voyager Library Catalog – CUL Metadata Working Group – Friday October 19, 2007 Nick Cappadona Interface Designer Mann Library.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Re-using Metadata from the Voyager Library Catalog
SELECT RESERVE_LIST.RESERVE_LIST_ID, COURSE.COURSE_NUMBER, COURSE.COURSE_NAME, INSTRUCTOR.FIRST_NAME, INSTRUCTOR.LAST_NAMEFROM COURSE, RESERVE_LIST_COURSES, RESERVE_LIST, INSTRUCTORWHERE (((COURSE.COURSE_ID)=[RESERVE_LIST_COURSES].[COURSE_ID]) AND ((RESERVE_LIST_COURSES.RESERVE_LIST_ID)=[RESERVE_LIST].[RESERVE_LIST_ID]) AND ((RESERVE_LIST_COURSES.INSTRUCTOR_ID)=[INSTRUCTOR].[INSTRUCTOR_ID]) AND ((RESERVE_LIST.RESERVE_LOCATION)="79")) AND
((RESERVE_LIST.EFFECT_DATE)<Now()) AND ((RESERVE_LIST.EXPIRE_DATE)>Now()))ORDER BY COURSE.COURSE_NUMBER;
“79" corresponds to our reserves location, “Mann Reserve”. If removed the query will pull all reserves locations.
RESERVE_LIST_ID COURSE_NUMBER COURSE_NAME FIRST_NAME LAST_NAME11719 DEA 111 Making a difference: by design Sheila Danko6843 DEA 250 Environment and Social Behavior Gary Evans7242 DEA 303 Interior Materials and Sustainable Elem Rhonda Gilmore5035 DEA 325 Human Factors: Ergonomics-Anthropometri Alan Hedge9058 DEA 401 research class Gary Evans8173 DEA 408 DESIGN STUDIO VIII Sheila Danko
The “RESERVE_LIST_ID” that is shown here is passed to the second query to obtain the item lists for that class
SELECT BIB_TEXT.TITLE, BIB_TEXT.AUTHOR, MFHD_ITEM.ITEM_ENUM, MFHD_ITEM.CHRON, ITEM.COPY_NUMBER, MFHD_MASTER.DISPLAY_CALL_NO, CIRC_TRANSACTIONS.CHARGE_DATE, CIRC_TRANSACTIONS.CURRENT_DUE_DATE, LOCATION_1.LOCATION_NAME AS Temp_Location, LOCATION.LOCATION_NAME AS Perm_LocationFROM LOCATION AS LOCATION_1 RIGHT JOIN (LOCATION RIGHT JOIN (BIB_TEXT INNER JOIN (CIRC_TRANSACTIONS RIGHT JOIN (ITEM INNER JOIN (((RESERVE_LIST_ITEMS INNER JOIN MFHD_ITEM ON RESERVE_LIST_ITEMS.ITEM_ID = MFHD_ITEM.ITEM_ID) INNER JOIN BIB_ITEM ON RESERVE_LIST_ITEMS.ITEM_ID = BIB_ITEM.ITEM_ID) INNER JOIN MFHD_MASTER ON MFHD_ITEM.MFHD_ID = MFHD_MASTER.MFHD_ID) ON ITEM.ITEM_ID = RESERVE_LIST_ITEMS.ITEM_ID) ON CIRC_TRANSACTIONS.ITEM_ID = RESERVE_LIST_ITEMS.ITEM_ID) ON BIB_TEXT.BIB_ID = BIB_ITEM.BIB_ID) ON LOCATION.LOCATION_ID = ITEM.PERM_LOCATION) ON LOCATION_1.LOCATION_ID = ITEM.TEMP_LOCATIONWHERE (((RESERVE_LIST_ITEMS.RESERVE_LIST_ID)="X") AND ((ITEM.TEMP_LOCATION) In ("79")))ORDER BY BIB_TEXT.TITLE;
“Optional”
Where “X” is equal to RESERVE_LIST_ID from the first query.
TITLE AUTHOR ITEM_ENUM CHRON COPY_NUMBER DISPLAY_CALL_NO CHARGE_DATE CURRENT_DUE_DATE Temp_Location Perm_Location*Electronic Reserve Readings For DEA 250 Fall 2006 Evans 0
Electronic Reserve No call number Mann Reserve Mann Reserve
7 habits of highly effective people : restoring the character ethic / Stephen R. Covey.
Covey, Stephen R. 1 BF637.S8 C68 2004 9/18/2006 12:04 9/18/2006 14:04 Mann Reserve Hotel
Accessible housing design file / Barrier Free Environments Incorporated. 1 NA2545.P5 A17 Mann Reserve Fine Arts
Adolescence / Laurence Steinberg.
Steinberg, Laurence D., 1952- 1 HQ796 .S81x 1996 Mann Reserve Mann
If an item is not charged the “CHARGE_DATE” and “CURRENT_DUE_DATE” fields return as “null” or remain empty.
Query
Query Results
Meanwhile…
• Our Web site was under the knife• Refocused as a research tool• Empowering our patrons• Moonlighting in e-reserves
So what about those patrons?
• What if they could check the status of a study room?
• Our GPS units and camcorders?• Laptops?• Course Reserves?• And …
Study Rooms
Equipment & Laptops
Course Reserves
Behind the Scenes
• SQL + ColdFusion
Tom’s SQL
Database connection is predefined in Coldfusion AdministratorResults are cached for 2 minutes