Add Lunar Cyles to your Yahoo! Calendar
These are the steps to add the new & full moon dates to your Yahoo!
calendar for years 2004 and 2005. All source data is from the U.S. Naval
Observatory, but YMMV.
- first, download the data file to your computer.
- Login to My Yahoo!
- Go to Calendar -> Calendar Options
- Select "Import/Export"
- Go to "Import from Outlook"
- Add the data file from above to step 1
- Click "Import" button in step 2
- Enjoy!
ps: if you're curious how I did this, it was just some nasty ass sed. You
want perl, do it yourself.
cat input.$year | awk '{print "\"New Moon\",\"" $1 "/" $2 "/2004\",\"" $3 ":" $4 "\"" "\n" "\"Full Moon\",\"" $9 "/" $10 "/2004\",\"" $11 ":" $12 "\"" }' | sed 's/\.//g' | sed 's/JAN/01/g' | sed 's/FEB/02/g' | sed 's/MAR/03/g' | sed 's/APR/04/g'| sed 's/MAY/05/g' | sed 's/JUNE/06/g' | sed 's/JULY/07/g' | sed 's/AUG/08/g' | sed 's/SEPT/09/g' | sed 's/OCT/10/g' | sed 's/NOV/11/g' | sed 's/DEC/12/g'