OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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
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.

Import Users as Readers

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

All,

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:

<user>
<first_name>SomeFirstNameHere</first_name>
<last_name>SomeLastNameHere</last_name>
<email>SomeEmailAddressHere</email>
<role type="reader" />
</user>

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

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!

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


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest