I’d like to know if it’s possible to calculate the current moon phase or get it from somewhere (www, rss, I don’t know..) in PHP.
Basically I need to display an image in a website depending on the current moon phase.
I found this: http://jivebay.com/2010/01/04/calculating-the-moon-phase-part-2/ , however, the author says it’s not 100% accurate.
Any ideas ? thanks!
Why do you want to use an RSS feed, why don’t you calculate the current phase yourself like explained here: Calculate Moon Phase Data with PHP which is referencing this Moon Phase PHP class.