mirror of
https://github.com/ivuorinen/xkcd-Mailer.git
synced 2026-01-26 11:14:06 +00:00
My new email and punchline hiding
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
date_default_timezone_set("Europe/Helsinki");
|
||||
|
||||
// Your destination
|
||||
$mail = "ivuorinen@gmail.com";
|
||||
$mail = "ivuorinen@me.com";
|
||||
$from = "xkcd mailer <xkcdmailer@example.com>";
|
||||
|
||||
$feed = "http://xkcd.com/atom.xml";
|
||||
@@ -35,6 +35,6 @@
|
||||
$msg = "<h1><a href=\"{$item->id}\">{$item->title}</a></h1>\n"
|
||||
. "<small>Posted {$date}</small><br />\n"
|
||||
. $item->summary."<br />\n"
|
||||
. "<p>{$punchline}</p>\n";
|
||||
. "<p style='color:#000;background:#000;'>{$punchline}</p>\n";
|
||||
|
||||
mail($mail, $subject, $msg, $headers);
|
||||
mail($mail, $subject, $msg, $headers);
|
||||
|
||||
Reference in New Issue
Block a user