Blogger has done it again. They’ve released another round of “fixes” that ended up causing us more trouble than good. Within the last week or so, Blogger released at least one noticeable change to their xml parser. How do I know this? Because several readers started complaining about our templates not working so I decided to put on my detective hat and figure it out.
The Blogger xml parser (the engine that compiles and validates the xml code), is now a little more strict. In the past, you could stuff “div” tags within the “head” section and the parser wouldn’t throw any errors. No longer is that the case. Here’s the nice error message that I’m sure many of you are scratching your heads about. “Your template is invalid because the tag ‘div’ appears inside of the tag ‘head’.”
If you’ve downloaded these templates in the past from eBlog Templates and are now getting this error message, you’ll either want to download and reinstall the template again or move the following function out of the “head” section and into the “body” section.
var da = d.split(' ');
day = "<div class='day'>"+da.replace(/,/,"")+"</div>"; // 12
month = "<div class='month'>"+da.slice(0,3)+"</div>"; // December
Of course, backup your template before making any changes just in case you need to revert back. After you resave, everything should work again. If not, leave a comment below and we’ll try to help.
Let’s keep our fingers crossed that Blogger makes a better announcement each time they release a so-called “fix”. Either that or they do a better job testing!
Ready to super charge your blog? Check out our professional premium blogger templates or make money by joining our blog affiliate program!
If you like this post then please consider subscribing to our eBlog Templates RSS feed. You can also subscribe by email and have new templates and articles sent directly to your inbox.
I use the Aspire template but it seem does not work well on me. I cannot see the date.. What should I do to fix this problem?
Heng Kang Yong, You need to change the date format in your blogger settings => formatting tab. Once you adjust it based on the Aspire instructions, it will work properly.
Hi, this is a very informative post. Uhm, I have problem with “moving the script” to body, from head. Because I found it already in the “body” but I still have the same error. What should I do? 🙁
Wow, you are absolutely amazing. Thank You so much, mine just worked. I was almost getting desperate, muah (hugs)
“Let’s keep our fingers crossed that Blogger makes a better announcement each time they release a so-called “fix”. Either that or they do a better job testing!”
You’re kidding aren’t you, that’s precisely why I went to TypePad. The Blogger crew are as close to “change it and hope for the best” programmers as you’ll find in professional IT development.
Willowtree, yeah their support is slow and people cry for help all the time. Some bloggers think it’s the template they are using and complain to the designer when in fact, it’s a general problem with Blogger. I hope you’re happy with Moveable Type. Are you using their new Vox product or just the regular TypePad blog?
with the aspire template and the new intense debate comment section installed, I find that it says
this…This entry was posted at Monday, June 23, 2008 and is filed under…
This entry was posted at (supposed to be time here??) ( and on date supposed to be here) Monday, June 23, 2008 and is filed under…blah blah …
however when I change the blogger settings to the correct format it screws the top left thing which is supposed to have the date in it?
when I try to fix it in the actual layout widgets, the same thing happens to the top left, however it reads right??
Can you advise:?:
any help would be greatly appreciated. This template has just been installed in the last 10 days.
I am using the Ads Theme, if I am using Draft Blogger I cannot creat new post it does not work when I press publish or save draft.
If i revert back to Normal Blogger dashboard, I can create new post as normal. Any take?
hey..i wanna ask whether i can have my old template back again after i revert it?and i didnt copy a backup for my previous template..=(..help me A.S.A.P
I tried uploading the ‘aspire’ and keep getting a message about something not being parsed and about closing html with> Also, wass advised to contact blogger with this code bX-9khcxc
All I want to do is to load back aspire!!
My Aspire template does not show the date properly.
i tried to solve the problem in many ways, but im not familiar with coding.
is there a way to fix this problem? or a way to erase the yellow box where the date should appear?
i have problem for Blogger Bx-Codes :S
can you help me for it ?
my url :
hello guys here have posts for childrens, please visit and comments for war! and say no to war! Savaş and for more Unicef Turkey
I use the aspire theme and I am having trouble with the date of the post function. If you go to my blog you can see that it says undefined. What do I have to do? Thanks