Update notes for 2018-11-08

This commit is contained in:
2018-11-08 09:02:20 +02:00
parent fecac58ec8
commit 51aa83e6c3
67 changed files with 196 additions and 970 deletions

View File

@ -18,8 +18,6 @@ Run system updates and reboot DSpace Test
Merge changes for WLE Phase II theme rename (#329)
Looking at extracting the metadata registries from ICARDA’s MEL DSpace database so we can compare fields with CGSpace
We can use PostgreSQL’s extended output format (-x) plus sed to format the output into quasi XML:
" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2017-07/" /><meta property="article:published_time" content="2017-07-01T18:03:52&#43;03:00"/>
@ -39,10 +37,8 @@ Run system updates and reboot DSpace Test
Merge changes for WLE Phase II theme rename (#329)
Looking at extracting the metadata registries from ICARDA&rsquo;s MEL DSpace database so we can compare fields with CGSpace
We can use PostgreSQL&rsquo;s extended output format (-x) plus sed to format the output into quasi XML:
"/>
<meta name="generator" content="Hugo 0.50" />
<meta name="generator" content="Hugo 0.51" />
@ -134,8 +130,6 @@ We can use PostgreSQL&rsquo;s extended output format (-x) plus sed to format the
<li>We can use PostgreSQL&rsquo;s extended output format (<code>-x</code>) plus <code>sed</code> to format the output into quasi XML:</li>
</ul>
<p></p>
<pre><code>$ psql dspacenew -x -c 'select element, qualifier, scope_note from metadatafieldregistry where metadata_schema_id=5 order by element, qualifier;' | sed -r 's:^-\[ RECORD (.*) \]-+$:&lt;/dc-type&gt;\n&lt;dc-type&gt;\n&lt;schema&gt;cg&lt;/schema&gt;:;s:([^ ]*) +\| (.*): &lt;\1&gt;\2&lt;/\1&gt;:;s:^$:&lt;/dc-type&gt;:;1s:&lt;/dc-type&gt;\n::'
</code></pre>