MoLo Markup Language Sample File

The MoLo (Modules Loader) is an embeded modules installer / updater / uninstaller. The
MoLo Markup Files (molo.txt) contain those installation, update and uninstallation instructions.

<molo>

  <info name="MyModuleName" version="1.1" author="My Name" support="my@email.com" url="http://www.me.com" body="Module descr.">

  <install>
	<tpl mode="append" reference="fileName" location="markerName" position="left right top bottom" value="theValue">
	<tpl mode="remove" reference="fileName" location="markerName">
	
	<conf mode="append" reference="CONF_ITEM" value="value">
	<conf mode="modify" reference="CONF_ITEM" value="newValue">
	<conf mode="remove" reference="CONF_ITEM">
	
	<map mode="append" reference="idNumber" location="the 'L' value" value="textValue">
	
	<db mode="query" value="mySQLQuery">
	
	<io mode="make" value="directory / file" chmod="0777">
	<io mode="unlink" value="directory / file">
  </install>

  <update> </update>

  <uninstall> </uninstall>

</molo>