'; echo "\n"; ?> <?php echo "$daterange days of Adsense"; ?> https://www.google.com/adsense/ An RSS feed of my Adsense earnings for the last days en \$$income on $day"; $item['guid'] = '' . md5($username.$day) . ""; $day = split('-',$day); $day = mktime(0, 0, 0, $day[1] , $day[0], $day[2]); if ($firstday == 1) { $day = date("D, d M Y H:i:s +0000"); $firstday = 0; } else { $day = date("D, d M Y H:i:s +0000", $day); } $item['pubDate'] = "$day"; $item['category'] = "adsense"; $item['description'] = "\$$income ($clicks clicks on $pages pages : CTR = $ctr - eCPM = $eCPM)"; $item['content'] = " Pages printedClicksCTReCPMEarnings $pages$clicks$ctr$eCPM$income ]]>"; print "\n"; print $item['title'] ."\n"; print $item['guid'] ."\n"; print $item['pubDate'] ."\n"; print $item['category'] ."\n"; print $item['description'] ."\n"; print $item['content'] ."\n"; print "\n"; } ?>