academic / vipaimportbundle Goto Github PK
View Code? Open in Web Editor NEWA helper for migrating to VIPA
License: MIT License
A helper for migrating to VIPA
License: MIT License
Store errors, warnings and failures (like file download failure) in a log file.
Create a tool for importing DOI settings
We should only support major and latest version of PKP/OJS
This project has only one job. Import from @pkp/ojs. So it's name should be "ojs-legacy-importer"
Create a tool for importing existing journals' subjects
Some articles can't get imported because of an Elasticsearch related exception. This stops the whole process because Doctrine closes the entity manager when there is an exception.
Submitter users are stored using PendingSubmitterImport
entity. Write a command for importing them and assigning them to their articles.
Cover images of journals are essential, so import them using a new command
Importing a journal from OJS 2.4.8, I get the following error:
An exception occurred while executing 'SELECT total FROM article_total_view_stats WHERE article_id = :id' with params ["58"]:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ojs.article_total_view_stats' doesn't exist
I checked with both OJS2.4.3 and OJS2.4.8, neither of them have "article_total_view_stats" table. I guess this table is added to DergiPark later.
IMHO, this bundle should work with pkp ojs and it should not depend on the changes made in ojs database.
Use Guzzle instead of cURL while downloading article and issue files.
Importing from OJS2.4.8 gives the following error.
Catchable Fatal Error: Argument 1 passed to Ojs\JournalBundle\Entity\Author::setTitle() must be an instance of Ojs\JournalBundle\Entity\PersonTitle, string given, called in path_to_ojs/vendor/ojs/import-bundle/Importer/PKP/ArticleImporter.php on line 269
I checked Author class, its setter defined as:
/** * @param PersonTitle $title * @return $this */ public function setTitle(PersonTitle $title = null)
And the call throwing the error is:
$author->setTitle('-');
I changed the call with
$author->setTitle(null);
It works ok for now. I will comment to this issue if I encounter any problems related to change.
Currently, journal subjects are imported using a separate command. That'll stay, but the code must be moved to a more convenient place and subject importing must be done during journal imports.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.