Just downloaded the software yesterday and had it running in no time -- it's great! Exactly what I was looking for
I was especially interested in the strict XHTML 1.0 option in the administration options. After enabling it, I tried out the W3C validator and ran into a few errors. I've fixed them on my site, and it appears to be perfectly valid now.
Here's what I changed, please let me know if they're decent fixes and could be incorporated into the code stream...
serendipity_genpage.inc.php
(add this at the very top -- otherwise they don't think we're xhtml)
Code: Select all
<?php if ($serendipity['XHTML11']) { ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php } else { ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<?php } ?>
Code: Select all
<meta name="Powered-By" content="Serendipity v.<?php echo $serendipity['version'] ?>"/>
(line 347 -- it was never printing the opening <tr> for each calendar week after the first one )
Code: Select all
// After the first row, we need to have the <tr> opener
if ($x >= 1)
echo '<tr class="serendipity_calendar">'
Code: Select all
<b><span style="white-space:nowrap"><a href="<?php echo $link; ?>"><?php echo $serendipity["months"][$month] . ' \'' . substr($year, 2); ?></a></span></b>
'onclick' instead of 'onClick'
Once again, great product and I'd really like to do anything I can to help make it better
Cheers
casper