From 67139b1b9d5ec09811a8881d39a394eff8209600 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 18 Jun 2015 10:25:50 +0200 Subject: 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. --- lib/Travel/Routing/DE/EFA.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel') 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'); -- cgit v1.2.3