klembot / twinejs

Twine, a tool for telling interactive, nonlinear stories
https://twinery.org
GNU General Public License v3.0
2.03k stars 302 forks source link

Publish to FTP or other hosting services #145

Open klembot opened 9 years ago

klembot commented 9 years ago

Originally reported by: Tim Samoff (Bitbucket: timsamoff, GitHub: timsamoff)


It would be quite nice if simple FTP functionality was integrated into Twine so that stories could be published to a server directory… Similarly, an API for connecting and publishing to other online Twine hosting services (like philome.la, etc.) would be pretty great.


klembot commented 9 years ago

Original comment by Stephan Kreutzer (Bitbucket: skreutzer_de, GitHub: Unknown):


I'm pretty much into this sort of thing (see publishing-systems.org), and I've recently written a simple importer for Twine XML in PHP. I could well imagine to do some tooling in order to convert Twine XML to EPUB and PDF, and for uploading the text, be it a linear one or a branched one (but without any variables or logic) to a WordPress or Dembelo installation or certain other sites and services. In case variables and logic are required, the Twine HTML could be uploaded to certain places, so I would consider this, too. However, I can't promise to fully integrate it into the Twine software itself, as it is licensed under GNU GPLv2 (only, as it seems), and I won't spent time for working on something which is vulnerable to the SaaS loophole. Besides of that, do you have any specific requirements or ideas about what should be implemented? Do you actually have to talk to a server via FTP to do a low-level file upload?