Validate your Blog!

How to make your blogger.com blog validate.

Saturday, November 13, 2004

 

2. Show Email Post links

Problem:
Show Email Post links lets you display an icon for mailing blog posts to other people. The code doesn't validate, because there is a & in the url, but should be & instead.

Solution:
First of all deactivate the feature in the blog settings. Even deactivate it if you still want to use it, and use the following code:

<span class="item-action">
<a href="
http://www.blogger.com/email-post.g?blogID=XX&amp;postID=YY
" title="Email Post"><span class="email-post-icon">&nbsp;</span></a></span>


Exchange the blogID number with your blog's ID (can be found in the browser's adressbar when editing your blog, for example http://www.blogger.com/app/post.pyra?blogID=9139428). Replace the postID number with <$BlogItemNumber$>.
Copy that code, and paste it into your blog template, right before the tag <$BlogItemControl$>.

2 Comments:
Yes!.. I have been trying to correct numerous errors within my blog template and some other errors. I found out, the template Iw as using or blogger's informations didn't match. Your "show Email Post Links" help me correct the pesky error from validating.

http://wwofw.blogspot.com
 
This comment has been removed because it linked to malicious content. Learn more.
 
Post a comment

<< Home

Archives

November 2004   January 2005   July 2005   Current Posts

This page is powered by Blogger. Isn't yours?   Creative Commons License   Valid XHTML 1.0!   [Valid Atom]
This work is licensed under a Creative Commons License.