Skip to content
Unverified Commit ae9d9eb6 authored by networkException's avatar networkException Committed by GitHub
Browse files

Generate bahn.expert details link based on trip_id for DBRIS (#36)

Generate bahn.expert details link based on trip_id for DBRIS

This patch adds a conditional for the train details page to
generate the bahn.expert details outlink based on the trip_id
when using DBRIS bahn.de.

This is a lot more reliable compared to concating category and
train number / date. As bahn.expert recently added support for
resolving these HAFAS trip ids to RIS::Journey journeys, the
data quality is also on par.

See https://chaos.social/@marudor/114404980599765615



---------

Co-authored-by: default avatarBirte Kristina Friesel <birte.friesel@uos.de>
parent 0da47417
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment