SuperGeekery Tag Stripper

Developer

John Morton - SuperGeekery

3rd Party (Free)

542 downloads (last 90 days)

GNU General Public License v3 Download v1.0.5

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

It takes a block of HTML and strips out tags, based on what you want to keep or save. Simple. Also supports encoding of HTML special characters as an option, which can be useful for meta data tags in the header.

I built it because I needed it for SuperGeekery’s site redesign. I had XHTML formatted information that I needed to have some tags on the home page, and all of the tags on the page that displayed the full post.

The SuperGeekery TagStripper lets you set tags you’d like to keep and you’ll get cleaned text back.


{exp:tagstripper:tagsToStrip tags=‘img|a’}

Get rid of this link.

{/exp:tagstripper:tagsToStrip}

It also works in the reverse. You can tell it what tags to get rid of.


{exp:tagstripper:tagsToSave tags=“strong”}

This will all be plain text except for this.

{/exp:tagstripper:tagsToSave}

One idea for using it is to take your summary text and then strip all tags and insert into the meta description content area. In version 1.0.2, in response to this use, you now have the option of encoding HTML special characters to their HTML entities. This can prevent accidentally closing a string in your HTML before intended.

Version 1.0.3 and 1.0.4 added the ability to strip out non-breaking space characters. Version 1.0.5 added ability to remove line breaks from meta data. See the GitHub page for full details and usage examples.

Download SuperGeekery Tag Stripper

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0.5 Feb 17, 2014

SuperGeekery Tag Stripper Links

This entry was created June 17, 2010, 11:59 am.
This entry was last updated February 17, 2014, 4:54 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

3 Reviews:

stewf 11.26.19

stewf
Rating - {addon_rating_average}

I used this to omit formatting (like <cite> <b> <i>) from the title tags on my blog posts. Does the trick!

BTW, for some reason the latest version is not available on this page. Get it at GitHib: https://github.com/elsullivano/remove_html

Pen 12.31.11

Pen
Rating - {addon_rating_average}

This just saved me from Slideshare embed ‘div’ hell. After a morning trying to control the divs provided in their embed code so they didn’t break my layout (cos a user isnt going to want to mess with the code), just installing this and using tagsToStrip, I sorted everything in a minute.

JCDerrick 07.10.11

JCDerrick
Rating - {addon_rating_average}

This is a brilliant add-on for removing (or keeping) just the tags you want. For us this was especially helpful in building our mobile site, as we needed to strip the hyperlinks from all the text. This plugin made quick work of that and saved us a lot of time.