Plugin: APOD
Author: Jase Chen
E-Mail: jase.chen@gmail.com
Release Date: 2005/12/01
Version: 1.0
License: GPL


Description:
  This plugin offer the Chart from Astronomy Picture of the Day (APOD, http://antwrp.gsfc.nasa.gov/apod/astropix.html). 
You can change the height and width.


Configuration:
ĦEIn ControlCenter
  - configure this plugin in controlcetner
  - you can setup the size with width and height. the default value is 130 x 183 pixel.
ĦEIn Template File (for example, the 'main_right.template' with the 'dabu' template)
  - copy the bellow code into the 'main_right.template'

/* CODE BEGIN */
 {if $apod->isEnabled()}
<div class="Sidetitle"> 
 <h4> {$locale->tr("apod")} </h4>
</div>  
<p> <center>
<a target='_blank' href='http://antwrp.gsfc.nasa.gov/apod/astropix.html'>
<script language="javascript">
document.write("<img src='{$apod->getPic('http://antwrp.gsfc.nasa.gov/apod/astropix.html')}' width='{$apod->width()}' height='{$apod->height()}' border='0'><br>{$apod->getTitle('http://antwrp.gsfc.nasa.gov/apod/astropix.html')}");
</script>
</a>
</center>
</p>
 {/if}
/* CODE END */

Bugs:
ĦE it has a realtime problem, maybe.

History:
1.0 - APOD LifeType plugin release