Train Timetables


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Train Timetables

Hybrid View

  1. #1
    Danny Guest

    Train Timetables


    I am in the process of setting up a community web site for a rural area of
    Northern Ireland. As part of this, I'd like to hava a small thing that accesses
    an external (but within the main web site) train timetable database on a
    regular basis, so that it can then tell local people what time the next train
    is.

    However, I have only recently begun to pickup HTLM editing, and am almost
    totally ignorant of the various other languages. I have managed to devise
    (i.e. decipher and modify an existing one) a java script that provides a
    clock, and so suspect that it will be java that I need.

    Does anyone know either how I should go about writing the necessary script,
    or better still where something is that I could download and modify? A few
    thousand Irish people would be eternally grateful to anyone who helped.

    Danny.



  2. #2
    Mike Guest

    Re: Train Timetables


    "Danny" <danny@peace-train.net> wrote:
    >
    >I am in the process of setting up a community web site for a rural area

    of
    >Northern Ireland. As part of this, I'd like to hava a small thing that

    accesses
    >an external (but within the main web site) train timetable database on a
    >regular basis, so that it can then tell local people what time the next

    train
    >is.
    >
    >However, I have only recently begun to pickup HTLM editing, and am almost
    >totally ignorant of the various other languages. I have managed to devise
    >(i.e. decipher and modify an existing one) a java script that provides a
    >clock, and so suspect that it will be java that I need.
    >
    >Does anyone know either how I should go about writing the necessary script,
    >or better still where something is that I could download and modify? A

    few
    >thousand Irish people would be eternally grateful to anyone who helped.
    >
    >Danny.
    >
    >

    Danny -- an ambitious piece of work!

    First, you mention using Java, and you mention writing "script" -- so we'd
    better be sure: you do know that Java and JavaScript are two different languages,
    yes?

    In this case, unless I'm mis-reading the scope, this would not need the power
    of Java; it might be more in the range of JavaScript (easier, but I have
    little experience). You mention an external timetable: is this a formal database,
    or simply a list of a few dozen trains? There are different approaches based
    on that answer.

    I'm pretty busy, and just learning much of this myself, but I'd be interested
    in hearing how this develops. Especially since I've just been to Ireland
    for the first time this year (well, the south -- Dublin, Kilkenny, Killarney,
    Limerick), and enjoyed seeing my mother's homeland.

    Good luck!
    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center