SUNScholar/PDF Cover Page/5.X

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

WE CANNOT ACCEPT RESPONSIBILITY FOR ANY DATA LOSS OR CORRUPTION
BEFORE PROCEEDING, DO EXTENSIVE TESTING ON SPARE INFRASTRUCTURE
*** YOU PROCEED AT YOUR OWN RISK ***

Enable on-the-fly creation

PLEASE NOTE:

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

Procedure

When the user requests a download of the pdf document, then a cover page page is created at the same time as the download request.

To enable this "on-the-fly", follow the instructions below.

Edit the following file:

 nano $HOME/source/dspace/config/modules/disseminate-citation.cfg

See example below.

#Boolean to determine is citation-functionality is enabled globally for entire site.
#default => false
enable_globally=true

#List of collection handles to enable, to apply to nested bitstreams within
#default =>  empty. This is to be collection handles, separated by commas. ex: 1811/123, 1811/234
#enabled_collections=

#List of community handles to enable, to apply to nested bitstreams within
#default => empty. This is to be community handles, separated by commas. ex: 1811/222, 1811/333
#enabled_communities=

#Should the citation page be the first page of the document, or the last page?
#default => true. true => first page, false => last page
#citation_as_first_page=true

# Customize the text/appearance of the citation PDF
# First row of header, perhaps put your institution/university name
header1=SUNScholar 

# Second row of header, perhaps put your DSpace branded name, and url to your DSpace
header2=http://scholar.sun.ac.za

# Metadata fields to display on the citation PDF.
# Specify in schema.element.qualifier form, and separate fields by commas. If you want a horizontal line, use _line_
fields=dc.date.issued,dc.title,dc.creator,dc.contributor.author,dc.publisher,_line_,dc.identifier.citation,dc.identifier.uri

# Footer text, either some type of license/copyright info, or just letting them know where they got the document from.
footer=Downloaded from SUNScholar Research Repository

Enable Curation Task

Click on the link in the heading above.