mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-12-24 14:04:29 +01:00
Add notes for 2016-05-20
This commit is contained in:
parent
30fbe72f0a
commit
c3c54000de
@ -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
|
||||
|
@ -278,6 +278,29 @@ fi
|
||||
<pre><code># 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');
|
||||
</code></pre>
|
||||
|
||||
<h2 id="2016-05-20:b7bf1a0f8f2415a40e1e11e343b04c0d">2016-05-20</h2>
|
||||
|
||||
<ul>
|
||||
<li>More work on CCAFS Video and Images records</li>
|
||||
<li>For SAFBuilder we need to modify filename column to have the thumbnail bundle:
|
||||
<br /></li>
|
||||
</ul>
|
||||
|
||||
<pre><code>value + "__bundle:THUMBNAIL"
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Also, I fixed some weird characters using OpenRefine’s transform with the following GREL:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>value.replace(/\u0081/,'')
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Write shell script to resize thumbnails with height larger than 400: <a href="https://gist.github.com/alanorth/131401dcd39d00e0ce12e1be3ed13256">https://gist.github.com/alanorth/131401dcd39d00e0ce12e1be3ed13256</a></li>
|
||||
<li>Upload 707 CCAFS records to DSpace Test</li>
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
|
||||
|
@ -215,6 +215,29 @@ fi
|
||||
|
||||
<pre><code># 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');
|
||||
</code></pre>
|
||||
|
||||
<h2 id="2016-05-20:b7bf1a0f8f2415a40e1e11e343b04c0d">2016-05-20</h2>
|
||||
|
||||
<ul>
|
||||
<li>More work on CCAFS Video and Images records</li>
|
||||
<li>For SAFBuilder we need to modify filename column to have the thumbnail bundle:
|
||||
<br /></li>
|
||||
</ul>
|
||||
|
||||
<pre><code>value + &quot;__bundle:THUMBNAIL&quot;
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Also, I fixed some weird characters using OpenRefine&rsquo;s transform with the following GREL:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>value.replace(/\u0081/,'')
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Write shell script to resize thumbnails with height larger than 400: <a href="https://gist.github.com/alanorth/131401dcd39d00e0ce12e1be3ed13256">https://gist.github.com/alanorth/131401dcd39d00e0ce12e1be3ed13256</a></li>
|
||||
<li>Upload 707 CCAFS records to DSpace Test</li>
|
||||
</ul>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
@ -215,6 +215,29 @@ fi
|
||||
|
||||
<pre><code># 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');
|
||||
</code></pre>
|
||||
|
||||
<h2 id="2016-05-20:b7bf1a0f8f2415a40e1e11e343b04c0d">2016-05-20</h2>
|
||||
|
||||
<ul>
|
||||
<li>More work on CCAFS Video and Images records</li>
|
||||
<li>For SAFBuilder we need to modify filename column to have the thumbnail bundle:
|
||||
<br /></li>
|
||||
</ul>
|
||||
|
||||
<pre><code>value + &quot;__bundle:THUMBNAIL&quot;
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Also, I fixed some weird characters using OpenRefine&rsquo;s transform with the following GREL:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>value.replace(/\u0081/,'')
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Write shell script to resize thumbnails with height larger than 400: <a href="https://gist.github.com/alanorth/131401dcd39d00e0ce12e1be3ed13256">https://gist.github.com/alanorth/131401dcd39d00e0ce12e1be3ed13256</a></li>
|
||||
<li>Upload 707 CCAFS records to DSpace Test</li>
|
||||
</ul>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user