Issue ordering and special characters on import

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
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 45
Joined: Sun Aug 25, 2013 10:36 pm

Issue ordering and special characters on import

Postby jamilj » Fri Nov 08, 2013 5:28 am


I am quite confused about how issues are ordered. I'm importing about 700 issues of a journal and I cannot get the system to sort by the actual issue and volume. I have the Vol-Issue-Year boxes checked in Issue Data, and in my settings I have the same three boxes set. Yet, no matter what I do, the journal does not sort correctly. It seems to default to the import time or OJS issue ID. Any help is much appreciated.

I have quite a few authors with diacritic symbols in their names. What is the proper way to import such names? Oxygen outputs an error when I use HTML entities. Then I also get an character encoding error (in BBEdit) when I allow diacritic characters. In the latter case, the characters do not import correctly. I have not tried the former. I cannot tell if CDATA is allowed for authors as Oxygen allows it sometimes and it still fails.

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Issue ordering and special characters on import

Postby asmecher » Fri Nov 08, 2013 10:46 am

Hi jamilj,

Issue ordering is not fixed to any of the attached metadata; it's possible to order issues arbitrarily. Typically it's best to import them in sequence and include multiple issues in the appropriate sequence in the XML import file. If that's not possible, you can re-order issues manually in the Editor's interface, or in the DB by looking at the custom_issue_orders table. (The specific query that lists issues in the archive is in classes/issue/ in the getPublishedIssues() function, if you're curious.)

To import accented characters, just make sure your XML editor is set to UTF8; you should be able to work with UTF8 accented characters directly, i.e. there's no need to encode them as HTML entities.

Alec Smecher
Public Knowledge Project Team

Return to “OJS Technical Support”

Who is online

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