Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install transmogrify.extract

How to install transmogrify.extract

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install transmogrify.extract
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.4.0 Available View build log
0.1.0 Available View build log
Windows (64-bit)
0.4.0 Available View build log
0.1.0 Available View build log
Mac OS X (10.5+)
0.4.0 Available View build log
0.1.0 Available View build log
Linux (32-bit)
0.4.0 Available View build log
0.1.0 Available View build log
Linux (64-bit)
0.4.0 Available View build log
0.1.0 Available View build log
 
Author
License
GPL
Dependencies
Lastest release
version 0.4.0 on Jan 29th, 2012

Introduction

Note

Transmogrifier itself includes a similarly scoped blueprint for codecs: http://pypi.python.org/pypi/collective.transmogrifier/1.3#codec-section

This Transmogrifier blueprint extracts text from within the specified CSS id.

Installation

Sample installation via mr.migrator:

[buildout]
extends = http://build.pythonpackages.com/buildout/plone/4.1.x-dev

[plone]
eggs +=
    mr.migrator
    transmogrify.extract
    transmogrify.filesystem
    transmogrify.ploneremote
    transmogrify.pathsorter
    transmogrify.print

Usage

Sample usage in pipeline.cfg:

[transmogrifier]
pipeline =
    source
    extract
    constructor
    schemaupdater
    print

[source]
blueprint = transmogrify.filesystem
directory = docs/sample_content
file-type = Document
file-field = text
wrap-data = false

[extract]
blueprint = transmogrify.extract

[constructor]
blueprint = transmogrify.ploneremote.remoteconstructor
target = http://admin:admin@localhost:8080/Plone

[schemaupdater]
blueprint = transmogrify.ploneremote.remoteschemaupdater
target = http://admin:admin@localhost:8080/Plone

[print]
blueprint = transmogrify.print
Specify id

By default, the content id is used; specify an alternative with id:

[extract]
blueprint = transmogrify.extract
id = wrapper
Encoding and decoding charsets

By default, UTF-8 is used for both. But you can specify an alternative via:

[extract]
blueprint = transmogrify.extract
decode = ascii
encode = ascii

Changelog

0.4.0 (2012-01-28)
  • Fix brown bag release [aclark]
0.3.0 (2012-01-28)
  • Fix brown bag release [aclark]
0.2.0 (2012-01-28)
  • Clean up docs [aclark]
0.1.0 (2011-08-31)
  • Initial release [aclark]

Subscribe to package updates

Last updated Jan 29th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.