http://wiki.linuxmce.org/index.php?title=How_to_create_XML_files_describing_extra_packages_for_LinuxMCE_Add_Software_subsystem&feed=atom&action=historyHow to create XML files describing extra packages for LinuxMCE Add Software subsystem - Revision history2024-03-28T14:43:55ZRevision history for this page on the wikiMediaWiki 1.24.1http://wiki.linuxmce.org/index.php?title=How_to_create_XML_files_describing_extra_packages_for_LinuxMCE_Add_Software_subsystem&diff=5127&oldid=prevRwilson131 at 01:41, 6 September 20072007-09-06T01:41:00Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 01:41, 6 September 2007</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category:LinuxMCEMaintenance]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Category:LinuxMCEMaintenance]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">[[Category:Programmer's Guide]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* XML file should contain the description of one or few extra packages.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* XML file should contain the description of one or few extra packages.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* All packages must be listed inside of tag <packages></packages></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* All packages must be listed inside of tag <packages></packages></div></td></tr>
</table>Rwilson131http://wiki.linuxmce.org/index.php?title=How_to_create_XML_files_describing_extra_packages_for_LinuxMCE_Add_Software_subsystem&diff=3320&oldid=prevJerry finn at 12:00, 16 March 20072007-03-16T12:00:06Z<p></p>
<p><b>New page</b></p><div>[[Category:LinuxMCEMaintenance]]<br />
<br />
* XML file should contain the description of one or few extra packages.<br />
* All packages must be listed inside of tag <packages></packages><br />
* Information about each package should be inside of tag <package></package><br />
<br />
The information about of the package consists of the following sections:<br />
icon, title, description, homeurl, category, downloadurl, packagename, misc, version, target, importance, PC_Type, Required_Version_Min, Required_Version_Max.<br />
<br />
where <br />
<br />
'''icon''' - the PNG picture of the package encoded by base64 encoder,<br />
<br />
'''homeurl''' - URL of the package or of the program<br />
<br />
'''downloadurl''' - url to download the package without its filename or URL of the Debian repository(must begin from '''deb''')<br />
<br />
'''packagename''' - filename or name of the package<br />
<br />
'''version''' - version of the package<br />
<br />
'''target''' - target audience of the package(ie dummy, sophisticated user, techie, coder)<br />
<br />
'''importance''' - importance level: ''must have'', ''nicety'', ''niche''<br />
<br />
'''PC_Type''' - type of device for(can be "S", "M", or "SM", where s=server and m=media player)<br />
<br />
'''Required_Version_Min''', '''Required_Version_Max''' - Maximum and minimum required versions of the LinuxMCE system.<br />
<br />
You may leave some items empty, just type "/" in the end of the tag, like <icon/><br />
<br />
Example of the XML file:<br />
<br />
<?xml version = '1.0' encoding = 'utf-8'?><br />
<packages><br />
<package><br />
<icon/><br />
<title>Title of the package</title><br />
<description>The long, long, long synopsis</description><br />
<homeurl>a link to a home page</homeurl><br />
<category>category</category><br />
<downloadurl>http://where.to/get/the_packages</downloadurl><br />
<packagename>package.deb</packagename><br />
<misc></misc><br />
<version>0.0.1</version><br />
<target>coder</target><br />
<importance>niche</importance><br />
<PC_Type>SM</PC_Type><br />
<Required_Version_Min>2.0.0.39</Required_Version_Min><br />
<Required_Version_Max>2.0.0.40</Required_Version_Max><br />
</package><br />
</packages><br />
<br />
To add to XML file the picture do:<br />
echo -ne "<?xml version = '1.0' encoding = 'utf-8'?>\n<packages>\n\t<package>\n\t\t<icon>\n">package.xml<br />
base64-encode<picture.png>>package.xml<br />
echo -ne "\t\t</icon>\n">>package.xml<br />
and so on.</div>Jerry finn