Skip to main content

make an epub from a pagetree site

Project description

[![Build Status](https://travis-ci.org/ccnmtl/django-pagetree-epub.png?branch=master)](https://travis-ci.org/ccnmtl/django-pagetree-epub)

epub export library for django-pagetree


## Installation

```
$ pip install django-pagetree-epub
```

Add `pagetreeepub` to your `INSTALLED_APPS`.

The `epubbuilder` library uses Genshi templates for a few things and
is unaware of Django's template finding functionality. I really hate
this and will be ripping that out and fixing this ASAP. In the
meantime, you have two options:

1) copy the `pagetreeepub/templates/epub` directory into your app and
point `EPUB_TEMPLATE_DIRECTORY` at it.
2) ensure that you pip install to a known location and set
`EPUB_TEMPLATE_DIRECTORY` to that.

Add the following settings:

* `EPUB_ALLOWED_BLOCKS` - list of pageblocks that will be allowed in
the published epub. Other blocks are silently ignored.
* `EPUB_TITLE` - title for the epub
* `EPUB_CREATOR` - creator field
* `EPUB_PUBLICATION` - publication date

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_pagetree_epub-0.1.0-py2-none-any.whl (7.8 kB view details)

Uploaded Python 2

File details

Details for the file django_pagetree_epub-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for django_pagetree_epub-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 75cafa89d46c0c49cde442371121f326b824f5fa9981759467d385578c73ed88
MD5 7101a0ff2adde52db815022ee9d810a0
BLAKE2b-256 75c83a3011ecd6eeacca454f6d5a142bb95c2ac69e132637f65e332ab0833256

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page