Plone/XML-Director integration with bookalope.net
Project description
xmldirector.bookalope
Integration of
Plone (https://www.plone.org)
XML Director (https://www.xml-director.info)
Bookalope (https://bookalope.net)
Requirements
Plone 4.3 (tested)
Plone 5.0 (experimental, in progress)
XML Director (xmldirector.plonecore)
Configuration
Install xmldirector.bookalope through the Plone add-on installer and configure your Bookalope API key and choose if you are running against Bookalope’s production or beta environment.
API
There is only one publiv API method in order to interact with Bookalope from XML Director code (see xmldirector/bookalope/browser/api.py):
convert_bookalope(context, source, cover=None, formats=[], title=u'', author=u'', prefix=None)
context - a XML Director Connector instance
source - source path of the DOCX file inside the directory configured for the given Connector context e.g. src/index.docx
cover - source path of cover page image
formats - a list of formats to be generated (supported: epub, epub3, docx, pdf, icml, mobi)
title - title used for the ebook
author - author name of the publication
prefix - generated files will be stored under result/<prefix>.<format>
License
This package is published under the GNU Public License V2 (GPL 2)
Source code
Bugtracker
See https://github.com/xml-director/xmldirector.bookalope/issues
Changelog
0.1.0 (2016/04/04)
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.