Difference between revisions of "PDF PublicationList"

From EPrints Documentation
Jump to: navigation, search
(Introduction)
(configuration)
Line 24: Line 24:
  
 
If you wish to change more details such as the user citation, then it will be necessary to edit the plugin that generates the pdf file (EPrints::Plugin::Export::UserPDF).
 
If you wish to change more details such as the user citation, then it will be necessary to edit the plugin that generates the pdf file (EPrints::Plugin::Export::UserPDF).
 +
 +
The phrases need to be modified to suit your needs. By default they are setup for the University of YYZ. The phrase file is lang/en/phrases/publist.xml

Revision as of 12:11, 31 July 2015

Introduction

This is an export plugin developed for the University of St.Gallen

Requirements

The library PDF::API2 is required for the PDF generation

Adding a link to the PDF List

If MePrints is installed then an additional action will be added to the "homepage" action list that will display the pdf publication list.

This is provided by the EPrints::Plugin::Screen::User::ExportPdf plugin which can be customised to suit your needs

The list can also be added to the public MePrints profile page by editing the user profile citation (usually cfg/citations/user/profile.xml ) to add:

<epc:print expr="$item.get_publication_list_url()"/>

This works because the config file adds a get_publication_list_url ep script call for the User dataset (see run_get_publication_list_url in cfg/cfg.d/z_hsg_profile_pdf.pl).

configuration

The elements displayed in the pdf and all the parameters that control the look of the pdf are contained in the config file cfg/cfg.d/z_hsg_profile_pdf.pl

Here you can change the logo, the fonts and font sizes and colours and the categories used to group the publications.

If you wish to change more details such as the user citation, then it will be necessary to edit the plugin that generates the pdf file (EPrints::Plugin::Export::UserPDF).

The phrases need to be modified to suit your needs. By default they are setup for the University of YYZ. The phrase file is lang/en/phrases/publist.xml