[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] - adding new licences in



Hi Graham,

If you already have a cfg/namedsets/licenses under your archive (i.e.
EPRINTS_PATH/archives/ARCHIVE_NAME) then you can just edit that.  if not
you should copy EPRINTS_PATH/lib/namedsets/licenses into your archive in
this location and add the licenses you need. Try to use the same format
as with the existing license IDs, i.e. just lower case letters, number
and underscores where necessary. Once you have added these, you with
need to add the phrases to your archive's phrases file in
cfg/lang/en/phrases/local.xml.  You will need to add a typename phrase
and a description phrase.  Here is an example for a Creative Commons
license:

<epp:phrase id="licenses_typename_cc_by_nd">Creative Commons:
Attribution-No Derivative Works 3.0</epp:phrase>

<epp:phrase id="licenses_description_cc_by_nd"><a
href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby-nd%2F3.0%2F&amp;data=01%7C01%7C%7C3ca41bcae598481d3f0c08d77d5576d0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=eItojVDc0cAK%2Bys8xZHHgYwt9FedWgP8Ks1UhZ3F7Jo%3D&amp;reserved=0";>Creative Commons
Attribution No Derivatives</a></epp:phrase>

The former will appear in the dropdown box on your workflow (data entry
forms) and the latter in the summary page generated for the publication.

Regards

David Newman


On 10/12/2019 09:34, Graham Parton - UKRI STFC via Eprints-tech wrote:
> Hi Eprints Community,
>
> We have EPrints set up for our grey literatue repo alongside our archive. Set up details are:
>
>
>
> EPrints Release:
>
> 3.3.15
>
> Database Driver:
>
> EPrints::Database::mysql [DBI 1.609, DBD::mysql 4.013]
>
> Database Server Version:
>
> MySQL
>
>
>
> This is great but we would like to add in more licences to the available selection so that we can include the UK?s Open Government Licences.
>
> So far we?ve not found how to do this.
>
> Anyone got a suggestion on how to do so?
>
> Thanks,
> graham
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7C3ca41bcae598481d3f0c08d77d5576d0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ibRJ7%2FDCdCFSRKWYS2KaVJwsuBvnv%2F38F3dotLqr6Y0%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7C3ca41bcae598481d3f0c08d77d5576d0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=mO8SqpDp7dBAs0WclRnedpHEJJoEi6A94FkjQDMfzHc%3D&amp;reserved=0
> *** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7C%7C3ca41bcae598481d3f0c08d77d5576d0%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=irrFLg6PK%2FgIpM16OQgkQxZiIctpT%2BkgIImEWQhQyds%3D&amp;reserved=0