Type: modifier
With a value of "1" encodes the tag value into a string suitable for usage in a file or directory name.
"Dirification" is a multi-step process. First the value is converted to lower case. Any HTML tags and entities are stripped. Characters that are not alphanumeric, the underscore (_) or whitespace characters (i.e. space, tab) are stripped. Finally whitespace characters are converted to an underscore characters.
The modifier dirify also converts certain high-ASCII characters (accented characters, etc) to their low-ASCII characters, meaning that something like "crudité" will be converted to crudite.
For example, if the value of the tag without this attribute were:
- Foo "Baz" is Bar!
...then the dirified version would be
foo_baz_is_bar
Example
<mt:tagname dirify="1" />
1 User Contributed Notes
This filter will also accept a specific string to use as the separator. So, to "dashify" whatever you're modifying, for example, set dirify="-"