Tampilan dari Tool Parse HTML adalah sebagai berikut :
Berikut ini adalah source code nya.
<div dir="ltr" style="text-align: center;" trbidi="on">
<div class="style1">
<div style="text-align: center;">
<span style="font-family: arial, courier, monospace; font-size: large;">
<b><u><a href="http://tutorkacang.blogspot.sg/p/parse-html.html">Alat Parse HTML</a></u></b></span> </div>
<center> <b><span style="font-family: arial , courier , monospace;"> </span>
<div class="style1">
<span style="font-family: arial , courier , monospace;">Ketikkan / Paste Script Kode HTML kedalam Bidang Kotak dibawah ini</span>
<span style="font-family: arial , courier , monospace;">Kemudian klik tombol "
<span style="color: red;">Parse Kode HTML</span>"
<i> </i></span></div> </b></center>
<center> <b>
<div style="text-align: center; width: 100%;">
<div style="margin: 0 auto; padding: 0; width: 100%;">
<div id="mainDiv" style="padding: 2px 0;">
<textarea cols="21" id="somewhere" onfocus="code_check();" rows="10" style="font-size: 12px; height: 100%; width: 100%;"></textarea> <br />
<div style="margin: 0 auto; padding: 5px 0; width: 95%;">
<button onclick="convert();" style="margin-right: 5px;" type="button">Parse Kode HTML</button>
<button onclick="code_clear();" style="margin-left: 5px;" type="button">Clear</button> </div> </div> </div> </div>
<script> function code_check(){
var focuscheck=document.getElementById('tarea');
if(focuscheck.value.indexOf('Pastekan Disini Kode yang Akan Anda Pasang pada Postingan Blog')>0)focuscheck.value='';}
function code_clear(){
var wtarea=document.getElementById('somewhere');wtarea.value='';}
function convert(){
var ele1 = document.getElementById("somewhere");
var replaced;replaced = ele1.value;
replaced = replaced.replace(/&/ig, "&");
replaced = replaced.replace(/</ig, "<");
replaced = replaced.replace(/>/ig, ">");
replaced = replaced.replace(/"/ig, """);
replaced = replaced.replace(/±/ig, "±");
replaced = replaced.replace(/©/ig, "©");
replaced = replaced.replace(/®/ig, "®");
replaced = replaced.replace(/ya'll/ig, "ya'll");
ele1.value = replaced; ele1.focus();
ele1.select();}
</script> </b></center> </div> </div>
<div class="style1">
<div style="text-align: center;">
<span style="font-family: arial, courier, monospace; font-size: large;">
<b><u><a href="http://tutorkacang.blogspot.sg/p/parse-html.html">Alat Parse HTML</a></u></b></span> </div>
<center> <b><span style="font-family: arial , courier , monospace;"> </span>
<div class="style1">
<span style="font-family: arial , courier , monospace;">Ketikkan / Paste Script Kode HTML kedalam Bidang Kotak dibawah ini</span>
<span style="font-family: arial , courier , monospace;">Kemudian klik tombol "
<span style="color: red;">Parse Kode HTML</span>"
<i> </i></span></div> </b></center>
<center> <b>
<div style="text-align: center; width: 100%;">
<div style="margin: 0 auto; padding: 0; width: 100%;">
<div id="mainDiv" style="padding: 2px 0;">
<textarea cols="21" id="somewhere" onfocus="code_check();" rows="10" style="font-size: 12px; height: 100%; width: 100%;"></textarea> <br />
<div style="margin: 0 auto; padding: 5px 0; width: 95%;">
<button onclick="convert();" style="margin-right: 5px;" type="button">Parse Kode HTML</button>
<button onclick="code_clear();" style="margin-left: 5px;" type="button">Clear</button> </div> </div> </div> </div>
<script> function code_check(){
var focuscheck=document.getElementById('tarea');
if(focuscheck.value.indexOf('Pastekan Disini Kode yang Akan Anda Pasang pada Postingan Blog')>0)focuscheck.value='';}
function code_clear(){
var wtarea=document.getElementById('somewhere');wtarea.value='';}
function convert(){
var ele1 = document.getElementById("somewhere");
var replaced;replaced = ele1.value;
replaced = replaced.replace(/&/ig, "&");
replaced = replaced.replace(/</ig, "<");
replaced = replaced.replace(/>/ig, ">");
replaced = replaced.replace(/"/ig, """);
replaced = replaced.replace(/±/ig, "±");
replaced = replaced.replace(/©/ig, "©");
replaced = replaced.replace(/®/ig, "®");
replaced = replaced.replace(/ya'll/ig, "ya'll");
ele1.value = replaced; ele1.focus();
ele1.select();}
</script> </b></center> </div> </div>
Cara Pemasangan nya cukup sederhana. yang harus dilakukan adalah :
- Salin seluruh script yang ada diatas.
- Buat sebuah Page. kemudian Paste script ke HTML mode.
- Tool Parse HTML siap digunakan.
0 Response to "Memasang Tool Parse Kode HTML di Blog"
Post a Comment