OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



HOW-TO: import an issue to OJS.

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

HOW-TO: import an issue to OJS.

Postby pedrocruz » Wed Jan 02, 2008 9:05 am

This is a solution that requires no knowledge of xml based on some posts of OJS Support.

1. Build an import file "issue.xml" like the attachment:

For each article:

* write title
* ignore abstract
* write pages
* write only first author
* write email of first author
* put the filename of pdf file


LIMITATION 1: it's important to use only standard ascii, Otherwise the "importer"
of OJS will stop working without saying exactly why!
If there's a mistake in a xml file it's very difficult to find the location.

LIMITATION 2: filenames must have no spaces or non ascii letters.


2. On "User Home" on OJS system,
choose "import/export",
then "Articles & Issues XML Plugin : Import and export articles and issues"


3. After a sucessful import, one must edit each article "metadata" using OJS
directly.

* as Editor "Future issues" and choose the apropriate issue.

4. Edit information on each article by choosing "EDIT METADATA":

* add authors
* put the abstract: eliminate line feeds, and adapt math notion.
please note that sometimes it's necessary to edit
the abstract in a text editor first!
* put Subject classification
* put language


5. Edit "Issue Data"
and change "title only" and give title.

6. Publish the issue as section editor.


------------sample.xml------------------------
<?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>August 2008, Volume 3, Number A08</title>
<volume>3</volume>
<number>A08</number>
<year>2008</year>

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


<article>
<title>Approximating Counterparts</title>
<abstract>Abstract text...</abstract>
<pages>1-11</pages>
<date_published>2008-08-01</date_published>
<author primary_contact="true">
<firstname>FISTNAME</firstname>
<middlename><![CDATA[ ]]></middlename>
<lastname>LASTNAME</lastname>
<email>email@email</email>
</author>
<galley>
<label>PDF</label>
<file><href mime_type="application/pdf" src="http://...../issue/some.pdf"/></file>
</galley>
</article>


</section>
</issue>
pedrocruz
 
Posts: 4
Joined: Fri Jun 29, 2007 8:25 am

Re: import an issue to OJS. An "how to" for a robust but slow pr

Postby jmacgreg » Thu Jan 03, 2008 1:49 pm

Thanks, Pedrocruz! We'll be starting to collect user-contributed how-tos in the OJS Discussion forum for further discussion, so I've moved this one there.

There are also further instructions on various import/export functions, found in the OJS docs folder:

docs/IMPORTEXPORT

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

Re: HOW-TO: import an issue to OJS.

Postby fedrozazueta » Mon Jan 14, 2008 9:45 am

Pedro,

Have you seen http://pkp.sfu.ca/files/ImportingData.pdf?

I have a large number of files to import so I'm interested in some type of DB app that will generate the necessary XML files. Do you know if anything like that is available?

Regards,

Fedro.
fedrozazueta
 
Posts: 1
Joined: Mon Jan 14, 2008 8:57 am

Re: HOW-TO: import an issue to OJS.

Postby pedrocruz » Mon Jan 14, 2008 11:00 am

Fredo,
my note could help those who don't have XML experience (like me at that time).
During the process I used copy/paste to produce the XML file.
Later I've edit Metada of each article by hand.
Pedro
pedrocruz
 
Posts: 4
Joined: Fri Jun 29, 2007 8:25 am

Re: HOW-TO: import an issue to OJS.

Postby svillanueva » Mon Feb 18, 2008 5:08 am

Hello,

i've installed the OJS in our web server. I've tried to import a xml file with the Articles & Issues XML Plugin. With this file, it worked with the testdrive but now, in our own server, it doesn't seem to work, since a blank page appears once I've pushed the button to throw the import process.

The example I've tried is very simple and it's saved in UTF-8:

<?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>August 2008, Volume 3, Number A08</title>
<volume>3</volume>
<number>A08</number>
<year>2008</year>

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


<article>
<title>Approximating Counterparts</title>
<abstract>Abstract text...</abstract>
<pages>1-11</pages>
<date_published>2008-08-01</date_published>
<author primary_contact="true">
<firstname>FISTNAME</firstname>
<middlename><![CDATA[ ]]></middlename>
<lastname>LASTNAME</lastname>
<email>email@email</email>
</author>
<galley>
<label>PDF</label>
<file><href mime_type="application/pdf" src="http://pkp.sfu.ca/files/ImportingData.pdf"/></file>
</galley>
</article>


