doc/tmpl/current.html
changeset 302 3f4bdea2abbf
parent 73 f2f247a5b6c9
parent 271 b218238e76b9
--- a/doc/tmpl/current.html	Wed Dec 21 22:07:48 2011 +0100
+++ b/doc/tmpl/current.html	Thu Sep 27 17:15:46 2012 +0200
@@ -5,66 +5,91 @@
 	xmlns:py="http://genshi.edgewall.org/">
 	<xi:include href="layout.tmpl" />
 	<head>
-		<title>API docs</title>
+		<title>api docs current</title>
 	</head>
 	<body>
-		<title>API Dokumentation</title>
+		<title>API Documentation</title>
 		<div class="item">
 			<p>
-				
+
 			</p>
 			<ol>
-				<li value="1">1. <a href="#api-intro">Einführung</a></li>
+				<li value="1">1. <a href="#api-intro">Intro</a></li>
 				<li value="2">2. 
-					<a href="#api-interfaces">Interfaces</a>
-					<ol>
-						<li value="2.1">2.1 <a href="#interface-xmlrpc">XML-RPC</a></li>
-					</ol>
+				<a href="#api-interfaces">Interfaces</a>
+				<ol>
+					<li value="2.1">2.1 <a href="#interface-xmlrpc">XML-RPC</a></li>
+					<li value="2.1">2.2 <a href="#interface-soap">SOAP</a></li>
+					<li value="2.3">2.3 <a href="#interface-json">JSON</a></li>
+					<li value="2.4">2.4 <a href="#interface-jsonp">JSONP</a></li>
+				</ol>
 				</li>
 				<li value="3">3. 
-					<a href="#api-methods">Methoden</a>
+					<a href="#api-methods">Methods</a>
 					<ol>
 						<li py:for="(key,method) in enumerate(current)" value="3.${key+1}">3.${key+1} <a href="#method-${method.name}">${method.title}</a></li>
 					</ol>				
 				</li>
+
 			</ol>
 		</div>
 		<div class="item" id="api-intro">
-			<h3>Einführung</h3>
+			<h3>Intro</h3>
 			<p>
-				Die Iro API enthält Funktion, die für den Massenversand nützlich sind.
+				Iro API has many methods, that are usefull if you want to send a bunch of messages. This Site describes the API for Iro 1.0.
 			</p>
 		</div>
 		<div class="item" id="api-interfaces">
 			<h3>Interfaces</h3>
 			<p>
-				Die Iro API stellt zur Zeit nur ein Interfaces bereit.
+				You can use diffrent interfaces to get to same result.
 			</p>
 			<div class="item" id="interface-xmlrpc">
 				<h4>XML-RPC</h4>
 				<p>
-				Interface-URI: <code>https://<em>&lt;benutzer&gt;</em>:<em>&lt;passwort&gt;</em>@localhost:8000</code>
+					Interface-URI: <code>http://localhost:8000/xmlrpc</code>
+				</p>
+			</div>
+			<div class="item" id="interface-soap">
+				<h4>SOAP</h4>
+				<p>
+					Interface-URI: <code>http://localhost:8000/soap</code>
+				</p>
+			</div>
+			<div class="item" id="interface-json">
+				<h4>JSON</h4>
+				<p>
+					Interface-URI: <code>http://localhost:8000/json/<em>&lt;methode&gt;</em></code>
 				</p>
 				<p>
-					Die aufgerufene Methode wird dabei im <code>&lt;methodName /&gt;</code> übergeben.
+					Not yet implementet
+				</p>
+			</div>
+			<div class="item" id="interface-jsonp">
+				<h4>JSONP</h4>
+				<p>
+					Interface-URI: <code>http://localhost:8000/jsonp/<em>&lt;methode&gt;</em>?callback=&lt;callback&gt;</code>
+				</p>
+				<p>
+					Not yet implementet
 				</p>
 			</div>
 		</div>
 		<div class="item" id="api-methods">
-			<h3>Methoden</h3>
+			<h3>Methods</h3>
 			<div py:for="method in current" class="item" id="method-${method.name}">
 				<h4>${method.title}</h4>
 				<p><code>${method.name}${method.func_line}</code></p>
 				<p py:content="method.description">
-					Diese Methode at bis jetzt noch keine Beschreibung.
+					No description
 				</p>
 				<h5>Parameter</h5>
 				<table class="docs">
 					<thead>
 						<tr>
-							<td>Parameter</td>
-							<td>Typ</td>
-							<td>Beschreibung</td>
+							<td>parameter</td>
+							<td>type</td>
+							<td>description</td>
 						</tr>					
 					</thead>
 					<tbody>
@@ -76,13 +101,13 @@
 					</tbody>
 				</table>
 				<py:if test="method.rets">
-				<h5>Ausgabe</h5>
+				<h5>Return</h5>
 				<table class="docs">
 					<thead>
 						<tr>
-							<td>Parameter</td>
-							<td>Typ</td>
-							<td>Beschreibung</td>
+							<td>parameter</td>
+							<td>type</td>
+							<td>description</td>
 						</tr>					
 					</thead>
 					<tbody>