Notification texts go here Contact Us Get It Now!
HOT🔥

    SIGNAL HTML SITEMAP

    SIGNAL HTML SITEMAP

    HTML sitemap တစ်ခုမရှိမဖြစ်လိုအပ်ပါသည်။ဘာ‌ကြောင့်လဲဆိုတော့မိမိ website ကိုလာရောက်လည်ပတ်သူတစ်ဦးသည်မိမိ website တစ်ခုလုံးရဲ့အ ကြောင်းအရာများကိုအလွယ်တကူရှာဖွေနိုင်သည်။ HTML sitemap သည် အမျိုးအစား စာမျက်နှာများ (သို့မဟုတ်) ပို့စ်များအားလုံးသို့ လင့်ခ်များပါရှိသော မိမိဝဘ်ဆိုက်ရှိ စာမျက်နှာတစ်ခုဖြစ်သည်။ အကယ်၍ ဧည့်သည်တစ်ဦးသည် မိမိဝဘ်ဆိုက်တွင် ၎င်းတို့ရှာဖွေနေသည့် စာမျက်နှာ (သို့မဟုတ်) ပို့စ်ကို ရှာမတွေ့ပါက ၎င်းတို့ကို ရှာဖွေရန် HTML sitemap ကို သင်အသုံးပြုနိုင်သည်။ ကောင်းသော HTML sitemap ဖြင့်နောက်ကျကျန်ခဲ့သော စာမျက်နှာများကို ရှာဖွေနိုင်သည်။လိုအပ်မယ်ဆိုရင်အောက်မှာပြထားသလိုပြုလုပ်လိုက်ရုံဖြင့် HTML sitemap တခုထည့်သွင်းထားနိုင်မှာဖြစ်ပါတယ်။


    1. မိမိ site ကို account အရင်ဝင်ပါ
    2. dashboard ထဲက Pages ကိုနှိပ်
    3. ➕ New Page (or) ➕ အိုင်ကွန်ကိုနှိပ်
    4. 🖍️ အိုင်ကွန်ကိုနှိပ်ပါ </> HTML view ကိုရွေးချယ်၍နှိပ်ပါ
    5. အောက်က Design 2 ခုထဲကကြိုက်နှစ်သက်တဲ့ Design code တွေကို copy ယူ၍ကူးထည့်

    1. Design (1)


    <style>
    #bp_toc {
        color: #757;
        margin:  auto;
        padding: ;
        border: 1px solid #6E1907;
        float: left;
        width: 100%;
    }
    span.toc-note {
        display: none;
    }
    #bp_toc tr:nth-child(2n) {
        background: #FBBF02;
    }
    td.toc-entry-col1 a {
        font-weight: bold;
        font-size: 14px;
    
    }
    .toc-header-col1,
    .toc-header-col2,
    .toc-header-col3  {
    background:#FA2A05;
    }
    .toc-header-col1 {
        padding: 10px;
        width: 250px;
      text-align: center;
    }
    .toc-header-col2 {
        padding: 10px;
        width: 75px;
    }
    .toc-header-col3 {
        padding: 10px;
        width: 125px;
    }
    .toc-header-col1 a:link,
    .toc-header-col1 a:visited,
    .toc-header-col2 a:link,
    .toc-header-col2 a:visited,
    .toc-header-col3 a:link,
    .toc-header-col3 a:visited {
        font-size: 13px;
        text-decoration: none;
        color: #F7F3F2;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    .toc-header-col1 a:hover,
    .toc-header-col2 a:hover,
    .toc-header-col3 a:hover {
        text-decoration: none;
    }
    .toc-entry-col1,
    .toc-entry-col2,
    .toc-entry-col3 {
        padding: 5px;
        padding-left: 5px;
        font-size: 12px;
    }
    .toc-entry-col1 a,
    .toc-entry-col2 a,
    .toc-entry-col3 a {
        color: #0E0807;
        font-size: 13px;
        text-decoration: none
    }
    .toc-entry-col1 a:hover,
    .toc-entry-col2 a:hover,
    .toc-entry-col3 a:hover {
        text-decoration:underline;
    
    }
    #bp_toc table {
        width: 100%;
        margin:  auto;
        counter-reset: rowNumber;
    }
    .toc-entry-col1 {
        counter-increment: rowNumber;
    }
    #bp_toc table tr td.toc-entry-col1:first-child::before {
        content: counter(rowNumber);
        min-width: 1em;
           min-height: 3em;
        float: left;
        border-right: 1px solid #fff;
        text-align: center;
        padding: 0px 11px 1px 6px;
        margin-right: 15px;
    }
    td.toc-entry-col2 {
        text-align: center;
    }
    </style>
    <div id="bp_toc">
    </div>
    
      <script type="text/javascript">
    
    
       var postTitle = new Array();     // array of posttitles
       var postUrl = new Array();       // array of posturls
       var postDate = new Array();      // array of post publish dates
       var postSum = new Array();       // array of post summaries
       var postLabels = new Array();    // array of post labels
    
    // global variables
       var sortBy = "datenewest";         // default value for sorting ToC
       var tocLoaded = false;           // true if feed is read and ToC can be displayed
       var numChars = 250;              // number of characters in post summary
       var postFilter = '';             // default filter value
       var tocdiv = document.getElementById("bp_toc"); //the toc container
       var totalEntires =0; //Entries grabbed till now
       var totalPosts =0; //Total number of posts in the blog.
    
    // main callback function
    
    function loadtoc(json) {
    
       function getPostData() {
       // this functions reads all postdata from the json-feed and stores it in arrays
          if ("entry" in json.feed) {
             var numEntries = json.feed.entry.length;
             totalEntires = totalEntires + numEntries;
             totalPosts=json.feed.openSearch$totalResults.$t
             if(totalPosts>totalEntires)
             {
             var nextjsoncall = document.createElement('script');
             nextjsoncall.type = 'text/javascript';
             startindex=totalEntires+1;
             nextjsoncall.setAttribute("src", "/feeds/posts/summary?start-index=" + startindex + "&max-results=500&alt=json-in-script&callback=loadtoc");
             tocdiv.appendChild(nextjsoncall);
             }
          // main loop gets all the entries from the feed
             for (var i = 0; i < numEntries; i++) {
             // get the entry from the feed
                var entry = json.feed.entry[i];
    
             // get the posttitle from the entry
                var posttitle = entry.title.$t;
    
             // get the post date from the entry
                var postdate = entry.published.$t.substring(0,10);
    
             // get the post url from the entry
                var posturl;
                for (var k = 0; k < entry.link.length; k++) {
                   if (entry.link[k].rel == 'alternate') {
                   posturl = entry.link[k].href;
                   break;
                   }
                }
    
             // get the post contents from the entry
             // strip all html-characters, and reduce it to a summary
                if ("content" in entry) {
                   var postcontent = entry.content.$t;}
                else
                   if ("summary" in entry) {
                      var postcontent = entry.summary.$t;}
                   else var postcontent = "";
             // strip off all html-tags
                var re = /<\S[^>]*>/g;
                postcontent = postcontent.replace(re, "");
             // reduce postcontent to numchar characters, and then cut it off at the last whole word
                if (postcontent.length > numChars) {
                   postcontent = postcontent.substring(0,numChars);
                   var quoteEnd = postcontent.lastIndexOf(" ");
                   postcontent = postcontent.substring(0,quoteEnd) + '...';
                }
    
             // get the post labels from the entry
                var pll = '';
                if ("category" in entry) {
                   for (var k = 0; k < entry.category.length; k++) {
                      pll += '<a href="javascript:filterPosts(\'' + entry.category[k].term + '\');" title="Click here to select all posts with label \'' + entry.category[k].term + '\'">' + entry.category[k].term + '</a>,  ';
                   }
                var l = pll.lastIndexOf(',');
                if (l != -1) { pll = pll.substring(0,l); }
                }
    
             // add the post data to the arrays
                postTitle.push(posttitle);
                postDate.push(postdate);
                postUrl.push(posturl);
                postSum.push(postcontent);
                postLabels.push(pll);
             }
          }
          if(totalEntires==totalPosts) {tocLoaded=true;showToc();}
       } // end of getPostData
    
    // start of showtoc function body
    // get the number of entries that are in the feed
    //   numEntries = json.feed.entry.length;
    
    // get the postdata from the feed
       getPostData();
    
    // sort the arrays
       sortPosts(sortBy);
       tocLoaded = true;
    }
    
    
    
    // filter and sort functions
    
    
    function filterPosts(filter) {
    // This function changes the filter
    // and displays the filtered list of posts
      // document.getElementById("bp_toc").scrollTop = document.getElementById("bp_toc").offsetTop;;
       postFilter = filter;
       displayToc(postFilter);
    } // end filterPosts
    
    function allPosts() {
    // This function resets the filter
    // and displays all posts
    
       postFilter = '';
       displayToc(postFilter);
    } // end allPosts
    
    function sortPosts(sortBy) {
    // This function is a simple bubble-sort routine
    // that sorts the posts
    
       function swapPosts(x,y) {
       // Swaps 2 ToC-entries by swapping all array-elements
          var temp = postTitle[x];
          postTitle[x] = postTitle[y];
          postTitle[y] = temp;
          var temp = postDate[x];
          postDate[x] = postDate[y];
          postDate[y] = temp;
          var temp = postUrl[x];
          postUrl[x] = postUrl[y];
          postUrl[y] = temp;
          var temp = postSum[x];
          postSum[x] = postSum[y];
          postSum[y] = temp;
          var temp = postLabels[x];
          postLabels[x] = postLabels[y];
          postLabels[y] = temp;
       } // end swapPosts
    
       for (var i=0; i < postTitle.length-1; i++) {
          for (var j=i+1; j<postTitle.length; j++) {
             if (sortBy == "titleasc") { if (postTitle[i] > postTitle[j]) { swapPosts(i,j); } }
             if (sortBy == "titledesc") { if (postTitle[i] < postTitle[j]) { swapPosts(i,j); } }
             if (sortBy == "dateoldest") { if (postDate[i] > postDate[j]) { swapPosts(i,j); } }
             if (sortBy == "datenewest") { if (postDate[i] < postDate[j]) { swapPosts(i,j); } }
          }
       }
    } // end sortPosts
    
    // displaying the toc
    
    function displayToc(filter) {
    // this function creates a three-column table and adds it to the screen
       var numDisplayed = 0;
       var tocTable = '';
       var tocHead1 = 'POST TITLE';
       var tocTool1 = 'Click to sort by title';
       var tocHead2 = 'POST DATE';
       var tocTool2 = 'Click to sort by date';
       var tocHead3 = 'LABELS';
       var tocTool3 = '';
       if (sortBy == "titleasc") {
          tocTool1 += ' (descending)';
          tocTool2 += ' (newest first)';
       }
       if (sortBy == "titledesc") {
          tocTool1 += ' (ascending)';
          tocTool2 += ' (newest first)';
       }
       if (sortBy == "dateoldest") {
          tocTool1 += ' (ascending)';
          tocTool2 += ' (newest first)';
       }
       if (sortBy == "datenewest") {
          tocTool1 += ' (ascending)';
          tocTool2 += ' (oldest first)';
       }
       if (postFilter != '') {
          tocTool3 = 'Click to show all posts';
       }
       tocTable += '<table>';
       tocTable += '<tr>';
       tocTable += '<td class="toc-header-col1">';
       tocTable += '<a href="javascript:toggleTitleSort();" title="' + tocTool1 + '">' + tocHead1 + '</a>';
       tocTable += '</td>';
       tocTable += '<td class="toc-header-col2">';
       tocTable += '<a href="javascript:toggleDateSort();" title="' + tocTool2 + '">' + tocHead2 + '</a>';
       tocTable += '</td>';
       tocTable += '<td class="toc-header-col3">';
       tocTable += '<a href="javascript:allPosts();" title="' + tocTool3 + '">' + tocHead3 + '</a>';
       tocTable += '</td>';
       tocTable += '</tr>';
       for (var i = 0; i < postTitle.length; i++) {
          if (filter == '') {
             tocTable += '<tr><td class="toc-entry-col1"><a href="' + postUrl[i] + '" title="' + postSum[i] + '">' + postTitle[i] + '</a></td><td class="toc-entry-col2">' + postDate[i] + '</td><td class="toc-entry-col3">' + postLabels[i] + '</td></tr>';
             numDisplayed++;
          } else {
              z = postLabels[i].lastIndexOf(filter);
              if ( z!= -1) {
                 tocTable += '<tr><td class="toc-entry-col1"><a href="' + postUrl[i] + '" title="' + postSum[i] + '">' + postTitle[i] + '</a></td><td class="toc-entry-col2">' + postDate[i] + '</td><td class="toc-entry-col3">' + postLabels[i] + '</td></tr>';
                 numDisplayed++;
              }
            }
       }
       tocTable += '</table>';
       if (numDisplayed == postTitle.length) {
          var tocNote = '<span class="toc-note">Displaying all ' + postTitle.length + ' posts<br/></span>'; }
       else {
          var tocNote = '<span class="toc-note">Displaying ' + numDisplayed + ' posts labeled \'';
          tocNote += postFilter + '\' of '+ postTitle.length + ' posts total<br/></span>';
       }
       tocdiv.innerHTML = tocNote + tocTable;
    } // end of displayToc
    
    function toggleTitleSort() {
       if (sortBy == "titleasc") { sortBy = "titledesc"; }
       else { sortBy = "titleasc"; }
       sortPosts(sortBy);
       displayToc(postFilter);
    } // end toggleTitleSort
    
    function toggleDateSort() {
       if (sortBy == "datenewest") { sortBy = "dateoldest"; }
       else { sortBy = "datenewest"; }
       sortPosts(sortBy);
       displayToc(postFilter);
    } // end toggleTitleSort
    
    
    function showToc() {
      if (tocLoaded) {
         displayToc(postFilter);
         var toclink = document.getElementById("toclink");
    
      }
      else { alert("Just wait... TOC is loading"); }
    }
    
    function hideToc() {
      var tocdiv = document.getElementById("toc");
      tocdiv.innerHTML = '';
      var toclink = document.getElementById("toclink");
      toclink.innerHTML = '<a href="#" onclick="scroll(0,0); showToc(); Effect.toggle('+"'toc-result','blind');"+'">» Show Table of Contents</a> <img src="http://chenkaie.blog.googlepages.com/new_1.gif"/>';
    }
    </script>
    <script src="/feeds/posts/summary?alt=json-in-script&amp;max-results=9999&amp;callback=loadtoc" type="text/javascript"></script>
    


    1. Design (2)



    1. Design(2)ကိုအသုံးပြုမယ်ဆိုရင် https://nkhinmaungwin.blogspot.com ဆိုတဲ့နေရာမိမိရဲ့ website လိပ်စာပြောင်းထည့်ပေးပါ

    <div class="postSection sitemaps" id="sitemaps">
      <div class="loading">Sitemap is Loading....</div>
    </div>
    
    <script>/*<![CDATA[*/
    /* Blogger Sitemap provided by Techyleaf: change i.src="..." with your url */
    var toc_config = {containerId:'sitemaps', showNew:0, sortAlphabetically:{thePanel:true, theList:true}, activePanel:1, slideSpeed:{down:400, up:400}, slideEasing:{down: null, up: null}, slideCallback:{down:function(){}, up:function(){}}, clickCallback:function(){}, jsonCallback:'sitemaps',delayLoading: 0};
    window.onload = function(){
    !function(e,o){var t=o.getElementById(toc_config.containerId),c=o.getElementsByTagName("head")[0],n=[];e[toc_config.jsonCallback]=function(e){for(var o,c,i=e.feed.entry,a=e.feed.category,l="",s=0,d=a.length;d>s;++s)n.push(a[s].term);for(var r=0,f=i.length;f>r;++r)(toc_config.showNew||toc_config.showNew>0)&&r<toc_config.showNew+1&&(i[r].title.$t+=" %new%");i=toc_config.sortAlphabetically.theList?i.sort(function(e,o){return e.title.$t.localeCompare(o.title.$t)}):i,toc_config.sortAlphabetically.thePanel&&n.sort();for(var g=0,h=n.length;h>g;++g){l+='<div class=\"sitemapBox\"><h4 class=\"sitemapTitle\">'+n[g]+'</h4>',l+='<div class=\"sitemapContent\"><ol>';for(var _=0,p=i.length;p>_;++_){o=i[_].title.$t;for(var w=0,u=i[_].link.length;u>w;++w)if("alternate"==i[_].link[w].rel){c=i[_].link[w].href;break}for(var v=0,m=i[_].category.length;m>v;++v)n[g]==i[_].category[v].term&&(l+='<li><a href=\"'+c+'\" title=\"'+o.replace(/ \%new\%$/,"")+'\">'+o.replace(/ \%new\%$/,"")+'</a></li>')}l+='</ol></div></div>'}t.innerHTML=l }; var i=o.createElement("script");i.src="https://nkhinmaungwin.blogspot.com/feeds/posts/summary?alt=json-in-script&max-results=9999&callback="+toc_config.jsonCallback,"onload"==toc_config.delayLoading?e.onload=function(){c.appendChild(i)}:e.setTimeout(function(){c.appendChild(i)},toc_config.delayLoading)}(window,document);
    }
    /*]]>*/</script>
    <style>
    .sitemaps{font-size:14px}
    .sitemapBox{padding:15px;border:0px solid black;border-radius:5px; box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;}
    .sitemapBox:not(:last-child){margin-bottom:20px}
    .postEntry .sitemapTitle{margin-top:0; font-size:14px;font-weight:400;font-family:var(--body-font)}
    .sitemapTitle:before{content:'Label: '; font-size:90%;opacity:.8}
    .sitemaps ol{list-style:none;margin:0;padding:0;counter-reset:sitemap-count}
    .sitemaps li{display:flex;align-items:baseline}
    .sitemaps li:not(:last-child){margin-bottom:0}
    .sitemaps li:before{content:counter(sitemap-count) '.';counter-increment:sitemap-count;flex-shrink:0;width:25px;font-size:13px;font-family:var(--font-body);line-height:normal; opacity:.7}
    
    .darkMode .sitemapBox{border-color:rgba(255,255,255,.1)}
    </style>
    

    إرسال تعليق

    Oops!
    It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
    AdBlock Detected!
    We have detected that you are using adblocking plugin in your browser.
    The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.