New schedule and program for IcohTec site
Posted by mholmes on 12 May 2008 in Activity log
DZ sent a program, along with a revised schedule, for inclusion on the site, in the form of a WP document. Previously I've hand-coded the schedule, but that takes hours, so this time I tried a different approach:
- Export to XHTML from OpenOffice.
- Add header code from our site, hard-coded, inserted around the stylesheet created by OO.
- Add the PHP include for the menu (there's a gotcha here: the header inclusion is not well-formed, since its main div is closed in the menu inclusion).
- Edit and tweak till things look right.
This worked pretty well. Had to do a lot of tweaking for IE7, which seems to ignore ! important
declarations, and had to remove a lot of unnecessary tags and styles, but it's quicker than starting from scratch.