Revision 58220
Added by Alessia Bardi about 4 years ago
DOIBoostToActions.java | ||
---|---|---|
417 | 417 |
} |
418 | 418 |
); |
419 | 419 |
|
420 |
//Adding Journal |
|
420 |
//Adding Journal and publisher |
|
421 |
//TODO: name of the journal is not the publisher: this needs to be fixed on DOIBoost side |
|
421 | 422 |
|
422 | 423 |
if (StringUtils.isNotBlank(publisher)) { |
423 |
|
|
424 |
metadata.setPublisher(FieldTypeProtos.StringField.newBuilder().setValue(publisher).build()); |
|
424 | 425 |
final FieldTypeProtos.Journal.Builder journal = FieldTypeProtos.Journal.newBuilder().setName(publisher); |
425 | 426 |
|
426 | 427 |
if (hasJSONArrayField(rootElement, "issn")) { |
Also available in: Unified diff
Added publisher field