This is a rather simple script that will create an RSS feed with your daily Adsense earnings, making it easy to track them via your regular feed reader.
Current version: 1.1 (24 april 2006)
Multiply your income by 10 ! Become a 6 figure blogger ! No, just kidding :) There are no feature this time, except that you can specify how many feed items (i.e. days) you want to have.
Get the script :
- rss-adsense.php (colorized html, copy & paste into a blank file but donâ€™t download it : itâ€™s colorized html, not code :)
- rss-adsense.txt (right click & save as .php)
Edit the script, and modify 4 lines at its beginning to suit your needs. Basically, you have to enter your Adsense login, password, the range of days you want to aggregate and a path to a temporary cookie file you shouldn't even need to modify.
If you add it on a web-based RSS reader (Bloglines for example), be sure to mark it private.
Q: Is it secure to enter my Adsense password in a script ?
A: It is, as long as no one can access the source of the script on your server (i.e. download the source file via FTP for example)
Q: Is it a malicious script that will send my password to you ?
A: Well of course. It will also guess your credit card number and post it on random forums all over the internet.
Q: What does Google think about this ?
A: They don't care. Read the disclaimer below.
Q: What does the author of PHP Curl extension think about this ?
A: He thinks it's way cool.
Adsense reports are not update real time, so there is no need to refresh your feed every 5 minutes. Set up a reasonnable refresh delay such as one hour minimum in your feed reader.
- 10/05/2005 : 1.0, initial release
- 04/24/2006 : 1.1, update by Chris Gibson when Google changed their query parameters. Thanks Chris !
Want to share or tweet this page? Please use this short URL: http://ozh.in/lk