Age | Commit message (Collapse) | Author | Lines |
|
|
|
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.
|
|
|
|
The detail page is now accessible both via javascript (as before) and via an
<a> element wrapping the list entry.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|