Friday, 7 July 2017

How to Create your HTML Parser

When it comes to working on blogger, you must know how to use a simple HTML Parser to parse your Ad code. For Example, when advertising with AdSense on your blog on blogger you will need to take some certain steps in orde to make your Ad code work effectively on your blog.
Creating an HTML parser of your own can really be useful especially for Tech blogger who want to convert their Ad code to be able to display Ads on blogger.



Steps On How To Create Your HTML Parser
Firstly, You will need to create a new page for the HTML Parser.
You will head over to your blogger dashboard and create a new page and name it HTML Parser.

Then you will have to copy the following line of code into your blog page, simply switch to HTML on the left top of your blog page and paste the following code inside it;


<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: center;">
<center>

<script src="https://pastebin.com/raw/yUTQH4zL"/></script>

<center>
<table border="0" cellpadding="0" cellspacing="0" style="width: 500px;"><tbody>
<tr>  <td valign="top" width="500"><textarea cols="70" id="somewhere" rows="13" style="background: none repeat scroll 0% 0% rgb(250, 250, 250); border: 2px solid rgb (204, 204, 204);"></textarea>
<left><input onclick="convert();" type="button" value="Encode" /></left></td>  </tr>
</tbody></table>
</center>
</center>
</div>
</form>
<div style='clear: both;'></div>
</div>
<div class='post-footer'>
<div class='post-footer-line post-footer-line-1'><span class='post-timestamp'>

Save your page and view your blog.
You will notice a box and an Encode button. After you paste your code on the box, Click on encode and it will parse your HTML code for you.

No comments:

Post a Comment