the latest

Deprecated HTML Tag Stripper for TextMate

Earlier this year, Jon posted a Perl script that Scott wrote which strips out deprecated HTML tags and showed how to run this as a plugin for BBEdit. Slowly over the last few months I've convinced Jon to use TextMate as his text editor of choice. The one thing holding him back from fully migrating away from BBEdit was this plugin. Luckily, implementing it in TextMate is dead simple. Here's how:

  1. Right-click and save this Perl script to your computer and move it into your home directory. (Or wherever you'd like it to be.)
  2. Open TextMate's Bundle Editor. Window → Show Bundle Editor
  3. Click on HTML from the language list and then choose New Command
  4. Name the command "HTML Stripper"
  5. Type the following into the command's text area "perl ~/htmlstripper.pl"
  6. Close the window - you're finished!

Now you can run the HTML Stripper command from TextMate's Automation menu. Choose Automation → Run Command → HTML → HTML Tag Stripper.

If you're not familiar with TextMate's bundle editor, here's a screencast that shows how to do the steps above.

Deprecated HTML Tag Stripper Screencast

posted by /
Tyler Hall

posted on /
04/19/2006

comments /
3


This rocks. My conversion from BBEdit to TextMate is now complete! ;)

Jon Henshaw
04/19/06
04:42 pm


This rocks. My conversion from BBEdit to TextMate is now complete! ;)

Jon Henshaw
04/19/06
04:42 pm


I am going to check this out jon. I am loving textmate. Esp for the time saving features of entering in content. -wm

william donnell
10/15/07
06:19 pm


comments


is your robot hungry? Subscribe to the feed

Raven SEO Tools

Snipplr Code Repository

Categories

Archives