kapt-labs / django-check-seo

Django Check SEO will check the SEO aspects of your site for you, and will provide advice in case of problems. Compatible with Django & Django-CMS!
GNU General Public License v3.0
158 stars 14 forks source link

Improve organization of checks #4

Closed corentinbettiol closed 4 years ago

corentinbettiol commented 4 years ago

Currently, all checks are in a single Class, in the views.py file: https://github.com/kapt-labs/django-check-seo/blob/69832da8682b28fe9c1acbe9848f1682d94b5ab3/django-check-seo/views.py#L47-L589

The ideal implementation should be a config parameter with a list of checks files and a Class with a few information (html of the page, content of the page, url, keywords...).

Each check will be in a separate file, with some information available through the class.

corentinbettiol commented 4 years ago

The new structure is here! image