[Mono-devel-list] Can we preconfigure our <browserCaps> section in maching.config to more browsers

Gonzalo Paniagua Javier gonzalo at ximian.com
Wed May 5 19:28:25 EDT 2004


El mié, 05-05-2004 a las 23:07, A Rafael D Teixeira escribió:
> I was reading this interesting article:
> 
> A Look at ASP.NET's Adaptive Rendering
> http://aspnet.4guysfromrolla.com/articles/050504-1.aspx
> 
> There Scott Mitchell tells how to make ASP.NET generate better HTML for 
> other browsers besides IE. It's basically a matter of extending the 
> <browserCaps> section in maching.config.
> 
> First, I didn't check if our implementation reads and works with these 
> configurations.
> But if it does wouldn't it be a good thing to preconfigure it like depicted 
> in the article to be able to generate.
> 
> OOOH! Just came to my mind, if meddochat is just finishing a 
> Html32TextWriter, it means that we are always using the HtmlTextWriter that 
> outputs HTML 4.0... Unlike MS, that defaults to the first...

The problem is that the options in MS machine.config for <browserCaps>
come from a company that earns money doing that. That's why we couldn't
just copy that section and implement the code to interpret that. Of
course, given our current implementation based on Gary Keith's
browscap.ini file, we can select the writer based the data we have.

-Gonzalo




More information about the Mono-devel-list mailing list