SUNScholar/Curation/PDF Cover Page

From Libopedia
Jump to navigation Jump to search
BACK TO COVER PAGE

PLEASE NOTE:

The "bundle:original" that is used by the XMLUI item view code is found to be missing after creating a cover page.

See: https://jira.duraspace.org/browse/DS-2605

Step 1 - Define task

Edit the following file:

nano $HOME/source/dspace/config/modules/curate.cfg

Add the following to the plugin section:

org.dspace.curate.CitationPage = citationpage

See example below.

plugin.named.org.dspace.curate.CurationTask = \
    org.dspace.ctask.general.NoOpCurationTask = noop, \
    org.dspace.ctask.general.ProfileFormats = profileformats, \
    org.dspace.ctask.general.RequiredMetadata = requiredmetadata, \
    org.dspace.ctask.general.ClamScan = vscan, \
    org.dspace.ctask.general.MicrosoftTranslator = translate, \
    org.dspace.ctask.general.MetadataValueLinkChecker = checklinks, \
    org.dspace.curate.CitationPage = citationpage

Step 2 - Enable UI operation

Edit the following file:

nano $HOME/source/dspace/config/modules/curate.cfg

Add the following to the ui.tasknames section.

citationpage = Generate a Citation Page PDF

See example below.

ui.tasknames = \
     profileformats = Profile Bitstream Formats, \
     requiredmetadata = Check for Required Metadata, \
     checklinks = Check Links in Metadata, \
     vscan = Scan for viruses, \
     citationpage = Generate a Citation Page PDF

Step 3

And then rebuild DSpace.

Command Line Task

Type the following to create cover pages after defining the relevant curation task.

$HOME/bin/dspace curate -t citationpage -i all