[Javascript] Help with text file
Mike Dougherty
mdougherty at pbp.com
Wed Oct 15 14:08:48 CDT 2003
Have you tried XML? Maybe learn to use XSLT to format the data
(something I haven't yet done)
It sounds like you have a considerable amount of data to parse in
javascript- if you could make a transformation language do it for you,
the result would be more "pre-chewed"
Of course, that learning adds to the delivery cost of this project.
The data is a URL? Or a UNC? If the user is offline, with a local copy
of the data - and your page is trying to access the local file system,
then you might be hitting a rights problem. If you do have local/on
disk data, consider using the Scripting.FileSystemObject and setting the
page's rights to allow instantiation of that object. (it can be a
security risk though, so it's not available by default, and you wouldn't
want the whole internet having access to that control on your machine)
-----Original Message-----
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu] On Behalf Of Jaime Golombek
Sent: Wednesday, October 15, 2003 12:34 PM
To: javascript at LaTech.edu
Subject: [Javascript] Help with text file
Thanks Chris:
In a nutshell I'm trying to use the orbital elements information
provided by NASA and others for many satellites. From this text files
I'll calculate some useful information (i.e. pointing angles). I would
prefer for it to be only client side so that it can be used on or
off-line (if the user downloads the file beforehand). Maybe I'll do
some hybrid thing using PHP for embedding the data in a page.
I currently have a simple page that works OK but 1) has the satellites
information hardcoded and has to be updated manually once in a while
and 2) if I manage to use these files I'll be able to do add a lot of
cool features.
thanks again
jg
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list