Import Users as Readers

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
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: 36
Joined: Fri Aug 15, 2008 12:39 pm

Import Users as Readers

Postby mcyzyk » Wed Apr 04, 2012 12:38 pm


I have a spreadsheet that contains about 1000 rows consisting of a First_Name, a Last_Name, and an Email_Address. I've written a script that, aside from XML boilerplate, spits this data out in the following format:

<role type="reader" />

What I want is to be able to feed this resulting file to the Users import plugin and to have each of these Users registered in OJS as a "Reader" with Notifications activated. They don't need usernames/passwords, nor do I need/want OJS to automatically email them any type of message that they've been subscribed until an official Notification is released upon the publication of our next issue.

So my question is: Will the XML above achieve this goal?!

Best regards to all,

Mark Cyzyk
Johns Hopkins University

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Import Users as Readers

Postby jmacgreg » Thu Apr 19, 2012 9:52 pm

Hi Mark,

Apologies for the delay in getting back to you. It's been a while since I've played around with the users XML import process, but IIRC you should be fine. You may want to temporarily disable the registration email from the Prepared Emails listing to ensure that the emails don't go out. You can actually determine what you need by looking at the DTD: plugins/importexport/users/users.dtd. I've found this guide helpful in reminding me what DTDs mean.

If you have any further questions, please let us know!


Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests