Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OMP] Add funding data to ONIX export #10923

Open
kaitlinnewson opened this issue Feb 11, 2025 · 2 comments
Open

[OMP] Add funding data to ONIX export #10923

kaitlinnewson opened this issue Feb 11, 2025 · 2 comments
Assignees
Labels
Enhancement:1:Minor A new feature or improvement that can be implemented in less than 3 days.
Milestone

Comments

@kaitlinnewson
Copy link
Member

kaitlinnewson commented Feb 11, 2025

When an OMP user has installed and enabled the funding plugin from the plugin gallery, that metadata should be included in the ONIX export when populated.

Sample for funder data from ONIX documentation p.4:

<Publisher>
    <PublishingRole>16</PublishingRole> <!-- funding body -->
    <PublisherIdentifier>
        <PublisherIDType>40</PublisherIDType> <!-- ROR -->
        <IDValue>029chgv08</IDValue>
    </PublisherIdentifier>
    <PublisherIdentifier>
        <PublisherIDType>32</PublisherIDType> <!-- FundRef DOI -->
        <IDValue>10.13039/100010269</IDValue>
    </PublisherIdentifier>
    <PublisherName>Wellcome Trust</PublisherName>
    <Funding>
        <FundingIdentifier>
            <FundingIDType>01</FundingIDType> <!-- proprietary -->
            <IDTypeName>Wellcome Grant No</IDTypeName>
            <IDValue>2018/701a</IDValue>
        </FundingIdentifier>
    </Funding>
</Publisher>

What application are you using?
OMP 3.3/3.4/main

Additional information
Tagging @ajnyga to add any relevant notes about the plugin and/or the plugin metadata.

@kaitlinnewson kaitlinnewson added the Enhancement:1:Minor A new feature or improvement that can be implemented in less than 3 days. label Feb 11, 2025
@kaitlinnewson kaitlinnewson added this to the 3.4.0-x milestone Feb 11, 2025
@kaitlinnewson kaitlinnewson self-assigned this Feb 11, 2025
@kaitlinnewson kaitlinnewson modified the milestones: 3.4.0-x, 3.3.0-x Feb 11, 2025
@asmecher
Copy link
Member

Here's an example of the Publication Facts Label plugin making use of funding plugin data, when that plugin is installed and available. Not a great example to promote, as it leads to cross-dependencies, but anyway: https://github.com/asmecher/pflPlugin/blob/3b84f0daff1b5291d6c7213458783ea87228c239/PflPlugin.inc.php#L177..L192

@ajnyga
Copy link
Collaborator

ajnyga commented Feb 12, 2025

And the second option is to do this from the Funding plugin side if there is a hook to be used https://github.com/ajnyga/funding/blob/master/FundingPlugin.inc.php#L79-L81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement:1:Minor A new feature or improvement that can be implemented in less than 3 days.
Projects
Status: Todo
Development

No branches or pull requests

3 participants