OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Creating Back Issues

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Creating Back Issues

Postby kjreed » Thu Jan 10, 2008 9:39 pm

Hello,

I work for a journal that's trying to put about 30 years of back issues online with OJS. Each issue is broken down into individual PDF files. Is there a fast way to upload all these documents and create issues? So far I've only been able to create an issue by submitting each individual article through the "Author" status and then assigning the submission to the layout editor and the other roles it seems to need to go through before I can publish the issue. Is there an easier way to create back issues when the articles have all been finalized and turned into PDFs before they're submitted to the OJS software?

I've read through the documentation and tried to search this form, but can't find an answer to my question. I'd really appreciate any help!

Thanks,
Kathleen
kjreed
 
Posts: 3
Joined: Thu Jan 10, 2008 7:31 pm

Re: Creating Back Issues

Postby jmacgreg » Thu Jan 10, 2008 11:24 pm

Hi Kathleen,

OJS ships with some fairly straightforward import and export tools. You can import articles, and even whole issues at a time, by creating and uploading a simple XML document. You would include all article and/or issue metadata in the XML document (author names, article titles, abstracts, etc.), and also include a pointer to the article itself, whether it is HTML or (as I see in your case) PDF. OJS would then import the metadata and the article itself as well.

You can also import users in much the same way.

If you have already downloaded the OJS software, you can find more
information in docs/IMPORTEXPORT.

There is also more information in the following post, including a sample issue-import xml file:

viewtopic.php?f=2&t=2600

Read over this documentation, and if you have further questions, let me know!

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Re: Creating Back Issues

Postby kjreed » Sat Jan 12, 2008 1:24 pm

Hi James,

Thanks for your help. I have one more question. How would I change the XML below to import more than one article? I've tried putting each individual article between <article></article> tags, putting each individual article between <articles></articles> tags, and putting all the articles in between <articles><articles> tags. The only way I've been able to get an issue to show up in OJS as containing an article is to only include one article in the XML document. When I try more than one, the issue shows up in OJS, but with no articles listed as belonging to it. Any suggestions would be much appreciated.

Thanks again,
Kathleen



Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE issue PUBLIC "-//PKP//OJS Articles and Issues XML//EN" "http://pkp.sfu.ca/ojs/dtds/native.dtd">

<issue published="false" current="false">
<title>Winter 1980, Volume 2, Number 1</title>
<volume>2</volume>
<number>1</number>
<year>1980</year>

<section>
<title locale="en_US">Articles</title>
<abbrev locale="en_US">ART</abbrev>

<article>
<title>Leo Tolstoj's Role in Henriette Roland Holst's Quest for Brotherhood and Love</title>
<abstract>Abstract text...</abstract>
<pages>1-21</pages>
<date_published>1980-01-01</date_published>
<author primary_contact="false">
<firstname>A.F.</firstname>
<middlename><![CDATA[ ]]></middlename>
<lastname>Zweers</lastname>
<email>email@email</email>
</author>
<galley>
<label>PDF</label>
<file><href mime_type="application/pdf" src="http://ejournals.library.ualberta.ca/index.php/crcl/manager/files/articles/Winter1980/Zweers1-21.pdf"/></file>
</galley>
</article>

<article>
<title>Des Nouvelles Histoires extraordinaires a La Fontana de Oro : remarques sur l'imaginaire chez Galdos</title>
<abstract>Abstract text...</abstract>
<pages>22-31</pages>
<date_published>1980-01-01</date_published>
<author primary_contact="false">
<firstname>Monique</firstname>
<middlename><![CDATA[ ]]></middlename>
<lastname>Sarfati-Arnaud</lastname>
<email>email@email</email>
</author>
<galley>
<label>PDF</label>
<file><href mime_type="application/pdf" src="http://ejournals.library.ualberta.ca/index.php/crcl/manager/files/articles/Winter1980/Sarfati-Arnaud22-31.pdf"/></file>
</galley>
</article>

</section>
</issue>
kjreed
 
Posts: 3
Joined: Thu Jan 10, 2008 7:31 pm

Re: Creating Back Issues

Postby jmacgreg » Sat Jan 12, 2008 2:17 pm

Hi Kathleen,

My apologies -- the example XML in that previous post is actually mis-formed. Here's a better example for you to follow. If you have an XML editor, this file should validate:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE issue PUBLIC "-//PKP//OJS Articles and Issues XML//EN" "http://pkp.sfu.ca/ojs/dtds/native.dtd">
<issue published="false" current="false">
   <title>Winter 1980, Volume 2, Number 1</title>
   <volume>2</volume>
   <number>1</number>
   <year>1980</year>
   <section>
      <title locale="en_US">Articles</title>
      <abbrev locale="en_US">ART</abbrev>
      <article>
         <title>article title 1</title>
         <abstract>abstract text...</abstract>
         <date_published>1980-01-01</date_published>
         <author primary_contact="false">
            <firstname>First</firstname>
            <middlename>B</middlename>
            <lastname>Last</lastname>
            <email>fake1@email.com</email>
         </author>
         <pages>1-21</pages>
         <galley>
            <label>PDF</label>
            <file>
               <href mime_type="application/pdf" src="http://url-to-pdf.pdf"/>
            </file>
         </galley>
      </article>
      <article>
         <title>article title 2</title>
         <abstract>abstract text...</abstract>
         <date_published>1980-01-01</date_published>
         <author primary_contact="false">
            <firstname>Monique</firstname>
            <middlename></middlename>
            <lastname>Sarfati-Arnaud</lastname>
            <email>fake2@email</email>
         </author>
         <pages>22-31</pages>         
         <galley>
            <label>PDF</label>
            <file>
               <href mime_type="application/pdf" src="http://path-to-pdf.pdf"/>
            </file>
         </galley>
      </article>
   </section>
</issue>


So in a nutshell: continue using the singular <article> tag when your root element is <issue>; and make sure, if you can, that the XML file validates. In this case, I had to move the <pages> element to the proper place. But you should be able to recreate a whole issue using this file, of course filing in the material as you see fit.

Please let me know if this works for you.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 4 guests