Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Producing high-quality documents with Plone

on

  • 5,190 views

Explains how to generated RTF, PDF, ODT, DOCX and WML from Plone contgent

Explains how to generated RTF, PDF, ODT, DOCX and WML from Plone contgent

Statistics

Views

Total Views
5,190
Views on SlideShare
4,978
Embed Views
212

Actions

Likes
3
Downloads
130
Comments
0

11 Embeds 212

http://dev1.veit-schiele.de 95
http://www.zopyx.de 48
http://beta.zopyx.com 28
http://edit.veit-schiele.de 17
http://www.slideshare.net 6
http://127.0.0.1:8088 6
https://www.zopyx.com 4
http://www.produce-and-publish.info 3
http://www.andreas-jung.com 3
http://localhost:8088 1
http://www.produce-and-publish.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Producing high-quality documents with Plone Producing high-quality documents with Plone Presentation Transcript

  • Producing high-quality office documents with Plone Plone Conference 2007, Naples, Italy Andreas Jung ZOPYX Ltd. & Co KG D-72070 Tübingen, Germany www.zopyx.com, info@zopyx.com
  • About me working w/ Zope since 1999 Zope 2 release manager Co-founder and 2nd chairman German Zope User Group (DZUG) Author of various software for Zope/Plone: TextIndexNG 1-3, PloneCollectorNG, SQLAlchemyDA, zopyx.convert, z3c.sqlalchemy CEO of ZOPYX Ltd. & Co. KG focused on e-publishing solutions (Python, Zope, Plone) zopyx.com - SmartPrintNG
  • Plone has a poor export story for office formats zopyx.com - SmartPrintNG
  • Available solutions for PDF htmldoc-based solutions: Plone2PDF htmldoc is fast but it sucks: no CSS support, poor PDF quality Reportlab-based solutions fast, good quality, not straight-forward zopyx.com - SmartPrintNG
  • No out-of-the-box solution for Plone available: for generating PDF and other office formats (Word, RTF, Open-Office) stylesheet support configurable templates and content aggregation zopyx.com - SmartPrintNG
  • SmartPrintNG exports Plone content to PDF, ODT, WML, RTF, DOCX per content-type configurable content-aggregation templates and styles works out-of-the-box with any content-type highly configurable and customizable zopyx.com - SmartPrintNG
  • A quick demo... http://smartprintng.zopyx.com zopyx.com - SmartPrintNG
  • A quick look under the hood of SmartPrintNG zopyx.com - SmartPrintNG
  • A cross-format+platform solution Build on top of XSL-FO technology XSL-FO: Extensible Stylesheet Language- Formatting Objects a W3C recommendation consider it as a XML-ish typesetting system similiar to TEX much nicer output; supports hyphenation zopyx.com - SmartPrintNG
  • XSL-FO zopyx.com - SmartPrintNG
  • Historical background XSL-FO based approach in use for the Haufe iDesk plattform iDesk: Zope 2-based cross-plattform framework for content-retrieval applications in use since 2005 deployed to more than 150.000 customers (means: 150.000 customers running Zope on their Windows desktop) zopyx.com - SmartPrintNG
  • XSL-FO wants XML, but we have only HTML! zopyx.com - SmartPrintNG
  • All hail css2xslfo Input: XML/CSS2 or XHTML/CSS Output: XSL-FO document Java-based http://www.re.be/ the „transformer“ zopyx.com - SmartPrintNG
  • From XSL-FO to PDF & friends zopyx.com - SmartPrintNG
  • XSL-FO processors (the „formatters“) a XSL-FO processor converts a XSL-FO document to some output format XINC (www.lunasil.com): Output format: PDF XFC (www.xmlmind.com): Output formats: RTF, DOCX, WML, ODT zopyx.com - SmartPrintNG
  • XSL-FO processors (2) XFC and XINC: Java-based -> cross-plattform „it just works“ [tm] commercial :-( but worth their money other converter are even more expensive about 500-600 Euro/CPU core/server zopyx.com - SmartPrintNG
  • HTML-Fixer HTML-Tidy HTML aggregation adapter HTML css2xslfo (Java) XSL-FO xer manipulator Template/ XINC (java) XFC (Java) CSS chooser Template Document renderer (PDF, RTF, ODT, DOCX) SmartPrintNG zopyx.convert zopyx.com - SmartPrintNG
  • Content-type specific configuration ZCML: <smartprintng:resourceDirectory interfaces=quot;Products.ATContentTypes.interface.interfaces.IATDocumentquot; directory=quot;documentquot; /> Filesystem: > ls -la document -rw------- 1 ajung users 540 Sep 5 18:53 Big.css -rw------- 1 ajung users 515 Sep 5 18:52 StandardStylesheet.css -rw------- 1 ajung users 820 Sep 5 18:50 StandardTemplate.pt -rw------- 1 ajung users 617 Sep 5 17:34 default.fo_css zopyx.com - SmartPrintNG
  • SmartPrintNG - more features configurable header & footer regions within HTML support for counters (e.g. page counters) conditional output for left and right pages multi-column support hyphenation support zopyx.com - SmartPrintNG
  • Image support supports images inside Plone and external images converted internally to PNG open issues: images resolution selection fitting images into a fixed layout zopyx.com - SmartPrintNG
  • zopyx.convert encapsulates the complete XSL-FO conversion logic wraps css2xslfo, XINC and XFC inside a Python Package Input: HTML Output: PDF, RTF, ODT, DOCX, WML available as egg - use it a non-Zope environment zopyx.com - SmartPrintNG
  • zopyx.com - SmartPrintNG
  • zopyx.com - SmartPrintNG
  • zopyx.com - SmartPrintNG
  • (Free) alternatives? Apache FOP processor: old FOP 0.4 sucked like hell new FOP 0.9.X sucks less, moving slowly only PDF support Open-Office (server mode) not stable enough another fat dependency zopyx.com - SmartPrintNG
  • SmartPrintNG Licensing Free for non-commercial use educational institutions NGOs charity organiziations OSS projects commercial license in preparation for commercial usage (for buying an OEM license) zopyx.com - SmartPrintNG