diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-09-23 12:59:32 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-09-23 12:59:32 +0200 |
commit | e8a0fff80f268a9675b99c1ecd8c01fb18dc69a8 (patch) | |
tree | fa043399dea40f6eb6b7d7546fd01d5522dc546e /cgi | |
parent | 209d9abb1c8edde498e178182d368cb6f537818f (diff) |
Some more JSON export documentation
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/templates/main.html.ep | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cgi/templates/main.html.ep b/cgi/templates/main.html.ep index d879cad..7904a13 100644 --- a/cgi/templates/main.html.ep +++ b/cgi/templates/main.html.ep @@ -74,6 +74,24 @@ height="<%= $height * 5 %>" width="<%= $width * 5 %>"></iframe> <a href="/<%= $city %>/<%= $stop %>.json?<%= $params %>">JSON data for <%= $city %> <%= $stop %></a> </p> +<p> +% if (param('backend') and param('backend') eq 'db') { +The raw data consists of serialized +<a href="http://finalrewind.org/projects/Travel-Status-DE-DeutscheBahn/"> +Travel::Status::DE::DeutscheBahn</a>-objects, see the +<a href="http://man.finalrewind.org/3/Travel-Status-DE-DeutscheBahn-Result/">::Result</a> +documentation. +% } +% else { +The raw data consists of serialized +<a href="http://finalrewind.org/projects/Travel-Status-DE-VRR/"> +Travel::Status::DE::VRR</a>-objects, see the +<a href="http://man.finalrewind.org/3/Travel-Status-DE-VRR-Result/">::Result</a> +and +<a href="http://man.finalrewind.org/3/Travel-Status-DE-VRR-Line/">::Line</a> +documentation. +% } +</p> % } % } % else { |