[Typo3-dev] Crop on HTML contents

Andreas Schwarzkopf schwarzkopf.no.spam at artplan21.de
Wed Mar 9 11:42:01 CET 2005


Hi Davide,

Davide Principi schrieb:

> So the function has to keep track of all opening tags, and find the crop 
> point counting content-chars only. Then close the tags.
> 
> I looked for an extension, but I didn't find a solution.
> Is there some API function that can help or something already working?

Sure, try to make it yourself with parseFunc.userFunc or 
stdWrap.postUserFunc. But it es a general problem, may be if you have 
done this, you could submit a patch for class.tslib_content.php, crop 
function.

grtx

Andreas




More information about the TYPO3-dev mailing list