Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a link validation module #15

Closed
daveaglick opened this issue Jun 3, 2015 · 2 comments
Closed

Create a link validation module #15

daveaglick opened this issue Jun 3, 2015 · 2 comments

Comments

@daveaglick
Copy link
Member

Crawls through specified HTML files and checks relative links to make sure they're all valid. Outputs warnings to trace. Does not perform any transformation.

Look at html-proofer: https://github.com/gjtorikian/html-proofer

@daveaglick
Copy link
Member Author

I think the way resolution should work is that the module should have a constructor that takes a path. This path then serves as the root for validating relative links and references in all the input documents. If no path is given (null) then OutputFolder is used. Then all that needs to be done for verification is to check for file existence in the specified path.

@avishnyakov
Copy link

Hm.. seems that one could depend on other things like:

  • HTML module to access all hrefs
  • potential virtual file system or root input / output folder access?

How is it possible to get things moving with the current versions and state of the Wyam?

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

No branches or pull requests

2 participants