This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description



sc.contentrules.movebyattribute is a content rule action used to organize content by moving it under a folderish object with the same id as the value returned by a selected attribute.

Use case

In a portal content is created in a folder /post and must be moved to a new location when it is published. This new location will be under another folder /blogs where every user has its own sub folder

A portal manager will add a content rule that when a Page is published inside /post it will lookup the value of the method Creator and then move the published content to a folderish under /blog. The id of this folderish will match the value extracted from the Creator method.

So, a user with username kirk, will add a new Page in /post and wait for publication. When a reviewer publishes the content, it will be moved under /blog/kirk, which must already exist.


To enable this product,on a buildout based installation:

  1. Edit your buildout.cfg and add sc.contentrules.movebyattribute to the list of eggs to install

    eggs =

After updating the configuration you need to run the ”bin/buildout”, which will take care of updating your system.


Development of this product was sponsored by:


  • Erico Andrei (erico at simplesconsultoria dot com dot br)


0.5 (2011-06-23)

  • Brazilian Portuguese translation [erico_andrei]
  • Initial release [erico_andrei]
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sc.contentrules.movebyattribute-0.5.tar.gz (17.3 kB) Copy SHA256 Checksum SHA256 Source Jun 23, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting