Hello,
I’m trying to migrate from a wordpress site to OJS. I have an XML which is the complete export of the wordpress site. Unfortunately I have over 500 articles to migrate. It should be somehow automatic.
Is there a plugin to do this? I saw some posts on this forum but I could not find one.
This would be a nice feature for any existing wordpress site.
If there is no plugin, what method would you recommend? I assume I need to program a code that reads XML coming from wordpress. But then, how can I load to OJS? Prepare XML to load to OJS? Or would you recommend to use the API?
Thx a lot!
Hi,
there is no plugin for this.
For batch import, there is the option of importing via PKP’s Native XML format or via API.
Documentation see here: https://docs.pkp.sfu.ca/admin-guide/en/data-import-and-export
You would have to transform the Wordpress XML to PKP’s Native XML. It much depends on how the Wordpress site and the articles were structured and what is the format of the articles (HTML, PDF, …). Proficiency in writing XSLT and PHP is required.
My recommendation is to find a professional service that is offering such a migration (there seem to be a few).
500 articles is quite a lot. If it were less, also the manual route (entering metadata and uploading PDFs manually via OJS QuickSubmit plugin) would be an option.
1 Like
Hi @mpbraendle, thanks for your answer.
We think we can read the Wordpress XML to extract the articles, and we are exploring the API usage to write such data (titles, authors, PDFs…) to OJS.
It’s not difficoult to create a submission, but we can’t understand how to reach the production stage with the API… any hint on this?
Best regards
Stefano