Personal tools
Skip to content. | Skip to navigation
This is a generic content migration framework, which should help you write your own content migrations. It has no UI and no value on its own, but makes it easy to write certain type of content migrations. This replaces the ATContentTypes migration framework, and provide three useful extensions: A CustomQueryWalker can be used to specify a more specific catalog query for a walker to use (e.g. which content to actually migrate). This can be used with any migrator. A BaseInlineMigrator is similar to BaseMigrator, but does not migrate by copying the old object to a temporary location, creating a new object and applying migration methods. Instead, migration methods are applied in-place. This simplifies the code significantly, because attributes, local roles etc. does not need to be copied over. Note that whereas BaseMigrator works in terms of self.old and self.new as the objects being migrated, BaseInlineMigrator only has a single object, stored in self.obj. This can be used with any walker. An extension of this class called FieldActionMigrator uses the action-based migration framework for Archetypes fields, found in field.py. Please refer to that file for full details, but briefly, you specify a list of attributes to migrate at the storage level, instructing the migrator whether to rename, transform, unset or change the storage for an attribute. Please see the docstrings in walker.py, migrator.py and field.py for full details. For examples, see tests/cmtc.py and tests/testATFieldMigration.py.
Five/AT layer for syndication
Feedfeeder has just a few things it needs to do: * Read in a few ATOM feeds (not too many). * Create FeedFeederItems out of the entries pulled from the ATOM feeds. Any feed items that contain enclosures will have the enclosures pulled down and added as File items to the feed item. * This means figuring out which items are new, which also means having a good ID generating mechanism.
Products.i18ntestcase is build on top of the ZopeTestCase package. It has been developed to simplify testing of gettext i18n files for Zope products. (c) 2005-2008, Hanno Schlichting (plone@hannosch.info) License: GPL Products.i18ntestcase Readme Products.i18ntestcase is build on top of the ZopeTestCase package. It has been developed to simplify testing of gettext i18n files for Zope products. The Products.i18ntestcase package provides: * The class 'I18NTestCase' of which you can derive your own test cases. * The classes 'PoTestCase.py' and 'PotTestCase.py' which include a set of common tests for po and pot files. * The 'test_i18n.py' script, which you can put in your tests folder to easily use all these already written tests. Copying the test_i18n.py to your tests folder is the preferred way.
Products.jsImagePopups provides a jQuery lightbox plugin to open image popups without using a new browser window. By default links pointing to *image_view_fullscreen*, having a *rel* attribute beginning with *lightbox* or contained in an element with class *photoAlbumEntry* are using the provided plugin. This includes the *news item* view the *album* view and the *image* of plone. To activate the plugin for your own view either set the *rel* attribute on the desired links or instantiate the links on your own, for an example on how to do this have a look at the *browser/lightbox.init.js* file. Changing the behaviour of the lightbox may be done by changing the *jsImagePopups* property in the *site_properties* property sheet or by activating the plugin by yourself and providing a custom settings object.
Slideshow Folder provides a simple, elegant animated slideshow for Plone. Slideshow Folder integrates the Slideshow for Mootools javascript class into Plone. This powerful, lightweight, well-designed slideshow module was originally developed for TextPattern and has also been adapted for Joomla. Slideshow Folder offers the following features: * Animated slideshows with configurable transitions, including fade, wipe and push. * Configurable duration of transitions, and slide timing * Pan and zoom over slides (aka the "Ken Burns" effect) * Thumbnail navigation and forward/back arrows (both are optional) * Image captions * Intelligent preloading of images to save bandwidth
Data validation package for Archetypes.
archetypes base module hierarchy
borg python module