OMP DOI plugin - How to export crossref XML?

As far as I know, CrossRef XML Export Plugin is not available in OMP 3.2.
Is there an option to export XML of any kind to upload it to CrossRef page or we still have to write all metadata of the book to CrossRef DOI webDeposit form?
Kind regards.
M. Rudolf

The export plugins available, i.e. the native xml export and the ONIX export (if I’m not mistaken), do not seem to be very helpful in this regard. The structure that comes out looks quite different to the Crossref xml. So, no I don’t think there are any options to either using the web deposit form or writing the xml manually.

I would be interested to know if anyone knows of a quick way to write up the xml-files. When submitting chapters it can take a while. I’ve used Visual Studio to do this and it’s slightly faster for me than using the web deposit form, but still kind of slow.

All the best

I am working on a simple OMP Crossref export plugin. Should be ready in April and will of course release it in Github. We are building a monograph version of, so I need it there.


@ajnyga is there any news for plugin

1 Like

Any news on this automatic DOI generation plugin for OMP?

I forked the Datacite plugin from Dulip and made a version for Crossref. It does not include automatic registration but has worked for us so far. Can not promise much support for that. I am waiting for the new DOI stuff PKP is preparing and will build a better one once they are ready.

Other plugins you might be interested in GitHub - ajnyga/quickSubmit at omp (just for OMP 3.2 at the moment)

And GitHub - ajnyga/autoApprovePublicationFormats if you are tired of clicking those publication format boxes green.


Hi @ajnyga,

Should crossref plugin folder be unzipped in Plugins / ImportExport?

Section plugins does not load when I unzip folder

¿Cómo puedo generar el XML manualmente para enviarlo a Crossref? Tengo un OMP
Muchas gracias, saludos.
Elena Cruz.

Hi @Elena_Najera, see this previous post on this thread, I understand that the plugin mentioned can be installed on OMP 3+ and used to export a valid crossref xml and upload it on web deposit form.
@ajnyga, can you confirm that?
Best regards

1 Like


The Crossref plugin I made for OMP only works for OMP 3.2 at the moment.

It uses the Crossref API meaning that once installed, you can directly deposit DOIs using it (no need to upload any files).

1 Like

Hi @ajnyga,

do you know if there will be an official CrossRef XML export plugin for OMP 3.4?

Is there any news about CrossRef XML export plugin for OMP 3.4? @ajnyga do you know what the prognosis is?

@ajnyga: Does your CrossRef XML plugin works at version

1 Like

sorry not yet, but probably soon

1 Like

I do not think there is anything official coming out for 3.4

There is a more recent version of my plugin that should work with OMP 3.3.0:

The old OMP 3.2.1 compatible version is here: GitHub - ajnyga/datacite at crossref-3-2-1


Hi @ajnyga
I have an OMP 3.3.8 installation waiting for the update of your plugin. I will test it in the upcoming days, and share the results.
Thank you very much for this valuable sharing.
Uğur Koçak

Dear @ajnyga
Thank you for sharing this plugin with us.
I installed it on two OMP 3.3.8 sites. One of the sites gave a 504 gateway timeout, and I couldn’t reach the plugin interface (to enter the username & password, and to deposit a book doi). On the other site, I entered a valid CrossRef username and password. But I get the following error message when I tried to deposit a doi. Hope, this may help to improve the plugin,
I noticed that the orcid id information is located within the person name tag.

##<?xml version="1.0" encoding="UTF-8"?>
 <doi_batch_diagnostic status="completed" sp="a-cs1">
 <record_diagnostic status="Failure">
 <doi />
 <msg>Error: cvc-datatype-valid.1.2.1: '' is not a valid value for 'NMTOKEN'.
 Error: cvc-attribute.3: The value '' of attribute 'language' on element 'book_metadata' is not valid with respect to its type, 'null'.
 Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ORCID'. One of '{"":given_name, "":surname}' is expected.
 (403 Forbidden)##

The xml code produced by the plugin is here

<?xml version="1.0" encoding="UTF-8"?>

<?xml version="1.0" encoding="utf-8"?>
<doi_batch xmlns="" xmlns:xsi="" xmlns:jats="" xmlns:ai="" xmlns:rel="" version="4.4.2" xsi:schemaLocation="">
<registrant>Turkforensic Test Yayınevi</registrant>
<book xmlns:default="" xmlns:jats="" book_type="edited_book">
<book_metadata xmlns="" xmlns:jats="" language="">
<person_name contributor_role="author" sequence="first">
<title>Adli Tıp ve Adli Bilimler</title>
<jats:abstract xmlns:jats="">
<jats:p>Adaletin... Rehberi</jats:p>
<publication_date media_type="online">
<isbn media_type="electronic">9786052584446</isbn>
<publisher_name>Turkforensic Test Yayınevi</publisher_name>


Hard to say what is wrong in the first case, would need to see a php error for that.

Error: cvc-attribute.3: The value '' of attribute 'language' on element 'book_metadata' is not valid with respect to its type, 'null'.
What is the language of the publication? The language attribute mentioned there is set with PKPLocale::getIso1FromLocale($locale) so it seems like whatever the locale is that function is returning null.

Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ORCID'. One of '{&quot;;:given_name, &quot;;:surname}' is expected.
This is probably because there is no author name available and Crossref is expecting to see that data before ORCID. I am not sure if it is possible to register content without an author name.

Hi @ajnyga!

First, thanks so much for sharing your plugin!
The Datacite plugin is now part of the plugin gallery. Would it be possible to integrate your code to that plugin, so we maximize future compatibility efforts? Have you suggested this to @Dulip_Withanage?
Thanks again!