Link otomatis ini sangat berguna sekali bagi blogger yang kadang lupa menempatkan sebuah link pada text artikel.
- Pertama login ke dashboard blogspot kamu
- Pilih Rancangan»»Edit HTML
- Kemudian cari kode </head> dan tempatkan script berikut diatas kode </head>
- Scriptnya:
<script type=’text/javascript’>
//<![CDATA[ function doHighlight(bodyText, searchTerm,link) { var newText = ""; var i = -1; var lcSearchTerm = searchTerm.toLowerCase(); var lcBodyText = bodyText.toLowerCase(); while (bodyText.length > 0) { i = lcBodyText.indexOf(lcSearchTerm, i+1); if (i < 0) { newText += bodyText; bodyText = ""; } else { if (bodyText.lastIndexOf(">", i) >= bodyText.lastIndexOf(">", i)) { if (lcBodyText.lastIndexOf("/script>", i) >= lcBodyText.lastIndexOf("<script", i)) { newText += bodyText.substring(0, i) + ’<a href="’+link+’">’+ bodyText.substr(i, searchTerm.length) + ’</a>’; bodyText = bodyText.substr(i + searchTerm.length); lcBodyText = bodyText.toLowerCase(); i = -1; } } } } return newText; } function highlightSearchTerms(searchText, treatAsPhrase,link,divid) { if (treatAsPhrase) { searchArray = [searchText]; } else { searchArray = searchText.split(" "); } div=document.getElementById(divid); var bodyText = div.innerHTML; for (var i = 0; i < searchArray.length; i++) { bodyText = doHighlight(bodyText, searchArray[i], link); } div.innerHTML = bodyText; return true; } //]]></script> - Cari dan ganti kode <data:post.body/> dengan kode di bawah ini.
CATETAN: jika kamu memakai readmore maka pilih dan ganti yang ke-2.
<p><div expr:id=’"summary" + data:post.id’>
<data:post.body/></div>
<script type=’text/javascript’>
highlightSearchTerms(’anchor text keywords’,true,’http://link-artikel.com/disini.html’,’summary<data:post.id/>’);
highlightSearchTerms(’anchor link keywords2’,true,’http://link-artikel.com/disini.html’,’summary<data:post.id/>’);
</script></p> - untuk menambahkan keywords yang akan di targetkan tambahkan kode berikut
highlightSearchTerms(’anchor tex keywords’,true,’http://link-artikel.com’,’summary<data:post.id/>’);
sumber : http://www.blogtegal.com/2011/04/membuat-link-otomatis-pada-blog.html
12 komentar:
Rooster Jobs is for Job Seekers to search for USA Job, Jobs USA, USA jobs and Recruiters
for searching the potential Job Seekers and Applicants.
contact us at:
www.roosterjobs.com
Download Jav
ABG Bugil
Download Jav
Download Jav
Best Porn
SEX STORIES
Download Jav
FREE PORN
FREE SEX
Download Jav
ABG Bugil
Download Jav
Download Jav
Best Porn
SEX STORIES
Download Jav
FREE PORN
FREE SEX
Download Jav
ABG Bugil
Download Jav
Download Jav
Best Porn
SEX STORIES
Download Jav
FREE PORN
FREE SEX
Download Jav
ABG Bugil
Download Jav
Download Jav
Best Porn
SEX STORIES
Download Jav
FREE PORN
FREE SEX
Terima kasih informasinya ya , akan saya bagikan keteman saya
my website : Agen Ibcbet
Aw, this was a really nice post. In idea I would like to put in writing like this additionally – taking time and actual effort to make a very good article… but what can I say… I procrastinate alot and by no means seem to get something done.
Aficonsultingsrl.com
Dwa.gov.za
Thepearlcolumbus.com
Hello!,I Really Like Your Writing Very A Lot! Share We Communicate Extra Approximately Your Post On AOL? I Need An Expert On This Space To Solve My Problem. May Be That's You! Having A Look Ahead To See You.
agen bola terpercaya
Youre so cool! I dont suppose Ive read anything like this before. So nice to find somebody with some original thoughts on this subject. realy thank you for starting this up. this website is something that is needed on the web, someone with a little originality. useful job for bringing something new to the internet!
Click Here
Chowhound.com
Can I just say what a relief to find someone who actually knows what theyre talking about on the internet. You definitely know how to bring an issue to light and make it important. More people need to read this and understand this side of the story. I cant believe youre not more popular because you definitely have the gift.
Click Here
Producthunt.com
Aw, this was a really nice post. In idea I would like to put in writing like this additionally – taking time and actual effort to make a very good article… but what can I say… I procrastinate alot and by no means seem to get something done.
Wanelo.co
Information
This really answered my problem, thank you!
Saigon-ict.edu.vn
Information
Click Here
Visit Web
I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.
Devpost.com
Information
Click Here
Visit Web
I’m impressed, I must say. Really rarely do I encounter a blog that’s both educative and entertaining, and let me tell you, you have hit the nail on the head. Your idea is outstanding; the issue is something that not enough people are speaking intelligently about. I am very happy that I stumbled across this in my search for something relating to this.
Stonly.com
Information
Click Here
Visit Web
Posting Komentar