</span></span><spanstyle="display:flex;"><span>deduped_list <spanstyle="color:#f92672">=</span> [x <spanstyle="color:#66d9ef">for</span> x <spanstyle="color:#f92672">in</span> value<spanstyle="color:#f92672">.</span>split(<spanstyle="color:#e6db74">"||"</span>) <spanstyle="color:#66d9ef">if</span> x <spanstyle="color:#f92672">not</span><spanstyle="color:#f92672">in</span> seen <spanstyle="color:#f92672">and</span><spanstyle="color:#f92672">not</span> seen<spanstyle="color:#f92672">.</span>add(x)]
<li>Delete duplicate metadata values using the method I described in this GitHub issue: <ahref="https://github.com/DSpace/DSpace/issues/8253#issuecomment-1331756418">https://github.com/DSpace/DSpace/issues/8253#issuecomment-1331756418</a></li>
</ul>
<h2id="2024-08-22">2024-08-22</h2>
<ul>
<li>
<p>Help IWMI with some OpenSearch RSS/Atom feeds for search results:</p>
<ul>
<li><ahref="https://cgspace.cgiar.org/server/opensearch/search?query=affiliation:%22International">https://cgspace.cgiar.org/server/opensearch/search?query=affiliation:"International</a> Water Management Institute" AND initiative:“Climate Resilience” AND subject:flooding</li>
<li><ahref="https://cgspace.cgiar.org/server/opensearch/search?query=affiliation:%22International">https://cgspace.cgiar.org/server/opensearch/search?query=affiliation:"International</a> Water Management Institute" AND initiative:“Climate Resilience” AND subject:drought</li>
<li><ahref="https://cgspace.cgiar.org/server/opensearch/search?query=affiliation:%22International">https://cgspace.cgiar.org/server/opensearch/search?query=affiliation:"International</a> Water Management Institute" AND initiative:“Climate Resilience” AND subject:landslides</li>
</ul>
</li>
<li>
<p>Export list of withdrawn handle redirects:</p>
</li>
</ul>
<pretabindex="0"><code>dspace=# \COPY (SELECT m.text_value AS handle_from, h.handle AS handle_to FROM metadatavalue m JOIN handle h on m.dspace_object_id = h.resource_id WHERE m.metadata_field_id=181 AND h.resource_type_id=2 AND h.resource_id IN (SELECT uuid FROM item WHERE in_archive AND NOT withdrawn)) to /tmp/handle-redirects.csv CSV HEADER;
COPY 400
</code></pre><ul>
<li>Export list of IFPRI CONTENTdm redirects:</li>
</ul>
<pretabindex="0"><code>dspace-# \COPY (SELECT m.text_value, h.handle FROM metadatavalue m JOIN handle h on m.dspace_object_id = h.resource_id WHERE m.metadata_field_id=28 AND m.text_value LIKE '%URL from IFPRI CONTENTdm%' AND h.resource_type_id=2 AND m.dspace_object_id IN (SELECT uuid FROM item WHERE in_archive AND NOT withdrawn)) to /tmp/ifpri.csv CSV HEADER;
COPY 10794
</code></pre><ul>
<li>I filed <ahref="https://github.com/DSpace/dspace-angular/issues/3258">an issue</a> on DSpace Angular for anonymous users to be able to export search results to CSV</li>
</ul>
<h2id="2024-08-26">2024-08-26</h2>
<ul>
<li>Spent some time trying to rebase our DSpace Angular themes on top of the massive header/navbar rework from <ahref="https://github.com/DSpace/dspace-angular/pull/2858">DSpace 7.6.2</a></li>
<li>Spent some time getting missing bibliographic metadata (issue dates, licenses, pages, volume, issue, publisher, etc) from Crossref for CGSpace</li>