Query: mojomojo::formatter::dir
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MojoMojo::Formatter::Dir(3pm) User Contributed Perl Documentation MojoMojo::Formatter::Dir(3pm)NAMEMojoMojo::Formatter::Dir - format local directory as XHTMLDESCRIPTIONThis formatter will format the directory argument as XHTML. Usage: {{dir directory exclude=exclude_regex}} For security reasons the directory must be include in 'whitelisting'. You can use path_to(DIR) to describe directory in mojomojo.conf: <Formatter::Dir> prefix_url /myfiles whitelisting __path_to(uploads)__ </Formatter::Dir>METHODSformat_content_order Format order can be 1-99. The File formatter runs on 92. format_content Calls the formatter. Takes a ref to the content as well as the context object. format Return the content formatted to_xhtml Return Directory and files lists in xhtml checkdir Directory must be include in whitelistingSEE ALSOMojoMojoAUTHORSDaniel Brosseau <dab@catapulse.org>LICENSEThis module is licensed under the same terms as Perl itself. perl v5.14.2 2010-05-23 MojoMojo::Formatter::Dir(3pm)
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
One instance of comparing grep and awk |
A (ksh) Library For and From UNIX.com |
My first PERL incarnation... Audio Oscillograph |