Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 09:15 29 Mar 2024
- Bus plunges off South Africa bridge, killing 45
- Easter getaway begins with flood alerts in place
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 02/06/24 - Summer Timetable starts
17/08/24 - Bus to Imber
27/09/25 - 200 years of passenger trains

On this day
29th Mar (1913)
Foundation of National Union or Railwaymen (*)

Train RunningCancelled
09:00 Gatwick Airport to Reading
09:54 Bedwyn to Newbury
10:22 Newbury to Bedwyn
11:29 Newbury to Bedwyn
11:57 Bedwyn to Newbury
12:52 Bedwyn to Newbury
Short Run
05:33 Plymouth to London Paddington
06:37 Plymouth to London Paddington
07:03 London Paddington to Paignton
08:35 Plymouth to London Paddington
08:41 Westbury to Bristol Temple Meads
09:37 London Paddington to Paignton
09:45 Bristol Temple Meads to Salisbury
10:35 London Paddington to Exeter St Davids
Delayed
05:03 Penzance to London Paddington
06:05 Penzance to London Paddington
07:10 Penzance to London Paddington
08:03 London Paddington to Penzance
08:15 Penzance to London Paddington
09:04 London Paddington to Plymouth
10:04 London Paddington to Penzance
11:03 London Paddington to Plymouth
PollsOpen and recent polls
Closed 2024-03-25 Easter Escape - to where?
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
March 29, 2024, 09:17:03 *
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] Infrastructure problems in Thames Valley causing disruption el...
[72] would you like your own LIVE train station departure board?
[67] West Wiltshire Bus Changes April 2024
[66] Reversing Beeching - bring heritage and freight lines into the...
[59] Return of the BRUTE?
[41] 2024 - Service update and amendment log, Swindon <-> Westbury...
 
News: the Great Western Coffee Shop ... keeping you up to date with travel around the South West
 
   Home   Help Search Calendar Login Register  
Poll
Question: Would you use a replacement  (Voting closed: March 07, 2022, 10:40:51)
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 1869 times)
grahame
Administrator
Hero Member
*****
Posts: 40691



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

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: 40691



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

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: 1204


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

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: 40691



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

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: 40691



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

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