Go to Post ...many different kinds of students join our team. Some only have an interest in media, or others in cheering. What is important is that they are having fun while working in an engineering environment. - Bharat Nain [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-06-2004, 09:23
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
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.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #2   Spotlight this post!  
Unread 05-06-2004, 09:48
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
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   Spotlight this post!  
Unread 05-06-2004, 11:01
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Re: Getting an image from a website

Quote:
Originally Posted by Astronouth7303
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.
Sorry about that, I forgot to mention to display it on another website. Like, would it be possible to do this through PHP, or even ASP? Thanks though very much.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #4   Spotlight this post!  
Unread 05-06-2004, 11:20
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Getting an image from a website

Quote:
Originally Posted by Raven_Writer
Sorry about that, I forgot to mention to display it on another website. Like, would it be possible to do this through PHP, or even ASP? Thanks though very much.
You mean other than having windows run a VBscript? no idea.
  #5   Spotlight this post!  
Unread 05-06-2004, 11:22
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,183
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
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   Spotlight this post!  
Unread 05-06-2004, 11:24
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Re: Getting an image from a website

Quote:
Originally Posted by ToMMan b182
is it just me.. or does the pic for 6/5 ( http://antwrp.gsfc.nasa.gov/apod/ima...ollo17_big.jpg ) look fake?
Heh. Yea, I kinda thought the same.

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.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #7   Spotlight this post!  
Unread 05-06-2004, 11:37
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Getting an image from a website

Quote:
Originally Posted by ToMMan b182
is it just me.. or does the pic for 6/5 ( http://antwrp.gsfc.nasa.gov/apod/ima...ollo17_big.jpg ) look fake?
really? how so?
  #8   Spotlight this post!  
Unread 05-06-2004, 17:00
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Getting an image from a website

Quote:
Originally Posted by Astronouth7303
really? how so?
I think they were watching that stupid FOX special about how the Apollo landings were fake. Please see here if you were convinced by that propaganda: http://www.badastronomy.com/bad/tv/i...ard/moon01.htm.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #9   Spotlight this post!  
Unread 05-06-2004, 20:19
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Getting an image from a website

Quote:
Originally Posted by maxlobovsky
I think they were watching that stupid FOX special about how the Apollo landings were fake. Please see here if you were convinced by that propaganda: http://www.badastronomy.com/bad/tv/i...ard/moon01.htm.
I heard about that. My question to the conspirisy theorists: Where'd the cash go?
  #10   Spotlight this post!  
Unread 08-06-2004, 03:23
ahecht's Avatar
ahecht ahecht is offline
'Luzer'
AKA: Zan
no team
Team Role: Alumni
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Billerica, MA
Posts: 978
ahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond repute
Send a message via ICQ to ahecht Send a message via AIM to ahecht Send a message via Yahoo to ahecht
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.
__________________
Zan Hecht

Scorekeeper: '05 Championship DaVinci Field/'10 WPI Regional
Co-Founder: WPI-EBOT Educational Robotics Program
Alumnus: WPI/Mass Academy Team #190
Alumnus (and founder): Oakwood Robotics Team #992


"Life is an odd numbered problem the answer isn't in the back of the book." — Anonymous WPI Student

Last edited by ahecht : 08-06-2004 at 03:26.
  #11   Spotlight this post!  
Unread 09-06-2004, 11:21
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Re: Getting an image from a website

Quote:
Originally Posted by ahecht
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
Thank you

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.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #12   Spotlight this post!  
Unread 09-06-2004, 11:39
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Getting an image from a website

Quote:
Originally Posted by Raven_Writer
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.
At least a different file for each picture. You pretty much have to extract the URL from the page.
  #13   Spotlight this post!  
Unread 08-06-2004, 13:10
greencactus3 greencactus3 is offline
occra 23.
AKA: ryo
None #1481
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2006
Location: North Farmington, MI
Posts: 1,523
greencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to all
Send a message via AIM to greencactus3 Send a message via MSN to greencactus3
Re: Getting an image from a website

Quote:
Originally Posted by Astronouth7303
I heard about that. My question to the conspirisy theorists: Where'd the cash go?
not that i dont believe that nasa landed on the moon, but its the government. where do you think our money goes
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   Spotlight this post!  
Unread 09-06-2004, 09:02
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,104
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: Getting an image from a website

Quote:
Originally Posted by greencactus3
but its the government. where do you think our money goes

"you don't think they spend 200 dollars on a hammer, 500 bucks on a toliot seat do you?"
  #15   Spotlight this post!  
Unread 08-06-2004, 13:43
Ryan F.'s Avatar
Ryan F. Ryan F. is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Mar 2004
Rookie Year: 2003
Location: USA
Posts: 376
Ryan F. is a jewel in the roughRyan F. is a jewel in the roughRyan F. is a jewel in the rough
Re: Getting an image from a website

Quote:
Originally Posted by Astronouth7303
I heard about that. My question to the conspirisy theorists: Where'd the cash go?
Where did the rocket go?

--Also....elvis is surely still alive!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 02:29.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi