|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Getting an image from a website
Every day, NASA's Astronomy site puts up a new image. What I'm wondering is how could I check to see if there is a new image, and if so display it (download it, or something). I don't even know if this is possible.
If you can help at all, please let me know. |
|
#2
|
|||||
|
|||||
|
Re: Getting an image from a website
In what? In VB, you have the Inet control. You download the homepage and find "<IMG SRC=""" (2 double quotes is a double quote w/o ending the string). Then you take what's between that and """". That is your path. Again using the Inet control, download the image using the path extracted, and save it to a location. Then you can do whatever with it.
|
|
#3
|
|||||
|
|||||
|
Re: Getting an image from a website
Quote:
|
|
#4
|
|||||
|
|||||
|
Re: Getting an image from a website
Quote:
no idea. |
|
#5
|
|||
|
|||
|
Re: Getting an image from a website
is it just me.. or does the pic for 6/5 ( http://antwrp.gsfc.nasa.gov/apod/ima...ollo17_big.jpg ) look fake?
|
|
#6
|
|||||
|
|||||
|
Re: Getting an image from a website
Quote:
A lot of the pictures on there are sweet none-the-less, even if they are fake, though. Joe: Thanks, I'll try that and see what happens. |
|
#7
|
|||||
|
|||||
|
Re: Getting an image from a website
Quote:
|
|
#8
|
||||
|
||||
|
Re: Getting an image from a website
Quote:
|
|
#9
|
|||||
|
|||||
|
Re: Getting an image from a website
Quote:
|
|
#10
|
|||||
|
|||||
|
Re: Getting an image from a website
I currently have my home computer set up to download the Astronomy Picture of the Day every day, resize it, and put it in my background rotation automatically.
To do it, I used a combination of DailyStrips and ImageMagick. Full instructions are on my web site at http://zansstuff.com/rotatedesktop.html#apod If you just want to display it on another web site, DailyStrips is a Perl script, and you could set it up to run as a chron job (and write a little script to rename each day's file to a constant name or modify the Perl to always output the same name), or you could modify it so that it displayed the fetched image as an output when called by a browser. Last edited by ahecht : 08-06-2004 at 03:26. |
|
#11
|
|||||
|
|||||
|
Re: Getting an image from a website
Quote:
![]() I've checked that out, and as soon as finals are over with, I will try that and see what happens. Greg: I started thinking about that, but the problem is that NASA creates a new directory (as far as I know) each day for the pictures. |
|
#12
|
|||||
|
|||||
|
Re: Getting an image from a website
Quote:
|
|
#13
|
|||
|
|||
|
Re: Getting an image from a website
Quote:
and if you got a wad of cash and was told you can either use it all up, or you can use half of it to let everyone believe you used it all up, and you keep the rest,which would you do? ![]() |
|
#14
|
||||||
|
||||||
|
Re: Getting an image from a website
Quote:
"you don't think they spend 200 dollars on a hammer, 500 bucks on a toliot seat do you?" |
|
#15
|
||||
|
||||
|
Re: Getting an image from a website
Quote:
--Also....elvis is surely still alive! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Website being created ! | mtaman02 | IT / Communications | 25 | 26-01-2005 03:37 |
| Web Excellence Award Winners (Which Teams?) | OZ_341 | Website Design/Showcase | 39 | 10-07-2004 20:19 |
| Website Excellence? | Tom Bottiglieri | Website Design/Showcase | 4 | 15-03-2004 02:43 |
| Looking for an easy website for your team? | Jack | Website Design/Showcase | 2 | 30-12-2003 23:32 |
| No website?!?! | Duke 13370 | Website Design/Showcase | 5 | 07-04-2003 13:24 |