mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2016-05-20
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user