Git Product home page Git Product logo

stigmaj_osf's Introduction

Migrate http://stigmaj.org/ to OSF

  1. Copy config.template.py to config.py, make sure you have an OSF API token and the guid of your OSF project.

  2. In OJS export issue metadata in crossref and doaj xml formats and store to the paths in config.py (DOAJ_FILE and CROSSREF_FILE)

  3. Download the article pdf files from the OJS server.

  4. Start rename_pdf.py. This will download the pdf-files to <PDF_PATH> and uses the Crossref XML to copy to <PDF_PATH>/renamed/<doi suffix>.pdf

  5. Upload the renamed pdf files to OSF storage (drag and drop).

  6. Run osf_guid_list.py (twice if needed) to get the OSF file guids. Will be stored in output/name_guid.json (NAME_GUID_FILE)

  7. Run create_pages_and_toc.py. This will create wiki pages on OSF with article metadata and a link to the pdf and a table of contents in TOC.md which can be pasted to the wiki home page.

  8. Run modify_crossref.py. This will create output/crossref_osf.xml, a copy of xml/crossref.xml with the URLs changed to the new OSF locations.

  9. Upload xml-file to Crossref.

stigmaj_osf's People

Contributors

peer35 avatar

Watchers

 avatar

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.