Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 05:59:33 AM

Login with username, password and session length
  • Total Members: 3843
  • Latest: Tricky
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 58
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 50
Total: 51

Author Topic: Moon Phase Block  (Read 15921 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Moon Phase Block
« on: December 07, 2005, 11:31:57 AM »
Here is a pretty cool moon phase display.  This is pretty important in the fishing world as the moon has quite a big effect on when the fish will bite.

It's an RSS feed so it's easy to do with minimal knowledge.

Just copy and paste this into your RSS box.


I believe this is the XML code also.
Code: [Select]
 <channel rdf:about="http://www.almanac.com/">
<description>Current Moon Phase</description>
<title>Current Moon Phase from The Old Farmer's Almanac</title>
<rdf:li rdf:resource="http://www.almanac.com/astronomy/moon/"/>
 <item rdf:about="http://www.almanac.com/astronomy/moon/">
<img src="http://www.almanac.com/rss/moon/20051207.jpg" alt="Current Moon Phase for Wednesday, December  7, 2005"><P>From <a href="http://www.almanac.com/">The Old Farmer's Almanac</a>.</P>
<title>Moon Phase for Wednesday, December  7, 2005</title>

Offline Porky

  • Hero Member
  • *****
  • Posts: 608
  • B.A. DBA
    • Facebook!
Re: Moon Phase Block
« Reply #1 on: December 07, 2005, 12:33:31 PM »
Awesome find

sno wolf

  • Guest
Re: Moon Phase Block
« Reply #2 on: January 05, 2006, 05:38:44 PM »
Me and my RSS troubles.  I'd love to have this but...  when i make an RSS box with TP  there is no where to put xml code or anything...  it won't hold it all...  only so many characters.  Any ideas what I'm doing wrong?

all i get is a feild for the title...  TITLE NAME
then a field for RSS feed:    -no content-   <~  trying to enter any code in there doesn't work because it doesn't all fit...  just a first few characters.

and i get a

minutes to keep cached content...   which is blank but i don't know what to put in there anyway .   

any ideas how to get that RSS to work?


  • Guest
Re: Moon Phase Block
« Reply #3 on: January 05, 2006, 06:10:30 PM »

as WSA said... just copy this : http://www.almanac.com/rss/moon.php

in the rss field... nothin' else to do.. ;)

Offline Nokonium

  • Aging Hippie
  • Friends
  • *
  • Posts: 1384
    • Our-Local
Re: Moon Phase Block
« Reply #4 on: January 05, 2006, 06:22:01 PM »
I like that. Thanks.

sno wolf

  • Guest
Re: Moon Phase Block
« Reply #5 on: January 06, 2006, 01:16:57 AM »
Im such a goob.. I was tryin to enter that whole block of code!  Oh, well I tried it with other RSS feeds too cause they really don't have a working link like that you can just put in.  So what RSS boxes I do have are all java /script boxes ...  with all that xml stuff in there...  sort of its been converted to java script with a rss builder posted on this site somewhere.   Thanks a bunch


  • Guest
Re: Moon Phase Block
« Reply #6 on: January 10, 2006, 08:08:20 PM »
you can get the same effect with a javascript/html block and insert this code into it:

Code: [Select]
<!-- // Begin Current Moon Phase HTML (c) CalculatorCat.com // --><script language="JavaScript" type="text/javascript"> var ccm_cfg = { n:'1', pof:'1', dt:'1', tc:'#ffffff', pth:'' } </script><table width="140" bgcolor="#000000"  style="background-color:bgcolor="#000000" " cellpadding="0" cellspacing="3" border="0"><tr><td align="center" style="border: 1px solid #AFB2D8;color:#ffffff;padding-top:5px;padding-bottom:5px;" bgcolor="#000000"><font face="arial,verdana,sans-serif" size="1" color="#ffffff"><span style="font-size:10px;font-family:arial,verdana,sans-serif;color:#ffffff"><img src="http://www.moonmodule.com/cs/i/t_current_moon_s.gif" width="105" height="21" border="0" /><br /><script language="JavaScript" type="text/javascript" src="http://www.moonmodule.com/cs/ccm_b.js"></script><script language="JavaScript" type="text/javascript" src="http://www.moonmodule.com/cs/ccm_v.js"></script><span style="display:block;padding-top:5px"><a href="http://www.calculatorcat.com/moon_phases/moon_phases.phtml" target="cc_moon_ph" style="font-size:10px;font-family:arial,verdana,sans-serif;color:#777777;text-decoration:underline;background:#000000;border:none;">lunar phases</a></span></span></font></td></tr></table><!-- // end moon phase HTML // -->


  • Guest
Re: Moon Phase Block
« Reply #7 on: February 28, 2007, 05:45:57 AM »
it really works!
just selext titles only inside the RSS block
thanks for sharing


  • Guest
Re: Moon Phase Block
« Reply #8 on: March 01, 2007, 01:37:29 AM »
Sweet! Thanks!

Offline Shadow

  • Hero Member
  • *****
  • Posts: 777
    • My Kingdom
Re: Moon Phase Block
« Reply #9 on: March 15, 2007, 06:36:27 PM »
This code is awesome all that but One thing I don't like about it....It's take up the whole side..lol