Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Fetch server zip file and read it using client javascript?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
crankypuss  
View profile  
 More options Nov 12 2009, 9:35 am
Newsgroups: alt.www.webmaster
From: crankypuss <n...@email.thanks>
Date: Thu, 12 Nov 2009 00:35:17 -0700
Local: Thurs, Nov 12 2009 9:35 am
Subject: Re: Fetch server zip file and read it using client javascript?

Jerry Stuckle <jstuck...@attglobal.net> wrote:
>Java Jive wrote:
>> Is this possible?

>> I'm wondering if it would be possible to read SRTM data direct from
>> NASA's site and use it on a web-page?
>> http://www2.jpl.nasa.gov/srtm/cbanddataproducts.html

>Nope.  Most browsers restrict javascript from accessing any site other
>than the one the javascript was loaded from for security reasons.
>Additionally, javascript doesn't have any way of unzipping the files
>itself, AFAIK, and again, it can't access programs on the user's
>computer for security reasons.

>You could fetch it using a server side language, though.

Fetching it server-side would allow the server to retrieve a copy only
when it's been updated and then save it in a local format to conserve
unpacking and reformatting time, which I think makes it a better
approach anyway.

Client-side scripting seems to be going through an "overused new toy"
phase.  Or maybe that's just my perception, but I get the idea that
everyone feels like they have to keep up with the fanciest client-side
scripting on the block.  

"It's a disease, I tell ya!"  -S.Floyd

--
no aluminum siding offers today


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google