Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: phw_DTD
does this skip the xml declaration:
<?xml version=“1.0” encoding=“UTF-8”?>
because it stuffs up IE if I want to use margin: auto; (and I already have a checking method for that)…
BE + MEngSc = engineer with a side dish of frustrated designer/developer with a penchant for photography outside
Offline
Re: phw_DTD
> jufemaiz wrote:
does this skip the xml declaration:
< ?xml version="1.0" encoding="UTF-8"? >
As far as IE goes, yes.
Compare on my site (sig) what the plugin outputs for Firefox/Opera and for other browsers.
[edit] davidm, glad you like it.
Last edited by phiw13 (2005-05-15 08:33:14)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: phw_DTD
Plugin finally updated to work with the Texpattern 4.0 interface. Yes I’m slow. Refreshed the code a bit, and expanded the help file.
Download.
Or go the download section, and fetch it from there, sometimes the direct link doesn’t seem to work.
For the fool, the brave and …
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: phw_DTD
As of revision 1021, and if you use phw_DTD in your error_default
page, you should probably comment out line 1290 in textpattern/lib/txplib_misc.php
, which is also sending a HTTP Content header.
VC3 :: weblog :: my wishlist
Offline
Re: phw_DTD
> Etz Haim wrote:
As of revision 1021, and if you use phw_DTD in your
error_default
page, you should probably comment out line 1290in textpattern/lib/txplib_misc.php
, which is also sending a HTTP Content header.
Thanks for checking that out. I’m still at rev 1018. Morning coffee has priority over svn update
. :-)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: phw_DTD
I am using it in 4.0.4 and it seems to be working just fine. Thanks for this plugin. Had to comment out two instances of header(“Content-type:text/html; charset=utf-8”);
though in publish.php.
Offline
Re: phw_DTD
There is a bug in this plugin, it’s quite obvious. It outputs a faulty DOCTYPE for XHTML 1.0 Strict: <!DOCTYPE html PUBLIC \"-//W3C//W3C//DTD XHTML 1.0 Strict//EN\"
(the //W3C-part is doubled).
Strange thing is nobody ever noticed it before and it’s two years old. Well, it probably has no more than 4 users :) Which is a pity, because it allows serving XHTML the way it should be served: as application/xhtml+xml
, without excluding IE-users.
Offline
#20 2007-02-18 16:25:43
- Finkregh
- New Member
- Registered: 2007-02-18
- Posts: 3
Re: phw_DTD
the given archive is corrupt .
Last edited by Finkregh (2007-02-18 16:26:49)
Offline
Re: phw_DTD
Is there a way to do this without hacking core files?
Offline
Re: phw_DTD
johnstephens wrote:
Is there a way to do this without hacking core files?
No, the text/html header is sent in ./index.php. If you comment it out, you can send it directly in your page template. You may want to stick with HTML or non-strict XHTML though.
Offline