<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://t3phone.lagopixel.com/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://t3phone.lagopixel.com/index.php?action=history&amp;feed=atom&amp;title=Page_Types</id>
		<title>Page Types - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://t3phone.lagopixel.com/index.php?action=history&amp;feed=atom&amp;title=Page_Types"/>
		<link rel="alternate" type="text/html" href="http://t3phone.lagopixel.com/index.php?title=Page_Types&amp;action=history"/>
		<updated>2026-04-16T01:21:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://t3phone.lagopixel.com/index.php?title=Page_Types&amp;diff=931&amp;oldid=prev</id>
		<title>Lagopixel: Undo revision 930 by Lagopixel (talk)</title>
		<link rel="alternate" type="text/html" href="http://t3phone.lagopixel.com/index.php?title=Page_Types&amp;diff=931&amp;oldid=prev"/>
				<updated>2011-02-08T13:33:53Z</updated>
		
		<summary type="html">&lt;p&gt;Undo revision 930 by &lt;a href=&quot;/wiki/Special:Contributions/Lagopixel&quot; title=&quot;Special:Contributions/Lagopixel&quot;&gt;Lagopixel&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Lagopixel&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Lagopixel (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== URL ==&lt;br /&gt;
Format of the URL:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://domain.tld/index.php?type=xx&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://domain.tld/index.php?id=xx&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://domain.tld/index.php?type=xx&amp;amp;id=xx (only works with type=80 and if a special type is set for the id=0 page)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameter for XML-Output ==&lt;br /&gt;
=== Content ===&lt;br /&gt;
==== type=10 - shows the whole content and configuration in one page ====&lt;br /&gt;
&lt;br /&gt;
 type=10 (same as type=40 plus all id=xx together)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show; color:black; {{{1}}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter                                          !! Funktion                           &lt;br /&gt;
|-&lt;br /&gt;
| description_html     || Description (Text, which will be shown in &amp;quot;About us&amp;quot;-page, formated as HTML         &lt;br /&gt;
|-&lt;br /&gt;
| about_img             || Image with relative path that is shown in &amp;quot;about us&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| adminmail || Emailadrress which is used to send feedback to issuer of the software  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show; color:black; {{{1}}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter                                          !! Funktion                           &lt;br /&gt;
|-&lt;br /&gt;
| bookmark_icon     || Bookmark-Icon shown on the first page         &lt;br /&gt;
|-&lt;br /&gt;
| showall_icon            || Icon &amp;quot;showall&amp;quot; shown on the first page &lt;br /&gt;
|-&lt;br /&gt;
| history_icon || History-icon shown on the first page  &lt;br /&gt;
|-&lt;br /&gt;
| rootlink_icon     || Icon that is shown to get to the first root-page (&amp;quot;home&amp;quot;)  &lt;br /&gt;
|-&lt;br /&gt;
| location_icon     || Icon that is shown on the lower left side for triggering the location-update  &lt;br /&gt;
|-&lt;br /&gt;
| settings_icon     || Brings up the settings dialog  &lt;br /&gt;
|-&lt;br /&gt;
| Prior_icon     || Icon for previous &amp;quot;page&amp;quot; (should be an arrow)  &lt;br /&gt;
|-&lt;br /&gt;
| Next_icon     || Icon for next &amp;quot;page&amp;quot; (should be an arrow) &lt;br /&gt;
|-&lt;br /&gt;
| DirUp_icon     || Icon for sortging alphabetically (up)  &lt;br /&gt;
|-&lt;br /&gt;
| DirDown_icon     || Icon for sortging alphabetically (down) &lt;br /&gt;
|-&lt;br /&gt;
| DistUp_icon     || Sorting via distance (upwards)  &lt;br /&gt;
|-&lt;br /&gt;
| DistDown_icon     || Sorting via distance (down) &lt;br /&gt;
|-&lt;br /&gt;
| Delete_icon     || Deleting items from bookmarks  &lt;br /&gt;
|-&lt;br /&gt;
| default_icon     || This icon ish shown when no image is specified  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show; color:black; {{{1}}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter                                          !! Funktion                           &lt;br /&gt;
|-&lt;br /&gt;
| menu id     || id of the item (same as page id)         &lt;br /&gt;
|-&lt;br /&gt;
| menu_title             || Title of the item (shown on tableview, item heading) &lt;br /&gt;
|-&lt;br /&gt;
| adminmail || Emailadrress which is used to send feedback to issuer of the software  &lt;br /&gt;
|-&lt;br /&gt;
| menu_desc || Shows short description on table view  &lt;br /&gt;
|-&lt;br /&gt;
| menu_image || Thumbnail-icon that is in the tableview (if there are two, take the first one)&lt;br /&gt;
|-&lt;br /&gt;
| page id     || id of the item (same as menu id)   &lt;br /&gt;
|-&lt;br /&gt;
| name || Heading for the item  &lt;br /&gt;
|-&lt;br /&gt;
| desc || Text of the item  &lt;br /&gt;
|-&lt;br /&gt;
| lat || Geocordinate (lat)  &lt;br /&gt;
|-&lt;br /&gt;
| lon || Geocordinate (lon)  &lt;br /&gt;
|-&lt;br /&gt;
| largeimg || Image that is shown on the page. This image is shown in full when clicked and as a small image when on the item-page  &lt;br /&gt;
|-&lt;br /&gt;
| img || Image (depreciated, will be removed soon, if not already)  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== type=11 - shows the whole content and configuration in one page &amp;quot;minus&amp;quot; the icons ====&lt;br /&gt;
&lt;br /&gt;
 type=11 (same as type=10 minus the icons section)&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
==== type=40 - loads the configuration and corresponding images ==== &lt;br /&gt;
&lt;br /&gt;
 type=40&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show; color:black; {{{1}}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter                                          !! Funktion                           &lt;br /&gt;
|-&lt;br /&gt;
| description_html     || Description (Text, which will be shown in &amp;quot;About us&amp;quot;-page, formated as HTML         &lt;br /&gt;
|-&lt;br /&gt;
| about_img             || Image with relative path that is shown in &amp;quot;about us&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| adminmail || Emailadrress which is used to send feedback to issuer of the software  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show; color:black; {{{1}}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter                                          !! Funktion                           &lt;br /&gt;
|-&lt;br /&gt;
| bookmark_icon     || Bookmark-Icon shown on the first page         &lt;br /&gt;
|-&lt;br /&gt;
| showall_icon            || Icon &amp;quot;showall&amp;quot; shown on the first page &lt;br /&gt;
|-&lt;br /&gt;
| history_icon || History-icon shown on the first page  &lt;br /&gt;
|-&lt;br /&gt;
| rootlink_icon     || Icon that is shown to get to the first root-page (&amp;quot;home&amp;quot;)  &lt;br /&gt;
|-&lt;br /&gt;
| location_icon     || Icon that is shown on the lower left side for triggering the location-update  &lt;br /&gt;
|-&lt;br /&gt;
| settings_icon     || Brings up the settings dialog  &lt;br /&gt;
|-&lt;br /&gt;
| Prior_icon     || Icon for previous &amp;quot;page&amp;quot; (should be an arrow)  &lt;br /&gt;
|-&lt;br /&gt;
| Next_icon     || Icon for next &amp;quot;page&amp;quot; (should be an arrow) &lt;br /&gt;
|-&lt;br /&gt;
| DirUp_icon     || Icon for sortging alphabetically (up)  &lt;br /&gt;
|-&lt;br /&gt;
| DirDown_icon     || Icon for sortging alphabetically (down) &lt;br /&gt;
|-&lt;br /&gt;
| DistUp_icon     || Sorting via distance (upwards)  &lt;br /&gt;
|-&lt;br /&gt;
| DistDown_icon     || Sorting via distance (down) &lt;br /&gt;
|-&lt;br /&gt;
| Delete_icon     || Deleting items from bookmarks  &lt;br /&gt;
|-&lt;br /&gt;
| default_icon     || This icon ish shown when no image is specified  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== type=70 - config images without configuration ====&lt;br /&gt;
&lt;br /&gt;
 type=70 (part of type=40)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show; color:black; {{{1}}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter                                          !! Funktion                           &lt;br /&gt;
|-&lt;br /&gt;
| bookmark_icon     || Bookmark-Icon shown on the first page         &lt;br /&gt;
|-&lt;br /&gt;
| showall_icon            || Icon &amp;quot;showall&amp;quot; shown on the first page &lt;br /&gt;
|-&lt;br /&gt;
| history_icon || History-icon shown on the first page  &lt;br /&gt;
|-&lt;br /&gt;
| rootlink_icon     || Icon that is shown to get to the first root-page (&amp;quot;home&amp;quot;)  &lt;br /&gt;
|-&lt;br /&gt;
| location_icon     || Icon that is shown on the lower left side for triggering the location-update  &lt;br /&gt;
|-&lt;br /&gt;
| settings_icon     || Brings up the settings dialog  &lt;br /&gt;
|-&lt;br /&gt;
| Prior_icon     || Icon for previous &amp;quot;page&amp;quot; (should be an arrow)  &lt;br /&gt;
|-&lt;br /&gt;
| Next_icon     || Icon for next &amp;quot;page&amp;quot; (should be an arrow) &lt;br /&gt;
|-&lt;br /&gt;
| DirUp_icon     || Icon for sortging alphabetically (up)  &lt;br /&gt;
|-&lt;br /&gt;
| DirDown_icon     || Icon for sortging alphabetically (down) &lt;br /&gt;
|-&lt;br /&gt;
| DistUp_icon     || Sorting via distance (upwards)  &lt;br /&gt;
|-&lt;br /&gt;
| DistDown_icon     || Sorting via distance (down) &lt;br /&gt;
|-&lt;br /&gt;
| Delete_icon     || Deleting items from bookmarks  &lt;br /&gt;
|-&lt;br /&gt;
| default_icon     || This icon ish shown when no image is specified  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== type=90 - configuration without the config images ====&lt;br /&gt;
&lt;br /&gt;
 type=90 (part of type=40)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show; color:black; {{{1}}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter                                          !! Funktion                           &lt;br /&gt;
|-&lt;br /&gt;
| description_html     || Description (Text, which will be shown in &amp;quot;About us&amp;quot;-page, formated as HTML         &lt;br /&gt;
|-&lt;br /&gt;
| about_img             || Image with relative path that is shown in &amp;quot;about us&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| adminmail || Emailadrress which is used to send feedback to issuer of the software  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Update ===&lt;br /&gt;
==== type=20 - Tree of ids and timestamps ====&lt;br /&gt;
 type=20&lt;br /&gt;
&lt;br /&gt;
Shows a XML-page with menu id=&amp;quot;xx&amp;quot; and updated=&amp;quot;xxxx&amp;quot; where id carries the id of the page and updated is the timestamp. &lt;br /&gt;
&lt;br /&gt;
Use this output for comparing the timestamps to find out which page (id) has been updated.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;menu id=&amp;quot;xx&amp;quot; updated=&amp;quot;1251036675&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;page id=&amp;quot;xx&amp;quot; updated=&amp;quot;1255448874&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/menu&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== id=xx - XML of the item (leaf) ====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; rules=&amp;quot;all&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show; color:black; {{{1}}}&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter                                          !! Funktion                           &lt;br /&gt;
|-&lt;br /&gt;
| menu id     || id of the item (same as page id)         &lt;br /&gt;
|-&lt;br /&gt;
| menu_title             || Title of the item (shown on tableview, item heading) &lt;br /&gt;
|-&lt;br /&gt;
| adminmail || Emailadrress which is used to send feedback to issuer of the software  &lt;br /&gt;
|-&lt;br /&gt;
| menu_desc || Shows short description on table view  &lt;br /&gt;
|-&lt;br /&gt;
| menu_image || Thumbnail-icon that is in the tableview (if there are two, take the first one)&lt;br /&gt;
|-&lt;br /&gt;
| page id     || id of the item (same as menu id)   &lt;br /&gt;
|-&lt;br /&gt;
| name || Heading for the item  &lt;br /&gt;
|-&lt;br /&gt;
| desc || Text of the item  &lt;br /&gt;
|-&lt;br /&gt;
| lat || Geocordinate (lat)  &lt;br /&gt;
|-&lt;br /&gt;
| lon || Geocordinate (lon)  &lt;br /&gt;
|-&lt;br /&gt;
| largeimg || Image that is shown on the page. This image is shown in full when clicked and as a small image when on the item-page  &lt;br /&gt;
|-&lt;br /&gt;
| img || Image (depreciated, will be removed soon, if not already)  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== HTML ===&lt;br /&gt;
==== type=80 - HTML-output ====&lt;br /&gt;
 type=80 &lt;br /&gt;
Renders html-output for checking data&lt;br /&gt;
&lt;br /&gt;
==== type=50 - about-page preview ====&lt;br /&gt;
 type=50&lt;br /&gt;
Renders a preview from the description_html in the browser.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Checkin (I was there) ===&lt;br /&gt;
==== type=702 - posting a checkin for a UID ====&lt;br /&gt;
 type=702&lt;br /&gt;
&lt;br /&gt;
- The data have two value-pairs:&lt;br /&gt;
 tx_lpiphone_pi1[board][deviceid]=value&lt;br /&gt;
 tx_lpiphone_pi1[board][comment]=value&lt;br /&gt;
 tx_lpiphone_pi1[board][lon]=value&lt;br /&gt;
 tx_lpiphone_pi1[board][lat]=value&lt;br /&gt;
 id=value&lt;br /&gt;
&lt;br /&gt;
The thrid value is a md5-hash created form the values in the above order PLUS a secret key&lt;br /&gt;
The calculated hash is sent in the variable &lt;br /&gt;
 tx_lpiphone_pi1[myMd5hash]&lt;br /&gt;
(note that the third value has no [board] prefix to it!!)&lt;br /&gt;
&lt;br /&gt;
The ''checkin'' value is a unix timestamp that is generated on the server and stored as this.&lt;br /&gt;
&lt;br /&gt;
The response XML for success looks as follwos:&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;checkinID&amp;gt;7&amp;lt;/checkinID&amp;gt;&lt;br /&gt;
   &amp;lt;databaseSuccess&amp;gt;TRUE&amp;lt;/databaseSuccess&amp;gt;&lt;br /&gt;
   &amp;lt;usermessage&amp;gt;Vielen Dank für den Kommentar! Wir werden ihn nach Prüfung frei schalten.&amp;lt;/usermessage&amp;gt;&lt;br /&gt;
   &amp;lt;deviceid&amp;gt;deiceid&amp;lt;/deviceid&amp;gt;&lt;br /&gt;
   &amp;lt;comment&amp;gt;This is the comment put in&amp;lt;/comment&amp;gt;&lt;br /&gt;
   &amp;lt;lon&amp;gt;47.123456&amp;lt;/lon&amp;gt;&lt;br /&gt;
   &amp;lt;lat&amp;gt;9.123456&amp;lt;/lat&amp;gt;&lt;br /&gt;
   &amp;lt;checkin&amp;gt;1290364765&amp;lt;/checkin&amp;gt;&lt;br /&gt;
   &amp;lt;md5hash&amp;gt;02e0adc2608671b08fc177dbaed5fde3&amp;lt;/md5hash&amp;gt;&lt;br /&gt;
   &amp;lt;crdate&amp;gt;1290364765&amp;lt;/crdate&amp;gt;&lt;br /&gt;
   &amp;lt;tstamp&amp;gt;1290364765&amp;lt;/tstamp&amp;gt;&lt;br /&gt;
   &amp;lt;hidden&amp;gt;0&amp;lt;/hidden&amp;gt;&lt;br /&gt;
   &amp;lt;pid&amp;gt;118&amp;lt;/pid&amp;gt;&lt;br /&gt;
   &amp;lt;username&amp;gt;iphone-user_10&amp;lt;/username&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The response XML for failure looks like this:&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
    &amp;lt;databaseSuccess&amp;gt;FALSE&amp;lt;/databaseSuccess&amp;gt;&lt;br /&gt;
    &amp;lt;usermessage&amp;gt;An error has occured - your comment was not posted to ouue system - sorry!&amp;lt;/usermessage&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type=703 - displaying checkins for page ====&lt;br /&gt;
&lt;br /&gt;
Parameters: &lt;br /&gt;
 type=703&amp;amp;id=xx&lt;br /&gt;
&lt;br /&gt;
Appending &amp;quot;&amp;amp;type=703&amp;quot; to the &amp;quot;id=xx&amp;quot; shows the checkins that reside on this page in this XML-format. :&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;checkin checkinid=&amp;quot;2&amp;quot; menuid=&amp;quot;140&amp;quot; updated=&amp;quot;1289355905&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;nickname&amp;gt;iphone-user_99&amp;lt;/nickname&amp;gt;&lt;br /&gt;
     &amp;lt;checkin_tstamp&amp;gt;1289354813&amp;lt;/checkin_tstamp&amp;gt;&lt;br /&gt;
     &amp;lt;comment&amp;gt;test99&amp;lt;/comment&amp;gt;&lt;br /&gt;
     &amp;lt;userimage&amp;gt;typo3temp/pics/f38056cdd0.png&amp;lt;/userimage&amp;gt;&lt;br /&gt;
   &amp;lt;/checkin&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It shows as many of the &amp;lt;comments&amp;gt; as there are on the page.&lt;br /&gt;
The parameter &amp;quot;commentid&amp;quot; is unique in the system.&lt;br /&gt;
The parameter menuid is the item to which it belongs.&lt;br /&gt;
&lt;br /&gt;
==== type=706 - has checked in ====&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
 type=706&amp;amp;id=xx&amp;amp;tx_lpiphone_pi1[deviceid]=DEVICEID&lt;br /&gt;
&lt;br /&gt;
Returnes the checkin status for the combination of a ''page-id'' and the given ''deviceid''&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;checkin checkinid=&amp;quot;20&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;checkin_status&amp;gt;TRUE&amp;lt;/checkin_status&amp;gt;&lt;br /&gt;
     &amp;lt;checkin_timestamp&amp;gt;12345678&amp;lt;/checkin_timestamp&amp;gt;&lt;br /&gt;
     &amp;lt;deiceid&amp;gt;DEVICEID&amp;lt;/deviceid&amp;gt;&lt;br /&gt;
   &amp;lt;/checkin&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the '''deviceid''' has no checkin the following XML will be returned&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;checkin_status&amp;gt;FALSE&amp;lt;/checkin_status&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type=707 - get checkins for user by deviceid ====&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
 type=707&amp;amp;tx_lpiphone_pi1[deviceid]=DEVICEID&lt;br /&gt;
&lt;br /&gt;
Returnes a XML with all pageids of the users chekcin&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;deviceid&amp;gt;DEVICEID&amp;lt;/deviceid&amp;gt;&lt;br /&gt;
   &amp;lt;nickname&amp;gt;test99&amp;lt;/nickname&amp;gt;&lt;br /&gt;
   &amp;lt;checkins&amp;gt;&lt;br /&gt;
      &amp;lt;checkin_pid&amp;gt;10&amp;lt;/checkin_pid&amp;gt;&lt;br /&gt;
      &amp;lt;checkin_pid&amp;gt;25&amp;lt;/checkin_pid&amp;gt;&lt;br /&gt;
      &amp;lt;checkin_pid&amp;gt;83&amp;lt;/checkin_pid&amp;gt;&lt;br /&gt;
      &amp;lt;checkin_pid&amp;gt;189&amp;lt;/checkin_pid&amp;gt;&lt;br /&gt;
      &amp;lt;checkin_pid&amp;gt;91&amp;lt;/checkin_pid&amp;gt;&lt;br /&gt;
   &amp;lt;/checkins&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type=708 - all checkins from all users ====&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
 type=708&lt;br /&gt;
&lt;br /&gt;
Returnes a XML-list of all checkins with usernames in the system&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;checkin_pid timestamp=&amp;quot;1289354644&amp;quot; deviceid=&amp;quot;test99&amp;quot;&amp;gt;94&amp;lt;/checkin_pid&amp;gt;&lt;br /&gt;
   &amp;lt;checkin_pid timestamp=&amp;quot;1289354813&amp;quot; deviceid=&amp;quot;test99&amp;quot;&amp;gt;117&amp;lt;/checkin_pid&amp;gt;&lt;br /&gt;
   &amp;lt;checkin_pid timestamp=&amp;quot;1289357127&amp;quot; deviceid=&amp;quot;test2222&amp;quot;&amp;gt;117&amp;lt;/checkin_pid&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Comments ===&lt;br /&gt;
==== type=802 - adding comments ====&lt;br /&gt;
&lt;br /&gt;
- The data have two value-pairs:&lt;br /&gt;
 tx_lpiphone_pi1[board][deviceid]=value&lt;br /&gt;
 tx_lpiphone_pi1[board][comment]=value&lt;br /&gt;
The thrid value is a md5-hash created form the values in the above order PLUS a secret key&lt;br /&gt;
The calculated hash is sent in the variable &lt;br /&gt;
 tx_lpiphone_pi1[myMd5hash]&lt;br /&gt;
(note that the third value has no [board] prefix to it!!)&lt;br /&gt;
&lt;br /&gt;
==== type=803 - displaying comments ====&lt;br /&gt;
&lt;br /&gt;
Parameters: &lt;br /&gt;
 type=803&amp;amp;id=xx&amp;amp;mydeviceid=DEVICEID&lt;br /&gt;
&lt;br /&gt;
Appending &amp;quot;&amp;amp;type=803&amp;quot; to the &amp;quot;id=xx&amp;quot; shows the comments that reside on this page in this XML-format. Adding the parameter mydeviceid=DEVICEID will also display the username. If there is no Parameter ''mydeviceid'' the username will be ''FALSE'' (TODO: this is broken!!) :&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;current_username&amp;gt;iphone_user_123&amp;lt;/current_username&amp;gt;&lt;br /&gt;
   &amp;lt;comments commentid=&amp;quot;2&amp;quot; menuid=&amp;quot;40&amp;quot; updated=&amp;quot;1262222505&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;nickname&amp;gt;test99&amp;lt;/nickname&amp;gt;&lt;br /&gt;
   &amp;lt;comment&amp;gt;test99&amp;lt;/comment&amp;gt;&lt;br /&gt;
   &amp;lt;deviceid&amp;gt;test99&amp;lt;/deviceid&amp;gt;&lt;br /&gt;
  &amp;lt;/comments&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It shows as many of the &amp;lt;comments&amp;gt; as there are on the page.&lt;br /&gt;
The parameter &amp;quot;commentid&amp;quot; is unique in the system.&lt;br /&gt;
The parameter menuid is the item to which it belongs.&lt;br /&gt;
&lt;br /&gt;
==== type=804 - query of the username ====&lt;br /&gt;
&lt;br /&gt;
The server will generate a username based to the deviceID (which then can be updated)&lt;br /&gt;
&lt;br /&gt;
Following parameter are needed: &lt;br /&gt;
* tx_lpiphone_pi1[deviceid]=value&lt;br /&gt;
* tx_lpiphone_pi1[myCheckHash]=value &lt;br /&gt;
(note that is a differnt value than the myMd5hash) This is the calculated value from &amp;quot;secretKey and the deviceid. Be ware of the order: The deviceid has to be first and then the secret key.&lt;br /&gt;
&lt;br /&gt;
If a user to the deviceid exists the response will look like this:&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;username&amp;gt;username&amp;lt;/username&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there is no user to the given deviceid the output will look something like this:&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;crdate&amp;gt;1265248038&amp;lt;/crdate&amp;gt;&lt;br /&gt;
   &amp;lt;tstamp&amp;gt;1265248038&amp;lt;/tstamp&amp;gt;&lt;br /&gt;
   &amp;lt;disable&amp;gt;0&amp;lt;/disable&amp;gt;&lt;br /&gt;
   &amp;lt;pid&amp;gt;567&amp;lt;/pid&amp;gt;&lt;br /&gt;
   &amp;lt;usergroup&amp;gt;1&amp;lt;/usergroup&amp;gt;&lt;br /&gt;
   &amp;lt;tx_lpiphone_deviceid&amp;gt;12345678901234567890&amp;lt;/tx_lpiphone_deviceid&amp;gt;&lt;br /&gt;
   &amp;lt;username&amp;gt;iphone-user_4&amp;lt;/username&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
The most important value is the &amp;lt;username&amp;gt;. This is tied to the deviceId and can can/will be used later as well. It is stored in the usersection of the database.&lt;br /&gt;
&lt;br /&gt;
If validation of the hash fails the response will look like this:&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;username&amp;gt;&lt;br /&gt;
   An error has occured - no user was created - sorry!&lt;br /&gt;
   &amp;lt;/username&amp;gt;&lt;br /&gt;
 &amp;lt;error&amp;gt;HASHCHECK_FAILED&amp;lt;/error&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== type=805 - updating a user ====&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
 tx_lpiphone_pi1[deviceid]=deviceid&lt;br /&gt;
 tx_lpiphone_pi1[myCheckHash]=calculated_md5_hash&lt;br /&gt;
 tx_lpiphone_pi1[new_username]=username&lt;br /&gt;
&lt;br /&gt;
The hash is checked the same way the ohters are: deviceid,new_username, secretkey * md5&lt;br /&gt;
&lt;br /&gt;
On success something like this is returned:&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;old_username&amp;gt;old_username&amp;lt;/old_username&amp;gt;&lt;br /&gt;
   &amp;lt;sucessmessage_userupdate&amp;gt;You have successfully updated a user!&amp;lt;/sucessmessage_userupdate&amp;gt;&lt;br /&gt;
   &amp;lt;sucess&amp;gt;TRUE&amp;lt;/sucess&amp;gt;&lt;br /&gt;
   &amp;lt;username&amp;gt;username&amp;lt;/username&amp;gt;&lt;br /&gt;
   &amp;lt;deviceid&amp;gt;xxxxxxxxxxx&amp;lt;/deviceid&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the &amp;lt;old_username&amp;gt; is also there (just for reference and checking). The updated username is wrapped in &amp;lt;username&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The failmessage looks like this:&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;failmessage_userupdate&amp;gt;&lt;br /&gt;
   An error has occured - user was not updated - sorry!&lt;br /&gt;
   &amp;lt;/failmessage_userupdate&amp;gt;&lt;br /&gt;
   &amp;lt;sucess&amp;gt;FALSE&amp;lt;/sucess&amp;gt;&lt;br /&gt;
   &amp;lt;deviceid&amp;gt;xxxxxxxxxxx&amp;lt;/deviceid&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== type=806 - comment-count ====&lt;br /&gt;
 id=xx&amp;amp;type=806&lt;br /&gt;
Returns the comment-cont of a given page-id (id=xx)&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
  &amp;lt;comment_count&amp;gt;23&amp;lt;/comment_count&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== type=807 - all comments in the system ====&lt;br /&gt;
 type=807&lt;br /&gt;
&lt;br /&gt;
Shows all comments availible in the syste with its pageids&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;root&amp;gt;&lt;br /&gt;
   &amp;lt;comment pageid=&amp;quot;92&amp;quot; deviceid=&amp;quot;DEVICEID&amp;quot;&amp;gt;testcomment99&amp;lt;/comment&amp;gt;&lt;br /&gt;
   &amp;lt;comment pageid=&amp;quot;117&amp;quot; deviceid=&amp;quot;DEVICEID&amp;quot;&amp;gt;testcomment88&amp;lt;/comment&amp;gt;&lt;br /&gt;
   &amp;lt;comment pageid=&amp;quot;127&amp;quot; deviceid=&amp;quot;DEVICEID&amp;quot;&amp;gt;testcomment77&amp;lt;/comment&amp;gt;&lt;br /&gt;
 &amp;lt;/root&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Shows locations on a Google map (XML for that) ===&lt;br /&gt;
==== type=900 - output for a google-map ====&lt;br /&gt;
 type=900 &lt;br /&gt;
&lt;br /&gt;
Outputs XML that the google-maps API could read&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;markers&amp;gt;&lt;br /&gt;
   &amp;lt;marker id=&amp;quot;568&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;menu_image&amp;gt;typo3temp/pics/486d1d1adf.jpg&amp;lt;/menu_image&amp;gt;&lt;br /&gt;
     &amp;lt;name&amp;gt;Disneyland Railroad&amp;lt;/name&amp;gt;&lt;br /&gt;
     &amp;lt;lat&amp;gt;33.809972388658565&amp;lt;/lat&amp;gt;&lt;br /&gt;
     &amp;lt;lon&amp;gt;-117.91893929243088&amp;lt;/lon&amp;gt;&lt;br /&gt;
   &amp;lt;/marker&amp;gt;&lt;br /&gt;
 &amp;lt;markers&amp;gt;&lt;/div&gt;</summary>
		<author><name>Lagopixel</name></author>	</entry>

	</feed>