summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-07-28 11:13:17 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-07-28 11:13:17 +0200
commite18ae14f03b75f1f9299530320242e806cf7a8d7 (patch)
treedc13647da14a1ea31c0ec764c043d77397eab565
parent91255587ca0de428a29e57a8f7f466bb49cfdf77 (diff)
fix intro title, better intro text, fix example link
-rw-r--r--cgi/index.pl16
1 files changed, 9 insertions, 7 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index 92197b1..27aafd0 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -93,7 +93,9 @@ sub handle_request {
city => $city,
stop => $stop,
version => $VERSION,
- title => "departures for ${city} ${stop}",
+ title => $city
+ ? "departures for ${city} ${stop}"
+ : "vrr-fakedisplay ${VERSION}",
);
}
@@ -301,10 +303,10 @@ get '/:city/:stop' => \&handle_request;
app->config(
hypnotoad => {
- accepts => 10,
- listen => ['http://*:8091'],
+ accepts => 10,
+ listen => ['http://*:8091'],
pid_file => '/tmp/vrr-fake.pid',
- workers => 2,
+ workers => 2,
},
);
@@ -383,8 +385,8 @@ the Lumino LED displays used at some stops.
</p>
<p>
-It was written for the VRR (Verkehrsverbund Rhein-Ruhr), but supports most other
-local transit networks as well.
+It works best for the VRR (Verkehrsverbund Rhein-Ruhr), but also supports most
+other German transit networks.
</p>
% }
@@ -443,7 +445,7 @@ local transit networks as well.
<li>For D&uuml;sseldorf, the DB backend usually gives better results</li>
<li>If you write the city correctly (like "Essen", not "essen"), vrr-fake can
shorten destination names</li>
-<li><a href="/vrr-fake/D&uuml;sseldorf/Luisenstr?no_lines=8&amp;backend=db">Example</a>
+<li><a href="/Essen/Martinstr?no_lines=8">Example</a>
</li>
</ul>
</div> <!-- notes -->