Microsoft Content Management Server - CMS and HTML 4.01 strict

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > October 2004 > CMS and HTML 4.01 strict





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CMS and HTML 4.01 strict
Paul Devenney

2004-10-25, 7:48 am

does anyone have experience of trying to make CMS conform to HTML 4.01
strict? we have a client requirement to do this, but CMS (and .NET) seems to
disobey this in several places, mostly in the placeholder output (those
rotten span tags for instance).

any resources on this topic would be greatly appreciated.

cheers,

Paul


Paul Devenney

2004-10-27, 7:46 am

*bump*

"Paul Devenney" <paul.devenney@spamgohere.com> wrote in message
news:eMg4yRpuEHA.1712@TK2MSFTNGP14.phx.gbl...
> does anyone have experience of trying to make CMS conform to HTML 4.01
> strict? we have a client requirement to do this, but CMS (and .NET) seems

to
> disobey this in several places, mostly in the placeholder output (those
> rotten span tags for instance).
>
> any resources on this topic would be greatly appreciated.
>
> cheers,
>
> Paul
>
>



Stefan [MSFT]

2004-10-27, 7:46 am

Hi Paul,

ok, nobody seems to have an out-of-the-box solution for this.

You could achieve this by implementing an http module that installs an http
filter in the http response stream and corrects all invalid stuff.
A http module which can be used as starter can be found here:
http://blogs.msdn.com/stefan_gossne.../29/122527.aspx

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Paul Devenney" <paul.devenney@spamgohere.com> wrote in message
news:ekUMlgCvEHA.2520@TK2MSFTNGP15.phx.gbl...
> *bump*
>
> "Paul Devenney" <paul.devenney@spamgohere.com> wrote in message
> news:eMg4yRpuEHA.1712@TK2MSFTNGP14.phx.gbl...
seems[vbcol=seagreen]
> to
>
>



Paul Devenney

2004-10-27, 5:49 pm

Hi Stefan,

yes, I was thinking and acting on the same approach. Was just hoping that
someone might have come across some of the complications already. In case
anyone else is interested, the main things that need changing are:

* Viewstate needs to be inside a div tag (and of course viewstate often
takes several buffers, so there is difficulty in identifying the end of it)
* All cases of border="x" needs to be removed from the Images produced by
placeholders (if you are starting a new site a good way might be a inherited
placeholder)
* All align="right" attributes etc need to be removed from content and
replaced with the equivalent statement using style="" (above solution might
work)
* all target="_blank" attributes need to be removed.

I can see I'll have fun with this one....

"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:erIirqCvEHA.1204@TK2MSFTNGP10.phx.gbl...
> Hi Paul,
>
> ok, nobody seems to have an out-of-the-box solution for this.
>
> You could achieve this by implementing an http module that installs an

http
> filter in the http response stream and corrects all invalid stuff.
> A http module which can be used as starter can be found here:
> http://blogs.msdn.com/stefan_gossne.../29/122527.aspx
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> MCMS FAQ:
>

http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
>

http://www.gotdotnet.com/community/...t+S
erver

> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Paul Devenney" <paul.devenney@spamgohere.com> wrote in message
> news:ekUMlgCvEHA.2520@TK2MSFTNGP15.phx.gbl...
> seems
(those[vbcol=seagreen]
>
>



Angus Logan [MVP]

2004-10-27, 5:49 pm

Hi Paul,

Let me know if you get anything built as I would be interested in seeing how
far you can push the compliance

Regards
--
________________________________________


Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________

"Paul Devenney" <paul.devenney@spamgohere.com> wrote in message
news:uEeVZADvEHA.2012@TK2MSFTNGP15.phx.gbl...
> Hi Stefan,
>
> yes, I was thinking and acting on the same approach. Was just hoping that
> someone might have come across some of the complications already. In case
> anyone else is interested, the main things that need changing are:
>
> * Viewstate needs to be inside a div tag (and of course viewstate often
> takes several buffers, so there is difficulty in identifying the end of
> it)
> * All cases of border="x" needs to be removed from the Images produced by
> placeholders (if you are starting a new site a good way might be a
> inherited
> placeholder)
> * All align="right" attributes etc need to be removed from content and
> replaced with the equivalent statement using style="" (above solution
> might
> work)
> * all target="_blank" attributes need to be removed.
>
> I can see I'll have fun with this one....
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:erIirqCvEHA.1204@TK2MSFTNGP10.phx.gbl...
> http
> rights.
> http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> http://www.gotdotnet.com/community/...t+S
erver

> (those
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com