Whenever I try to index an archive, I get the following message :
Indexing Site ... done (0 new/updated records indexed)
I have applied the patch mentioned in another post :
- Code: Select all
Index: include/harvester.inc.php
===================================================================
RCS file: /cvs/harvester/include/harvester.inc.php,v
retrieving revision 1.12
diff -u -r1.12 harvester.inc.php
--- a/include/harvester.inc.php 23 Feb 2004 00:50:03 -0000 1.12
+++ b/include/harvester.inc.php 8 Apr 2004 19:02:39 -0000
@@ -160,11 +160,11 @@
if($protocol == 2) {
// OAI 2.0
- $dc_metadata = $record[metadata]['oai_dc:dc'];
-
- if(!is_array($dc_metadata)) {
- $dc_metadata = $record[metadata]['oaidc:dc'];
- }
+ $dc_metadata = isset($record[metadata]['oai_dc:dc'])
+ ? $record[metadata]['oai_dc:dc']
+ : (isset($record[metadata]['oaidc:dc'])
+ ? $record[metadata]['oaidc:dc']
+ : $record[metadata]['dc']);
if(!is_array($dc_metadata)) {
return false;
But this does not seem to help. The archive is found as the correct e-mail, repository name, etc. is displayed on the "about page".
Do you have any idea of what could be the problem.
Thanks,
Grant
