a subtlety on this method is to have the NMEA generator listen on a socket (as 
a webservice) and have it service requests from the webserver on the box that 
generated the SVG. This way, your webserver acts as a forwarding (and 
filtering) proxy and security is maintained. 

Ronan

On Tuesday 12 April 2005 09:57, J�r�me Tricand de la Goutte wrote:
> Hi Dimitrios,
>
> Your application seems very interesting. However,  i'm sorry but your
> can't access your data easily from JS. It would be a security hole.
> Don't forget we are working in Internet wolrd.
> But (yes there is always a but) you can access data that are stored on
> the server using getURL and ParseXML JS functions.
> So I would advice to :
> - put a web server on your machine.
> - store your SVG in your WWW repertory
> - connect to your server using a web browser and get your SVG
> - your SVG will ask data from your server using JS
> - use serverside script to get data from TCP, UDP or a seria port and to
> send them to your SVG
> - your SVG will parse your data using JS and show them on screen.
>
> Hope it helps
>
> J�r�me
>
> Dimitrios Zachariadis a �crit :
> >gpsfeed+ is a free software utility that produces NMEA 0183 output to
> >TCP/IP, UDP and serial ports. I've written it to test gps
> >applications. In case someone is interested, gpsfeed+ is at:
> >
> >http://users.hol.gr/~dzach/gpsfeed/index.html
> >
> >My question is how to read gps data coming in from a TCP, UDP or a serial
> >port from inside an svg javascript routine on the same machine. Has
> >anyone delt with this before?
> >
> >Thank you
> >
> >
> >
> >
> >
> >-----
> >To unsubscribe send a message to:
> > [EMAIL PROTECTED] -or-
> >visit http://groups.yahoo.com/group/svg-developers and click "edit my
> > membership" ----
> >Yahoo! Groups Links

-- 
"If just one piece of mail gets lost, well, they'll just think they
forgot to send it.  But if *two* pieces of mail get lost, hell, they'll
just think the other guy hasn't gotten around to answering his mail.
And if *fifty* pieces of mail get lost, can you imagine it, if *fifty*
pieces of mail get lost, why they'll think someone *else* is broken!
And if 1Gb of mail gets lost, they'll just *know* that Arpa is down and
think it's a conspiracy to keep them from their God given right to
receive Net Mail ..."
                -- Leith (Casey) Leedom

 --> contact me: ronan at roasp dot com


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to