Blog Archives

Validate Web Page Against W3C Validator in .NET

During one of the redesigns of DeepFitness.com, I decided to make sure all the articles validated to XHTML.  The post Converting HTML to XHTML Programmatically in .NET shows how I did that.  FreeTextBox did an excellent job assisting with the

Tagged with: ,
Posted in ASP.NET, C#

W3C Validation for ASP.NET Data Controls

If you’ve had the W3C Validator curse your ASP.NET 2.0 code for not being XHTML, it may not be your fault. The ASP.NET engines sees the W3C validator as down-level browser and renders non-XHTML compliant code. Your code is most

Tagged with: , , ,
Posted in ASP.NET

Fix: RSS Feed is Encoded as ASCII not UTF-8

If you are using an ASP.NET page to generate your RSS feed, you may run into this validation error. Your feed appears to be encoded as “utf-8″, but your server is reporting “US-ASCII”. Set the ResponseEncoding property to utf-8. Here

Tagged with: ,
Posted in ASP.NET