<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>filecheck</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../plugins.html">plugins</a>/ </span> <span class="title"> filecheck </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><span class="infobox"> Plugin: filecheck<br /> Author: <span class="createlink">Joey</span><br /> Included in ikiwiki: yes<br /> Enabled by default: no<br /> Included in <a href="./goodstuff.html">goodstuff</a>: no<br /> Currently enabled: no<br /> </span></p> <p>This plugin enhances the regular <a href="../ikiwiki/pagespec.html">PageSpec</a> syntax with some additional tests, for things like file size, mime type, and virus status. These tests are mostly useful for the <a href="./attachment.html">attachment</a> plugin, and are documented <a href="../ikiwiki/pagespec/attachment.html">here</a>.</p> <p>This plugin will use the <a href="http://search.cpan.org/search?mode=dist&query=File%3A%3AMimeInfo%3A%3AMagic">File::MimeInfo::Magic</a> perl module, if available, for mimetype checking. It falls back to using the <code>file</code> command if necessary for hard to detect files.</p> <p>The <code>virusfree</code> <a href="../ikiwiki/pagespec/attachment.html">PageSpec</a> requires that ikiwiki be configured with a virus scanner program via the <code>virus_checker</code> option in the setup file. If using <code>clamav</code>, with <code>clamd</code>, set it to "clamdscan -". Or to use clamav without the <code>clamd</code> daemon, you could set it to "clamscan -".</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="tags"> Tags: <a href="./type/special-purpose.html" rel="tag">type/special-purpose</a> </div> <div id="backlinks"> Links: <a href="./attachment.html">attachment</a> <a href="./contrib/album.html">contrib/album</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>