Skip to content

Quintype validators, currently has website validator and migration validator

Notifications You must be signed in to change notification settings

quintype/quintype-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Quintype validators, currently has website validator and migration validator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published