[iRail] bug in generated jsonp string for liveboards?
Pieter Colpaert
pieter.colpaert at gmail.com
Tue Jan 10 01:29:00 UTC 2012
Hi Bert,
I cannot reproduce this bug. Can you send me a specific URL for which it
happens?
Thanks,
Pieter
On 01/09/2012 10:29 AM, bert bruynooghe wrote:
> Received the followin; colon is missing before last entry
> ("}"immediately followed by "{").
>
> define({"version":"1.1","timestamp":"1326100802","station":"Brussel
> Noord","stationinfo":{"id":"BE.NMBS.008812005","locationX":"4.360854","locationY":"50.859658","name":"Brussel
> Noord","standardname":"Brussels
> North"},"arrivals":{"number":"20","arrival":[{"id":"0","delay":"0","station":"Quievrain","stationinfo":{"name":"Quievrain"},"time":"1326104400","vehicle":"BE.NMBS.IC1732","platform":"","platforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"1","delay":"0","station":"Gent-Sint-Pieters","stationinfo":{"name":"Gent-Sint-Pieters"},"time":"1326104460","vehicle":"BE.NMBS.IR3532","platform":"","platforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"2","delay":"0","station":"Charleroi-Zuid","stationinfo":{"name":"Charleroi-Zuid"},"time":"1326104580","vehicle":"BE.NMBS.IC4532","platform":"","platforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"3","delay":"0","station":"Leuven","stationinfo":{"name":"Leuven"},"time":"1326104700","vehicle":"BE.NMBS.CR3760","platform":"5","platforminfo":{"name":"5","normal":"1"},"left":"0"},{"id":"4","delay":"0","station":"Dendermonde","stationinfo":{"name":"Dendermonde"},"time":"1326104880","vehicle":"BE.NMBS.IC2309","platform":"","platformin
> fo":{"name":"","normal":"1"},"left":"0"},{"id":"5","delay":"0","station":"Nijvel","stationinfo":{"name":"Nijvel"},"time":"1326104880","vehicle":"BE.NMBS.IR2832","platform":"","platforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"6","delay":"0","station":"Louvain-La-Neuve-Univ.","stationinfo":{"name":"Louvain-La-Neuve-Univ."},"time":"1326104880","vehicle":"BE.NMBS.IR3910","platform":"","platforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"7","delay":"0","station":"Binche","stationinfo":{"name":"Binche"},"time":"1326105000","vehicle":"BE.NMBS.IR3932","platform":"8","platforminfo":{"name":"8","normal":"1"},"left":"0"},{"id":"8","delay":"0","station":"Antwerpen-Centraal","stationinfo":{"name":"Antwerpen-Centraal"},"time":"1326105000","vehicle":"BE.NMBS.IR2810","platform":"11","platforminfo":{"name":"11","normal":"1"},"left":"0"},{"id":"9","delay":"0","station":"Poperinge","stationinfo":{"name":"Poperinge"},"time":"1326105000","vehicle":"BE.NMBS.IC2333","platform":"","p
> latforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"10","delay":"0","station":"Wezet","stationinfo":{"name":"Wezet"},"time":"1326105060","vehicle":"BE.NMBS.IC461","platform":"3","platforminfo":{"name":"3","normal":"1"},"left":"0"},{"id":"11","delay":"0","station":"S
> Gravenbrakel","stationinfo":{"name":"S
> Gravenbrakel"},"time":"1326105180","vehicle":"BE.NMBS.CR3782","platform":"9","platforminfo":{"name":"9","normal":"1"},"left":"0"},{"id":"12","delay":"0","station":"Essen","stationinfo":{"name":"Essen"},"time":"1326105300","vehicle":"BE.NMBS.IC4510","platform":"11","platforminfo":{"name":"11","normal":"1"},"left":"0"},{"id":"13","delay":"0","station":"Brussel-Zuid","stationinfo":{"name":"Brussel-Zuid"},"time":"1326105360","vehicle":"BE.NMBS.IC4631","platform":"8","platforminfo":{"name":"8","normal":"1"},"left":"0"},{"id":"14","delay":"0","station":"Brussel-Nat-Luchthaven","stationinfo":{"name":"Brussel-Nat-Luchthaven"},"time":"1326105420","vehicle":"BE.NMBS.IR3510","platform":"5","platforminfo":{"name":"5","normal":"1"},"left":"0"},{"id":"15","delay":"0","station":"Luik-Guillemins","stationinfo":{"name":"Luik-Guillemins"},"time":"1326105480","vehicle":"BE.NMBS.IC1710","platform":"3","platforminfo":{"name":"3","normal":"1"},"left":"0"},{"id":"16","delay":"0","station":"Brussel-
> Zuid","stationinfo":{"name":"Brussel-Zuid"},"time":"1326105540","vehicle":"BE.NMBS.IR4231","platform":"9","platforminfo":{"name":"9","normal":"1"},"left":"0"},{"id":"17","delay":"0","station":"Luxembourg
> (l)","stationinfo":{"name":"Luxembourg
> (l)"},"time":"1326105600","vehicle":"BE.NMBS.IC2111","platform":"","platforminfo":{"name":"","normal":"1"},"left":"0"},{"id":"18","delay":"0","station":"Antwerpen-Centraal","stationinfo":{"name":"Antwerpen-Centraal"},"time":"1326105600","vehicle":"BE.NMBS.IR3109","platform":"11","platforminfo":{"name":"11","normal":"1"},"left":"0"}{"id":"18","delay":"0","station":"Antwerpen-Centraal","stationinfo":{"name":"Antwerpen-Centraal"},"time":"1326105600","vehicle":"BE.NMBS.IR3109","platform":"11","platforminfo":{"name":"11","normal":"1"},"left":"0"}]}})
> _______________________________________________
> iRail mailing list
> iRail at list.irail.be
> http://lists.rootspirit.com/mailman/listinfo/irail
--
iRail vzw/asbl
+32(0)486/747122
More information about the iRail
mailing list