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'}}) {