Sitemap getter
How do I make an sitemap getter?
What is a sitemap getter? How do you make a sitemap getter? This script and codes were developed by Paul on 26 October 2022, Wednesday.
Sitemap getter - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>sitemap getter</title>
</head>
<body> <div id="wrap"> <form> Geben sie die den Pfad der Sitenmap ein<input class="input" type="text" value="http://www.volkswagen.de/sitemap.xml"> <a class="submit" href="#">submit</a> </form> <span>Die URL'S der Sitemap sind:</span> <ul id="site_list"> </ul> </div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Sitemap getter - Script Codes JS Codes
//http://www.volkswagen.de/sitemap.xml
var hold = [];
$(document).ready(function(){ $('.submit').on('click', function(){ var siteMapString = $('.input'); var string = siteMapString.val(); $.ajax({ type: "GET", url: string, dataType: "xml", success: parseXML, error: function(){ alert("error"); } }); }); function parseXML(xml){ $(xml).find("url").each(function (){ hold.push($(this).find("loc").text()); $("ul#site_list").append('<li>' + '<a href="'+ $(this).find("loc").text()+'">'+ $(this).find("loc").text() + '</a>' + '</li>'); }); }
});
Developer | Paul |
Username | paulq |
Uploaded | October 26, 2022 |
Rating | 3 |
Size | 1,823 Kb |
Views | 12,144 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Flexbox-Slider-Test | 1,666 Kb |
Callback function | 2,939 Kb |
A Pen by paul | 1,441 Kb |
Keyframes and Webkits with LESS | 2,630 Kb |
Dropdow | 2,466 Kb |
Canvas tutorial | 2,043 Kb |
Setter getter closure functions | 1,662 Kb |
Input tabcontainer | 4,390 Kb |
A Pen by paul | 2,390 Kb |
Parallax on scrollevent | 2,386 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
JS Countdown Timer | Ayoungh | 2,435 Kb |
WRENCH - STAFF | Lolita-adams | 1,608 Kb |
Glowing Pulse Form | Jackrugile | 2,542 Kb |
A Pen by Matt Popovich | Mpopv | 3,349 Kb |
Canvas Orbital Trails v2 | Jackrugile | 3,421 Kb |
Price | Catcode | 2,623 Kb |
Flat design iframe | Damienpm | 1,819 Kb |
HTML5 Breakout | Jaysalvat | 4,873 Kb |
TinFoil Boats | Chandralil | 4,577 Kb |
Under construction | GhostRider | 1,642 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!