Skip to content

raamdev/PennyArcade-Mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PennyArcade-Mailer

Takes the first/latest item from a Penny Arcade RSS-feed (the feed needs to be mashed together using Yahoo Pipes, as described by Scott Sinclair and retrieves the latest comic image, and then mails that image to a specified email address.

The project is based on xkcd-Mailer by Ismo Vuorinen.

configuration

The script needs a simple configuration. Modify config.example.php to fit your needs and save as config.php

<?php
/**
 * PennyArcade-Mailer configuration example
 * Save me as config.php
 */

// Your timezone, PHP5 required.
// See full list: http://www.php.net/manual/en/timezones.php
date_default_timezone_set("America/New_York");

// Your destination
$mail = "your@email.com";
$from = "PennyArcade mailer <pennyarcade_mailer@example.com>";

crontab example

15 minutes over 7am on monday, wednesday and friday.

15 7 * * 1,3,5 /usr/bin/php /full/path/to/pennyarcade-mailer.php

caveats

  • Script doesn't check if the feed has been updated, possibly causing old comic delivery

contributing

  • Fork the code
  • Do your changes
  • Send pull request
  • Bask in glory of open source love

About

For cron automated pennyarcade-to-your-email-awesomeness!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages