From 355ff75daf885cbc3c20fcd6bce97006ed308e2d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 19 Aug 2016 13:38:01 +0200 Subject: cba now uses different url for namespaces 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 = '' 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 = '' 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"; -- cgit v0.10.2