Feature #454

processor_crop should provide at least all TYPO3v4 options

Added by Jochen Rau over 7 years ago. Updated about 3 years ago.

Status:Closed Start date:2008-04-06
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:_old
Target version:-

Description

In TYPO3v4 there is an option to crop from right:
"Syntax: +/- (chars) = from left / from right | [string] | [boolean: keep whole words]" (TSRef)

In the actual implementation of the processor_crop cropping is possible from left and right but chars are only counted from left. IMO there should be three parameters:

CROP_AT: Char|Word|Sentence
CROP_FROM: right|left
COUNT_CHARS_FROM: left|right

The first option should be default.

- Jochen

History

#1 Updated by Jochen Rau over 7 years ago

I added this feature wish to the wrong project, sorry. Should be TYPO3.
The last parameter should be named COUNT_FROM, because not only chars can be counted.

CROP_AT: Char|Word|Sentence
CROP_FROM: right|left|both
COUNT_FROM: left|right

CROP_FROM: both enables to crop at a given offset position and produces "google-style" crops like "... foo bar JohnDoe foo bar ...".

#2 Updated by Sebastian Kurfuerst about 3 years ago

  • Category set to _old

#3 Updated by Karsten Dambekalns about 3 years ago

  • Assigned To set to Karsten Dambekalns

#4 Updated by Karsten Dambekalns about 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF