diff --git a/RSSTootalizer/Website/EditFeed.pm b/RSSTootalizer/Website/EditFeed.pm index 9d4b965..211ea10 100644 --- a/RSSTootalizer/Website/EditFeed.pm +++ b/RSSTootalizer/Website/EditFeed.pm @@ -30,6 +30,11 @@ sub fill_content { return 1; } + if ($main::FORM{action} and "x".$main::FORM{action} eq "xsaveformat"){ + $feed->{data}->{format} = $main::FORM{format}; + $feed->save(); + } + if ($main::FORM{action} and "x".$main::FORM{action} eq "xsave"){ my @filters = $feed->filters(); FILTER: foreach my $filter (@filters){ diff --git a/static/templates/EditFeed.html b/static/templates/EditFeed.html index 471249a..beb4c1b 100644 --- a/static/templates/EditFeed.html +++ b/static/templates/EditFeed.html @@ -44,7 +44,7 @@
{ID}
, {Title}
, {Link}
, {Content}
, {Author}
, {Issued}
, {Modified}
and {Tags}
to substitute the respective values.