<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Pat,</p>
<p><br>
</p>
<p>Short answer: Yes, please! Also try to ensure this removes the item from your ListHeaders response, or add deletion status information to the ListIdentifiers response (<a href="http://www.openarchives.org/OAI/openarchivesprotocol.html#ListIdentifiers" class="OWAAutoLink" id="LPlnk108107" previewremoved="true">http://www.openarchives.org/OAI/openarchivesprotocol.html#ListIdentifiers</a>).</p>
<p><br>
</p>
<p>Long answer: You don't strictly have to do any of this, as your registry is marked &quot;transient&quot; in its Identify response (<a href="http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/reg/oai?verb=Identify" class="OWAAutoLink" id="LPlnk44997" previewremoved="true">http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/reg/oai?verb=Identify</a>),
 regarding the treatment of deleted records. &quot;Transient&quot; is the OAI-PMH tag for promising nothing regarding deleted records, not even consistency (<a href="http://www.openarchives.org/OAI/openarchivesprotocol.html#DeletedRecords" class="OWAAutoLink" id="LPlnk635769" previewremoved="true">http://www.openarchives.org/OAI/openarchivesprotocol.html#DeletedRecords</a>).&nbsp;
 The very existence of this tag suggests a more lax curation atmosphere for some fields using OAI technology than we strive for.&nbsp;
<br>
</p>
<p><br>
</p>
<p>However, to be a good IVOA registry citizen, I would greatly encourage going through this effort rather than just quietly deleting the records. The will keep your ghost records from persisting in full registries' searches until such time as each builds its
 own snapshot of all registries from scratch, which does not happen often.&nbsp; If you do go through this effort, you might as well change &quot;transient&quot; to &quot;full&quot; in your registry record to note other registries can trust record status. If you take the time to make
 this change and want some end-to-end testing, I'm happy to run the STScI harvester against it and check the logs/status on our end.</p>
<p><br>
</p>
<p>Thanks!</p>
<p>--Theresa<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> registry-bounces@ivoa.net &lt;registry-bounces@ivoa.net&gt; on behalf of Patrick Dowler &lt;pdowler.cadc@gmail.com&gt;<br>
<b>Sent:</b> Thursday, September 12, 2019 11:07:29 AM<br>
<b>To:</b> registry@ivoa.net<br>
<b>Subject:</b> deleting a record from the registry</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">As you recall, we are operating a really simple hack OAI publishing registry and I have reached the point where I have to delete some old records. Looking at VOResource, I think the minimum I have to do is:</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">- set the status attr on the resource to &quot;deleted&quot;<br>
</div>
<div class="gmail_default" style="font-size:small">- set the updated attr of the resource to current timestamp so it gets harvested</div>
<div class="gmail_default" style="font-size:small">- set the datestamp in the header to match</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Is that it? <br>
</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">Can/should I remove other metadata? I'd like to remove the content and capability elements, but would leave the title, shortName, identifier, and curation in the &quot;deleted&quot; record&quot;.
<br>
</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">thanks,</div>
<div class="gmail_default" style="font-size:small"><br clear="all">
</div>
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div>--<br>
</div>
<div>Patrick Dowler<br>
</div>
Canadian Astronomy Data Centre<br>
</div>
Victoria, BC, Canada<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>