Skip Menu |

This queue is for tickets about the Text-Truncate CPAN distribution.

Report information
The Basics
Id: 51259
Status: new
Priority: 0/
Queue: Text-Truncate

People
Owner: Nobody in particular
Requestors: jpierce [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.04
Fixed in: (no value)



Subject: Room for expansion
There's room to expand the functionality of this module and give it more of a raison d'etre: Given a chunk of text, truncate in complete sentences or paragraphs, as specified by the user, to a minimum (up to a maximum) number of characters. Optionally return the entire source text if it is not more than some percentage larger than the maximum. This can be useful for generating RSS feeds, etc. It becomes a little complicated to do well because of abbreviations, acronyms and quotations.