Web Development Thread, Train Timetable into Digital Signage in Coding and Web Development; Hi,
In our reception foyer we would like to show the train departure board of our local station on our ...
12th October 2012, 04:47 PM #1
Train Timetable into Digital Signage
In our reception foyer we would like to show the train departure board of our local station on our XIBO screen.
We would like to show the boards from http://www.dlrlondon.co.uk/livedepar...d.aspx?stn=isg
Can anyone help me extract the required code so that I can embed it?
12th October 2012, 09:26 PM #2
Wouldn't it be easier on XIBO to embed the webpage as a whole? http://www.dlrlondon.co.uk/livedepar...d.aspx?stn=isg rather than extracting that? I know it won't look a nice though any additional service updates will appear on that page but wouldn't if you stripped the page down for the code.
15th October 2012, 10:47 AM #3
The best option I can see is to get a PHP server with CURL enabled, fetch that page, then use something like str_pos to find the "Next train from blah blah is" then copy out the relevant info in PHP, discard the rest. Re-format it and then display it how you want.
I don't know what XIBO is but you can use PHPGD to save the info you scraped into a JPG image however you want it to look then embed that on your screen someone purely as a JPG?
16th October 2012, 07:54 PM #4
Transport for London does have a developers area, where you can access their data. TfL Developers area
2 Thanks to jamiess:
linkazoid (16th October 2012), Thunderous71 (16th November 2012)
16th November 2012, 11:06 AM #5
- Rep Power
Thank you for this its just what I needed!
Originally Posted by jamiess
By sqdge in forum Hardware
Last Post: 7th March 2011, 11:32 AM
By mattpant in forum How do you do....it?
Last Post: 5th May 2009, 01:56 PM
By mattpant in forum Windows
Last Post: 22nd April 2009, 11:24 AM
By MichaelMMM in forum Downloads
Last Post: 19th March 2007, 10:47 AM
By MichaelMMM in forum How do you do....it?
Last Post: 16th March 2007, 09:43 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)