summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-08-19 11:38:01 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-08-19 11:38:01 (GMT)
commit355ff75daf885cbc3c20fcd6bce97006ed308e2d (patch)
tree0d95e3ca20f83787c5f38f65ef8c797f5ec08f21
parentc917e70af43e07aba363aaa08ded077983d4f2d9 (diff)
cba now uses different url for namespaces
-rwxr-xr-xrhautoimport-po2
-rwxr-xr-xrhautoimport-wr2
-rwxr-xr-xtest/cba-inspect6
3 files changed, 5 insertions, 5 deletions
diff --git a/rhautoimport-po b/rhautoimport-po
index b8bf682..30812c9 100755
--- a/rhautoimport-po
+++ b/rhautoimport-po
@@ -128,7 +128,7 @@ for my $entry ($feed->entries) {
$i++;
next unless $entry->enclosure;
- my $entry_bdt = $entry->{'entry'}{'https://cba.fro.at'}{'broadcastDate'};
+ my $entry_bdt = $entry->{'entry'}{'https://cba.fro.at/help#feeds'}{'broadcastDate'};
next unless (defined $entry_bdt);
my $bdt = DateTime::Format::Strptime::strptime("%a, %d %b %Y %H:%M:%S", $entry_bdt);
diff --git a/rhautoimport-wr b/rhautoimport-wr
index 4eb055d..21dbcdc 100755
--- a/rhautoimport-wr
+++ b/rhautoimport-wr
@@ -123,7 +123,7 @@ for my $entry ($feed->entries) {
$i++;
next unless $entry->enclosure;
- my $entry_bdt = $entry->{'entry'}{'https://cba.fro.at'}{'broadcastDate'};
+ my $entry_bdt = $entry->{'entry'}{'https://cba.fro.at/help#feeds'}{'broadcastDate'};
next unless (defined $entry_bdt);
my $bdt = DateTime::Format::Strptime::strptime("%a, %d %b %Y %H:%M:%S", $entry_bdt);
diff --git a/test/cba-inspect b/test/cba-inspect
index bc03ac3..e6ddc44 100755
--- a/test/cba-inspect
+++ b/test/cba-inspect
@@ -67,11 +67,11 @@ for my $entry ($feed->entries) {
$sum_title = decode_entities($entry->title);
$sum_text = decode_entities($entry->content->body);
- my $production_date = $entry->{'entry'}{'https://cba.fro.at'}{'productionDate'};
+ my $production_date = $entry->{'entry'}{'https://cba.fro.at/help#feeds'}{'productionDate'};
$production_date = '<unset>' unless (defined $production_date);
- my $broadcast_date = $entry->{'entry'}{'https://cba.fro.at'}{'broadcastDate'};
+ my $broadcast_date = $entry->{'entry'}{'https://cba.fro.at/help#feeds'}{'broadcastDate'};
$broadcast_date = '<unset>' unless (defined $broadcast_date);
- my $contains_copyright = $entry->{'entry'}{'https://cba.fro.at'}{'containsCopyright'};
+ my $contains_copyright = $entry->{'entry'}{'https://cba.fro.at/help#feeds'}{'containsCopyright'};
$contains_copyright = 'false' unless (defined $contains_copyright);
print $sum_title . ":\n";