[geeklog-devel] GL selectable between HTML and XHTML

Yoshinori Tahara taharaxp at gmail.com
Tue Nov 20 10:58:05 EST 2007


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



More information about the geeklog-devel mailing list