Update notes for 2017-11-02

This commit is contained in:
Alan Orth 2017-11-02 17:05:37 +02:00
parent f44ee0193c
commit 65b3504f13
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
10 changed files with 46 additions and 20 deletions

View File

@ -27,3 +27,14 @@ COPY 54701
<!--more--> <!--more-->
- 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!

View File

@ -17,7 +17,7 @@ http://hdl.handle.net/10568/78495||http://hdl.handle.net/10568/79336
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 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
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
<meta property="article:published_time" content="2017-10-01T08:07:54&#43;03:00"/> <meta property="article:published_time" content="2017-10-01T08:07:54&#43;03:00"/>
<meta property="article:modified_time" content="2017-11-01T12:16:17&#43;02:00"/> <meta property="article:modified_time" content="2017-11-02T16:13:10&#43;02:00"/>
@ -52,7 +52,7 @@ http://hdl.handle.net/10568/78495||http://hdl.handle.net/10568/79336
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 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
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/", "url": "https://alanorth.github.io/cgspace-notes/2017-10/",
"wordCount": "2613", "wordCount": "2613",
"datePublished": "2017-10-01T08:07:54&#43;03:00", "datePublished": "2017-10-01T08:07:54&#43;03:00",
"dateModified": "2017-11-01T12:16:17&#43;02:00", "dateModified": "2017-11-02T16:13:10&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -142,7 +142,7 @@ Add Katherine Lutz to the groups for content sumission and edit steps of the CGI
<ul> <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>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> </ul>
<p></p> <p></p>

View File

@ -38,7 +38,7 @@ COPY 54701
<meta property="article:published_time" content="2017-11-02T09:37:54&#43;02:00"/> <meta property="article:published_time" content="2017-11-02T09:37:54&#43;02:00"/>
<meta property="article:modified_time" content="2017-11-02T09:37:59&#43;02:00"/> <meta property="article:modified_time" content="2017-11-02T10:07:34&#43;02:00"/>
@ -86,9 +86,9 @@ COPY 54701
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "November, 2017", "headline": "November, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-11/", "url": "https://alanorth.github.io/cgspace-notes/2017-11/",
"wordCount": "93", "wordCount": "214",
"datePublished": "2017-11-02T09:37:54&#43;02:00", "datePublished": "2017-11-02T09:37:54&#43;02:00",
"dateModified": "2017-11-02T09:37:59&#43;02:00", "dateModified": "2017-11-02T10:07:34&#43;02:00",
"author": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -177,6 +177,21 @@ COPY 54701
<p></p> <p></p>
<ul>
<li>Abenet asked if it would be possible to generate a report of items in Listing and Reports that had &ldquo;International Fund for Agricultural Development&rdquo; as the <em>only</em> investor</li>
<li>I opened a ticket with Atmire to ask if this was possible: <a href="https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=540">https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=540</a></li>
<li>Work on making the thumbnails in the item view clickable</li>
<li>Basically, once you read the METS XML for an item it becomes easy to trace the structure to find the bitstream link</li>
</ul>
<pre><code>//mets:fileSec/mets:fileGrp[@USE='CONTENT']/mets:file/mets:FLocat[@LOCTYPE='URL']/@xlink:href
</code></pre>
<ul>
<li>METS XML is available for all items with this pattern: /metadata/handle/10568/95947/mets.xml</li>
<li>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!</li>
</ul>

View File

@ -159,7 +159,7 @@ COPY 54701
<ul> <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>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> </ul>
<p></p> <p></p>

View File

@ -61,7 +61,7 @@ COPY 54701
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;There appears to be a pattern but I&amp;rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine&lt;/li&gt; &lt;li&gt;There appears to be a pattern but I&amp;rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine&lt;/li&gt;
&lt;li&gt;Add Katherine Lutz to the groups for content sumission and edit steps of the CGIAR System collections&lt;/li&gt; &lt;li&gt;Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;</description> &lt;p&gt;&lt;/p&gt;</description>

View File

@ -159,7 +159,7 @@ COPY 54701
<ul> <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>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> </ul>
<p></p> <p></p>

View File

@ -61,7 +61,7 @@ COPY 54701
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;There appears to be a pattern but I&amp;rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine&lt;/li&gt; &lt;li&gt;There appears to be a pattern but I&amp;rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine&lt;/li&gt;
&lt;li&gt;Add Katherine Lutz to the groups for content sumission and edit steps of the CGIAR System collections&lt;/li&gt; &lt;li&gt;Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;</description> &lt;p&gt;&lt;/p&gt;</description>

View File

@ -4,12 +4,12 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-11/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-11/</loc>
<lastmod>2017-11-02T09:37:59+02:00</lastmod> <lastmod>2017-11-02T10:07:34+02:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2017-10/</loc> <loc>https://alanorth.github.io/cgspace-notes/2017-10/</loc>
<lastmod>2017-11-01T12:16:17+02:00</lastmod> <lastmod>2017-11-02T16:13:10+02:00</lastmod>
</url> </url>
<url> <url>
@ -134,7 +134,7 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2017-11-02T09:37:59+02:00</lastmod> <lastmod>2017-11-02T10:07:34+02:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
@ -145,7 +145,7 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2017-11-02T09:37:59+02:00</lastmod> <lastmod>2017-11-02T10:07:34+02:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
@ -157,13 +157,13 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/post/</loc> <loc>https://alanorth.github.io/cgspace-notes/post/</loc>
<lastmod>2017-11-02T09:37:59+02:00</lastmod> <lastmod>2017-11-02T10:07:34+02:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2017-11-02T09:37:59+02:00</lastmod> <lastmod>2017-11-02T10:07:34+02:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>

View File

@ -159,7 +159,7 @@ COPY 54701
<ul> <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>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> </ul>
<p></p> <p></p>

View File

@ -61,7 +61,7 @@ COPY 54701
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;There appears to be a pattern but I&amp;rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine&lt;/li&gt; &lt;li&gt;There appears to be a pattern but I&amp;rsquo;ll have to look a bit closer and try to clean them up automatically, either in SQL or in OpenRefine&lt;/li&gt;
&lt;li&gt;Add Katherine Lutz to the groups for content sumission and edit steps of the CGIAR System collections&lt;/li&gt; &lt;li&gt;Add Katherine Lutz to the groups for content submission and edit steps of the CGIAR System collections&lt;/li&gt;
&lt;/ul&gt; &lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;</description> &lt;p&gt;&lt;/p&gt;</description>