1 / 35

CONTENTdm Developers Meeting

CONTENTdm Developers Meeting. OCLC Online Computer Library Center. ALA Midwinter Meeting Seattle, WA January 19 th , 2007. Claire Cocco , Product Manager Joe Tavares, Consulting Software Engineer Craig Yamashita, Director of Product Technology. Agenda.

norm
Télécharger la présentation

CONTENTdm Developers Meeting

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CONTENTdm Developers Meeting OCLC Online Computer Library Center • ALA Midwinter MeetingSeattle, WAJanuary 19th, 2007 Claire Cocco, Product Manager Joe Tavares, Consulting Software Engineer Craig Yamashita, Director of Product Technology

  2. Agenda OCLC Online Computer Library Center • Multiple Compound Object Wizard • CONTENTdm API • Collection Customization • Discussion and Questions

  3. Meeting Goals OCLC Online Computer Library Center • Share Knowledge • Share Ideas

  4. Using the Multiple Compound Object Wizard – Tips & Tricks OCLC Online Computer Library Center • How to choose a wizard • Metadata entry • OCR Joe Tavares Consulting Software Engineer tavaresj@oclc.org

  5. Importing into the MCOW OCLC Online Computer Library Center • Four different wizards to import data • Single Compound Object • Directory Structure • Object List • Job List

  6. Which Wizard Do I Use? A small number of Compound Objects A large number of Compound Objects Single Compound Object No unique item Level metadata Unique item level metadata Objects in single list Directory Structure Directory Structure Compound Object Object List Object List Other OCLC Online Computer Library Center

  7. Formatting Data OCLC Online Computer Library Center • The last field in the tab-delimited file should contain the filename • The directory structure supports just compound object level metadata and page level metadata. The filename of the tab-delimited file must be the same as the folder name

  8. Adding Administrative Data using the Template Creator OCLC Online Computer Library Center • Add administrative metadata using the Template Creator • Applied only to page not to compound object • Options include • Default Text • Username • Checksum • Image Properties • Batch Number

  9. Common Errors in Tab-Delimited Files OCLC Online Computer Library Center • File does not exist • Most common error we see in support • Filenames not paths • Extra tabs or carriage returns • Incorrect date formats • Carriage returns in metadata and last field is not filename field • Unicode is not supported in tab-delimited files, yet! Use windows code pages for diacritics

  10. Tips for Mapping Fields OCLC Online Computer Library Center • If the fields in the tab-delimited file are in the same order as the collection fields the fields will be mapped correctly by default. • Add blank fields to tab-delimited file to make sure fields line up. • All tab-delimited files used in a single batch must have same fields.

  11. OCR OCLC Online Computer Library Center • OCR is most time consuming process • Methods to improve throughput • Fast Mode • De-skewed images • Quality source material • Use shared drive or manual upload method in order to maximize Acquisition Station time spent on OCR

  12. Multiple Compound Object Wizard OCLC Online Computer Library Center • Questions • Current Projects

  13. CONTENTdm API OCLC Online Computer Library Center • What is it? • How can it be used? Craig Yamashita Director of Product Technology

  14. PHP API OCLC Online Computer Library Center • PHP • A widely used general purpose scripting language suited for Web development • CONTENTdm supports PHP versions 4.3.x, 5.0.x, 5.1.x • Current version of PHP is 5.2.0 (Nov 2006) • CONTENTdm libraries for PHP 5.2.x are now in testing • Available soon • Download from the User Support Center

  15. PHP API OCLC Online Computer Library Center • Web Interface API • CONTENTdm 4 implements a well-defined API (Application Programming Interface) of callable PHP functions • Facilitates the building of custom interfaces • Default CONTENTdm Web interface is built on top of this API

  16. PHP API OCLC Online Computer Library Center • API Calls • List of collections • Collection settings • Collection field properties • Query • Image properties • Item metadata • Favorites

  17. PHP API OCLC Online Computer Library Center • PHP API Examples • dmGetCollectionList() – returns PHP array of collections available on the Server • dmGetCollectionFieldInfo() – returns array of collection field properties • dmGetItemInfo() – returns XML containing the metadata for the specified item • dmQuery() – returns array of search results for the specified query

  18. PHP API OCLC Online Computer Library Center • PHP Scripting Example • Print out names of all collections on the Server • <?php • include("DMSystem.php"); • $list = &dmGetCollectionList(); • print("Collections:<br>\n"); • for ($i = 0; $i < count($list); $i++) { • print("{$list[$i]["name"]}<br>\n"); • } • ?>

  19. PHP API OCLC Online Computer Library Center • Sample Interface Session • Call is made to dmGetCollectionList() to return the names and properties of the collections on the Server. • Single collection is selected for search by fields. Call is made to dmGetCollectionFieldInfo() to retrieve the field names and properties. Search page is displayed. • Text query is performed by calling dmQuery() and results are shown.

  20. PHP API OCLC Online Computer Library Center • Sample Interface Session (continued) • Item selected from results. Call is made to dmGetItemInfo() to retrieve the metadata associated with the item. • Item viewer page is presented.

  21. PHP API OCLC Online Computer Library Center • Potential Applications • Non-traditional search/navigation interface • Viewers for exotic file types • Audio • Video • Interface extensions

  22. PHP API OCLC Online Computer Library Center • API Changes for CONTENTdm Version 4.2 • Support for new default parameters for new compound object viewer “menu off” mode • Support for alternate language Dublin Core field names

  23. CONTENTdm PHP API OCLC Online Computer Library Center • Questions • Current Projects

  24. Collection Customization OCLC Online Computer Library Center • New options in Version 4.2 • Scripted method • Duplication method Claire Cocco Product Manager

  25. Collection Customization OCLC Online Computer Library Center • Two methods for customizing interfaces for individual collections • Scripted method is now in default templates • Duplication method

  26. Collection Customization OCLC Online Computer Library Center • Scripted method • Now included in default templates • Pass CISOROOT variable in URL • Looks for custom files with matching alias • Copy file and rename: • STY_global_style.php to STY_alias_style.php • global_header.php to alias_header.php • Apply custom changes • Style, header, menu, index and footer files

  27. Collection Customization OCLC Online Computer Library Center • Duplication method • Copy the cdm4 directory and rename • /cdm-alias • Remove the admin, cqr, and msoffice folders • Customize files in new folder • Style, localization, header, footer, menu files • Changes do not affect files in /cdm4 or other directories

  28. Collection Customization OCLC Online Computer Library Center • Configure search and browse for customized collections • STY_global_style.php • Edit variable to change functionality • All – searches all collections, collection list displayed • None – searches current collection, collection list suppressed • Alias list – searches specified collections, collection list suppressed

  29. Collection Customization OCLC Online Computer Library Center • Search and browse differences • Duplication method • Browse - will remain in current custom collection interface when browse other collections • Search - will remain in current custom collection interface when search all collections or a different collection • Scripted method • Browse - will switch to custom interface for selected collection (if exists) when browse other collections • Search - will return to default interface if multiple collections are searched; will switch to custom interface for selected collection (if exists) when search a single collection

  30. Collection Customization OCLC Online Computer Library Center • Demo site http://custom.contentdmdemo.com • Finalizing demo and documentation • Available on USC when completed

  31. Collection Customization OCLC Online Computer Library Center • Which method should you use? • Two options provide choice • Use what works best for you • Recommend selecting one of the other for implementation • Duplication method is more contained • Good choice for consortia projects – each organization can have own directory • Requires duplication of files – maintenance and upgrade considerations

  32. Collection Customization OCLC Online Computer Library Center • Questions • Current Projects

  33. Discussion OCLC Online Computer Library Center • If you were a CONTENTdm developer for a day… • What would you change? • What would you add?

  34. Additional Questions OCLC Online Computer Library Center • Specific questions • Craig • Joe • Claire • Make appointments

  35. Developers Meeting OCLC Online Computer Library Center • Thank you! • Please fill out a survey before you leave.

More Related