[REBOL] Re: - Old Hippy Needs Help With Clouds
From: cyphre:volny:cz at: 4-Jun-2001 11:02
Ups little bug in my script :-)
Here is working version:
if not exists? %pictures/ [
parse page [thru "SRC=^"/" copy pic-path to "^" WIDTH" to end]
write/binary join %pictures/ to-file last parse pic-path "/" read/binary
join to-url http://wwwghcc.msfc.nasa.gov/ pic-path
----- Original Message -----
From: Jimbo <[jimbo--sc--starcat--ne--jp]>
Sent: Monday, June 04, 2001 9:32 AM
Subject: [REBOL] - Old Hippy Needs Help With Clouds
> Hi guys,
> I wanna render a really cool earth with animated atmospheric cloud layers!
> Ok... I know Lava (Errr.. REBOL) doesn't render worlds but it can help!
> Here's how:
> There's a wether site that posts fixed orbit sat. photos of the earth's
cloud layer at 30 minute intervals. They're always posted to the same URL
but DL in my browser ("Save Image As") as different file names:
> I want REBOL to:
> 1.. Grab the image off the site.
> 2.. Save it to Disk under supplied filename or specified sequence name.
> 3.. Wait exactly 30 minutes.
> 4.. Repeat until aborted.
> I did some beta testing befor the initial pubilc release of REBOL so I'm
pretty sure this is doable but I haven't looked at it again since and feel a
bit lost... Sorry if this has already been discussed here. Is there some
example code I could look at that would do this from a URL like: