diff --git a/content/posts/2024-05.md b/content/posts/2024-05.md index f054d64ea..a9c28f06a 100644 --- a/content/posts/2024-05.md +++ b/content/posts/2024-05.md @@ -64,4 +64,23 @@ $ csvjoin -c uuid /tmp/withdrawn-title.csv /tmp/withdrawn-handles.csv /tmp/withd - This gives me an insight into who submitted at 334 of the duplicates over the past few years... - I fixed a few hundred titles with leading/trailing whitespace, newlines, and ligatures like ff, fi, fl, ffi, and ffl +## 2024-05-13 + +- Export a list of IFPRI information products with handle links and CONTENTdm links: + +``` +$ csvgrep -c 'dc.description.provenance[en_US]' -m 'CONTENTdm' cgspace.csv \ + | csvcut -c 'id,dc.description.provenance[en_US],dc.identifier.uri[en_US]' \ + | tee /tmp/ifpri-redirects.csv \ + | csvstat --count +2645 +``` + +- I discovered the `/server/api/pid/find` endpoint today, which is much more direct and manageable than the `/server/api/discover/search/objects?query=` endpoint when trying to get metadata for a Handle (item, collection, or community) + - The "pid" stands for permanent identifiers apparently, and we can use it like this: + +``` +https://dspace7test.ilri.org/server/api/pid/find?id=10568/118424 +``` + diff --git a/docs/2024-05/index.html b/docs/2024-05/index.html index 795747107..ae89aae97 100644 --- a/docs/2024-05/index.html +++ b/docs/2024-05/index.html @@ -18,7 +18,7 @@ Then I did some work to add missing abstracts (about 900!), volumes, issues, lic - + @@ -42,9 +42,9 @@ Then I did some work to add missing abstracts (about 900!), volumes, issues, lic "@type": "BlogPosting", "headline": "May, 2024", "url": "https://alanorth.github.io/cgspace-notes/2024-05/", - "wordCount": "359", + "wordCount": "438", "datePublished": "2024-05-01T10:39:00+03:00", - "dateModified": "2024-05-05T21:43:52+03:00", + "dateModified": "2024-05-13T08:21:17+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -184,7 +184,24 @@ dspace=# \COPY (SELECT i.uuid, m.text_value AS submitted_by FROM item i JOIN met
  • This gives me an insight into who submitted at 334 of the duplicates over the past few years…
  • I fixed a few hundred titles with leading/trailing whitespace, newlines, and ligatures like ff, fi, fl, ffi, and ffl
  • - +

    2024-05-13

    + +
    $ csvgrep -c 'dc.description.provenance[en_US]' -m 'CONTENTdm' cgspace.csv \
    +  | csvcut -c 'id,dc.description.provenance[en_US],dc.identifier.uri[en_US]' \
    +  | tee /tmp/ifpri-redirects.csv \
    +  | csvstat --count
    +2645
    +
    +
    https://dspace7test.ilri.org/server/api/pid/find?id=10568/118424
    +
    diff --git a/docs/categories/index.html b/docs/categories/index.html index bd5cce247..56dd210fe 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/index.xml b/docs/categories/index.xml index 127593168..1a4167742 100644 --- a/docs/categories/index.xml +++ b/docs/categories/index.xml @@ -6,7 +6,7 @@ Recent content in Categories on CGSpace Notes Hugo en-us - Sun, 05 May 2024 21:43:52 +0300 + Mon, 13 May 2024 08:21:17 +0300 Notes diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index c4422dcea..904801669 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.xml b/docs/categories/notes/index.xml index 718fa36f0..00c4853cb 100644 --- a/docs/categories/notes/index.xml +++ b/docs/categories/notes/index.xml @@ -6,7 +6,7 @@ Recent content in Notes on CGSpace Notes Hugo en-us - Sun, 05 May 2024 21:43:52 +0300 + Mon, 13 May 2024 08:21:17 +0300 May, 2024 diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index ba01353d2..a35207c10 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 4df03b395..64302a0f9 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index b4778076a..ea59e9c88 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index 753811b7f..15efc0ff8 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index ef6be6875..a78a0d53a 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/7/index.html b/docs/categories/notes/page/7/index.html index 2d4eda2a9..6e2f59792 100644 --- a/docs/categories/notes/page/7/index.html +++ b/docs/categories/notes/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/8/index.html b/docs/categories/notes/page/8/index.html index 1faa40093..47523db40 100644 --- a/docs/categories/notes/page/8/index.html +++ b/docs/categories/notes/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/9/index.html b/docs/categories/notes/page/9/index.html index 0677cfc19..a4316e14b 100644 --- a/docs/categories/notes/page/9/index.html +++ b/docs/categories/notes/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index be5db493d..8e482d047 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.xml b/docs/index.xml index 2b30a69d1..c56912d2e 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -6,7 +6,7 @@ Recent content on CGSpace Notes Hugo en-us - Sun, 05 May 2024 21:43:52 +0300 + Mon, 13 May 2024 08:21:17 +0300 May, 2024 diff --git a/docs/page/10/index.html b/docs/page/10/index.html index bad042ded..f98feb783 100644 --- a/docs/page/10/index.html +++ b/docs/page/10/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/11/index.html b/docs/page/11/index.html index 20f542332..5512e2472 100644 --- a/docs/page/11/index.html +++ b/docs/page/11/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 11e6d22af..613ded153 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 86dd82b2e..f7ca85fcb 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index dd2f18b3d..e41fc017e 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 24aac9861..b0f1488b7 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 47bfeb070..caee784bd 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 1f571dc89..f5c91541a 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index 65ac70aaf..fbaff8eb5 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/9/index.html b/docs/page/9/index.html index 127162f38..d6dfc48be 100644 --- a/docs/page/9/index.html +++ b/docs/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 0ad80352d..aaf733f77 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.xml b/docs/posts/index.xml index 7cded0aa5..b18c95d5f 100644 --- a/docs/posts/index.xml +++ b/docs/posts/index.xml @@ -6,7 +6,7 @@ Recent content in Posts on CGSpace Notes Hugo en-us - Sun, 05 May 2024 21:43:52 +0300 + Mon, 13 May 2024 08:21:17 +0300 May, 2024 diff --git a/docs/posts/page/10/index.html b/docs/posts/page/10/index.html index af7a58737..7fcb9f79d 100644 --- a/docs/posts/page/10/index.html +++ b/docs/posts/page/10/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/11/index.html b/docs/posts/page/11/index.html index 6030d62f9..01083114c 100644 --- a/docs/posts/page/11/index.html +++ b/docs/posts/page/11/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index be3c0067d..455154817 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index c2419fe13..31edec975 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 932476aed..12eedb23c 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index 0cac92b3e..db0dcea62 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 0ad1814a1..e4f2c3e30 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 51c4cc03d..c5f291a92 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index f8efc610a..a1077448b 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/9/index.html b/docs/posts/page/9/index.html index 57a575960..303c2d0d8 100644 --- a/docs/posts/page/9/index.html +++ b/docs/posts/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 1e67a32ce..97ab3c40a 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2024-05-05T21:43:52+03:00 + 2024-05-13T08:21:17+03:00 https://alanorth.github.io/cgspace-notes/ - 2024-05-05T21:43:52+03:00 + 2024-05-13T08:21:17+03:00 https://alanorth.github.io/cgspace-notes/2024-05/ - 2024-05-05T21:43:52+03:00 + 2024-05-13T08:21:17+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2024-05-05T21:43:52+03:00 + 2024-05-13T08:21:17+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2024-05-05T21:43:52+03:00 + 2024-05-13T08:21:17+03:00 https://alanorth.github.io/cgspace-notes/2024-04/ 2024-04-29T17:21:28+03:00