Re: Changes to weatherstyle.css in WYSIWYG?
Posted: Mon 22 Nov 2010 8:45 pm
But your page had "Full moon.png".Andy wrote:Full Moon.png
Support forum for Cumulus weather station software
https://cumulus.hosiene.co.uk/
But your page had "Full moon.png".Andy wrote:Full Moon.png
Paul, the moon phase is (should be) different depending if one is in the northern or southern hemisphere. I am using a PHP script that uses 28 different images to produce the moon phases for the northern hemisphere (and 28 images to produce the moon phases for the southern hemisphere).Synewave wrote:steve wrote:Synewave wrote:Could you create a tag that returns a figure that is between 0-15 for example (based on the possible number of suitable moon phase images available on the web, I'm sure there are more but let's not get too complicated)?
But that would create way too many modifications for Cumulus.Synewave wrote:But yes, 28 different images would be great
The PHP moon phase script that I use for my Web pages produces 9 different values: the full moon age (ie: days, hours, and minutes), the moon age as separate values for days, hours, minutes, the icon/image number (0-27), the moon illumination (as a percentage), the moon phase (as a text), the full moon date (as a Unix date) and the new moon date (as a Unix date). The moon phase script is used on my main page as well as in my star chart page.Synewave wrote:If Cumulus did produce a webtag for the moonphase as a number (Steve has suggested it would be a percentage), could the percentage be translated to a moonphase without a script?
You could just use one set of images and rotate them 180 degrees. Probably more work than providing two sets thoughgemini06720 wrote:and 28 images to produce the moon phases for the southern hemisphere