diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-07-24 14:16:47 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-07-24 14:16:47 +0200 |
commit | c996e2abf0b0830fbe3539c25ff4fe25e33a165d (patch) | |
tree | 963c2956f26f179f420ec3a87a4483b0a8a8c89d /templates | |
parent | cce2e02db3f1d50978ff358ab92f611555d9d238 (diff) |
add text & links for ASEAG backend plus warning about volatile API0.08
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.html.ep | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/main.html.ep b/templates/main.html.ep index edb3241..8d17e64 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -41,7 +41,7 @@ height="<%= $height * 5 %>" width="<%= $width * 5 %>"></iframe> <%= $city %> <%= $stop %></a> </p> <p> -Data is cached for 1 minute: JSON format: +Data is cached for 1 minute. JSON format: </p> <ul> <li>error: err string if an error occured, otherwise null</li> @@ -54,6 +54,13 @@ Travel::Status::DE::DeutscheBahn</a>-objects, see the <a href="http://man.finalrewind.org/3/Travel-Status-DE-DeutscheBahn-Result/">::Result</a> documentation % } +% elsif (param('backend') and param('backend') eq 'aseag') { +serialized +<a href="http://finalrewind.org/projects/Travel-Status-DE-URA/"> +Travel::Status::DE::URA</a>-objects, see the +<a href="http://man.finalrewind.org/3/Travel-Status-DE-URA-Result/">::Result</a> +documentation +% } % else { serialized <a href="http://finalrewind.org/projects/Travel-Status-DE-VRR/"> @@ -66,6 +73,8 @@ documentation </li> <li>version: Program version (string, not numeric)</li> </ul> +<p>NOTE: The JSON interface is not guaranteed to be stable. The data layout may +change any time.</p> % } % } # ($city and $stop) % else { |