*** Tối ưu Offpage SEO nền tảng thành công SEO 2022 !
HOT **** Hướng dẫn tốt nhất về SEO Onpage 2022 !
Chú ý: Không chèn Link vô nghĩa trong bài viết !
Các thành viên bị lỗi đăng ký không gửi email vui lòng liên hệ Facebook: Lee Nam để được trợ giúp

Chia sẻ code sitemap cho blogspot cực đẹp

Thảo luận trong 'SEO Blog' bắt đầu bởi NND, 30 Tháng bảy 2015.

  1. NND

    NND Thành viên chính thức

    Tham gia ngày:
    24 Tháng mười hai 2014
    Bài viết:
    167
    Đã được thích:
    41
    Hôm qua mò mẫm mấy trang trên mạng kiếm được một cái sitemap cho blogspot khá ưng ý. Muốn chia sẻ đây cho anh em.

    Các bạn có thể xem Demo tại: http://decaldankinhgiare.blogspot.com/

    Sau đây em xin được gửi cho các bác code của em nó:

    Bước 1: Tạo một trang mới bằng cách vào bảng điều khiển Blogger -> Trang (Pages) → Trang mới (New Page) → Soạn thảo ở chế độ HTML
    Bước 2: Dán code dưới đây vào nội dung trang
    Mã:
    <link rel="stylesheet" href="http://dte-project.googlecode.com/svn/trunk/tabbed-toc-skin.css" type="text/css" media="screen" />
    <div id="tabbed-toc"><span class="loading">Loading...</span></div>
    <script type="text/javascript">
    var tabbedTOC = {
        blogUrl: "http://decaldankinhgiare.blogspot.com/", // Blog URL
        containerId: "tabbed-toc", // Container ID
        activeTab: 1, // The default active tab index (default: the first tab)
        showDates: false, // `true` to show the post date
        showSummaries: false, // `true` to show the posts summaries
        numChars: 200, // Number of summary chars
        showThumbnails: false, // `true` to show the posts thumbnails (Not recommended)
        thumbSize: 40, // Thumbnail size
        noThumb: "http://3.bp.blogspot.com/-vpCFysMEZys/UOEhSGjkfnI/AAAAAAAAFwY/h1wuA5kfEhg/s72-c/grey.png", // A "no thumbnail" URL
        monthNames: [ // Array of month names
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December"
        ],
        newTabLink: true, // Open link in new window?
        maxResults: 99999, // Maximum post results
        preload: 0, // Load the feed after 0 seconds (option => time in milliseconds || "onload")
        sortAlphabetically: true, // `false` to sort posts by published date
        showNew: 7, // `false` to hide the "New!" mark in most recent posts, or define how many recent posts are to be marked
        newText: " - <em style='color:red;'>New!</em>" // HTML for the "New!" text
    };
    </script>
    <script type="text/javascript" src="http://dte-project.googlecode.com/svn/trunk/tabbed-toc.js"></script>
    
    
    Thay URL bằng URL Blog của các bác nhé
    Bước 3: Lưu mẫu lại và xem kết quả

    Chúc cả các bác thành công
    #1

Chia sẻ trang này