When monkeys write code…
Today I had my first experience with a blogspot theme. A pretty violent experience. The whole thing is a combination of html + xhtml + css + dark matter + space dust. I was able to forget about colouring the code, about beatufying it and all that and ended up modifying it. A normal line of code looks like this:
<b:section class="main" id="main" showaddelement="no"><b:widget id="Blog1" locked="true" title="Blog Posts" type="Blog"></b:widget></b:section>
And it looked like in the image.
Then comes the CSS. The CSS gave me a bit of a headache because the monkey coder used crappy names. Usually when declaring classes/IDs you should name them in such a way, that if someone else wants to edit, they won’t have to use a debugger to see what you wanted to mean by #footer-wrapper, #footer1, #footer_all!! You should also avoid declaring the same ID in two different places with two different types of properties. Just saying!
But if you want to mindfuck the people that will want to edit your theme, then this is a good way to do it.
And to end it all well, it is pretty hard to actually delete… a sidebar, let’s say. That’s because you have something like the above code, but it’s also linked to some other stuff in the theme, so if you delete only a part of the code, the whole thing breaks and you can’t even preview the changes or save the theme.
So, at the end of the day, you don’t really know what to recommend to a friend who wants a blog. Especially if you think of it this way. It all comes down to how much of a perfectionist you are.
P.S.: I know I don’t write code like a guru, but today I gained more confidence in myself!
?