Blogger Tips

How to Create an Automatic Source Link on Blogger

How to Create an Automatic Source Link on Blogger

Links or links on blogs are one source of increasing page views. By creating a link or link on a blog, in addition to increasing page views, it can also add to the SEO value of the blog itself.

How to Create an Automatic Source Link on Blogger

Internal links and internal links are usually added to a blog post. Technically it is easy to provide links to blogs, we just keep on sticking to the post, but not necessarily the link will be live alias if clicked will point to our site or another blog. Well, many often overlook this, especially for those who often take posts on our blog using auto post on blogger via rss feeds and do not include a link from where it came from.


Well, on this occasion I got how to make automatic source links on Blogger

How to Create an Automatic Source Link on Blogger

1. Open a Blogger account > Click the Theme menu > Click the Edit HTML button .

2. Then find the code </body> then paste the code below right above it.

Automatic Source Link Code in Blogger Version 1

<script type='text/javascript'>
//<![CDATA[

// Copy Text

function nocopas(){var e=window.getSelection();pagelink=" Read more : "+document.location.href,copytext=e+pagelink,newdiv=document.createElement("div"),newdiv.style.position="absolute",newdiv.style.left="-99999px",document.body.appendChild(newdiv),newdiv.innerHTML=copytext,e.selectAllChildren(newdiv),window.setTimeout(function(){document.body.removeChild(newdiv)},100)}document.addEventListener("copy",nocopas);

//]]>

</script>

Automatic Source Link Code in Blogger Version 2

<script type='text/javascript'>
//<![CDATA[
!function(e,t){var n="getSelection",o="removeAllRanges",i="addRange",l="parentNode",a="firstChild",d="appendChild",r="removeChild",s="test",c="innerHTML";if(e[n]){var p,g,f,h,u,y;t.addEventListener("copy",function(C){for(g=C.target;3===g.nodeType;)g=g[l];if(h=t.createElement("div"),(p=e[n]())&&p.rangeCount&&(p=p.getRangeAt(0))&&(f=p.cloneRange(),p=p.cloneContents())){for(;u=p[a];)h[d](u);if(!/^(pre|code)$/i[s](g.nodeName||"")&&!/(^|s)no-attribution(s|$)/i[s](g.className||"")){var v=e.location.href;h[c]+="<br>
<br>&copy; "+t.title+'<br>Source: <a href="'+v+'">'+v+"</a>"}y=t.createRange(),t.body[d](h),y.selectNodeContents(h),p=e[n](),p[o](),p[i](y),setTimeout(function(){h[l][r](h),p[o](),p[i](f)})}},!1)}}(window,document);
//]]>
</script>

3. Finally, click the Save theme button .

Thus, every article of your blog is pop-up, so that the link of your blog article will be visible.

Thus How to Create an Automatic Source Link on Blogger , hopefully with this tutorial makes the appreciate the writing made by bloggers by including the source link.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close