OJS3 issue import sample xml file needed

It should be inside issue before articles.

<issue_galleys xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">

Thank you so much, I tried to put href to link file on internet, like

<issue_galley> <label>PDF</label> <issue_file> <href mime_type="application/pdf" src="http://www.pravst.hr/dokumenti/zbornik/200785/zb200702.pdf" /> </issue_file> </issue_galley>

but have error
“Element ‘{http://pkp.sfu.ca}href’: This element is not expected. Expected is ( {http://pkp.sfu.ca}file_name ).”

even found in wiki that I could
<galley> <label>PDF</label> <file> <href src="http://www.example.com/import_files/my_file.pdf" mime_type="application/pdf"/> </file> </galley>

Do you have some idea?

<issue_galleys xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
    <issue_galley locale="en_US">
      <label>Full issue</label>
        <embed encoding="base64">JVBERi0xLjUNCiW1tbW1D...</embed>

That is what a issue galley export looks like, but note that this is an embedded file. I actually do not know if issue galleys support remote option? @bozana?

Hi all,

Ah, I’ve just seen, that I missed one item from this issue list: https://github.com/pkp/pkp-lib/issues/1709 – the item h) – the support of the href element… :-\ I opened a new issue for that: consider file import using href element · Issue #2405 · pkp/pkp-lib · GitHub. Thus, at the moment only embed will work…


1 Like

Dear Bozana,
thanks to participating in this discussion. I start to import old issues in OJS, but stopped when realize that I can’t import href of issue_file, even not to edit old issues with href later. Do you think that it will be possible to get them inside later?

Hi @zeljkoerceg

Yes, I will implement it as soon as possible – probably next week or so…