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
Developer Resources:

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome.

Archives and sets

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


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
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'))));
Alec Smecher
Public Knowledge Project Team
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