Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-02 10:58:45

libre fan
Member
From: Cévennes, France
Registered: 2007-09-21
Posts: 10
Website

How to make Txp XHTML 1.0 strict?

hello,

I’m only a newbie with Textpattern which I rather like (love textile, and the freedom txp gives you) and it seems a pity Txp offers transitional only. What’s keeping Txp from being XHTML 1.0 strict? Is it something i can easily change, and keep that way on the next upgrade?

Many thanks in advance!


libre fan
Libres-Ailé(e)s (LUG: pour Linux et le monde du LIbre, Cévennes, France)
Libre-Fan going over to Textpattern :-)

Offline

#2 2008-01-02 11:07:26

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: How to make Txp XHTML 1.0 strict?

You can use whatever you like in the pages (templates). What ships with a default TXP install is only an example to get you started. Just change your doc type to strict, its not a problem at all.

Offline

#3 2008-01-02 12:10:04

libre fan
Member
From: Cévennes, France
Registered: 2007-09-21
Posts: 10
Website

Re: How to make Txp XHTML 1.0 strict?

Thanks jstubbs, but I was wondering if there was some XHTML in the forms or in some PHP that I wouldn’t be aware of — I hardly know anything about PHP, Shame on me!


libre fan
Libres-Ailé(e)s (LUG: pour Linux et le monde du LIbre, Cévennes, France)
Libre-Fan going over to Textpattern :-)

Offline

#4 2008-01-02 12:19:26

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: How to make Txp XHTML 1.0 strict?

Not on the front side of TXP. What you out in the pages and forms is up to you. There is a table in the comments form, but apart from that, not much at all. TXP gives you the freedom to put in your templates what you want to put in.

Offline

#5 2008-01-02 12:26:25

libre fan
Member
From: Cévennes, France
Registered: 2007-09-21
Posts: 10
Website

Re: How to make Txp XHTML 1.0 strict?

okay, thank you jstubbs :-)

Actually I can see one element that stops Txp from going XHTML strict: the absence of <q>; textile quotation marks aren’t converted into the Q tag.

Of course we’re free to use the Q tag in writing our articles and I’m aware IE6 ignores this tag — I couldn’t care less.

Last edited by libre fan (2008-01-03 13:57:19)


libre fan
Libres-Ailé(e)s (LUG: pour Linux et le monde du LIbre, Cévennes, France)
Libre-Fan going over to Textpattern :-)

Offline

Board footer

Powered by FluxBB