From 65b3504f13bba698ad4fa1d34f2b2f45fe662ba4 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 2 Nov 2017 17:05:37 +0200 Subject: [PATCH] Update notes for 2017-11-02 --- content/post/2017-11.md | 11 +++++++++++ public/2017-10/index.html | 10 +++++----- public/2017-11/index.html | 21 ++++++++++++++++++--- public/index.html | 2 +- public/index.xml | 2 +- public/post/index.html | 2 +- public/post/index.xml | 2 +- public/sitemap.xml | 12 ++++++------ public/tags/notes/index.html | 2 +- public/tags/notes/index.xml | 2 +- 10 files changed, 46 insertions(+), 20 deletions(-) diff --git a/content/post/2017-11.md b/content/post/2017-11.md index 54dec2dc4..165d81afb 100644 --- a/content/post/2017-11.md +++ b/content/post/2017-11.md @@ -27,3 +27,14 @@ COPY 54701 +- Abenet asked if it would be possible to generate a report of items in Listing and Reports that had "International Fund for Agricultural Development" as the *only* investor +- I opened a ticket with Atmire to ask if this was possible: https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=540 +- Work on making the thumbnails in the item view clickable +- Basically, once you read the METS XML for an item it becomes easy to trace the structure to find the bitstream link + +``` +//mets:fileSec/mets:fileGrp[@USE='CONTENT']/mets:file/mets:FLocat[@LOCTYPE='URL']/@xlink:href +``` + +- METS XML is available for all items with this pattern: /metadata/handle/10568/95947/mets.xml +- I whipped up a quick hack to print a clickable link with this URL on the thumbnail but it needs to check a few corner cases, like when there is a thumbnail but no content bitstream! diff --git a/public/2017-10/index.html b/public/2017-10/index.html index 906d0ab0a..6b2a92fb6 100644 --- a/public/2017-10/index.html +++ b/public/2017-10/index.html @@ -17,7 +17,7 @@ http://hdl.handle.net/10568/78495||http://hdl.handle.net/10568/79336 There appears to be a pattern but I’ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine -Add Katherine Lutz to the groups for content sumission and edit steps of the CGIAR System collections +Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections " /> @@ -28,7 +28,7 @@ Add Katherine Lutz to the groups for content sumission and edit steps of the CGI - + @@ -52,7 +52,7 @@ http://hdl.handle.net/10568/78495||http://hdl.handle.net/10568/79336 There appears to be a pattern but I’ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine -Add Katherine Lutz to the groups for content sumission and edit steps of the CGIAR System collections +Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections "/> @@ -68,7 +68,7 @@ Add Katherine Lutz to the groups for content sumission and edit steps of the CGI "url": "https://alanorth.github.io/cgspace-notes/2017-10/", "wordCount": "2613", "datePublished": "2017-10-01T08:07:54+03:00", - "dateModified": "2017-11-01T12:16:17+02:00", + "dateModified": "2017-11-02T16:13:10+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -142,7 +142,7 @@ Add Katherine Lutz to the groups for content sumission and edit steps of the CGI

diff --git a/public/2017-11/index.html b/public/2017-11/index.html index f30945761..31e2f3414 100644 --- a/public/2017-11/index.html +++ b/public/2017-11/index.html @@ -38,7 +38,7 @@ COPY 54701 - + @@ -86,9 +86,9 @@ COPY 54701 "@type": "BlogPosting", "headline": "November, 2017", "url": "https://alanorth.github.io/cgspace-notes/2017-11/", - "wordCount": "93", + "wordCount": "214", "datePublished": "2017-11-02T09:37:54+02:00", - "dateModified": "2017-11-02T09:37:59+02:00", + "dateModified": "2017-11-02T10:07:34+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -177,6 +177,21 @@ COPY 54701

+ + +
//mets:fileSec/mets:fileGrp[@USE='CONTENT']/mets:file/mets:FLocat[@LOCTYPE='URL']/@xlink:href
+
+ + + diff --git a/public/index.html b/public/index.html index f83d9c162..2f15113b4 100644 --- a/public/index.html +++ b/public/index.html @@ -159,7 +159,7 @@ COPY 54701

diff --git a/public/index.xml b/public/index.xml index 90f859560..31a86da65 100644 --- a/public/index.xml +++ b/public/index.xml @@ -61,7 +61,7 @@ COPY 54701 <ul> <li>There appears to be a pattern but I&rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine</li> -<li>Add Katherine Lutz to the groups for content sumission and edit steps of the CGIAR System collections</li> +<li>Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections</li> </ul> <p></p> diff --git a/public/post/index.html b/public/post/index.html index cc4f34dfd..728046b9f 100644 --- a/public/post/index.html +++ b/public/post/index.html @@ -159,7 +159,7 @@ COPY 54701

diff --git a/public/post/index.xml b/public/post/index.xml index 6ad9c66b6..a8f2c5c3c 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -61,7 +61,7 @@ COPY 54701 <ul> <li>There appears to be a pattern but I&rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine</li> -<li>Add Katherine Lutz to the groups for content sumission and edit steps of the CGIAR System collections</li> +<li>Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections</li> </ul> <p></p> diff --git a/public/sitemap.xml b/public/sitemap.xml index 2cee348ec..0c6c6993f 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -4,12 +4,12 @@ https://alanorth.github.io/cgspace-notes/2017-11/ - 2017-11-02T09:37:59+02:00 + 2017-11-02T10:07:34+02:00 https://alanorth.github.io/cgspace-notes/2017-10/ - 2017-11-01T12:16:17+02:00 + 2017-11-02T16:13:10+02:00 @@ -134,7 +134,7 @@ https://alanorth.github.io/cgspace-notes/ - 2017-11-02T09:37:59+02:00 + 2017-11-02T10:07:34+02:00 0 @@ -145,7 +145,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2017-11-02T09:37:59+02:00 + 2017-11-02T10:07:34+02:00 0 @@ -157,13 +157,13 @@ https://alanorth.github.io/cgspace-notes/post/ - 2017-11-02T09:37:59+02:00 + 2017-11-02T10:07:34+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2017-11-02T09:37:59+02:00 + 2017-11-02T10:07:34+02:00 0 diff --git a/public/tags/notes/index.html b/public/tags/notes/index.html index 84ac1778c..c8cf17148 100644 --- a/public/tags/notes/index.html +++ b/public/tags/notes/index.html @@ -159,7 +159,7 @@ COPY 54701

diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index c8170724a..ec38d37e4 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -61,7 +61,7 @@ COPY 54701 <ul> <li>There appears to be a pattern but I&rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine</li> -<li>Add Katherine Lutz to the groups for content sumission and edit steps of the CGIAR System collections</li> +<li>Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections</li> </ul> <p></p>