Page 1 of 1

Help wanted: Hubble - birthday APOD coding

Posted: Wed Apr 01, 2020 5:40 pm
by RJN
A volunteer is sought to make this page: https://www.nasa.gov/content/goddard/wh ... r-birthday into an APOD. A very simple HTML type code, perhaps using the iframe command, is sought. The result would be a standard-looking APOD but with the picture replaced, at first, by an interactive query for the month and day of the user. After entry, the picture would then be replaced with the Hubble image taken on that day. If this turns out to work well enough, the result could be used on APOD and the volunteer given a credit. Please post any progress as a reply to this post to avoid duplication of effort. And thanks in advance for any efforts you can give.

- RJN

Re: Help wanted: Hubble - birthday APOD coding

Posted: Thu Apr 02, 2020 7:22 am
by geckzilla
Have you tried placing this where the image normally goes on an APOD test page? I wanted to try something simple like that, but I can't actually test it because my test document is not located on a nasa.gov server. Seems only nasa.gov websites can load the iframe. Edit width and height as you see fit.

Code: Select all

<iframe seamless="seamless" width="985" height="544" src="https://imagine.gsfc.nasa.gov/hst_bday/" frameborder="0"></iframe>

Re: Help wanted: Hubble - birthday APOD coding

Posted: Thu Apr 02, 2020 4:19 pm
by RJN
Thanks! I'll try that and report back.

Re: Help wanted: Hubble - birthday APOD coding

Posted: Thu Apr 02, 2020 9:23 pm
by RJN
Unfortunately, that didn't seem to work:
https://apod.nasa.gov/apod/fap/BdayTest.html
(Please ignore the rest of the text.)

Any more ideas?

Re: Help wanted: Hubble - birthday APOD coding

Posted: Fri Apr 03, 2020 10:44 pm
by geckzilla
Ah, ok, so the person responsible for the birthday website would have to add an http header that would allow apod.nasa.gov to display the content in the iframe, so I'm afraid that won't work unless you know who to contact. If you did know how to contact, it's actually a pretty easy thing to do.

Another option would be to download all 365 images (assuming 1 image possible per day) and re-code it specially for APOD. The code could be fairly simple, but downloading all the images isn't as easy. And the site temporarily is down right now, as I write this.

Re: Help wanted: Hubble - birthday APOD coding

Posted: Wed Apr 15, 2020 7:36 am
by geckzilla
Ok, now that it's back up and running, I found the csv file which contains pretty much all the data anyone would need to create a new app. Curious to know if you have tried contacting Stephen Fantasia (I sure do recognize this name!) yet to see if you can simply get permission to load it as an iframe, though. I just realized he's the one to contact, which I discovered after trying to load a nonexistent page accidentally, such as: https://imagine.gsfc.nasa.gov/asdf