</section>
</issue>


Do I have to check any server configuration?

Thanks a lot,

Sergi Villanueva.
svillanueva
 
Posts: 74
Joined: Fri Jan 18, 2008 4:20 am
Location: Barcelona

Re: HOW-TO: import an issue to OJS.

Postby jmacgreg » Mon Feb 18, 2008 12:22 pm

Hi Sergi,

First, check the FAQ for what do to if you hit a blank page:

viewtopic.php?f=8&t=2481

Please let me know if you're receiving an error, and if you can't find anything to help you on the forums.

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

Re: HOW-TO: import an issue to OJS.

Postby svillanueva » Tue Feb 19, 2008 3:06 am

Hi,

Thanks, it was obviously a permissions error, I was sure I had cheched that, but I was wrong :P

Sorry for the inconvenience.





Regards,

Sergi Villanueva.
svillanueva
 
Posts: 74
Joined: Fri Jan 18, 2008 4:20 am
Location: Barcelona

Re: HOW-TO: import an issue to OJS.

Postby Edemar » Wed Oct 28, 2009 5:32 am

Hi,
We have been importing a lot of the issues from 1991 on.
How can we write the scientific names of animals and plants in italics in the Title box? And how can we can write equations in the abstract box?

Thanks.

Edemar
Co-Editor
Edemar
 
Posts: 8
Joined: Mon Jul 20, 2009 12:11 pm

Re: HOW-TO: import an issue to OJS.

Postby jmacgreg » Mon Nov 02, 2009 2:52 pm

Hi Edemar,

You can use limited HTML in the title and abstract boxes, and can also link to images for complex equations in the abstract box if you can't capture a complex equation in HTML. You can control the kinds of HTML that are allowed in these boxes by editing the allowed_html parameter in your config.inc.php file.

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

Re: HOW-TO: import an issue to OJS.

Postby vizlipuzli » Tue Oct 19, 2010 3:27 am

How to import multilingual issue to OJS ?
Can I import old articles without authors e-mails ?
vizlipuzli
 
Posts: 8
Joined: Mon Sep 06, 2010 6:56 am

Re: HOW-TO: import an issue to OJS.

Postby jmacgreg » Wed Oct 20, 2010 10:03 am

Hi Vizilpuzil,

The import process supports multilingual galleys, so you shouldn't have a problem importing in multiple languages. Also, there's a trick to importing old articles where authors don't have email addresses -- just add a space, or possibly <![CDATA[ ]]> within the author email element. You should find more information here:
http://pkp.sfu.ca/wiki/index.php/Import ... XML_Plugin.

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

Re: HOW-TO: import an issue to OJS.

Postby vizlipuzli » Sat May 14, 2011 12:30 pm

Is it possible to indicate author's affiliation (as well as multiple affiliation) in issue XML file?

Code: Select all
<author primary_contact="true">
   <firstname>Jane</firstname>
   <lastname>Doe</lastname>
   <email>JaneDoe@sample.test</email>
   <biography locale="en_US">Jane Doe's  Bio statement...</biography>
   <affiliation>European Molecular Biology Laboratory</affiliation>
   <affiliation>University of Cambridge</affiliation>
</author>
vizlipuzli
 
Posts: 8
Joined: Mon Sep 06, 2010 6:56 am

Re: HOW-TO: import an issue to OJS.

Postby jmacgreg » Tue May 17, 2011 10:30 am

Hi Vizilpuzil,

You can include an author's affiliation, but you can't include multiple affiliation elements -- so if you want to include two affiliations, for example, you would have to do something like:

Code: Select all
<affiliation>affiliation one
affiliation two</affiliation>


Note that any space or line breaks included between the <affiliation> tags will be preserved in the user's affiliation field in their profile. So if you wanted to add a distinct line between each affiliation, you would write the lines like so:

Code: Select all
<affiliation>affiliation one

affiliation two</affiliation>


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


Return to OJS Editorial Support and Discussion

Who is online

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

cron