Skip to main content

xmldirector.bookalope

Integration of

This Plone 4/5 add-on allows to generate Ebook formats (EPUB, EPUB3, Mobi) and other formats (ICML, PDF, DOCX) from content stored in XML Director.

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 public 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, storage_path='result')
  • 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>

  • storage_path - subpath used to store the generated ebook files

License

This package is published under the GNU Public License V2 (GPL 2)

Source code

See https://github.com/xml-director/xmldirector.bookalope

Bugtracker

See https://github.com/xml-director/xmldirector.bookalope/issues

Author

Andreas Jung/ZOPYX
Hundskapfklinge 33
D-72074 Tuebingen, Germany
www.zopyx.com

Changelog

0.5.0 (2018/08/18)

  • improved compatibility with Plone 5.0

  • improved error handling

0.3.2 (2016/06/27)

  • updated to latest Bookalope API changes

0.3.1 (2016/04/06)

  • cleanup and minor improvements

0.3.0 (2016/04/06)

  • added new Bookalope UI

0.2.0 (2016/04/05)

  • major cleanup

  • various fixes

  • added REST API endpoint ‘xmldirector-convert-bookalope’

0.1.0 (2016/04/04)

  • initial release

Release files for xmldirector.bookalope 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xmldirector.bookalope 0.5.0
File Size Uploaded
xmldirector.bookalope-0.5.0.zip 2.5 MB Details

Release files / xmldirector.bookalope-0.5.0.zip

Download URL xmldirector.bookalope-0.5.0.zip
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
ca41604ece64baf3721c736e9a0a7d706c4aee4d895f5db2919f27fdc451f68a
BLAKE2b-256 checksum
How to use checksums
ec321aad5c1eef5282d8ce52a44034020431295294a16fe914835d396ada9f83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.5

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page