Benutzertools

Site-Tools


manuell:erweitert:Anpassung:Aktionen

Differenzen

Dies zeigt Ihnen die Unterschiede zwischen zwei Versionen der Seite.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorherige Überarbeitung
manual:advanced:customization:actions [2015/05/21 15:04] – erstellt mstupkamanual:advanced:customization:actions [2015/10/23 10:15] (Strom) - mstupka
Linie 1: Linie 1:
 ====== Locus Actions ====== ====== Locus Actions ======
  
-  +Dieser geheimnisvoller Name versteckt a sehr einfacher Weg of providing an einfache Methode of downloading data from your own web server to Locus Karte (and probably other features wird kommen später)Die ganze concept is based on XML file that you die zu Locus Map for processingDas XML-Datei beschreibt was ist zu tun.
-  * Locus-Typ:html>b>ein hrefhttps://play.google.com/Geschäft/Apps /Einzelheiten?id=menion.android.locus&amp;referrer=utm_source%3Ddocs%26utm_medium%3Dheader%26utm_content%3Dchange_me" Ziel="_leer">Kostenlos</a>/ein hrefhttps://play.google.com/Geschäft/Apps /Einzelheiten?id=menion.android.locus.pro&amp;referrer=utm_source%3Ddocs%26utm_medium%3Dheader%26utm_content%3Dchange_me" Ziel="_leer">Profi</a></b></html>, **2.10.2+** +
-  * Letztes aktualisiertes Handbuch: **3.0.2** +
-</WICKELN> +
- +
-===== Grundlegende Informationen ===== +
- +
-Darunter geheimnisvoller Name ist versteckt sehr einfacher Weg, how to provide einfache Methode für downloading data from your own web server to Locusand probably other features later. Ganze concept is based on XML fileThat You "give" Ort zu ProzessdefinierungIn XML-Datei wird beschrieben was ist zu tun. +
- +
-Locus currently support actions: **download**+
  
 +Locus Map currently supports only one action: **download**
 ===== Wie man ===== ===== Wie man =====
  
-Whole file you provide to Locus is XML file with this syntax+Whole file you provide to Locus is an XML file with this syntax:
  
-  <?xml version="1.0" Kodierung="utf-8"?> +<Code> 
-  <locusActions> +<?xml version="1.0" Kodierung="utf-8"?> 
-    <action>...</action> +<locusActions> 
-  </locusActions>+  <action>...</action> 
 +</locusAktionen
 +</code>
  
-Where //locusActions// may contain one or more //action// objectsthat will do required work.+Where //locusActions// may contain one or more //action// objects that will do   required work.
  
-To make Locus correctly handling this file, simply construct URL to this file by following syntax (example)+To make Locus Map handle Diese Datei korrekt, simply construct URL to this file by following syntax (example):
  
-  locus-actions://https/dl.dropbox.com/u/12579512 /my_directory/test.xml+<Code> 
 +locus-actions://https/dl.dropbox.com/u/12579512 /my_directory/test.xml 
 +</Code>
  
-Wie Sie sehen können, einfach change scheme to **locus-actions** and default scheme Übernehmen  to part of base URL separated only by one slash. Locus will handle this link in simple way: +Wie Sie sehen, ändern Sie sich einfach die scheme to **locus-actions** and   default scheme Änderungen zu part of base URL separated only by one slash. Locus Karte will handle this link in simple way: 
-  - entfernen **locus-actions** tag + 
-  - Übernehmen  first part into new scheme+  - entfernt **locus-actions**  Etikett 
 +  - Änderungen first part into new scheme
  
 ==== Herunterladen ==== ==== Herunterladen ====
  
-Action object that serve to download files into Locus directory+Action object that serves downloading files into Locus directory.
  
-Sample syntax is +Sample syntax is:
  
