Skip to content

Refactoring Suggestion #8

Description

@FreebieStock

Each feed type should be a separate class, instead of checking all the time what type of feed it is:

if($type == 'RSS 1')
...
elseif($type == 'RSS 2')

elseif($type == 'Atom')

This is not the OOP way.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions