« April 2008 | Main | June 2008 »

May 28, 2008

AgEcon MetaData

Below is a list of all the metadata used by AgEcon. Note
metadata_schema_id = 1 refers to dc,
metadata_schema_id = 2 refers to agecon.
AgEconMetadata.html

May 23, 2008

AgEcon OAI URL

Naming OAI handler

I have enabled OAI on AgEcon Search. It can be reached at the URL:
http://strip1.oit.umn.edu:8080/dspace_sr-oai/request?verb=Identify


John Chapman gave me a list of common OAI sites:

http://gita.grainger.uiuc.edu/registry/ListAllRepos.asp


Of the URLs there I like the one below the best:

XML/XSD/XSL Registry (xmlregistry.oclc.org)
http://alcme.oclc.org/xmlregistry/OAIHandler?verb=Identify

It does not have an explicit IP or refer to specific technology, so it would b e easy to maintain as AgEcon migrates from box to box and from one technology to the next.

So based on that I plan on using:
http://ageconsearch.umn.edu/OAIHandler?verb=Identify

Changes in config files

The changes below were required to for oai to come to life:

File: ./config/dspace.cfg
config.template.oaicat.properties = ${dspace.dir}/config/oaicat.properties ... old
config.template.oaicat.properties = ${dspace.dir}/config/templates/oaicat.properties ... new

File: ./build.xml
./build.xml:281: <replace file="${dspace.dir}/config/templates/oaicat.properties"
./build.xml:285: <replace file="${dspace.dir}/config/templates/oaicat.properties"

File: ./etc/oai-web.xml
./etc/oai-web.xml:66: @@dspace.dir@@/config/templates/oaicat.properties

Test OAI handler

http://odin.lib.umn.edu:9030/dspace-oai/request

OAI jar information

[silvi003~/Documents/workspace/dspace-sr/lib]$ dumpManifest oaicat.jar Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.1 Created-By: 1.4.1_01-b01 (Sun Microsystems Inc.) Specification-Title: OAI-PMH Specification-Version: 2.0 Specification-Vendor: Open Archives Initiative Implementation-Title: OAICat Implementation-Version: 1.5.48 October 23 2006 Implementation-Vendor: OCLC, Online Computer Library Center Implementation-URL: http://www.oclc.org/research/software/oai/cat.shtm To get the jar go to: OCLC software

Info on OAI tools

OAIToolsFinal.pdf

Location of php scripts for PURL on strip1 and odin

Paul Bramscher wrote a PURL (Persistent URL) system for dspace. This is a set of php scripts that map a PURL to legacy URLs. These scripts form an API that can be accessed through HTTP calls. There are three locations where these scripts can be found:

On strip1 (production)

ls -1 /dspace/purl/
db_connect.php
db_connect.php~
get.php
index.phtml
phptest.php
purl.css
purl.php
purl.php~
purl.sql
verbform.phtml
verbs.php
verbs.php~

Two locations on odin

/var/www/purl/verbs.php
/var/www/purl/db_connect.php
/var/www/purl/purl.php
/var/www/purl/verbs.php~
/var/www/purl/db_connect.php~
/var/www/purl/purl.php~
/var/www/purl/phptest.php
/var/www/purl/get.php


/var/www/purl_test/verbs.php
/var/www/purl_test/db_connect.php
/var/www/purl_test/purl.php
/var/www/purl_test/verbs.php~
/var/www/purl_test/db_connect.php~
/var/www/purl_test/purl.php~
/var/www/purl_test/phptest.php
/var/www/purl_test/get.php