I did this around a year ago for some reason that I cant remember now.
From memory, it goes something like this.
You'll need a PC running a HTTP server like Apache, Microsoft IIS or similar.
For the sake of keeping things tidy, create a folder at the top level of your HTTP servers directory tree. i.e. /path/to/folder/htdocs/addons or /path/to/folder/html/addons.
You'll be uploading your plugins to that folder.
Now create a file (again at the top level) called addons.xml.
Copy the following example XML into it and modify as required.
Code:
<!--
example addons.xml:
description = optional
creator = optional
pic = Preview optional
md5 = MD5 Checksum optional
optional-settings 2=Reboot-Box 3=Restart-Enigma 4=Reload Seetings
-->
<list>
<Plugin>
<content>
<name>SharkaddersPlugin</name>
<url>http://YourIPorDNSname/addons/example.tar.gz</url>
<description>Description of your plugin</description>
<creator>Sharkadder</creator>
<pic>http://YourIPorDNSname/example.jpg</pic>
<size>523000</size>
<md5>b9218bc1c7b71b705d7fd7f2f0dd80c6</md5>
<option></option>
</content>
</Plugin>
</list>
The part marked in blue is a description of each of the XML tags and is commented out, so will be ignored.
The rest is pretty self explanatory. Just modify the file names and URLs accordingly.
You can just use the <name> and <url> tags. The rest is optional.
If you wanted to add more addons under the plugins list, you would just add another <content> subsection within the <Plugin> tag.
To add another category/group to the list, you just add another tag under the <list> tag. e.g.
Code:
<list>
<Plugin>
<content>
<name>SharkaddersPlugin</name>
<url>http://192.168.1.2/addons/example.tar.gz</url>
<description>Description of your plugin</description>
<creator>Sharkadder</creator>
<pic>http://192.168.1.2/addons/example.jpg</pic>
<size>523000</size>
<md5>b9218bc1c7b71b705d7fd7f2f0dd80c6</md5>
<option></option>
</content>
</Plugin>
<Cam>
<content>
<name>SharkaddersPlugin2</name>
<url>http://192.168.1.2/addons/example2.tar.gz</url>
<pic>http://192.168.1.2/addons/example.jpg</pic>
</content>
<content>
<name>SharkaddersPlugin3</name>
<url>http://192.168.1.2/addons/example2.tar.gz</url>
<pic>http://192.168.1.2/addons/example.jpg</pic>
</content>
</Cam>
</list> Define List of categories/groups Define categories/groups within list. See attachment 1.
Define a plugin/addon. See attachment 2.
Define the attributes of a plugin. URL, description, picture preview...etc
If you wanted to connect to the addon server from the outside world, you just need to forward port 80 from the router to the server.
Also, I can see no reason why you couldnt link to an external site from within the <url></url> tags.
The last thing to do is to tell the dreambox where to look for the personal addons server
Do this by addding the following to /etc/useraddon.xml
Code:
<item>
<item name="SharkadderServer" url="http://YourIPorDNSname/addons.xml"/>
</item>