Join Jason Loftis on Amplify
The Web's Social News Network.

Curate, connect & build relationships you'll learn from.

Jason Loftis | My Amplog

Things I Amplify from the web

EE Plugin - Cleaner

Amplifyd from utilitees.silenz.org

utilitees

- Addons for ExpressionEngine
Cleaner

This is just a little helper plugin. We often take an excerpt of the article text to fill the <meta name=“description”> of the single entry pages. For a long time I was used to nesting a whole a bunch of other plugins to sanitize the data beforehand but the results were not bulletproof anyway.

So this plugin takes a text and first removes any javascript (note: ExpressionEngine replaces email-addresses with javascript to obfuscate them), then strips all HTML-tags and finally applies PHP’s htmlspecialchars()-function to transform ampersands, quotes, less & greater thans to HTML entities. That’s all it does.

Read more at utilitees.silenz.org
 

EE Plugin - TruncHTML

Amplifyd from utilitees.silenz.org

TruncHTML

Version Released Type License
1.3.2 2009-09-02 Plugins Freeware (?)

TruncHTML Documentation
Docs

Download  TruncHTML
Download

Permalink TruncHTML
Permalink

TruncHTML Version RSS
Version RSS

This plugin is used for limiting text to a specified length. Much like the Character Limiter-Plugin that comes with ExpressionEngine.

The difference is, that TruncHTML is HTML-aware, so you can use it to shorten HTML-formatted text and keep the markup without being afraid of breaking it.

Unlike the standard limiter-plugins it does not count characters that belong to HTML-tags and does not cut-off in the middle of tags.
Read more at utilitees.silenz.org