Manifest Generator for TextMate and Text Wrangler

I whipped up versions of the Coda extension “Manifest Generator” that run in TextMate and TextWrangler. See the previous post on a HTML 5 Manifest Generator for Coda.

TextMate plugin bundle icon HTML5 Manifest Generator for TextMate

To install the bundle- just download, unzip, and double-click. TextMate will open and install the bundle as “Mobilemind” with a command, “Generate Manifest”. Usage is as you would expect in TextMate. Feel free to move it to a more appropriate bundle grouping, like say HTML.

Shell script plugin icon HTML5 Manifest Generator A ‘Shebang’ menu Filter for TextWrangler

To install the Shebang (Shell) menu item- first download, then unzip the shell script. Finally, move the script file into the directory:

~/Library/Application Support/TextWrangler/Unix Support/Unix Filters

Then make sure the script is executable by doing the following in Terminal:

chmod 755 "$HOME/Library/Application Support/TextWrangler/Unix Support/Unix Filters/Manifest Generator"

Then to use it the first time TextWrangler:

  • Open the HTML file that you want to use as the basis for generating a manifest
  • In TextWrangler, hold down the Cmd key while you use the “!#” (Shebang) menu to select the sub-menu “Unix Filters” and choose ‘Manifest Generator‘.
  • In the dialog box set the “Filter Options” as follows; Output STDERR to: New Window Output STDOUT: Windows used for STDERR
  • Then click the button “Run” to execute the filter command.

The options should “stick” for next time you run the Filter.

If you want to use it as a raw shell command, I’d recommend copying the file “Manifest Generator” to “manifest-gen” and putting the copy in the directory “/usr/local/bin“. That will save you typing lots of quotes and/or long paths.

About Tom King

Tom King has a master's degree in Instructional Design and 15 years experience developing and managing elearning materials. Tom has been active with many elearning technology specification groups, including ADL SCORM, AICC, IEEE LTSC, and others. He served as AICC Communications Chairman and workgroup leader for the PENS specification. Tom was instrumental in early implementations of LMS specifications for LAN and web-based systems as an early AICC advocate and founder of Solis, maker of Pathware (acquired by Macromedia and later transferred to IBM as LearningSpace 4). Tom continues to collaborate with colleagues from a variety of companies offering enterprise-class elearning solutions.
This entry was posted in Uncategorized and tagged , , , , . Bookmark the permalink.

Comments are closed.