I recently worked on migrating a journal from an older self-coded platform to OJS3. Our editors would like to import all the older issues into our new OJS3-journal. So I was looking into the corresponding entry in the admin guide and the sample files provided there.
I couldn’t find any info on how to attach a cover image to an article in the sample files. However, the XML schema for OJS defines an element named
cover (cf. lines 171-180):
<element name="cover"> <complexType> <sequence> <element name="cover_image" type="string" minOccurs="1" maxOccurs="1" /> <element name="cover_image_alt_text" type="string" minOccurs="1" maxOccurs="1" /> <element name="embed" type="pkp:embed" /> </sequence> <attribute name="locale" type="string" /> </complexType> </element>
Now I’m not the fittest when it comes to XML but I don’t quite get what the first element in the
sequence does and what it should look like, but I understand it is required, right?
I tried to export already published articles that have cover images but the resulting XML didn’t feature them. And as expected, when I imported the XML file again, the articles where without covers.
Could you please give me an example of a well-formatted, OJS3-importable XML file of an article with a cover image (or an issue with many articles that each has a cover image) would look like? That would be really great!
Thanks in advance!