Difference between revisions of "SUNScholar/Curation/PDF Cover Page"

From Libopedia
Jump to navigation Jump to search
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<center>
 
<center>
  '''[[SUNScholar/Curation|BACK TO CURATION]]'''
+
  '''[[SUNScholar/PDF_Cover_Page|BACK TO COVER PAGE]]'''
 
</center>
 
</center>
 +
==<font color="red">'''PLEASE NOTE:'''</font>==
 +
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==
 
==Step 1 - Define task==
 
Edit the following file:
 
Edit the following file:
Line 21: Line 25:
 
Edit the following file:
 
Edit the following file:
 
  nano $HOME/{{Source}}/dspace/config/modules/curate.cfg
 
  nano $HOME/{{Source}}/dspace/config/modules/curate.cfg
Add the following to the <tt>ui.tasknames</tt> section.
+
Add the following to the <tt>'''ui.tasknames'''</tt> section.
 
  citationpage = Generate a Citation Page PDF
 
  citationpage = Generate a Citation Page PDF
 
See example below.
 
See example below.
Line 29: Line 33:
 
     requiredmetadata = Check for Required Metadata, \
 
     requiredmetadata = Check for Required Metadata, \
 
     checklinks = Check Links in Metadata, \
 
     checklinks = Check Links in Metadata, \
 +
    vscan = Scan for viruses, \
 
     citationpage = Generate a Citation Page PDF
 
     citationpage = Generate a Citation Page PDF
 
</pre>
 
</pre>
 +
 
==Step 3==
 
==Step 3==
 
And then [[SUNScholar/Rebuild_DSpace|rebuild DSpace]].
 
And then [[SUNScholar/Rebuild_DSpace|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
 +
[[Category:Customisation]]

Latest revision as of 15:58, 29 May 2016

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