-  <?xml version="1.0" Kodierung="utf-8"?> +<Code> 
-  <locusActions> +<?xml version="1.0" Kodierung="utf-8"?> 
-    <download> +<locusActions> 
-      <source size="22075830" date="2012-06-29_19-11-54"> +  <download> 
-        <![CDATA[http://... /map.tar]]> +    <source size="22075830" date="2012-06-29_19-11-54"> 
-      </source> +      <![CDATA[http://... /map.tar]]> 
-      <dest><![CDATA[/Karten/map.tar]]></dest> +    </source> 
-      <after>...</after> +    <dest><![CDATA[/Karten/map.tar]]></dest> 
-    </download> +    <after>...</after> 
-  </locusActions>+  </download> 
 +</locusAktionen
 +</code>
  
 __Where__ __Where__
-  * **download** - is core tagzur Verbesserung der Gesundheitsgerechtigkeit identifizieren diese Aktion + 
-  * **source** - URL to source file. If enthalten **size** and **date** parameters, download file be checked and not downloaded if already exists +  * **download**  core tag that identifiziert diese Aktion 
-    * **size** - (optional) size of file in bytes +  * **source**  - URL to source file. If es beinhaltet **size**  and **date**  parameters, download file werden wir be checked and not downloaded if it ist bereits vorhanden. 
-    * **date** - (optional) date of last edit in format //yyyy-MM-dd_HH-mm-ss//. Some phones have problems with setting correct time to downloaded file. Highly recommended is to set only **size** for comparing already downloaded files, +      * **size**  - (optional) size of   file in bytes 
-  * **dest** - relativ path (to Locus root)where to put new file +      * **date**  - (optional) date of   letzte Bearbeitung of format //yyyy-MM-dd_HH-mm-ss//. Some phones have problems with setting correct time to   downloaded file. Highly recommended is to set only **size**  for comparing already downloaded files. 
-  * **after** - special action that is performed after download. Currently unterstützt is +  * **dest** - wechseln path (to Locus root) where to put   neue Datei 
-    * **refreshMap** - useful if you download new personal or vector Karten. Dies namens on last map (in case you download more maps), refresh list of maps without need to restart Locus +  * **after** - special action that is performed after download. Currently is unterstützt: 
-    * **importData** - immediately after file is downloadedOrt will start normal import process of this file +      * **refreshMap**  - useful if you download new personal or vector Karte. Dies Anrufe on   last map (in case you download more maps) and refreshes the list of maps without need to restart Locus 
-    * **displayData** - immediately after downloadOrt wird geladen und Display downloaded file on map. Data will be displayed only temporarily, so if you want to store them permanently, use //importData// zu erhalten +      * **importData**  - immediately after   file is downloaded Locus Die Karte beginnt gemeinsam import process of this file 
-    * **extract** - Extrakt downloaded file. Directory is the one, used zum Herunterladen. +      * **displayData**  - immediately after download Locus Map loads und Displays downloaded file on map. Data will be displayed only temporarily, so if you want to store them permanently, use //importData// zu erhalten beantragen müssen 
-    * **deleteSource** - erlauben to delete downloaded file. This is useful mainly if you download zipped file and after Extrakt, du willst entfernen Diese Datei.+      * **extract**  Extrakte downloaded file. Directory is the wie zum Herunterladen. 
 +      * **deleteSource**  erlaubt löschen   downloaded file. This is useful mainly if you download zipped file and after extracting it du willst entfernen it.
  
 __TIPS__ __TIPS__
-  * **Download map file (zip archive)** - you may use this combination **extract|deleteSource|refreshMap**, welche Extrakt file after download, löschen original file and finally erfrischen maps list. + 
-  * **Download file ready for import (zip archive)** - you may use this combination **extract|importData**, welche Extrakt file after download and Anfang import. In this case, it is suggested to set **dest** parameter to special Locus directory **cache/temp**. This directory is from time to time gelöscht, so all unneeded files wird sein entfernt.+  * **Download map file (zip archive)**  - you may use this combination **extract|deleteSource|refreshMap**, welche extrahiert die file after download, Löschungen original file and finally erfrischt die maps list. 
 +  * **Download file ready for import (zip archive)**  - you may use this combination **extract|importData**, welche extrahiert die file after download and beginnt import. In this case, it is suggested to set **dest**  parameter to special Locus Karte directory **cache/temp**. This directory is gelöscht from time to time so all unneeded files sind entfernt. 
manual/advanced/customization/actions.1432213496.txt.gz · Letzte Änderung: 2015 05:21 (externe Bearbeitung)