OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Archives and sets

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

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.

Archives and sets

Postby josipkp » Wed Jun 10, 2009 7:58 pm

Hi,

We are collecting from some repositories that have different sets and we would like to separate this sets in different archives – to allow in the future, to create filter by areas or by countries.

For example: browse just in thesis, or just in journals, or in books, and so; or browse just for material from Latin America, or from Portugal, or from Spain, and so.

Then, we think to separate one repository in more than one entry, harvesting different sets in each one, but the Harvester2 does not permit that. There is a reason for do not permit the same URL OAI when adding archives or it is just a warning?

Do you suggest any other direction?
Thanks in advance,
Josi Perez
josipkp
 
Posts: 61
Joined: Fri Jun 27, 2008 8:51 am

Re: Archives and sets

Postby asmecher » Wed Jun 17, 2009 11:41 am

Hi Josi,

It's just a warning to help prevent duplicates. If you'd like to allow duplicates, you can disable the check by editing plugins/harvesters/oai/OAIHarvesterPlugin.inc.php and commenting out the line (approx. line 62):
Code: Select all
$form->addCheck(new FormValidatorCustom($form, 'harvesterUrl', 'required', 'plugins.harvester.oai.archive.form.harvesterUrlDuplicate', array(&$this, 'duplicateHarvesterUrlDoesNotExist'), array(Request::getUserVar('archiveId'))));
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to Open Harvester Systems Support and Development

Who is online

Users browsing this forum: No registered users and 1 guest