diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-06-18 10:25:50 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-06-18 10:25:50 +0200 |
commit | 67139b1b9d5ec09811a8881d39a394eff8209600 (patch) | |
tree | f2f671501cbcc2f8705f415efe1a64f2b39a630f /lib/Travel | |
parent | f422615bec45273420e445af698148b22fd46d3f (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')
-rw-r--r-- | lib/Travel/Routing/DE/EFA.pm | 2 |
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'); |