Add notes

This commit is contained in:
2023-08-29 21:38:23 +03:00
parent 6737febf95
commit 1529cfd80b
134 changed files with 228 additions and 169 deletions

View File

@ -19,7 +19,7 @@ Start working on some batch uploads for IFPRI
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2023-08/" />
<meta property="article:published_time" content="2023-08-03T11:18:36+03:00" />
<meta property="article:modified_time" content="2023-08-25T17:06:19+03:00" />
<meta property="article:modified_time" content="2023-08-26T19:27:57+03:00" />
@ -34,7 +34,7 @@ I did some minor cleanups myself and applied them to CGSpace
Start working on some batch uploads for IFPRI
"/>
<meta name="generator" content="Hugo 0.115.4">
<meta name="generator" content="Hugo 0.117.0">
@ -44,9 +44,9 @@ Start working on some batch uploads for IFPRI
"@type": "BlogPosting",
"headline": "August, 2023",
"url": "https://alanorth.github.io/cgspace-notes/2023-08/",
"wordCount": "1652",
"wordCount": "1796",
"datePublished": "2023-08-03T11:18:36+03:00",
"dateModified": "2023-08-25T17:06:19+03:00",
"dateModified": "2023-08-26T19:27:57+03:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -382,6 +382,38 @@ UPDATE 1
</li>
<li>Export CGSpace to check for missing Initiative collection mappings</li>
<li>Start a harvest on AReS</li>
<li>I fixed ~200 titles with new lines, excessive whitespace, and Unicode FFFD characters
<ul>
<li>There are many more with 00A0, 200B, etc, but those need more careful inspection</li>
</ul>
</li>
</ul>
<h2 id="2023-08-28">2023-08-28</h2>
<ul>
<li>Day one of CGSpace partners meeting in Addis</li>
<li>Oh this is a game changer, I just realized that we can use Solr query syntax in the DSpace 7 REST API, so we can do this for example:</li>
</ul>
<pre tabindex="0"><code>https://dspace7test.ilri.org/server/api/discover/search/objects?query=lastModified%3A%5B2023-08-01T00%3A00%3A00Z%20TO%20%2A%5D
</code></pre><ul>
<li>Which is this query: <code>lastModified:[2023-08-01T00:00:00Z TO *]</code>
<ul>
<li>The queries need to be URL encoded of course</li>
</ul>
</li>
<li>Oh nice, and we can do the same for accession date:</li>
</ul>
<pre tabindex="0"><code>https://dspace7test.ilri.org/server/api/discover/search/objects?query=dc.date.accessioned_dt%3A%5B2023-08-01T00%3A00%3A00Z%20TO%20%2A%5D&#39;
</code></pre><ul>
<li>That is this query: <code>dc.date.accessioned_dt:[2023-08-01T00:00:00Z TO *]</code>
<ul>
<li>We need to use the dt version of the accession date because that is the one that has a date type</li>
<li>This query give 290 results, which should be the items submitted in August!</li>
</ul>
</li>
</ul>
<h2 id="2023-08-29">2023-08-29</h2>
<ul>
<li>Day two of CGSpace partners meeting in Addis</li>
</ul>
<!-- raw HTML omitted -->