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

HTML-Proofer should follow clientside redirects #208

Closed
gjtorikian opened this issue Apr 21, 2015 · 2 comments
Closed

HTML-Proofer should follow clientside redirects #208

gjtorikian opened this issue Apr 21, 2015 · 2 comments

Comments

@gjtorikian
Copy link
Owner

As an option, if possible. This would involve GETing the page, parsing it with Nokogiri, and following any redirect info. This would be super useful for Jekyll sites, at the cost of slowing the run down.

@fulldecent
Copy link
Collaborator

To be clear, are we only talking about finding

<meta http-equiv="refresh" content="0; url=otherPage.html" />

And interpreting that the same as

<a href="otherPage.html">.</a>

@gjtorikian
Copy link
Owner Author

No, it would mean finding

<meta http-equiv="refresh" content="0; url=otherPage.html" />

And then following otherPage.html and checking those links.

I actually no longer thing this is within the project's scope (a lot changes in two years) since I don't want it to be a general link crawler. Plus a directory that's filled with files should already find otherPage.html so I'm not really sure what I was thinking here.

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

No branches or pull requests

2 participants