[linux] KDE's Public Transport plasmoid, kan het worden voorzien van NL data

Richard ml op radoeka.nl
Vr Jul 22 23:46:15 CEST 2011


Hoi,

er was vandaag een blog over de KDE's Public Transport plasmoid:
http://aseigo.blogspot.com/2011/07/public-transport-plasmoid-looking-for.html

Deze plasmoid heeft nog geen informatie voor Nederland.  Ik vroeg me af, of 
die informatie er wel is.  Weet iemand of de informatie die plasmoid nodig 
heeft, beschikbaar is via bijvoorbeeld http://ns.nl of http://ov9292.nl?

Zou deze site de info kunnen aanleveren:
http://xs9292.nl

Verder zijn er:
http://m.ns.nl
http://m.ov9292.nl
http://www.9292ov.nl/9292ov1804.asp

Van de PT plasmoid ontwikkelaar kreeg ik de volgende informatie:
currently the data engine requires departure data, not only journey data. That 
means that there needs to be a website that displays departures for a specific 
stop. Then the URL needs to be figured out, a \"raw\" URL where the stop name 
can be put and some other information as well (eg. a time). That URL needs to 
get you directly to the departures site for the given stop.
If it\'s not possible to pass the stop name as an URL parameter, it may need 
to be passed using POST method (also supported). I use \"wireshark\" to 
examine the communication of the browser with the service providers, it also 
shows POSTed data.
I\'m currently out of time so I can\'t do it now.

When you have a working URL, you may try \"TimetableMate\", it can help you 
adding support for a new service provider and supports you with writing the 
parsing script (if you know how to write some JavaScript).

Is er een website die vertrektijd per halte publiceert?

-- 
Richard



More information about the Linux mailing list