Skip to content

[Bug] Code Duplication between blog-rss and comic-rss #36

@JulianWebb

Description

@JulianWebb

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions