Giter Club home page Giter Club logo

bepress's People

Contributors

ewhanson avatar jnugent avatar mfelczak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bepress's Issues

Import article DOI

Via an 'article-id' tag and 'pub-id-type' property set to "doi", e.g.

<article-id pub-id-type="doi">10.1002/0470841559</article-id>

Volume/Issue numbers not picked up correctly

Hi PKP team,

I ran an import from the latest in the stable-3_1_2 branch and am encountering an issue with the volume and issue numbers not being picked up correctly. I have a directory with folders as vol1/iss1, vol2/iss1, etc, but they are all being entered as vol1/iss1. We haven't changed our directory structure since we began using the plugin a couple of years ago. Any ideas what the issue is?

Below is an example of the output, where the second issue should be volume 2. I also confirmed in the UI that all of the issues were entered under vol. 1.

Import starting ...====== Vol 1 No 1 (2011) ======

---Article---

'Front Pages' successfully imported

'Consuming Otherness: Loblaws and Specular Consumption' successfully imported

'Balancing the Scales of Legitimacy: The Sulawesi Regional Development Project' successfully imported

'The Church of Elvis' successfully imported

'Baseball. Magic, and Performance' successfully imported

'Nationalism, Ethnicity, and the Cultural Politics of Identity' successfully imported

'Native Education: In the Best Interest of the Children' successfully imported

'Hunter-gatherers and the Ethnographic Analogy: Theoretical Perspectives' successfully imported

'Hunger Pains In a Cold Forest: A Reexamination of the Disappearence of the Beothuk' successfully imported

'Lewis Binford and the New Archaeology' successfully imported

'"Achey-breaky heart:" A Labovian Approach to the Structural Analysis of the Personal Narrative' successfully imported

'Morphological Analysis of the Story, Ne'e Thiyoriwa Ne' Yah Nonwa Onen Teshatahsehs Ne Ohkwari'' successfully imported

'Sex Stereotypes as a Function of Genderlect' successfully imported

'Male Homosexual Speech Patterns in Spontaneous Conversation' successfully imported

'The Development of Hand and Foot in Hominoidea' successfully imported

'Coca Chewing and High Altitude Adaptation' successfully imported

'Neanderthal Speech' successfully imported

'Postcript' successfully imported

====== Vol 1 No 1 (2011) ======

---Article---

'Front Pages' successfully imported

'The Girl Who Cried Wolf /fiction' successfully imported

'Human-like Traits in Early Hominids: Misplaced Analogies in the Interpretation the African Archaeological Record' successfully imported

'Different Worlds: Looking at Jehovah's Witnesses' successfully imported

'HIV: Its Development Within the Human Population' successfully imported

'Sexual Selection in Humans: An Evolutionary and Anthropological Perspective' successfully imported

'Social and Biological Consequences of Nutritional Adaptation: Do the Costs Outweigh the Gains?' successfully imported

'Topic Shift in Casual Conversation' successfully imported

'Advertising Strategies of the Ontario Milk Marketing Board: Milking the Cow for All It's Worth' successfully imported

'Indian Christians: Definition of Identity' successfully imported

'The Neandertal Pelvis with Attention to It's Obstetrical SignifIcance' successfully imported

'TB or not TB: The New World Question' successfully imported

'Syncretism in Two African Cultures' successfully imported

'Carnival: Fighting Oppression with Celebration' successfully imported

'Abura- Dunkwas, Ghana: Impressions of a Secondary School' successfully imported

'Spatial Metaphors as Linguistic Primitives: A Comparison of UP-DOWN Metaphors in Three Languages' successfully imported

'Back Pages' successfully imported

<h1>DB Error: Duplicate entry '980-423' for key 'custom_section_orders_pkey'</h1>ojs2: DB Error: Duplicate entry '980-423' for key 'custom_section_orders_pkey'

Add preferred name support

The plugin previously did not handle a preferred name provided directly.

Will be updated to use the following XML format. The preferrednamefield can also be localized.

<preferrednames>
<preferredname>Preferred Name Here</preferredname>
</preferrednames>

Fix 3.2 author name handling and pubId plugin loading

