UKHAS Wiki

UK High Altitude Society

User Tools

Site Tools


projects:tracker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:tracker [2009/01/24 22:02] natrium42projects:tracker [2011/07/26 02:50] (current) – [Usage] natrium42
Line 35: Line 35:
   * Edit config.php   * Edit config.php
   * Google maps requires an API Key for each domain, sign up for one at [[http://code.google.com/apis/maps/signup.html]] and put it into $gmaps_key in config.php   * Google maps requires an API Key for each domain, sign up for one at [[http://code.google.com/apis/maps/signup.html]] and put it into $gmaps_key in config.php
-  * Modify the twitter section in index.php 
  
-==== Usage ====+==== Customization ==== 
 +  * Modify the Twitter section in index.php: you can remove it or put your own user name 
 +  * Modify the Mibbit IRC section in index.php: you can remove it or put your own IRC channel into it 
 +  * Modify the ustream section in index.php to enable live video feed 
 +  * If you don't need picture down-link, remove header div from index.php
  
 +==== Usage ====
  
-=== Updates via Email === +=== Updates via HTTP GET or POST === 
-Send email to track@domain.com of the format: +To send an update via HTTP, send a GET or POST request to http://domain.com/tracker/track.php with following variables (or any other variables supported by the tracker):
-  N:firefly,T:233720,Lat:5142.8844N,Lon:00007.1758W,Alt:123.9,H:40,S:20.5km/h,P:yourpass +
-It's also possible to omit "km/h" and/or use decimal lat/lon: +
-  N:halo,T:233720,Lat:51.71474,Lon:0.119596,Alt:123.9,H:40,S:20.5,P:yourpass +
-Note: Altitude is in meters, heading is in degrees, speed is in km/h, time format is hhmmss. +
- +
-=== Updates via HTTP GET === +
-To send an update via HTTP, send a GET request to http://domain.com/tracker/track.php with following variables (or any other variables supported by the tracker):+
   vehicle=halo   vehicle=halo
   time=233720   time=233720
Line 62: Line 59:
  
 Note: Altitude is in meters, heading is in degrees, speed is in km/h, time format is hhmmss. Decimal lat/lon can be used, because the tracker auto-recognizes the format. Note: Altitude is in meters, heading is in degrees, speed is in km/h, time format is hhmmss. Decimal lat/lon can be used, because the tracker auto-recognizes the format.
 +
 +=== Updates via Email ===
 +Send email to track@domain.com of the format:
 +  N:firefly,T:233720,Lat:5142.8844N,Lon:00007.1758W,Alt:123.9,H:40,S:20.5km/h,P:yourpass
 +It's also possible to omit "km/h" and/or use decimal lat/lon:
 +  N:halo,T:233720,Lat:51.71474,Lon:0.119596,Alt:123.9,H:40,S:20.5,P:yourpass
 +Note: Altitude is in meters, heading is in degrees, speed is in km/h, time format is hhmmss.
  
 === Live Pictures === === Live Pictures ===
projects/tracker.1232834538.txt.gz · Last modified: 2009/01/24 22:02 by natrium42

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki