|
[BACK]
Putting HubbleSite data on your website ...
There are many ways that you can include
HubbleSite press release information on your own website. Here are a
few ways in which to accomplish this, in varying degrees of complexity.
| Simple |
 |
| You can grab the latest image from
HubbleSite, and link it to more information on HubbleSite. |
 |
| How: |
 |
 |
 |
Place the following HTML code into
your webpage:
<a href="http://hubblesite.org/newscenter/"><img
src=
"http://hubblesite.org/newscenter/latest_thumb.php"
width="80" height="80" alt="Latest News
from HubbleSite" border="0" /></a> |
 |
| Result: |
 |
 |
 |
 |
| Just as Simple |
 |
| Instead of just getting a plain image,
and a generic link to the main news section, you could instead link
in the following manner which will give you an image that has the
title of the latest press release on it, and a URL that will take
you directly to that release. |
 |
| How: |
 |
 |
 |
Place the following HTML code into
your webpage:
<a href=
"http://hubblesite.org/newscenter/latest_pr.php"><img src="http://hubblesite.org/newscenter/latest_big.php"
width="250" height="150" alt="Latest News
from HubbleSite" border="0" /></a> |
 |
| Result: |
 |
 |
 |
 |
| Very Complicated |
 |
| If you are programming savvy, and wish to pull information from
our website and customize it to suite your needs, we provide a
MyNetscape style RDF/RSS file. You can access this file and parse
whatever data you wish from it. You can find this file at:
http://hubblesite.org/newscenter/rss.php
|
[BACK]
[TOP]
search & index | about
us | contact us | copyright
|
 |
 |
 |