







Translated from English by gtranslate.io
This is an old revision of the document!
This page is obsolete and will be reworked soon
Below this mysterious name is hidden very simple way, how to provide easy method for downloading data from your own web server to Locus, and probably other features later. Whole concept is based on XML file, that you “give” Locus to process. In XML file is described what to do.
Locus currently support actions: download
Whole file you provide to Locus is XML file with this syntax
<?xml version="1.0" encoding="utf-8"?> <locusActions> <action>...</action> </locusActions>
Where locusActions may contain one or more action objects, that will do required work.
To make Locus correctly handling this file, you simply construct URL to this file by following syntax (example)
locus-actions://https/dl.dropbox.com/u/12579512/my_directory/test.xml
As you can see, simply change scheme to locus-actions and default scheme change to part of base URL separated only by one slash. Locus will handle this link in simple way:
Action object that serve to download files into Locus directory
Sample syntax is
<?xml version="1.0" encoding="utf-8"?> <locusActions> <download> <source size="22075830" date="2012-06-29_19-11-54"> <![CDATA[http://.../map.tar]]> </source> <dest><![CDATA[/maps/map.tar]]></dest> <after>...</after> </download> </locusActions>
Where
TIPS