summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-06-18 10:25:50 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-06-18 10:25:50 +0200
commit67139b1b9d5ec09811a8881d39a394eff8209600 (patch)
treef2f671501cbcc2f8705f415efe1a64f2b39a630f /lib/Travel/Routing
parentf422615bec45273420e445af698148b22fd46d3f (diff)
EFA: Handle infoLinks as well as itdInfoTextLists
infoLinks refer to up-to-date information which is not part of the scheduled, such as temporary schedule changes or stop concellations.
Diffstat (limited to 'lib/Travel/Routing')
-rw-r--r--lib/Travel/Routing/DE/EFA.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index 2ff9f64..ca5c051 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -520,7 +520,7 @@ sub parse_xml_part {
= XML::LibXML::XPathExpression->new('./itdFootPathInfo/itdFootPathElem');
my $xp_delay = XML::LibXML::XPathExpression->new('./itdRBLControlled');
my $xp_info
- = XML::LibXML::XPathExpression->new('./itdInfoTextList/infoTextListElem');
+ = XML::LibXML::XPathExpression->new('./itdInfoTextList/infoTextListElem | ./infoLink/infoLinkText');
my $xp_mapitem_rm = XML::LibXML::XPathExpression->new(
'./itdMapItemList/itdMapItem[@type="RM"]/itdImage');