jquery+bootstrap实现网站地图sitemap.xml文件url地址解析下载生成excel文件代码

代码语言:html

所属分类:其他

代码描述:jquery+bootstrap实现网站地图sitemap.xml文件url地址解析下载生成excel文件代码

代码标签: jquery bootstrap 网站地图 sitemap xml 文件 ur l地址 解析 下载

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <style>
        body{background-color:#f3f3f3!important;}
        #results{font-size:10px;}
        caption{display:block;width:100%;}
        caption button {
            font-size: 12px;
            padding: 6px 20px;
            background-color: #17a2b8;
            border-color: transparent;
            margin: 5px 5px 0 5px;
            color: #fff;
        cursor:pointer;
        }
    </style>
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.4.3.1.min.css">



</head>

<body>
    <div class="container mt-3 mb-5">

    </div>
    <div class="container bg-white shadow-sm mt-4 py-4 px-3">
        <h1 class="h6 text-center">XML Sitemap to URL Extractor</h1>
        <p class="text-center">Instantly extract all URLs from a XML Sitemap
            <form class="xp" id="xp">
                <div class="form-group">
                    <textarea class="form-control" placeholder="" name="xml" id="xml" rows="8"></textarea>
                </div>
                <div class="text-center">
                    <button class="btn btn-primary btn-sm px-4 py-1 text-uppercase font-weight-bold">Extract</button>
                    <button type="button" class="btn btn-danger btn-sm px-4 py-1 text-uppercase font-weight-bold" id="reset">Reset</button>
                    <span class="response"></span>

                </div>
                <div class="table-responsive mt-4" id="export-url">
                    <table class="table table-hover table-sm small">
                        <thead>
                            <tr>
                                <th width="100">S.No.</th>
                                <th>URL</th>
                            </tr>
                        </thead>
                        <tbody id="results"></tbody>
                    </table>
                </div>
            </form>

            <hr class='my-4' />
            <h6>Sample: sitemap.xml </h6>
            <pre class="code">&lt;?xml version="1.0" encoding="UT.........完整代码请登录后点击上方下载按钮下载查看

网友评论0