Tuesday, September 12, 2017

How To Add Together Google Url Shortner To Brand Brusque Url

How To install brand Google URL Shortner for articles  In Blogger Template How To Add Google URL Shortner To Make Short URL
Hello Folks, Today inwards this article nosotros are going to explicate How to add together Google Url Shortner Api inwards blogger template.You mightiness bring noticed on social media sites or also inwards thence many websites they are providing short urls instead of original url.There is no harm inwards sharing your articles/content amongst the google brusk url.And it's provided past times google thence you lot tin trust blindly on the plugin.After installing you lot tin part your urls from your blogspot website or weblog instead of leaving as well as going to google shortner service which is officially provided past times google. You tin search on google url shortner  and you lot tin run into google is providing shortner api for urls.When you lot share your urls amongst google url shortner tool from your website your url volition starting fourth dimension amongst goo.gl.you tin part url on facebook , twitter, google addition etc.Google Shortner is real onetime service thence in that place is no harm volition live on occur amongst urls.And this line a fast i on is totally defer/async thence it volition non number your webpage loading speed.In company to larn google url shortner for your contents/article follow the steps mentioned below.

How to Install Google URL shortner API plugin inwards blogger template

Installation Steps:
Step 1. Log inwards to your Blogger trouble concern human relationship as well as Go to your Blogger Dashboard.
Step 2. Now Click on -> Template -> Edit HTML.
Step 3. Now Search for ]]></b:skin> or </style> past times Pressing Ctrl+F keys or CMD+F.
Step 4. Now Copy the below CSS code as well as glue it simply above/before </style> or ]]></b:skin>.
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<style type='text/css'>
.bsdshorturl{font-size:100%;font-weight:bold;color:#666!important}
.bsdshorturl a.url{text-decoration:none!important;color:#666!important;display:inline-block;margin:0 0 0 5px;border-radius:3px;background:#fefefe;border:1px corporation #666;box-shadow:0 1px 0 rgba(0,0,0,.08);text-shadow:none;line-height:23px;padding:1px 8px 0 5px;transition:all 400ms ease-in-out}
.loadingbsd-shorturl{display:none}
.bsdshorturl a.url:hover{color:#555;background:#fefefe;border:1px corporation #999}
.bsdshorturl a.url:active{box-shadow:inset 0 1px 0 rgba(0,0,0,.16)}
.clear{clear:both}
</style>
</b:if>
Step 5. Now search for <data:post.body/> as well as re-create the below HTML code as well as glue it simply after/below <data:post.body/> tag. [points to think you lot volition find <data:post.body/> iii times but you lot quest to halt at mo i if non move as well as thence become for 3rd one.]
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<span class='bsdshorturl'>
Share amongst brusk Link: <a class='url' expr:onclick='&quot;shortenUrl(this, &amp;#39;&quot; + data:post.url + &quot;&amp;#39;, &amp;#39;googl&amp;#39;);return false;&quot;' href='javascript:void(0)' title='Get brusk URL'>Get Short URL</a></span><span class='loadingbsd-shorturl'><img alt='loading brusk url' src='data:image/gif;base64,R0lGODlhEAALAPQAAP///wAAANra2tDQ0Orq6gYGBgAAAC4uLoKCgmBgYLq6uiIiIkpKSoqKimRkZL6+viYmJgQEBE5OTubm5tjY2PT09Dg4ONzc3PLy8ra2tqCgoMrKyu7u7gAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCwAAACwAAAAAEAALAAAFLSAgjmRpnqSgCuLKAq5AEIM4zDVw03ve27ifDgfkEYe04kDIDC5zrtYKRa2WQgAh+QQJCwAAACwAAAAAEAALAAAFJGBhGAVgnqhpHIeRvsDawqns0qeN5+y967tYLyicBYE7EYkYAgAh+QQJCwAAACwAAAAAEAALAAAFNiAgjothLOOIJAkiGgxjpGKiKMkbz7SN6zIawJcDwIK9W/HISxGBzdHTuBNOmcJVCyoUlk7CEAAh+QQJCwAAACwAAAAAEAALAAAFNSAgjqQIRRFUAo3jNGIkSdHqPI8Tz3V55zuaDacDyIQ+YrBH+hWPzJFzOQQaeavWi7oqnVIhACH5BAkLAAAALAAAAAAQAAsAAAUyICCOZGme1rJY5kRRk7hI0mJSVUXJtF3iOl7tltsBZsNfUegjAY3I5sgFY55KqdX1GgIAIfkECQsAAAAsAAAAABAACwAABTcgII5kaZ4kcV2EqLJipmnZhWGXaOOitm2aXQ4g7P2Ct2ER4AMul00kj5g0Al8tADY2y6C+4FIIACH5BAkLAAAALAAAAAAQAAsAAAUvICCOZGme5ERRk6iy7qpyHCVStA3gNa/7txxwlwv2isSacYUc+l4tADQGQ1mvpBAAIfkECQsAAAAsAAAAABAACwAABS8gII5kaZ7kRFGTqLLuqnIcJVK0DeA1r/u3HHCXC/aKxJpxhRz6Xi0ANAZDWa+kEAA7AAAAAAAAAAAA'/></span>
<div class='clear'/>
</b:if>
Step vi . Now Search for closing </body> tag as well as re-create the below coffee script as well as glue it simply above/before </body> tag.
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<script type='text/javascript'>
//<![CDATA[
// Shortner url past times www.bloggersstand.com
portion downloadJSAtOnload(){var e=document.createElement("script");e.src="https://cdn.rawgit.com/ishekharsingh/bloggersstand/master/shorturl.js",document.body.appendChild(e)}window.addEventListener?window.addEventListener("load",downloadJSAtOnload,!1):window.attachEvent?window.attachEvent("onload",downloadJSAtOnload):window.onload=downloadJSAtOnload;
//]]>
</script>
</b:if>
Step 7. Now Save your Template.Done !

No comments:

Post a Comment