From e8a0fff80f268a9675b99c1ecd8c01fb18dc69a8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 23 Sep 2013 12:59:32 +0200 Subject: Some more JSON export documentation --- cgi/templates/main.html.ep | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'cgi') 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 %>"> JSON data for <%= $city %> <%= $stop %>

+

+% if (param('backend') and param('backend') eq 'db') { +The raw data consists of serialized + +Travel::Status::DE::DeutscheBahn-objects, see the +::Result +documentation. +% } +% else { +The raw data consists of serialized + +Travel::Status::DE::VRR-objects, see the +::Result +and +::Line +documentation. +% } +

% } % } % else { -- cgit v1.2.3