dirify

Converts the input into a filename-friendly format. This strips accents from accented characters and changes spaces into underscores (or dashes, depending on parameter).

The dirify parameter can be either "1", "-" or "_". "1" is equivalent to "_".

Example:

    <$mt:EntryTitle dirify="-"$>

which would translate an entry titled "Cafe" into "cafe".

This page was last updated on 2012-11-30, 00:52.