Ajout category
This commit is contained in:
parent
0de73062c8
commit
5ebcef3836
@ -106,6 +106,10 @@ $rss->{items} = \@new_items;
|
|||||||
|
|
||||||
# Output RSS
|
# Output RSS
|
||||||
my $rsscontent = $rss->as_string;
|
my $rsscontent = $rss->as_string;
|
||||||
|
|
||||||
|
# Add category (for iTunes)
|
||||||
|
$rsscontent =~s#</description>#</description>\n<itunes:category text="Technology" />\n#;
|
||||||
|
|
||||||
#$rsscontent =~s#https://www.april.org/taxonomy_all_items/term/1918/all#$feedurl#g;
|
#$rsscontent =~s#https://www.april.org/taxonomy_all_items/term/1918/all#$feedurl#g;
|
||||||
$rsscontent =~s#${url}#$feedurl#g;
|
$rsscontent =~s#${url}#$feedurl#g;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user