maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Railway Time table (https://talk.maemo.org/showthread.php?t=64028)

jinx 2010-10-20 11:11

Re: Railway Time table
 
Quote:

Originally Posted by Diph (Post 845962)
Did you read this?

The files made available via these links are provided for development and testing purposes only. They do not contain complete up to date information on public transport services and should not be used for production applications or services.

you better check if they continously provide up to date information. however, I suppose they put this on their site as a disclaimer, should the service be down or not working correctly some time.

jinx

vivmak 2010-10-20 11:12

Re: Railway Time table
 
@smurfy , what you have built is really good and useful but I as not too sure how to prase the HTML and submit request back ( I suppose its creating a URL template and passing the station name or something like that?).

thank you for looking at this, meanwhile I will spend time reading Qt documents and links in this post :)

vivmak 2010-10-20 11:14

Re: Railway Time table
 
Quote:

Originally Posted by jinx (Post 845966)
you better check if they continously provide up to date information. however, I suppose they put this on their site as a disclaimer, should the service be down or not working correctly some time.

jinx

yes, but the timetable is only updated once a year in October, its pretty static other than any train delay information.

Once I sign the licnse agreement the information provided will be from production database.

smurfy 2010-10-20 11:38

Re: Railway Time table
 
@vivmak:

About the license and the up2date availability of the offline data files.
I not had the time yet to look at the license but we must find a way to give the user an easy way to get the xml data.

So maybe you can get the information about the license informations and if we can ship (more likely provide a download routine for the data) inside an app. or if there are licensing issues with that.

if you not already know, you can find the latest source of fahrplan here:
https://garage.maemo.org/plugins/scm...?root=fahrplan, it contains parser_*.cpp files which contains my parsing code. (xpath querys on xml and html).

vivmak 2010-10-20 20:39

Re: Railway Time table
 
I will get the code.

I am also thinking that loading xml files on the device is not really needed, since app allows to save the searched results one can store favourite route data and recall as needed, so i think will add online search instead of downloading the complete set.

there is a mobile version which can be easily used as backend i suppose

TomJ 2010-10-21 12:02

Re: Railway Time table
 
For any UKians (or those visiting who are interested), can I point out that the browser acts as railway timtable app straight from the location bar if you follow the instructions in the wikipage linked to in my sig...

smurfy 2010-10-22 18:01

Re: Railway Time table
 
@vivmak:

i started looking for a way to parse the 131500 website. it should be quite easy with the exception, the website seams to need cookies to work. but its possible that we still don't need them.

i just released 0.0.18 of fahrplan with some bugfixes, but i have time to start implementing a new backend.

smurfy 2010-11-04 11:20

Re: Railway Time table
 
just to inform you guys, i worked on the 131500 backend last weekend and its in svn now. i try to release a new version of fahrplan the upcoming weekend with this changes.

vivmak 2010-11-06 07:15

Re: Railway Time table
 
Quote:

Originally Posted by smurfy (Post 863102)
just to inform you guys, i worked on the 131500 backend last weekend and its in svn now. i try to release a new version of fahrplan the upcoming weekend with this changes.

Awsome ! it works but has a bug. In the result it shows is incorrect, it shows result 'to' station to 'from' station

smurfy 2010-11-10 18:23

Re: Railway Time table
 
thanks for the info, i noticed also some minor glitches. i will fix the bugs in the next couple of days.


All times are GMT. The time now is 22:15.

vBulletin® Version 3.8.8