Platinum Partner

Serving XHTML With Classic ASP

How to correctly serve XHTML with Classic ASP:


If InStr(Request.ServerVariables("HTTP_ACCEPT"), "application/xhtml+xml") > 0 Then
     Response.ContentType = "application/xhtml+xml"
Else
     Response.ContentType = "text/html"
End If
Response.Charset = "utf-8"


{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}