Sitemap getter

Developer
Size
1,823 Kb
Views
12,144

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 Previews

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>');	}); }
});
Sitemap getter - Script Codes
Sitemap getter - Script Codes
Home Page Home
Developer Paul
Username paulq
Uploaded October 26, 2022
Rating 3
Size 1,823 Kb
Views 12,144
Do you need developer help for Sitemap getter?

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!

Paul (paulq) Script Codes
Create amazing art & images with AI!

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!