OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



how oai repository_id works?

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

how oai repository_id works?

Postby ozp » Sun Apr 29, 2007 3:37 pm

The default value that shows up on config php at my site is ojs.mysite.com

but this URL does not exits (it does not open in a browser)

Is this right? when I have to enter a OAI URL I enter this one or no?

What I have to do to enable OAI at my OJS site?
ozp
 
Posts: 51
Joined: Sat Apr 28, 2007 9:01 pm

Postby asmecher » Mon Apr 30, 2007 10:50 am

Hi ozp,

That is a sample URL and doesn't actually exist. To find out what OAI URL to use, go to your OJS installation and look at setup page 3 (depending on your version of OJS). Under the heading "Register Journal for Indexing" you should find your OAI URL. OAI must be enabled in config.inc.php, but it is by default, so unless you've changed it you don't need to worry.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby ozp » Tue May 01, 2007 4:07 pm

ok! thanks!!

I have a working OAI

Im very excited about all 3 softwares
ozp
 
Posts: 51
Joined: Sat Apr 28, 2007 9:01 pm

Re: how oai repository_id works?

Postby mwood » Wed Nov 28, 2007 3:06 pm

So, again, "how oai repository_id works?" What value should it have?

I think I did something wrong during setup, and now the value here looks like "ojs.134.68.190.5". This violates a <restriction> in the schema and doesn't seem to jibe with the spec. Clearly "134.68.190.5" should be "journals.iupui.edu", but should the whole repository_id be "ojs.journals.iupui.edu"?

I suppose this is used to build URIs like "oai:ojs.journals.iupui.edu:myjournal-123"?
mwood
 
Posts: 20
Joined: Thu Nov 01, 2007 8:06 am
Location: Indianapolis, Indiana, US

Re: how oai repository_id works?

Postby asmecher » Wed Nov 28, 2007 9:21 pm

Hi mwood,

The OAI repository ID isn't like a URL in that it isn't used as part of OAI requests. It should be a unique identifier for the data source and thus using something like "ojs." followed by the hostname is usually a good idea. The OAI repository ID is configured in the config.inc.php configuration file.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests
http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=1847
pkp.sfu.ca
crawl=CC-MAIN-2015-35
25991
application/http; msgtype=response
sha1:JHQWRS7LFOCHSAQYVKFLMPM5XR5GZTQ5
<urn:uuid:3dbd85be-7fe4-4ed1-8d45-823ca62d23dd>
2015-09-02T07:10:08Z
142.58.129.159
sha1:DAHULU3N3DIWF2NX2M2O5XYCS5AGYV5M
<urn:uuid:2444ecab-521a-4fc6-8f05-12caee5b700d>
http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=1847
length
response
<urn:uuid:119c26fe-c916-49b3-8352-69559e122538>
robots: classic
hostname: ip-10-171-96-226.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-35
operator: CommonCrawl Admin
description: Wide crawl of the web for August 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf