passmarked / seo

Rules related to checking for any SEO issues on the page given
https://passmarked.com/library/seo
Apache License 2.0
11 stars 11 forks source link

Sitemap Check / Validation #10

Closed Johanndutoit closed 7 years ago

Johanndutoit commented 7 years ago

Does a check for the sitemap as well as validation if present. We're not too worried about sitemaps but if one is defined it should be in the right format, and if none are present the url /sitemap.xml should not return a catchall page that renders the homepage or something.

Consider this the first version, it currently checks:

Going to see about adding actual value validation for each of the properties as they all have their own specs for how the data should be presented

Johanndutoit commented 7 years ago

See node v0.12 requires some work as xmltojs does not work in that version, will try to find a solution for that one. Rest of the tests run fine from > v0.12

Johanndutoit commented 7 years ago

Upped the version required to v0.12, it's not worth supporting v0.12 as it's dropping of end of the year anyway

Johanndutoit commented 7 years ago

@BarryBotha ^ grammar fixes as requested (oops)

Johanndutoit commented 7 years ago

Merging :)