From c3c54000dec3662945132c3bce410b94fe8cdf3a Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 20 May 2016 14:35:36 +0300 Subject: [PATCH] Add notes for 2016-05-20 --- content/2016-05.md | 18 ++++++++++++++++++ public/2016-05/index.html | 23 +++++++++++++++++++++++ public/index.xml | 23 +++++++++++++++++++++++ public/tags/notes/index.xml | 23 +++++++++++++++++++++++ 4 files changed, 87 insertions(+) diff --git a/content/2016-05.md b/content/2016-05.md index d91e633fa..c27ddbdf4 100644 --- a/content/2016-05.md +++ b/content/2016-05.md @@ -162,3 +162,21 @@ value.replace('_','').replace('-','') ``` # select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=75 and (text_value like 'PN%' or text_value like 'PHASE%' or text_value = 'CBA' or text_value = 'IA'); ``` + +## 2016-05-20 + +- More work on CCAFS Video and Images records +- For SAFBuilder we need to modify filename column to have the thumbnail bundle: + +``` +value + "__bundle:THUMBNAIL" +``` + +- Also, I fixed some weird characters using OpenRefine's transform with the following GREL: + +``` +value.replace(/\u0081/,'') +``` + +- Write shell script to resize thumbnails with height larger than 400: https://gist.github.com/alanorth/131401dcd39d00e0ce12e1be3ed13256 +- Upload 707 CCAFS records to DSpace Test diff --git a/public/2016-05/index.html b/public/2016-05/index.html index e698b4b28..3321ae02d 100644 --- a/public/2016-05/index.html +++ b/public/2016-05/index.html @@ -278,6 +278,29 @@ fi
# select text_value from metadatavalue where resource_type_id=2 and metadata_field_id=75 and (text_value like 'PN%' or text_value like 'PHASE%' or text_value = 'CBA' or text_value = 'IA');
 
+

2016-05-20

+ + + +
value + "__bundle:THUMBNAIL"
+
+ + + +
value.replace(/\u0081/,'')
+
+ + +