summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-16 11:13:37 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-16 11:13:37 +0100
commit6bff81b2010b1c9efef8044a1ffa34c544a6f65b (patch)
treeca7fafa6000b5a063711acbc047815a8908a08ac /index.pl
parentfba46348d7ac769042cef893e5baa98d97fe7444 (diff)
is_important: Add .hl.n. (czech main station)
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index d7e3f9c..c3da8c7 100644
--- a/index.pl
+++ b/index.pl
@@ -231,7 +231,10 @@ helper 'handle_no_results_json' => sub {
helper 'is_important' => sub {
my ( $self, $stop ) = @_;
- if ( $stop =~ m{ HB $ | Hbf | Centraal | Flughafen }x ) {
+ # Centraal: dutch main station (Hbf in .nl)
+ # HB: swiss main station (Hbf in .ch)
+ # hl.n.: czech main station (Hbf in .cz)
+ if ( $stop =~ m{ HB $ | hl\.n\. $ | Hbf | Centraal | Flughafen }x ) {
return 1;
}
return;