Update notes for 2017-03-05

This commit is contained in:
2017-03-05 15:30:36 +02:00
parent 22f2d07eca
commit aa83af57b2
6 changed files with 260 additions and 7 deletions

View File

@ -59,6 +59,12 @@ $ identify -format '%r\n' Africa\ group\ of\ negotiators.pdf\[0\]
DirectClass sRGB Alpha
```
## 2017-03-04
- Spent more time looking at the ImageMagick CMYK issue
- The `default_cmyk.icc` and `default_rgb.icc` files are both part of the Ghostscript GPL distribution, but according to DSpace's `LICENSES_THIRD_PARTY` file, DSpace doesn't allow distribution of dependencies that are licensed solely under the GPL
- So this issue is kinda pointless now, as the ICC profiles are absolutely necessary to make a meaningful CMYK→sRGB conversion
## 2017-03-05
- Look into helping developers from landportal.info with a query for items related to LAND on the REST API
@ -70,3 +76,42 @@ $ curl -s -H "accept: application/json" -H "Content-Type: application/json" -X P
```
- But there are hundreds of combinations of fields and values (like `dc.subject` and all the center subjects), and we can't use wildcards in REST!
- Reading about enabling multiple handle prefixes in DSpace
- There is a mailing list thread from 2011 about it: http://dspace.2283337.n4.nabble.com/Multiple-handle-prefixes-merged-DSpace-instances-td3427192.html
- And a comment from Atmire's Bram about it on the DSpace wiki: https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace?focusedCommentId=78163296#comment-78163296
- Bram mentions an undocumented configuration option `handle.plugin.checknameauthority`, but I noticed another one in `dspace.cfg`:
```
# List any additional prefixes that need to be managed by this handle server
# (as for examle handle prefix coming from old dspace repository merged in
# that repository)
# handle.additional.prefixes = prefix1[, prefix2]
```
- Because of this I noticed that our Handle server's `config.dct` was potentially misconfigured!
- We had some default values still present:
```
"300:0.NA/YOUR_NAMING_AUTHORITY"
```
- I've changed them to the following and restarted the handle server:
```
"300:0.NA/10568"
```
- In looking at all the configs I just noticed that we are not providing a DOI in the Google-specific metadata crosswalk
- From `dspace/config/crosswalks/google-metadata.properties`:
```
google.citation_doi = cg.identifier.doi
```
- This works, and makes DSpace output the following metadata on the item view page:
```
<meta content="https://dx.doi.org/10.1186/s13059-017-1153-y" name="citation_doi">
```
- Submitted and merged pull request for this: https://github.com/ilri/DSpace/pull/305