Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
was broken by ca372be9811a183d11a00abd539442a9e2e53cae
|
|
|
|
www.apps-bahn.de/wr no longer serves "tryThese" suggestions. So, unless we
know from lib.finalrewind.org/dbdb/has_wagonorder (via ist-wr.noncd.db.de)
that the trais definitely has a wagon order, we send a wagon order request to
www.apps-bahn.de/wr to determine whether it has one or not.
We do cache the result though, so if a user clicks on the wagon order link, we
don't need to request it again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IRIS reports unknown train types as "-"; HAFAS wants the train type to be
left out in this case
|
|
|
|
|
|
HAFAS does not provide delays of past stops, so we estimate it ourselves
(assuming that the delay at the previous stop is identical to the delay at the
next stop)
|
|
This allows selfhosted installations to be used
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|