Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 05:55 07 Feb 2023
- Trial of scrapping train return tickets extended
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 01/03/23 - WWRUG AGM
30/03/23 - Railfuture Annual, Leeds
31/05/23 - WWRUG meeting
08/07/23 - WWRUG Weymouth trip

On this day
7th Feb (1880)
Formation of ASLEF (link)

Train RunningCancelled
05:57 Liskeard to Looe
06:30 Looe to Liskeard
Short Run
05:12 Didcot Parkway to London Paddington
Delayed
23:32 London Paddington to Bristol Temple Meads
PollsThere are no open or recent polls
Abbreviation pageAcronymns and abbreviations
Stn ComparatorStation Comparator
Rail newsNews Now - live rail news feed
Site Style 1 2 3 4
Next departures • Bristol Temple MeadsBath SpaChippenhamSwindonDidcot ParkwayReadingLondon PaddingtonMelksham
Exeter St DavidsTauntonWestburyTrowbridgeBristol ParkwayCardiff CentralOxfordCheltenham SpaBirmingham New Street
February 07, 2023, 06:09:48 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
Forgotten your username or password? - get a reminder
Most recently liked subjects
[109] Shawford station building reopens after 40 years
[71] Return rail tickets to be scrapped
[71] OTD -5th February (1971) - Taunton to Minehead foundation meet...
[49] May 2023 timetable
[44] Aberthaw Power Station and Decarbonisation
[36] Lorry driver crisis made worse by Covid - Shapps
 
News: A forum for passengers ... with input from rail professionals welcomed too
 
   Home   Help Search Calendar Login Register  
Poll
Question: Would you use a replacement  (Voting closed: March 07, 2022, 10:40:51 am)
Yes - often - 0 (0%)
Yes - occasionally - 5 (29.4%)
Don't know - 1 (5.9%)
No - 9 (52.9%)
I don't know about these feeds - 2 (11.8%)
Total Voters: 17

Pages: [1]
  Print  
Author Topic: Next Departure data feeds - broken  (Read 824 times)
grahame
Administrator
Hero Member
*****
Posts: 37862



View Profile WWW Email
« on: March 03, 2022, 10:40:51 am »

Our "Next Departure" data feeds on the top of these pages are not working / intermittent issues with the old "Tiger" which has been expected at some time.   We "piggy back" on systems ... and when the piggy fails or is replaced, we need to find a new mount.

I am watch watching what's happening ... unsure whether this is work worth doing as other more modern stuff is now available.  Poll to ask members.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
grahame
Administrator
Hero Member
*****
Posts: 37862



View Profile WWW Email
« Reply #1 on: March 08, 2022, 09:49:07 am »

Poll closed yesterday. In answer to "would you use these feeds if I brought them back" you voted (on a low turnout for our polls)

Yes - often   - 0 (0%)
Yes - occasionally   - 5 (29.4%)
Don't know   - 1 (5.9%)
No   - 9 (52.9%)
I don't know about these feeds   - 2 (11.8%)

The feeds at present are working intermittently - sometimes correct, other times giving results many hours old, at other times giving no trains or a program error message on a condition I have not allowed for in the feed.

Since I wrote the code that "scrapes" Tiger, alternative systems have come along and to some extent my work has been supplanted by more modern stuff.   In view of the low turnout of voters, the only users being some occasional ones, and the significant programming effort to get an alternative in place - potentially one with a limited life - I am proposing to replace the links with links to "next train to" boards which are the next generation of data from the rail industry.

Swindon IS working at present - here is what is shows


proposal is to switch to something like this:


Different in what it says and in many ways more useful (as well as less useful in other ways)

Comment / additional feedback welcome ...
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
Richard Fairhurst
Global Moderator
Hero Member
*****
Posts: 1106


View Profile Email
« Reply #2 on: March 08, 2022, 10:44:31 pm »

I've had the same problem with the departure board at the top of charlbury.info which is now stuck on 06.11! It used to consume the TIGER XML feed which has now died.

If it's helpful, I spent most of Saturday morning figuring out the NRE(resolve)/Darwin interface to Live Departure Boards. You have to sign up for a token but that's pretty easy. The hard work is that it uses SOAP, which was outdated last time I used it in 2005. There are various Python examples on the web but I wanted to do it in Ruby. Eventually I came up with this:

https://github.com/systemed/live_departures_ruby

I haven't wired it up to the charlbury.info site yet but that's the easy bit... figuring out SOAP authentication was the hard bit!
Logged
grahame
Administrator
Hero Member
*****
Posts: 37862



View Profile WWW Email
« Reply #3 on: March 08, 2022, 11:15:53 pm »

I've had the same problem with the departure board at the top of charlbury.info which is now stuck on 06.11! It used to consume the TIGER XML feed which has now died.

If it's helpful, I spent most of Saturday morning figuring out the NRE(resolve)/Darwin interface to Live Departure Boards. You have to sign up for a token but that's pretty easy. The hard work is that it uses SOAP, which was outdated last time I used it in 2005. There are various Python examples on the web but I wanted to do it in Ruby. Eventually I came up with this:

https://github.com/systemed/live_departures_ruby

I haven't wired it up to the charlbury.info site yet but that's the easy bit... figuring out SOAP authentication was the hard bit!

Thanks for that ... I'll take a look based on that guidance.  Not straight away - still on my way home and that's a story to write in the morning.  Love Bath Bus Station !!!
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
grahame
Administrator
Hero Member
*****
Posts: 37862



View Profile WWW Email
« Reply #4 on: January 02, 2023, 04:18:56 pm »

The feeds at present are working intermittently - sometimes correct, other times giving results many hours old, at other times giving no trains or a program error message on a condition I have not allowed for in the feed.

Since I wrote the code that "scrapes" Tiger, alternative systems have come along and to some extent my work has been supplanted by more modern stuff.  ...

Belately, largely done - try clicking on the "Next Departure" links and you should see the appropriate (full detail) customer information screen.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
Do you have something you would like to add to this thread, or would you like to raise a new question at the Coffee Shop? Please [register] (it is free) if you have not done so before, or login (at the top of this page) if you already have an account - we would love to read what you have to say!

You can find out more about how this forum works [here] - that will link you to a copy of the forum agreement that you can read before you join, and tell you very much more about how we operate. We are an independent forum, provided and run by customers of Great Western Railway, for customers of Great Western Railway and we welcome railway professionals as members too, in either a personal or official capacity. Views expressed in posts are not necessarily the views of the operators of the forum.

As well as posting messages onto existing threads, and starting new subjects, members can communicate with each other through personal messages if they wish. And once members have made a certain number of posts, they will automatically be admitted to the "frequent posters club", where subjects not-for-public-domain are discussed; anything from the occasional rant to meetups we may be having ...

 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
This forum is provided by customers of Great Western Railway (formerly First Great Western), and the views expressed are those of the individual posters concerned. Visit www.gwr.com for the official Great Western Railway website. Please contact the administrators of this site if you feel that the content provided by one of our posters contravenes our posting rules (email link to report). Forum hosted by Well House Consultants

Jump to top of pageJump to Forum Home Page