pensoft / dev

Building on Pensoft's platforms? You've come to the right place.
1 stars 0 forks source link

Is there an API available for retrieving (and re-importing) a document? #14

Open platipodium opened 4 years ago

platipodium commented 4 years ago

Is it possible with the ARPHA Writing tool to

  1. Retrieve a document by an API call
  2. Modify the retrieved document (external Software)
  3. Import the document again with the existent API call and overwrite the prior version.

Please document such a workflow if available. If not, document how to retrieve the document from AWT.

teodorgeorgiev commented 4 years ago

@platipodium In the current version of the tool, it is not possible to retrieve documents. You can import documents create elsewhere in ARPHA Writing tool via API (https://arpha.pensoft.net/dev/), finalize them in AWT, and submit them for review in one of the supported journals.

platipodium commented 4 years ago

Thanks for clarifying this. Even if not possible throught the API, there should be a way to "Export manuscripts as XML/PDF" as advertised on your web page. I have not been able to do this for a test document I drafted in AWT. Is this advertised ability currently disabled or undocumented (or somehow hidden)?

teodorgeorgiev commented 4 years ago

It is hidden in AWT, and it is publicly available from the journal website once the document is published

platipodium commented 4 years ago

Thanks @teodorgeorgiev. The "hidden in AWT" statement makes it very tempting to find ways to try and uncover this functionality :=). I wish you would document this (why not here, we could provide some dev feedback), and, of course, make it part of the public API as soon as this is possible.

platipodium commented 4 years ago

To give you a reason to pursue investing in this API is the "lock-in" debate. As an author, I am very hesitant to use an authoring tool that keeps me locked in to their platform, especially at the draft stage of a manuscript.

teodorgeorgiev commented 4 years ago

Thanks @platipodium. We plan to redo the AWT completely, adding new features (i.e simultaneous editing, exports in different formats) and basically to be more as a stand-alone tool, rather than it is now ... however, this will take some time :)