Fixes for Humanities site to make pages validate
Posted by mholmes on 19 Apr 2011 in Activity log
Preparing to write the new Events feed page requested by BLT, I first set about fixing a bunch of errors in the existing code:
- The RSS reader class (
includes/rssReaderManyDepts.php
) functionwriteOutTitle()
did not echo open<li>
and close</li>
tags around its content, although it is called in the context of a<ul>
tag. Added the appropriate tags, and also commented out<br/>
tags which were being used to space the content. - The RSS reader class (
includes/rssReaderManyDepts.php
) functionwriteOutEvent()
echoed out two<br/>
s and an<hr/>
after closing the<li>
tag; this obviously was invalid, so I've moved them inside the<li>
tag. <includes/rightColumn.inc>
had two elements with the same id attribute (rightCol_1
). I changed the second torightCol_1a
.<includes/rightColumn.inc>
had an unclosed<ul>
(inrightCol_2
). That's now closed.
Pages now validate, so I can move on to the new events output page.