mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-25 16:08:19 +01:00
Add notes for 2019-10-29
This commit is contained in:
parent
4b8a05d47b
commit
9a75c9b2f0
@ -235,4 +235,10 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
|
|||||||
- I will revert all changes to `dc.title` and `dc.title.alternative`
|
- I will revert all changes to `dc.title` and `dc.title.alternative`
|
||||||
- TODO: there are similar issues with the `citation_author` metadata element missing from DRI, so I might have to revert those changes too
|
- TODO: there are similar issues with the `citation_author` metadata element missing from DRI, so I might have to revert those changes too
|
||||||
|
|
||||||
|
## 2019-10-29
|
||||||
|
|
||||||
|
- After more digging in the source I found out why the `dcterms.title` and `dcterms.creator` fields are not present in the DRI `pageMeta`...
|
||||||
|
- The `pageMeta` element is constructed in `dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/IncludePageMeta.java` and the code does not consider any other schemas besides DC
|
||||||
|
- I moved title and creator back to the original DC fields and then everything was working as expected in the pageMeta, so I guess we cannot use these in DCTERMS either!
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -20,10 +20,8 @@ With reference to [CG Core v2 draft standard](https://agriculturalsemantics.gith
|
|||||||
- [Implementation Progress](#implementation-progress)
|
- [Implementation Progress](#implementation-progress)
|
||||||
|
|
||||||
## Proposed Changes
|
## Proposed Changes
|
||||||
As of 2019-09-11 the scope of the changes includes the following fields:
|
As of 2019-10-29 the scope of the changes includes the following fields:
|
||||||
|
|
||||||
- dc.contributor.author→dcterms.creator
|
|
||||||
- for people and institutional authors
|
|
||||||
- cg.creator.id→cg.creator.identifier
|
- cg.creator.id→cg.creator.identifier
|
||||||
- ORCID identifiers
|
- ORCID identifiers
|
||||||
- dc.format.extent→dcterms.extent
|
- dc.format.extent→dcterms.extent
|
||||||
@ -56,12 +54,13 @@ As of 2019-09-11 the scope of the changes includes the following fields:
|
|||||||
|
|
||||||
The following fields are currently out of the scope of this migration because they are used internally by DSpace 5.x/6.x and would be difficult to change without significant modifications to the core of the code:
|
The following fields are currently out of the scope of this migration because they are used internally by DSpace 5.x/6.x and would be difficult to change without significant modifications to the core of the code:
|
||||||
|
|
||||||
- dc.title
|
- dc.title (`IncludePageMeta.java` only considers DC when building pageMeta, which we rely on in XMLUI because of XSLT from DRI)
|
||||||
- dc.title.alternative
|
- dc.title.alternative
|
||||||
- dc.date.available
|
- dc.date.available
|
||||||
- dc.date.accessioned
|
- dc.date.accessioned
|
||||||
- dc.identifier.uri
|
- dc.identifier.uri (hard coded for Handle assignment upon item submission)
|
||||||
- dc.description.provenance
|
- dc.description.provenance
|
||||||
|
- dc.contributor.author (`IncludePageMeta.java` only considers DC when building pageMeta, which we rely on in XMLUI because of XSLT from DRI)
|
||||||
|
|
||||||
## Fields to Create
|
## Fields to Create
|
||||||
Make sure the following fields exist:
|
Make sure the following fields exist:
|
||||||
@ -89,7 +88,6 @@ Tally of the status of the implementation of the new fields in the CGSpace `5_x-
|
|||||||
|
|
||||||
| Field Name | migrate-fields.sh | Input Forms | XMLUI Themes¹ | dspace.cfg | Discovery | Atmire Modules | Crosswalks |
|
| Field Name | migrate-fields.sh | Input Forms | XMLUI Themes¹ | dspace.cfg | Discovery | Atmire Modules | Crosswalks |
|
||||||
| ---------- | :---------------: | :---------: | :-----------: | :--------: | :-------: | :------------: | :--------: |
|
| ---------- | :---------------: | :---------: | :-----------: | :--------: | :-------: | :------------: | :--------: |
|
||||||
dcterms.creator | ✓ | ✓ | ? | ✓ | ✓ | ✓ | |
|
|
||||||
cg.creator.identifier | ✓ | ✓ | ✓ | - | ✓ | ✓ | |
|
cg.creator.identifier | ✓ | ✓ | ✓ | - | ✓ | ✓ | |
|
||||||
dcterms.extent | ✓ | ✓ | - | - | - | - | |
|
dcterms.extent | ✓ | ✓ | - | - | - | - | |
|
||||||
dcterms.issued | ✓ | ✓ | ? | ✓ | ✓ | ✓ | |
|
dcterms.issued | ✓ | ✓ | ? | ✓ | ✓ | ✓ | |
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "October, 2019",
|
"headline": "October, 2019",
|
||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-10\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-10\/",
|
||||||
"wordCount": "1719",
|
"wordCount": "1791",
|
||||||
"datePublished": "2019-10-01T13:20:51+03:00",
|
"datePublished": "2019-10-01T13:20:51+03:00",
|
||||||
"dateModified": "2019-10-28T16:52:51+02:00",
|
"dateModified": "2019-10-28T16:52:51+02:00",
|
||||||
"author": {
|
"author": {
|
||||||
@ -410,6 +410,17 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
|
|||||||
</ul></li>
|
</ul></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<h2 id="2019-10-29">2019-10-29</h2>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>After more digging in the source I found out why the <code>dcterms.title</code> and <code>dcterms.creator</code> fields are not present in the DRI <code>pageMeta</code>…
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>The <code>pageMeta</code> element is constructed in <code>dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/IncludePageMeta.java</code> and the code does not consider any other schemas besides DC</li>
|
||||||
|
<li>I moved title and creator back to the original DC fields and then everything was working as expected in the pageMeta, so I guess we cannot use these in DCTERMS either!</li>
|
||||||
|
</ul></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/" />
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/" />
|
||||||
<meta property="article:published_time" content="2019-10-28T13:27:35+02:00" />
|
<meta property="article:published_time" content="2019-10-28T13:27:35+02:00" />
|
||||||
<meta property="article:modified_time" content="2019-10-28T16:54:05+02:00" />
|
<meta property="article:modified_time" content="2019-10-28T16:55:37+02:00" />
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="CGSpace CG Core v2 Migration"/>
|
<meta name="twitter:title" content="CGSpace CG Core v2 Migration"/>
|
||||||
@ -25,9 +25,9 @@
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "CGSpace CG Core v2 Migration",
|
"headline": "CGSpace CG Core v2 Migration",
|
||||||
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/cgspace-cgcorev2-migration\/",
|
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/cgspace-cgcorev2-migration\/",
|
||||||
"wordCount": "522",
|
"wordCount": "554",
|
||||||
"datePublished": "2019-10-28T13:27:35+02:00",
|
"datePublished": "2019-10-28T13:27:35+02:00",
|
||||||
"dateModified": "2019-10-28T16:54:05+02:00",
|
"dateModified": "2019-10-28T16:55:37+02:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -112,14 +112,9 @@
|
|||||||
|
|
||||||
<h2 id="proposed-changes">Proposed Changes</h2>
|
<h2 id="proposed-changes">Proposed Changes</h2>
|
||||||
|
|
||||||
<p>As of 2019-09-11 the scope of the changes includes the following fields:</p>
|
<p>As of 2019-10-29 the scope of the changes includes the following fields:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>dc.contributor.author→dcterms.creator
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>for people and institutional authors</li>
|
|
||||||
</ul></li>
|
|
||||||
<li>cg.creator.id→cg.creator.identifier
|
<li>cg.creator.id→cg.creator.identifier
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@ -172,12 +167,13 @@
|
|||||||
<p>The following fields are currently out of the scope of this migration because they are used internally by DSpace 5.x/6.x and would be difficult to change without significant modifications to the core of the code:</p>
|
<p>The following fields are currently out of the scope of this migration because they are used internally by DSpace 5.x/6.x and would be difficult to change without significant modifications to the core of the code:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>dc.title</li>
|
<li>dc.title (<code>IncludePageMeta.java</code> only considers DC when building pageMeta, which we rely on in XMLUI because of XSLT from DRI)</li>
|
||||||
<li>dc.title.alternative</li>
|
<li>dc.title.alternative</li>
|
||||||
<li>dc.date.available</li>
|
<li>dc.date.available</li>
|
||||||
<li>dc.date.accessioned</li>
|
<li>dc.date.accessioned</li>
|
||||||
<li>dc.identifier.uri</li>
|
<li>dc.identifier.uri (hard coded for Handle assignment upon item submission)</li>
|
||||||
<li>dc.description.provenance</li>
|
<li>dc.description.provenance</li>
|
||||||
|
<li>dc.contributor.author (<code>IncludePageMeta.java</code> only considers DC when building pageMeta, which we rely on in XMLUI because of XSLT from DRI)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2 id="fields-to-create">Fields to Create</h2>
|
<h2 id="fields-to-create">Fields to Create</h2>
|
||||||
@ -226,17 +222,6 @@
|
|||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
<td>dcterms.creator</td>
|
|
||||||
<td align="center">✓</td>
|
|
||||||
<td align="center">✓</td>
|
|
||||||
<td align="center">?</td>
|
|
||||||
<td align="center">✓</td>
|
|
||||||
<td align="center">✓</td>
|
|
||||||
<td align="center">✓</td>
|
|
||||||
<td align="center"></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>cg.creator.identifier</td>
|
<td>cg.creator.identifier</td>
|
||||||
<td align="center">✓</td>
|
<td align="center">✓</td>
|
||||||
|
@ -4,37 +4,37 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||||
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
|
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</loc>
|
||||||
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
|
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
|
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/migration/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/migration/</loc>
|
||||||
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
|
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||||
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
|
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
|
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
||||||
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
|
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
|
Loading…
Reference in New Issue
Block a user