IMPORTANT NOTICE

During the next period of time, the Thecus Wiki will migrate to a new site - the NAS Website. The migration is part of an improvement initiative, which includes giving the site a new look and making it more user friendly.

During the migration information may exist both at the old and new site, however slowly pages should start to be located mainly at the new site. Please see the NAS Website for details.

N5200 Module install.rdf File

From Thecus Wiki

Jump to: navigation, search

Page migrated to NASWebsite.com

Module Definition File install.rdf

All modules must contain a file named install.rdf in a /Configure sub directory of the top level module directory, eg. /MYMOD/Configure/install.rdf. A typical XML module definition in install.rdf will look something like this:

<?xml version="1.0"?>
<rdf:RDF xmlns:md="http://localhost/module/schema#" 
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
	<md:Install>
		<md:ModuleRDF>Install</md:ModuleRDF>
		<md:Name>MYMOD</md:Name>
		<md:Version>1.00.00</md:Version>
		<md:Description>This module does ...</md:Description>
		<md:Authors>A. N. Other</md:Authors>
		<md:Thanks>Thanks to the inventive Thecus user community for all their help.</md:Thanks>
		<md:WebUrl>http://www.modules-r-us.com/MYMOD</md:WebUrl>
		<md:UpdateUrl>http://www.modules-r-us.com/MYMOD-UPDATE</md:UpdateUrl>
		<md:Reboot>No</md:Reboot>
		<md:Icon></md:Icon>
		<md:Mode>Admin</md:Mode>
		<md:HomePage>http://www.modules-r-us.com</md:HomePage>
		<md:UI>Thecus</md:UI>
	</md:Install>
	<md:NAS>
		<md:TargetNas>Thecus</md:TargetNas>
		<md:NasType>n5200</md:NasType>
		<md:NasVersion>1.00.07</md:NasVersion>
	</md:NAS>
</rdf:RDF>

Many of these XML tags are fairly self-explanatory but here are some notes on individual tags:

  • md:Name - This name must exactly match the name of the top-level directory within the module. It is the name of the module as it will appear on the N5200's web GUI.
  • md:Version - It's best to stick with Thecus style version numbering here. This is the version of your module.
  • md:UpdateUrl - (to be done).
  • md:NasVersion - Take care to correctly target the earliest N5200 firmware version your module will work with.
Personal tools
product resources