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

[EP-tech] - adding new licences in



Thanks David! __

Kind regards,
Graham

?On 2019/12/10, 09:44, "eprints-tech-bounces at ecs.soton.ac.uk on behalf of Newman D.R. via Eprints-tech" <eprints-tech-bounces at ecs.soton.ac.uk on behalf of eprints-tech at ecs.soton.ac.uk> wrote:

    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%7Ceprints-tech%40ecs.soton.ac.uk%7Cca043ef6212a44b051cb08d77d56803c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=e%2FJir9Ra1UnTzxGRZPX%2Brx1nTpCHXW1oZ1%2Bl8oWjbm0%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%7Ceprints-tech%40ecs.soton.ac.uk%7Cca043ef6212a44b051cb08d77d56803c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=HwVVQR2Pg4Trc4csrQ8TxEAgCwBJ2%2B%2BKh68Ef1zvoBw%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%7Ceprints-tech%40ecs.soton.ac.uk%7Cca043ef6212a44b051cb08d77d56803c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=BTgZ%2Bj6%2FpnCpniVZ4tVScX1nQJ9J8KTx6muNfJU6SuA%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%7Ceprints-tech%40ecs.soton.ac.uk%7Cca043ef6212a44b051cb08d77d56803c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=xMp%2BA3O3%2FDHECxE6hvyB8nxsy2kNVY2dFsoeX2E1OZA%3D&amp;reserved=0
    
    *** 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%7Ceprints-tech%40ecs.soton.ac.uk%7Cca043ef6212a44b051cb08d77d56803c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=HwVVQR2Pg4Trc4csrQ8TxEAgCwBJ2%2B%2BKh68Ef1zvoBw%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%7Ceprints-tech%40ecs.soton.ac.uk%7Cca043ef6212a44b051cb08d77d56803c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=BTgZ%2Bj6%2FpnCpniVZ4tVScX1nQJ9J8KTx6muNfJU6SuA%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%7Ceprints-tech%40ecs.soton.ac.uk%7Cca043ef6212a44b051cb08d77d56803c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=xMp%2BA3O3%2FDHECxE6hvyB8nxsy2kNVY2dFsoeX2E1OZA%3D&amp;reserved=0