1 [[!template id=plugin name=filecheck core=0 author="[[Joey]]"]]
4 This plugin enhances the regular [[ikiwiki/PageSpec]] syntax with
5 some additional tests, for things like file size, mime type, and virus
6 status. These tests are mostly useful for the [[attachment]] plugin, and
7 are documented [[here|ikiwiki/pagespec/attachment]].
9 This plugin will use the [[!cpan File::MimeInfo::Magic]] perl module, if
10 available, for mimetype checking.
12 The `virusfree` [[PageSpec|ikiwiki/pagespec/attachment]] requires that
13 ikiwiki be configured with a virus scanner program via the `virus_checker`
14 option in the setup file. If using `clamav`, with `clamd`, set it to
15 "clamdscan -". Or to use clamav without the `clamd` daemon, you
16 could set it to "clamscan -".