Closed antrix closed 3 years ago
Hi @antrix this isn't something that's really ever been considered. I've always seen htmltest as part of a CI/CD process for a statically generated site.
Implementing this would be a large change and potentially challenging:
The codebase is quite simple at present. Adding this feature introduces a whole "second mode" of operation that could complicate it quite a bit.
I would consider a pull request for this given enough demand and a good implementation. It may have to be a fork of this project for a while before a merge is considered.
Thank you for sharing that. I can see the rationale to not add this feature, especially the second bullet. I hadn't realized that the implementation does discovery of documents upfront instead of doing it on the fly. That would be a big change indeed.
I'll leave the issue open for a while in case more folks in the community want to chime in.
Closing
Currently, htmltest works against locally generated html files. I've tried it with a site generated by Pelican and it works great.
I was wondering if you have any plans to support running htmltest against a remote website? So instead of taking a local path as input, it would take a remote URL as input and test pages that it crawls. To limit the test, it wouldn't crawl out of the same site, i.e. something like
--skip-external
but for page discovery.