1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
\r
4 <link href="style.css" REL="stylesheet" TYPE="text/css" MEDIA="screen">
\r
5 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
\r
6 <title>Xestia Scanner Server Documentation - Developer Documentation - 5.1 Guidance</title>
\r
9 <div class="menubarback">
\r
10 <div class="menubar">
\r
11 <span class="apptitle">Xestia Scanner Server</span>
\r
12 <a href="index.html">Index</a> | <a href="user.html">User
\r
13 Documentation</a> | <a href="tutorial.html">Tutorial Documentation</a> |
\r
14 <a href="developer.html">Developer Documentation</a>
\r
17 <div class="pageinformation">
\r
18 <span class="pagetitle">5.1 Guidance</span>
\r
20 When creating a new export module to be used in Xestia Scanner Server, the following is required:
\r
22 When creating a new export module, at the top of the page the following should be inserted:
\r
25 package Modules::Export::(modulename);<br>
\r
30 our $VERSION = "(version)";<br>
\r
31 my ($pages, %pages);<br>
\r
33 my $error_message;<br>
\r
34 my $language_name = "";<br>
\r
35 my %optionshash = ();
\r
38 Replace (modulename) with the name of the module like Download (which means Download export module).
\r
40 'use strict' and 'use warnings' isn't required but it is generally accepted that Perl scripts and modules should have 'use strict' and 'use warnings' lines written.
\r
42 Replace (version) with the internal version number of the module.
\r