new Facebook Like button for Blogger

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-04-21T20:54:10Z Indexed on 2010/04/22 1:33 UTC
Read the original article Hit count: 341

Filed under:
|
|
|
|

I want to add the new facebook like button to my blogger website. http://developers.facebook.com/docs/reference/plugins/like

I have to pass the url to the blog posts in the iframe src tag. I can get the blogger posts url from <data:post.url/> but I can't put that in a src string because Bloggers template system is weird.

I want to do this:<iframe allowTransparency='true' frameborder='0' scrolling='no' src='http://www.facebook.com/plugins/like.php?href=<data:post.url/>&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;colorscheme=light' style='border:none; overflow:hidden; width:450px; height:px'/>but blogger complains: "Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The value of attribute "src" associated with an element type "null" must not contain the '<' character." Anybody have this working yet?

© Stack Overflow or respective owner

Related posts about blogger

Related posts about blogspot