Skip to main content

A content type to store and parse pdf publications

Project description

Change history

slc.publications Changelog

slc.publications 1.1.7 (2009-09-15)

  • Add try,except to decouple slc.publications from Products.LinguaPlone (jcbrand)

  • don’t display a JS-scanner–induced PDF-icon in front of the publication’s title (thomasw)

slc.publications 1.1.6 (2009-08-26)

  • Add remove_additionals event handler in adapter/events.py and register it via zcml for IObjectRemovedEvent (jcbrand)

  • Edited the object_added event: removed the code that sets translation references, it has been superseded by slc.autotranslate. (jcbrand)

  • Removed _findAbbrev in adapter/events.py, it’s no longer being called (jcbrand)

  • Added a new doctest file events.txt to test for the above actions. (jcbrand)

slc.publications 1.1.5 (2009-08-13)

  • enhanced setuphandlers.py (together with import_steps.xml and config.py) to automatically install dependencies. (jcbrand)

  • remove explicit blob checking in adapter/publication.py and instead do it via zcml, i.e zcml:condition=”installed plone.app.blob” (jcbrand)

  • modified addTranslation patch to return the translated item as is done in of LinguaPlone >= 2.3 (jcbrand)

  • various new translations have been added (thomasw)

slc.publications 1.1.4 (2009-07-26)

  • have links to publication language versions open in a new window (pilz)

slc.publications 1.1.3 (2009-07-03)

  • changed the link format for the EU Bookshop to fit the new guideline (thomasw)

  • Make ‘related content’ box look like the ‘related publications’ box (jcbrand)

slc.publications 1.1.2 (2009-06-19)

  • svn:ignore cleanup, removed prints

  • test fixes (gerken)

slc.publications 1.1.1 (2009-06-04)

  • made a release without the svn revision in the tag

slc.publications 1.1 (2009-06-04)

  • added a download time estimation control [pilz]

  • removed the hardcoded author from the config file and the schema [pilz]

  • Trying to make it work without Linguaplone as well [pilz]

  • added link to title and image [pilz]

  • Added possibility to add manual relations to other content types. This includes a language fallback [brand]

slc.publications 1.0 final

  • no changes

slc.publications 1.0 beta3

  • Added support for slc.xliff

  • refactored the adapter.py into adapter/ subdir

  • Added an eventhandler to automatically set the suptype on files added to a publication folder

  • Added an eventhandler to detect the uploaded language if the filename starts or ends with a lang abbrev E.g. XX_filename.pdf or filename_XX.pdf or XX-filename.pdf or filename-XX.pdf.

  • Added a patch for linguaplone inserting a new event to allow translating subtyped objects. Translations need to be subtyped just after the object has been created and before attributes are edited.

slc.publications 1.0 beta2

  • Switch to p4a.subtyper to make publications out of files

  • Use Archetypes.schemaextender to marry normal and publication attributes in one interface

  • readded cover image generation

slc.publications 1.0 beta1

  • Plone 3 compatibility. Removed the PublicationFolder concept and base completely on Linguaplone

slc.publications 0.9 beta

  • initial release Thanks to Alin Voinea for creating a Plone2.5 backport. Please see the svn repository for that.

Detailed Documentation

Publication Product

The Publication Product can be used to organise printed publications that are available online for download. Such Publications usually have a publication date, order and ISBN numbers, an author and exist in several language versions. Once stored in the Publication Product, they can be displayed using autogenerated overviews.

Installation

  • Requires

  • Put this package in your Zope’s Products directory and restart Zope

  • use the QuickInstaller to add this product to your Plone site

  • Optional: pdfinfo to parse pdf metadata (part of the xpdf package)

  • Optional: pdftk and imagemagicks convert to generate a cover image from a pdf file

Translations

Note that the ATCT file object by default has a languageIndependent file attribute. That means that you can translate the Title and Description of a file object but not change the real file. Publications changes this behaviour for ATCT and Blob files.

LinguaPlone is patched

the file linguaplone_addTranslation_patch patches linguaplones addTranslation method. It simply adds a new event that is thrown after a translation is created but before its data is set. This is necessary because on translation we need to subtype before we can set any data, otherwise the schema will not be extended.

Documentation

See the doc directory in this package.

Contributors

  • Patrick Gerken (Syslab.com GmbH)

  • Jan-Carel Brand (Syslab.com GmbH)

  • Wolfgang Thomas (Syslab.com GmbH)

  • Alexander Pilz (Syslab.com GmbH)

  • Alin Voinea for Testing and Plone 2.5 backporting

Project details


Download files

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

Source Distribution

slc.publications-1.1.7.zip (399.7 kB view hashes)

Uploaded Source

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