Based on the bugs Clinton found in the JATS article importer plugin, I've identified the following issues in the bepress plugin:

  • Mismatching CLI argument error messages
  • Load DOIPubIdPlugin when editing DOIs
  • Update default author name handling to accommodate edge cases

Import PDF galleys using multiple locales

Add the ability to import multi-locale article galleys. This will cover the following cases:

Article has a single galley with the file name fulltext.pdf and no <galley> tags
Import single fulltext.pdf and assign it to the current primary locale.

Article has singlefulltext.pdf file and a <galley locale="en_US"> tag
Import the galley using the locale specified in the <galley> tag

Article has multiple galley files and uses the <galleys> tag
Article galley file names will be appended with locale that corresponds to the locale in the <galley> tag.

<galleys>
    <galley locale="en_US">fulltext.en_US.pdf</galley>
    <galley locale="de_DE">fulltext.de_DE.pdf</galley>
</galleys>

The files fulltext.en_US.pdf and fulltext.de_DE.pdf will be included in the same directory.

Import title, keywords, subject areas in multiple locales for OJS 3.2+

Add support for "locale" attribute in title, keyword, and subject-area tags to allow import of multi-lingual metadata, e.g. <title locale="en_US">Full article title</title>

Use existing OJS locale abbreviations as valid attribute values, e.g. "en_US", "de_DE", see https://github.com/pkp/ojs/tree/stable-3_2_0/locale

If "locale" attribute is not specified, import text using the journal's primary locale (current default).

The following examples would be considered valid:

<title>Full article title</title>

<title locale="en_US">Full article title</title>

<keywords>
<keyword locale="en_US">Keyword</keyword>
<keyword locale="fr_CA">Mot-clé</keyword>
</keywords>

Call to undefined method Request::cleanUserVar()

Hi @mfelczak, I tried to run an import today and got the following error:

Import starting ...PHP Fatal error:  Uncaught Error: Call to undefined method Request::cleanUserVar() in /data/apache-html/western/plugins/importexport/bepress/BepressImportDom.inc.php:573
Stack trace:
#0 /data/apache-html/western/plugins/importexport/bepress/BepressImportDom.inc.php(67): BepressImportDom->_getArticleTitle()
#1 /data/apache-html/western/plugins/importexport/bepress/BepressImportPlugin.inc.php(179): BepressImportDom->importArticle()
#2 /data/apache-html/western/tools/importExport.php(63): BepressImportPlugin->executeCLI('tools/importExp...', Array)
#3 /data/apache-html/western/tools/importExport.php(69): importExport->execute()
#4 {main}
  thrown in /data/apache-html/western/plugins/importexport/bepress/BepressImportDom.inc.php on line 573

Could you confirm that the plugin still works with version 3.1.2.1 (last updated June 13, 2019)? We've had no issues with the plugin in the recent past, but haven't done any imports since our most recent upgrade. I also reinstalled the plugin to make sure we had all of the most up-to-date code.

Thank you!

Provide single and multiple locale sample metadata XML

At the moment we have an updated sample-metadata.xml that provides a multi-locale example of valid import data. Let's rename this to sample-metadata-multiple-locales.xml and create a new sample file for single locale import, sample-metadata-single-locale.xml to illustrate the difference between both import modes.

Fatal error. Call to a member function getFileId() on null

Hi We are running OJS 3.2.3.0

I have installed the Bepress plugin and it’s on the stable-3_2 branch

When running an import I am getting an error:
PHP Fatal error: Uncaught Error: Call to a member function getFileId() on null in /var/www/sites/publishing.bceln.ca/plugins/importexport/bepress/BepressImportDom.inc.php:717

It appears that the line:
$submissionFile = $submissionFileManager->copySubmissionFile(
$pdfPath,
SUBMISSION_FILE_PROOF,
$this->_editor->getId(),
null,
$genre->getId(),
ASSOC_TYPE_REPRESENTATION,
$articleGalley->getId()
);

is returning null.

I can see that the article/submission is set in the database properly and appears in the archives submission tab, however the pdf file hasn’t been copied over.

All the parameters sent to the $submissionFileManager->copySubmissionFile function seem to be fine.

Did something change in the latest OJS release to cause the error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.