syuilo / summaly

🔍 Get a summary of any web page
MIT License
47 stars 24 forks source link

accept XHTML #148

Closed Johann150 closed 2 years ago

Johann150 commented 2 years ago

Summaly will currently not properly generate previews for websites written in XHTML. This is because the Accept header is set to only text/html so if the server only has XHTML it will return 406 Not Acceptable.

As far as I can see the HTML parser that summaly uses should also be able to parse XHTML.