worklog

March 5, 2007

ok, patched…

Filed under: work solutions — Tom @ 5:24 pm

I am no longer the victim of mind dribbling porn purveyors, I have patched my wordpress to the latest…

At least it was only bad for a couple of weeks.

September 1, 2006

Fixing broken wordpress

Filed under: work solutions, open source, software development — Tom @ 11:49 am

Sometimes good things are broken…

Had to fix the contents of template-functions-post.php, when iterating through pages it was outputting an extra <li tag. wrapped around an <ul> some stuff </ul> without a parent <ul element. This was in the function wp_list_pages call.

That was the only fault of wordpress. The template however… wow, it was kind of broken. I didn’t notice until I noticed that I had two of the cat backgrounds showing up and couldn’t figure out why - turned out to be multiple div closings when there weren’t divs and then the misuse of the id attribute - naming multiple things for the same id. Moral of the story? 1) Validate your pages, 2) Understand looping - it seems that sometimes people don’t know when or where to stop

August 23, 2006

IE 7 yippedy do

Filed under: work solutions, web development — Tom @ 12:09 pm

Via webstandards the details on IE7’s fixes to microsoft’s implementation of CSS are out at the IE blog. Of particular interest to me is this: ”

<?xml> prolog no longer causes quirks mode

Cool, does not having it cause quirks mode for IE7? Because right now, since IE6 is idiotically implemented such that an <?xml> prolog does cause quirks mode, help.unc.edu strips the prolog to make sure that IE6 goes into standards mode - quirks mode causes wierd border issues and spacing. I’m glad that now I’ll have to sniff browsers once again…

August 3, 2006

depending on other people’s stuff

Filed under: work solutions — Tom @ 3:13 pm

Today help.unc.edu had some problems. Some of the documents were causing Cocoon to spin out into space and never return. The cause? Well, the DOCTYPE declaration on the top of some of the xhtml fragments that we pre-publish. The W3 site was down (www.w3.org) and Cocoon was trying to get the XHTML transitional dtd from that site.