;
;

Friday, February 19, 2010

Help request re comments widget

I got a lovely email from the equally lovely Kowalski of Here Be Dragons (formerly Turner & Kowalski, and a blog which i keep forgetting to add to my blogroll, so before i forget i'll do so now) the other day, informing me of a better "recent comments" sidebar widget than the default Blogger "feed" option, which gives a link to the post that each recent comment was on, rather than simply to the comment itself: the code for the widget is here, and an example of a blog which uses it is this one.

However, when i pasted the code into my blog's HTML, replacing the code for the existing "most recent comments" feed (and, as per the instructions, replacing "YourOwnB1og.blogspot.com" with "biodiverseresistance,blogspot.com"), and attempted to preview the changes, i get the following error message:

Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute "{1}" associated with an element type "style".


I'm not sure why this is happening, as when i saved the code as a .txt file and then opened it with Firefox, it showed exactly what it was supposed to, with the actual most recent comments on my blog. So, does anyone know what i'm doing wrong here?

1 comments:

Kowalski said...

Ooh, thank you! :o)

The thing I can't figure out is what exactly you did to get that message, did you insert the code into the template's style sheet, or into a gadget (an html page element)?