Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.66 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.66 KB

Quintype Validator

This tool can be used to validate any Quintype page. This is currently deployed at https://developers.quintype.com/quintype-validator.

Validatations

The tool runs multiple validators, and reports the output of each stage. Warnings conditions are mentioned in (parenthesis).

AMP

The following AMP validations are run:

  • Checks that there is an AMP url present
  • Checks that the AMP html is valid using the amphtml-validator

SEO

Please see rules.yml for a list of rules that are run

OG Tags

Please see rules.yml for a list of rules that are run

Headers

Please see rules.yml for a list of rules that are run

Structured Data

The following Structured Data validations are run:

  • Check the structured data with the Structured Data Tool. Note: this API is undocumented, and has a high failure rate
  • Presence of at least one Object

Links

The API also returns a list of links. A crawler can be written which calls the validation API, recieves a list of linked pages, then continues validating the next page.

Running this locally

  • Start the client with cd client && npm start
  • Start the server with cd server && npm start

Deployments

  • The client is hosted on github pages. cd client && ./deploy to deploy
  • The server is hosted at validator.quintype.com. Use black-knight to deploy.

Future Fixes

  • React Dropzone is an outdated version
  • Move everything to typescript
  • Use em
  • Use CSS modules