Git Product home page Git Product logo

ojs-native-xml's Introduction

OJS NativeXML Conversion Script

Usage

On the command line:

$ python3 convert.py [input_filename.csv]

Input File

csv file format, comma-delimited, utf8 encoding

Interactive user input

Script prompts user to input these data points at run-time.

  • "Please input issue title and press enter: "

    Optional.

  • "Please input volume number and press enter: "

    Required; must be integer

  • "Please input issue number and press enter: "

    Required; must be integer.

  • "Please input issue year and press enter: "

    Required; Format YYYY

  • "Please type output file name and press enter: "

    Required; XML format; Enter full path to output file e.g. /tmp/outputfile.xml

  • "Please type full file path for galleys and press enter: "

    Required; PDF galley path/location e.g. /tmp/Files

Fields

  • authors

    Required; Format author name as "last_name, first_name". Group multiple authors in one column and seperate with semicolon.

  • keywords

    Optional; Group keywords in single column and seperate with commas.

  • title

    Required.

  • abstract

    Optional.

  • copyright

    Optional.

  • galley

    Name of file for upload, include name with extension e.g. "article_example1.pdf"

  • section

    Required; Use abbreviation codes e.g. "ART" for Article section.

Wrinkles

  • File mimetypes are hard-coded as "application/pdf". Other types will require source code change
  • Section definitions are hard-coded in the script, change in the source code.

ojs-native-xml's People

Contributors

crowesn avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

kaywp

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.