You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I would add a note about what I have found in case it helps someone else.
When you try to validate HTML5, you will get a 307 error from validator.w3.org which doesn't explain much. However this means that they recommend using the https://validator.w3.org/nu/ API.
It seems that API doesn't support the soap interface currently in use on this gem, but instead favours a JSON API. (Correct me if I'm wrong here)
Here is an example of how to make it work with cUrl:
Perhaps be_valid_asset-1.3.1/lib/be_valid_asset/be_valid_base.rb:40 needs to be changed to handle the JSON response, although that may not work for XHTML
The text was updated successfully, but these errors were encountered:
I thought I would add a note about what I have found in case it helps someone else.
When you try to validate HTML5, you will get a 307 error from validator.w3.org which doesn't explain much. However this means that they recommend using the https://validator.w3.org/nu/ API.
It seems that API doesn't support the soap interface currently in use on this gem, but instead favours a JSON API. (Correct me if I'm wrong here)
Here is an example of how to make it work with cUrl:
Perhaps
be_valid_asset-1.3.1/lib/be_valid_asset/be_valid_base.rb:40
needs to be changed to handle the JSON response, although that may not work for XHTMLThe text was updated successfully, but these errors were encountered: