From f5449ee6c6f0ae90e55a0453b3618ec7bd9081b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Couchet?= Date: Wed, 19 Jun 2019 15:14:47 +0200 Subject: [PATCH] Correct url of the feed in channel --- podcasts/scripts/feed2lav.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/podcasts/scripts/feed2lav.pl b/podcasts/scripts/feed2lav.pl index 6c4a486..97a8d9d 100755 --- a/podcasts/scripts/feed2lav.pl +++ b/podcasts/scripts/feed2lav.pl @@ -27,6 +27,7 @@ use DateTime::Format::DateParse; # Configuration variables my $url = "https://www.april.org/taxonomy_all_items/term/1917/all/feed"; my $filename = "/usr/share/drupal6/lav.xml"; +my $urlfeed = "https://april.org/lav.xml"; # Build RSS object my $rss = XML::RSS->new; @@ -45,6 +46,8 @@ $rss->{channel}->{description} = "

Chaque mardi de 15 h 30 à 17 h 00, l'April # Add image $rss->image(title=>'Libre à vous !', url=>'https://april.org/files/libre-a-vous/banniere-radio-april-rss-200.png', link=>'https://april.org/libre-a-vous'); +$rss->{channel}->{link} = $urlfeed; + # Parse items my @new_items; foreach my $item (@{$rss->{'items'}}) {