by 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