As an example, here's an OAI request for a record that was previously published and is currently unpublished. I would expect the header to indicate that the record is deleted rather than giving an error.

< https://archivesspace.library.nd.edu/oai?verb=GetRecord&identifier=oai:und//repositories/2/resources/1541&metadataPrefix=oai_ead >

When published, the record was harvested into our discovery system, but now that the record has been unpublished, our discovery system still contains the record.

Andy

On 8/5/21 12:38 PM, Majewski, Steven Dennis (sdm7g) wrote:

I’ve definitely seen deletions logged in my EAD OAI harvests, however, I 
haven’t tried to trace what actions are connected with those deletions or how 
it handles unpublishing portions or archival objects.
I would suppose that it should update the EAD on the next harvest dropping the 
unpublished content, and a deletion only occurs when the top level resource is 
unpublished, but I can’t confirm that is does what I assume it should.
( I would have to set up some test instances, as for most of the sites I’m 
harvesting from, I can’t view resources in the staff interface to check against 
the OAI harvest. )


— Steve.

On Aug 5, 2021, at 12:27 PM, Andy Boze <[email protected]> wrote:

Hi, all.

I'm hoping someone can enlighten me as to the expected behavior of unpublished, put previously 
published, records and OAI harvest. In the documentation at < 
https://archivesspace.github.io/tech-docs/architecture/oai-pmh/ >, it states 
"Unpublished and suppressed records and elements are not included in any of the OAI-PMH 
responses."

We've tested that, and it works as described; however, if a published record is harvested, then 
the record is unpublished, should a subsequent harvest indicate that the record has been 
deleted? If not, then any system that has harvested the record will retain it. From what I can 
tell, ASpace does not send an OAI deleted status for records that become unpublished, which 
seems contrary to information I found at < 
https://www.openarchives.org/OAI/openarchivesprotocol.html#DeletedRecords >, "[i]f a 
record is no longer available then it is said to be deleted."

Does anyone have any thoughts? Is there possibly an OAI setting I've missed? 
Thanks!

--
Andy Boze, Associate Librarian
University of Notre Dame
271H Hesburgh Library
(574) 631-8708
_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group



_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group


--
Andy Boze, Associate Librarian
University of Notre Dame
271H Hesburgh Library
(574) 631-8708

_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to