[geeklog-devel] GL selectable between HTML and XHTML
Mark R. Evans
mevans at ecsnet.com
Wed Nov 21 00:10:54 EST 2007
Dengen,
Great work! I did a CVS checkout just a few minutes ago, applied your
patch, changed the Doctype to XHTML Transitional and now I have a test site
that validates 100% XHTML. The patch applied without error and took all of
2 minutes to get all this setup.
This certainly addresses the only real concerned voiced about moving to
XHTML, it is now fully configurable and there is a patch to the current (as
of Nov 20, 2007 @ 11:05pm CST) CVS tree. A simple edit of functions.php and
header.thtml and back to HTML 4.01 Strict.
I'm sure this took a very significant amount of time and effort and I
certainly appreciate all the hard work. I'm only hopeful that the core team
will act swiftly before this patch becomes outdated. Although CVS activity
has been very slow as of late, this effort should not be ignored and should
be acted on soon.
Please don't let Dengen's work go unanswered.
Thanks!
Mark
-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Yoshinori
Tahara
Sent: Tuesday, November 20, 2007 9:58 AM
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] GL selectable between HTML and XHTML
Dear core developers,
I used to post a version of Geeklog made XHTML in this mailing list.
http://eight.pairlist.net/pipermail/geeklog-devel/2007-September/002350.html
0In this version, I replaced all HTML-specific tags with XHTML-specific
tags, which is not compatible with the contents written in HTML.
Therefore, we have tried modifying our version based on the code in CVS
(207/11/18), referring to the following sample code found in CVS:
W:\path\to\Geeklog\public_html\lib-common.php
05998: $retval = "<img $attr_str alt=\"$alt\" " . XHTML . ">";
W:\path\to\Geeklog\public_html\layout\professional\functions.php
00010: if (!defined ('XHTML')) {
00011: define('XHTML',''); // change this to ' /' for XHTML
We have almost completed the task and in the finished version, you can
choose freely between HTML and XHTML.
Our current version is backward-compatible and will not bother those users
who respect their past articles written in HTML, and at the same time will
surely satisfy those who want to change to XHTML.
I've created the diff file to the latest code in CVS (207/11/18) and
uploaded to
http://www.trybase.com/~sun/files/Geeklog-1.x.patch.2007.11.18.tar.gz
I would greatly appreciate it if you would look at and consider adopting the
code.
Please visit our Trac site built for the task. Unfortunately, it is in
Japanese, but I'm sure you can at least browse the code without difficulty.
http://www.trybase.com/proj/geeklog_xhtml
--
Yoshinori Tahara - dengen
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://eight.pairlist.net/mailman/listinfo/geeklog-devel
More information about the geeklog-devel
mailing list