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.
01-19-2001, 10:35 PM
Mike
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.