(Not really a "bug" per say, more of a code smell)
Description of problem
Currently the parts blog-rss.php and comic-rss.php are near duplicates, only differing by 6 lines; while this isn't a problem by itself, it can easily lead to issues in the future if they aren't both updated each time shared functionally needs to be changed.
Suggested fix
Create a base RSS part for them to both pull from, requiring that they only need to add their specific variables to the channels and items.
Better yet, make a generic RSS generator that can be configured using templates, that way site owners can configure their RSS feed as they wish while still having that base.
(Not really a "bug" per say, more of a code smell)
Description of problem
Currently the parts
blog-rss.php
andcomic-rss.php
are near duplicates, only differing by 6 lines; while this isn't a problem by itself, it can easily lead to issues in the future if they aren't both updated each time shared functionally needs to be changed.Suggested fix
Create a base RSS part for them to both pull from, requiring that they only need to add their specific variables to the channels and items.