More Blogspirit Problems (Almost Got Gravatars Working)

is… interesting. I believe it is one of the best blogging platforms available for beginning bloggers. But problems keep popping up. And I’m not just talking about the shoddy HTML editor which makes it a nightmare to produce even ugly pages. Or Younghusband’s problem with the nonfunctional “subscribe to thread” option. Or the fact I can’t trackback to my own blog anymore. I’m talking about how some features are intentionally broken.

For instance, I almost got gravatars (little pictures that go along with user email addresses) working.

Blogspirit works with templates. Using one stadandard smarty elements — the email address of the commentator — and standard client-side javascript, I should have been able to create gravatars with this code

<script src=”http://pajhome.org.uk/crypt/md5/md5.js” type=”text/javascript”></script>
<script type=”text/javascript”>
 {literal}
 hash = hex_md5({$comment.email}); document.write(“<img src=”http://www.gravatar.com/avatar.php?gravatar_id=” + hash + “” />”);
 {/literal}
 </script>

Instead — nothing.   Every part of that code works except getting the commentator’s email address (in the “permalink” template).  Blogspirit intentionally broke my ability to see the email addresses of the users on the display page, even though I didn’t need to display the email addresses publicly in any way and I can see the email addresses in blogspirit’s administration interface anyway.

Brilliant, blogspirit. Just brilliant.

PS: WHILE WRITING THIS POST blogspirit ate the “include code” that I used to give an example of the problem!!!