Christopher Warren on Ruby on Rails, Programming, Photography, and Life
{ 2007 03 18 }
Just did some clean up of the blog - I ran it through XHTML validation, and there was a big mess, mostly from a few of the recent posts. WordPress, for whatever reason, was inserting double paragraph tags on all the posts. After a while I found an explanation saying to change a line in the main template. That fixed the immediate problem, and then I went through old posts, cleaning up some goofy syntax that probably came from copying my posts and notes out of DevonThink and pasting them straight in here.
A fantastic tool in the process was TextMate; just copy the post and paste it in, select everything, and choose Text ->Indent Selection. Voila! Everything gets shifted around and properly formatted, assuming you’re been consistent with where you break your lines. If not, this is a great chance to clean house a bit. I managed to catch a couple unclosed tags that would have been otherwise overlooked with this method as well. If the final tag on the page was tabbed in at all, I knew I’d missed something and went back to find it.
There are still some CSS issues with the site, but this is a template I picked up and I’m hoping to make my own up before long. I’m still messing around with the microformats, but haven’t figured out what’s causing the hiccups just yet.
You must be logged in to post a comment.
Christopher Warren is a Ruby on Rails developer from Minneapolis, MN.
Post a Comment
You must be logged in to post a comment.