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

This is a Plone extension for the plone.stringinterp module.

Adding this to your buildout and you will be able to add full content text in content rules e-mail messages.

How to use

When you are preparing e-mail action for your Plone Content Rules you can now use two additional marker in the text:

${text}
The current document full text
${indented_text}
Same as above, but right-indent the text using a tab char before every line.

Text is transformed from HTML to plain text (as ussualy are Plone e-mail).

A mail message rule configured like this:

Hi,

the new document "${title}" has been created.

${text}

…will generate this:

Hi,

the new document "Welcome to Plone" has been created.

If you're seeing this instead of the web site you were expecting...

And a mail message rule configured like this:

Hi,

the new document "${title}" has been created.

${indented_text}

…will generate this:

Hi,

the new document "Welcome to Plone" has been created.

    If you're seeing this instead of the web site you were expecting...

Getting text

“Main text field” is an abstract entity. This product try to guess text using adapters, so you can override or provide more specific ones (see the code some example).

Generally, those kind of text extraction is supported:

  • ATContentTypes based content types with a text field (Event, News Item, Document, Topic)
  • Comment from plone.app.discussion
  • Dexterity content types with a text field

Plus, a general adapter that simply try to read if a “text” attribute is provided.

Credits

Developed with the support of Regione Emilia Romagna; Regione Emilia Romagna supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

Changelog

0.2 (2013-09-06)

  • fix adapter when objects doesn’t have text field (ie Files) [cekk]

0.1.1 (2013-08-02)

  • locales folder was not registered [keul]

0.1 (2013-05-30)

  • Initial release
Release History

Release History

0.2

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

0.1.1

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

0.1

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
collective.stringinterp.text-0.2.zip (24.0 kB) Copy SHA256 Checksum SHA256 Source Sep 6, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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