From 9eaeb6d523f9dccab792802c2cdb0c6735f3ed5d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 27 Sep 2013 22:33:28 +0200 Subject: document all json fields --- cgi/index.pl | 2 +- cgi/templates/main.html.ep | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/cgi/index.pl b/cgi/index.pl index 4388833..34edc6f 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -13,7 +13,7 @@ use Travel::Status::DE::VRR; no warnings 'uninitialized'; no if $] >= 5.018, warnings => "experimental::smartmatch"; -our $VERSION = qx{git describe --dirty} || '0.06'; +our $VERSION = qx{git describe --dirty} || '0.07'; chomp $VERSION; my %default = ( diff --git a/cgi/templates/main.html.ep b/cgi/templates/main.html.ep index e042e4c..7a8c38f 100644 --- a/cgi/templates/main.html.ep +++ b/cgi/templates/main.html.ep @@ -75,29 +75,28 @@ height="<%= $height * 5 %>" width="<%= $width * 5 %>"> <%= $city %> <%= $stop %>

+Data is cached for 1 minute: JSON format: +