Contentdm developers meeting
Download
1 / 35

CONTENTdm Developers Meeting - PowerPoint PPT Presentation


  • 198 Views
  • Uploaded on

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.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' CONTENTdm Developers Meeting' - norm


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Contentdm developers meeting
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


Agenda
Agenda

OCLC Online Computer Library Center

  • Multiple Compound Object Wizard

  • CONTENTdm API

  • Collection Customization

  • Discussion and Questions


Meeting goals
Meeting Goals

OCLC Online Computer Library Center

  • Share Knowledge

  • Share Ideas


Using the multiple compound object wizard tips tricks
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

[email protected]


Importing into the mcow
Importing into the MCOW

OCLC Online Computer Library Center

  • Four different wizards to import data

    • Single Compound Object

    • Directory Structure

    • Object List

    • Job List


Which wizard do i use
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


Formatting data
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


Adding administrative data using the template creator
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


Common errors in tab delimited files
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


Tips for mapping fields
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.


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


Multiple compound object wizard
Multiple Compound Object Wizard

OCLC Online Computer Library Center

  • Questions

  • Current Projects


Contentdm api
CONTENTdm API

OCLC Online Computer Library Center

  • What is it?

  • How can it be used?

Craig Yamashita

Director of Product Technology


Php api
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


Php api1
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


Php api2
PHP API

OCLC Online Computer Library Center

  • API Calls

    • List of collections

    • Collection settings

    • Collection field properties

    • Query

    • Image properties

    • Item metadata

    • Favorites


Php api3
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


Php api4
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");

    • }

    • ?>


Php api5
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.


Php api6
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.


Php api7
PHP API

OCLC Online Computer Library Center

  • Potential Applications

    • Non-traditional search/navigation interface

    • Viewers for exotic file types

      • Audio

      • Video

    • Interface extensions


Php api8
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


Contentdm php api
CONTENTdm PHP API

OCLC Online Computer Library Center

  • Questions

  • Current Projects


Collection customization
Collection Customization

OCLC Online Computer Library Center

  • New options in Version 4.2

    • Scripted method

    • Duplication method

Claire Cocco

Product Manager


Collection customization1
Collection Customization

OCLC Online Computer Library Center

  • Two methods for customizing interfaces for individual collections

  • Scripted method is now in default templates

  • Duplication method


Collection customization2
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


Collection customization3
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


Collection customization4
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


Collection customization5
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


Collection customization6
Collection Customization

OCLC Online Computer Library Center

  • Demo site http://custom.contentdmdemo.com

  • Finalizing demo and documentation

  • Available on USC when completed


Collection customization7
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


Collection customization8
Collection Customization

OCLC Online Computer Library Center

  • Questions

  • Current Projects


Discussion
Discussion

OCLC Online Computer Library Center

  • If you were a CONTENTdm developer for a day…

    • What would you change?

    • What would you add?


Additional questions
Additional Questions

OCLC Online Computer Library Center

  • Specific questions

    • Craig

    • Joe

    • Claire

  • Make appointments


Developers meeting
Developers Meeting

OCLC Online Computer Library Center

  • Thank you!

  • Please fill out a survey before you leave.


ad