[Zope-dev] Re: CSS file serving

Adrian Hungate adrian@haqa.clara.net
Fri, 19 Jan 2001 20:15:59 -0000


This is a multi-part message in MIME format.

------=_NextPart_000_0031_01C08254.A31CA0C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

From: richard@bizarsoftware.com.au
>
>I've ended up hacking a version of special_dtml / ClassicHTMLFile that
>serves up CSS. Has anyone got a better way of doing it (that detects
>changes in the file and serves it up with the correct Content-Type)?
>
>    Richard

Try my ZStyleSheet product http://www.zope.org/Members/haqa/ZStyleSheet=20

It will read your static CSS file, and allows for (IMHO) a much more =
logical view of the CSS. It also allows browser base branch exclusion - =
Removing sections from the sheet that will malfunction on a particular =
browser.

Adrian...

------=_NextPart_000_0031_01C08254.A31CA0C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" =
size=3D3>From: </FONT><A=20
href=3D"mailto:richard@bizarsoftware.com.au"><FONT face=3D"Times New =
Roman"=20
size=3D3>richard@bizarsoftware.com.au</FONT></A><BR><FONT face=3D"Times =
New Roman"=20
size=3D3><FONT face=3DArial size=3D2>&gt;</FONT><BR>&gt;I've ended up =
hacking a=20
version of special_dtml / ClassicHTMLFile that<BR>&gt;serves up CSS. Has =
anyone=20
got a better way of doing it (that detects<BR>&gt;changes in the file =
and serves=20
it up with the correct Content-Type)?<BR><FONT face=3DArial=20
size=3D2>&gt;</FONT><BR>&gt;&nbsp;&nbsp;&nbsp; =
Richard</FONT><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Try my ZStyleSheet product <A=20
href=3D"http://www.zope.org/Members/haqa/ZStyleSheet">http://www.zope.org=
/Members/haqa/ZStyleSheet</A>=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It will read your static CSS file, and =
allows for=20
(IMHO) a much more logical view of the CSS. It also allows browser base =
branch=20
exclusion - Removing sections from the sheet that will malfunction on a=20
particular browser.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Adrian...</FONT></DIV></BODY></HTML>

------=_NextPart_000_0031_01C08254.A31CA0C0--