fahrplan
fahrplan copied to clipboard
Add list of intermediate stops of connection (Zwischenhalte)
Should be quite easy possible for sbb, öbb, rejseplanendk and nri . Only question is, how to display it.
I can imagine that data retrieval is easy, adapting the layout may be much harder. What about a popup window when you click on the train with the list of the stops.
That's less intrusive enough. What about db.de? No such possibility?
for bahn.de, fahrplan currently parses the mobile website, which dont provide the intermediate stops. I will check again for a possible solution
I was wondering where you get your information from, as I wasn't aware of a public API.
If you open the page 'Verbindungsdetails' the train number has a link with all the stops/stations of the train. Personally I would prefer to have a list of all stops/stations of that train instead of just the stops within the chosen connection.
i just noticed bahn.de added this feature quite recently to the mobile.bahn.de and broke the details window at least for me
I try to fix it and later parse it.
Regarding "via" support for bahn.de - I've seen that it's possible to set "via" station on mobile.bahn.de website when I was porting Fahrplan to Symbian. It looked pretty easy to add "via" support to Fahrplan but when I tried, I hit one obstacle: when you go to mobile.bahn.de the "via" field is not visible originally and to make it visible you need to press "More search options" button which sends a POST request. If you check the URL after that it contains few parameters that seem session-specific (e.g., ...eox?ld=96236&...&i=g5.021734236.1355247526&...). The problem here is: if you try to do a request without these parameters, then "via" station is ignored. Seems like to make it work you have to do an additional request to the website to get the parameters (they can be parsed from form's action URL) and then request a route with "via" station. That's where I stopped trying at that time :-)
hi, i changed the backend to a binary interface. that interface supports via station, i just not had the time adding it.
Just as an update, i added Via support for the new bahn.de backend aswell.
About the intermediate stops, they should be also possible now, but i have no time to add them right now. I want to release a new version as soon as possible because of #22
I will take a look at this feature. I think this one should be an optional one. global settings or a toggle button at the details page.
I think, best solution would be to make transportation name inside a trip section clickable (or add a button there).
https://github.com/marcusschiesser/openbahn-api
did you check this out? could be useful, if you don't know it already
@gusvoi Yea i already know that, but it uses a different aproach.
All parser related stuff is there for this issue, but it takes time to adapt everything to gui :)
Hi Smurfy, if I can help somehow, let me know. I'm currently learning to program (which probably won't be of much help), but if I can help in any other way, let me know. I would love to support the app. From what I read on a few articles using the data of db and other public transit organization's data is pretty difficult. They seem to hold it back on purpose.
Hi Smurfy, do you have any news about this feature? This would be very nice! Thanks