summaryrefslogtreecommitdiff
path: root/rhautoimport-dn
diff options
context:
space:
mode:
Diffstat (limited to 'rhautoimport-dn')
-rwxr-xr-xrhautoimport-dn3
1 files changed, 3 insertions, 0 deletions
diff --git a/rhautoimport-dn b/rhautoimport-dn
index d4bab91..b29ef1a 100755
--- a/rhautoimport-dn
+++ b/rhautoimport-dn
@@ -38,6 +38,7 @@ my $FILES_RSS_URL = "https://www.democracynow.org/podcast-stations.xml";
my $HEADLINES_RSS_URL = "http://www.democracynow.org/podcast.xml";
my $RD_GROUP = "democracyn";
my $PV_ID = '111';
+my $TITLE="Democracy Now!";
my $LAST_RUN = 0;
binmode(STDIN, ":utf8");
@@ -48,6 +49,8 @@ if($#ARGV >= 0 && $ARGV[0] eq 'last') {
print "!!!This is the last attempt, there won't be a retry on error!!!\n";
$LAST_RUN = 1;
}
+rhautoimport::report_title_and_last($TITLE, $LAST_RUN);
+
my @today = Date::Calc::Today();
my @yesterday = Date::Calc::Add_Delta_Days(@today, -1);