Variables Blogger URL, Iframe and Script - Part II

Continuing the subject of today we will see direct application variables in URL, so that it carries variable functions.
Applying for URLs



As an example let's use the iframe that generates the share button from Facebook:

<iframe allowTransparency='true' frameborder='0' scrolling='no' src='http://www.facebook.com/plugins/like.php?href="http://technolsoft.blogspot.com/2014/02/variables-blogger-url-iframe-and-script.html"&layout=button_count&show_faces=false&width=110&action=like&colorscheme=light &height=20'></iframe> 

First step is to identify the variables, see that here is the link of the post. Now we put the expr: before the src attribute to the Blogger identifies the variables present in URL.Vale also remember that all quotes must be common, ie, one can not be the dublas. Now isolaremos all the above variables with quotes dublas see:

<iframe allowtransparency = 'true' frameborder = '0 'scrolling =' nee 'expr:src='"http://www.facebook.com/plugins/like.php?href="http://technolsoft.blogspot.com/2014/02/variables-blogger-url-iframe-and-script.html"&layout=button_count&show_faces=false&width=110&action=like&colorscheme=light & height = 20 "'> </ iframe>
Now we replace the words in red by Blogger variable, add one more note that character of unity, see:

<iframe allowTransparency='true' frameborder='0' scrolling='no' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=button_count&show_faces=false&width=110&action=like&colorscheme=light &height=20"'></iframe> 
See the most character (+), uni what is before with what is after. Also remember to add a space before and after the character.
Suiting Characters inconsistent with Blogger

Blogger is incompatible with some characters, most of these can be converted to a format that is most suitable look at the example of the "&" character in the above give error due to this symbol code, so after being converted he was so "& , "is there to replace all" & "for this, see:

<iframe allowtransparency = 'true' frameborder = '0 'scrolling =' nee 'expr: src =' "http://www.facebook.com/plugins/like.php?href =" + data: post.url + "&amp;layout=button_count&amp;show_faces=false&amp;width=110&amp;action=like&amp;colorscheme=light&amp;height=20"'></iframe>
Ready now just add to Blogger!