2017-04-02 16:57:26 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1, shrink-to-fit=no" >
< meta property = "og:title" content = "April, 2017" / >
< meta property = "og:description" content = "2017-04-02
Merge one change to CCAFS flagships that I had forgotten to remove last month (“ MANAGING CLIMATE RISK” ): https://github.com/ilri/DSpace/pull/317
Quick proof-of-concept hack to add dc.rights to the input form, including some inline instructions/hints:
2017-04-03 12:16:24 +02:00
Remove redundant/duplicate text in the DSpace submission license
Testing the CMYK patch on a collection with 650 items:
$ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p " ImageMagick PDF Thumbnail" -v > & /tmp/filter-media-cmyk.txt
2017-04-02 16:57:26 +02:00
" />
< meta property = "og:type" content = "article" / >
< meta property = "og:url" content = "https://alanorth.github.io/cgspace-notes/2017-04/" / >
< meta property = "article:published_time" content = "2017-04-02T17:08:52+02:00" / >
2017-04-04 14:05:54 +02:00
< meta property = "article:modified_time" content = "2017-04-03T13:16:24+03:00" / >
2017-04-02 16:57:26 +02:00
< meta name = "twitter:card" content = "summary" / >
< meta name = "twitter:text:title" content = "April, 2017" / >
< meta name = "twitter:title" content = "April, 2017" / >
< meta name = "twitter:description" content = "2017-04-02
Merge one change to CCAFS flagships that I had forgotten to remove last month (“ MANAGING CLIMATE RISK” ): https://github.com/ilri/DSpace/pull/317
Quick proof-of-concept hack to add dc.rights to the input form, including some inline instructions/hints:
2017-04-03 12:16:24 +02:00
Remove redundant/duplicate text in the DSpace submission license
Testing the CMYK patch on a collection with 650 items:
$ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p " ImageMagick PDF Thumbnail" -v > & /tmp/filter-media-cmyk.txt
2017-04-02 16:57:26 +02:00
"/>
< meta name = "generator" content = "Hugo 0.19" / >
< script type = "application/ld+json" >
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "April, 2017",
"url": "https://alanorth.github.io/cgspace-notes/2017-04/",
2017-04-04 14:05:54 +02:00
"wordCount": "226",
2017-04-02 16:57:26 +02:00
"datePublished": "2017-04-02T17:08:52+ 02:00",
2017-04-04 14:05:54 +02:00
"dateModified": "2017-04-03T13:16:24+ 03:00",
2017-04-02 16:57:26 +02:00
"author": {
"@type": "Person",
"name": "Alan Orth"
},
"keywords": "Notes"
}
< / script >
< link rel = "canonical" href = "https://alanorth.github.io/cgspace-notes/2017-04/" >
< title > April, 2017 | CGSpace Notes< / title >
<!-- combined, minified CSS -->
< link href = "https://alanorth.github.io/cgspace-notes/css/style.css" rel = "stylesheet" integrity = "sha384-KgZMa5t4zn+0nHuId9vV0Oqe9qSvqAhmtw588G8XKQmOFtA+y4ZkRl2JPMhw1dsN" crossorigin = "anonymous" >
< / head >
< body >
< div class = "blog-masthead" >
< div class = "container" >
< nav class = "nav blog-nav" >
< a class = "nav-link " href = "https://alanorth.github.io/cgspace-notes/" > Home< / a >
< / nav >
< / div >
< / div >
< header class = "blog-header" >
< div class = "container" >
< h1 class = "blog-title" > < a href = "https://alanorth.github.io/cgspace-notes/" rel = "home" > CGSpace Notes< / a > < / h1 >
< p class = "lead blog-description" > Documenting day-to-day work on the < a href = "https://cgspace.cgiar.org" > CGSpace< / a > repository.< / p >
< / div >
< / header >
< div class = "container" >
< div class = "row" >
< div class = "col-sm-8 blog-main" >
< article class = "blog-post" >
< header >
< h2 class = "blog-post-title" > < a href = "https://alanorth.github.io/cgspace-notes/2017-04/" > April, 2017< / a > < / h2 >
< p class = "blog-post-meta" > < time datetime = "2017-04-02T17:08:52+02:00" > Sun Apr 02, 2017< / time > by Alan Orth in
< i class = "fa fa-tag" aria-hidden = "true" > < / i > < a href = "/cgspace-notes/tags/notes" rel = "tag" > Notes< / a >
< / p >
< / header >
< h2 id = "2017-04-02" > 2017-04-02< / h2 >
< ul >
< li > Merge one change to CCAFS flagships that I had forgotten to remove last month (“ MANAGING CLIMATE RISK” ): < a href = "https://github.com/ilri/DSpace/pull/317" > https://github.com/ilri/DSpace/pull/317< / a > < / li >
< li > Quick proof-of-concept hack to add < code > dc.rights< / code > to the input form, including some inline instructions/hints:< / li >
< / ul >
< p > < img src = "/cgspace-notes/2017/04/dc-rights.png" alt = "dc.rights in the submission form" / > < / p >
2017-04-03 12:16:24 +02:00
< ul >
< li > Remove redundant/duplicate text in the DSpace submission license< / li >
< li > Testing the CMYK patch on a collection with 650 items:< / li >
< / ul >
< pre > < code > $ [dspace]/bin/dspace filter-media -f -i 10568/16498 -p " ImageMagick PDF Thumbnail" -v > & /tmp/filter-media-cmyk.txt
< / code > < / pre >
2017-04-02 16:57:26 +02:00
< p > < / p >
2017-04-03 12:16:24 +02:00
< h2 id = "2017-04-03" > 2017-04-03< / h2 >
< ul >
< li > Continue testing the CMYK patch on more communities:< / li >
< / ul >
< pre > < code > $ [dspace]/bin/dspace filter-media -f -i 10568/1 -p " ImageMagick PDF Thumbnail" -v > > /tmp/filter-media-cmyk.txt 2> & 1
< / code > < / pre >
< ul >
< li > So far there are almost 500:< / li >
< / ul >
< pre > < code > $ grep -c profile /tmp/filter-media-cmyk.txt
484
< / code > < / pre >
< ul >
< li > Looking at the CG Core document again, I’ ll send some feedback to Peter and Abenet:
< ul >
< li > We use cg.contributor.crp to indicate the CRP(s) affiliated with the item< / li >
< li > DSpace has dc.date.available, but this field isn’ t particularly meaningful other than as an automatic timestamp at the time of item accession (and is identical to dc.date.accessioned)< / li >
< li > dc.relation exists in CGSpace, but isn’ t used—rather dc.relation.ispartofseries, which is used ~5,000 times to Series name and number within that series< / li >
< / ul > < / li >
< li > Also, I’ m noticing some weird outliers in < code > cg.coverage.region< / code > , need to remember to go correct these later:< / li >
< / ul >
< pre > < code > dspace=# select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=227;
< / code > < / pre >
2017-04-04 14:05:54 +02:00
< h2 id = "2017-04-04" > 2017-04-04< / h2 >
< ul >
< li > The < code > filter-media< / code > script has been running on more large communities and now there are many more CMYK PDFs that have been fixed:< / li >
< / ul >
< pre > < code > $ grep -c profile /tmp/filter-media-cmyk.txt
1584
< / code > < / pre >
2017-04-02 16:57:26 +02:00
< / article >
< / div > <!-- /.blog - main -->
< aside class = "col-sm-3 offset-sm-1 blog-sidebar" >
< section class = "sidebar-module" >
< h4 > Recent Posts< / h4 >
< ol class = "list-unstyled" >
< li > < a href = "/cgspace-notes/2017-04/" > April, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-03/" > March, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-02/" > February, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2017-01/" > January, 2017< / a > < / li >
< li > < a href = "/cgspace-notes/2016-12/" > December, 2016< / a > < / li >
< / ol >
< / section >
< section class = "sidebar-module" >
< h4 > Links< / h4 >
< ol class = "list-unstyled" >
< li > < a href = "https://cgspace.cgiar.org" > CGSpace< / a > < / li >
< li > < a href = "https://dspacetest.cgiar.org" > DSpace Test< / a > < / li >
< li > < a href = "https://github.com/ilri/DSpace" > CGSpace @ GitHub< / a > < / li >
< / ol >
< / section >
< / aside >
< / div > <!-- /.row -->
< / div > <!-- /.container -->
< footer class = "blog-footer" >
< p >
Blog template created by < a href = "https://twitter.com/mdo" > @mdo< / a > , ported to Hugo by < a href = 'https://twitter.com/mralanorth' > @mralanorth< / a > .
< / p >
< p >
< a href = "#" > Back to top< / a >
< / p >
< / footer >
< / body >
< / html >