Validate HTML/RDFa in Python
问题 What's the best way to go about writing a python module that can validate HTML, especially with embedded RDFa? I'm familiar with validator.w3.org, and I'm interested in writing a custom validator that performs a similar function, but for a different standard that utilizes RDFa for element metadata. What are some good pieces of source code to look at, Python libraries to try out, things to keep in mind? 回答1: Emmett, I am not sure what you want to achieve. I did write an RDFa distiller in