Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Produce & Publish Lite

Project description

Produce & Publish Lite

Produce & Publish Lite is a stripped down version of the Produce & Publish platform (www.produce-and-publish.com). It implements a PDF generation functionality for the Plone content-management system (www.plone.org).

Limitations

  • supports Apache FOP 1.0 or PISA as PDF backend
  • no support for the Produce & Publish server (conversion will take place inside Plone - may block worker threads of Zope)

Requirements

  • requires Plone 4 or higher (untested with Plone 3.x)

Installation

  • add zopyx.smartprintng.lite to the eggs option of your buildout.cfg and re-run buildout (as usual)
  • read carefully the zopyx.convert2 documentation (especially the section related to the configuration of Apache FOP)

Installation of Apache using zc.buildout

You can automatically install and configure Apache FOP through your buildout configuration:

[buildout]
parts =
    ...
    fop

[instance]
...
environment-vars =
    FOP_HOME ${buildout:directory}/parts/fop


[fop]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = http://apache.openmirror.de/xmlgraphics/fop/binaries/fop-1.0-bin.tar.gz

Usage

The module supports conversion to PDF either using the FOP converter or PISA (installed automatically). Add @@asPlainPDF to the URL of a Plone document, news item or topic in order to convert the current content to PDF. This is use the default PDF converter (Apache FOP). In order to convert the HTML content using PISA you have to use @@asPlainPDF?converter=pdf-pisa.

License

Produce & Publish Lite is published under the GNU Public License V 2 (GPL 2).

Author

ZOPYX Limited
c/o Andreas Jung
Charlottenstr. 37/1
D-72070 Tuebingen, Germany
www.zopyx.com

Changelog

1.0.6 (2011/06/15)

  • no more generating a width=100% style for .image-container in order to avoid issues with PISA

1.0.5 (2011/06/05)

  • supports PDF generation through Pisa (xhtml2pdf project) (internal pdf-pisa converter name)

1.0.4 (2011/06/04)

  • documentation update

1.0.2 (2011/06/03)

  • released with full source code

1.0.1 (2010/10/30)

  • minor fix

1.0.0 (2010/10/20)

  • minor fix

1.0.0b1 (2010/10/05)

  • initial release

Project details


Release history Release notifications

This version
History Node

1.0.6

History Node

1.0.5.2

History Node

1.0.5.1

History Node

1.0.5

History Node

1.0.4.2

History Node

1.0.4.1

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.0

History Node

1.0.0b1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
zopyx.smartprintng.lite-1.0.6.zip (257.6 kB) Copy SHA256 hash SHA256 Source None Jun 15, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page