Sitemap generator for Sharepoint
How do I make an sitemap generator for sharepoint?
What is a sitemap generator for sharepoint? How do you make a sitemap generator for sharepoint? This script and codes were developed by Gyula Szathmary on 21 October 2022, Friday.
Sitemap generator for Sharepoint - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sitemap generator for Sharepoint</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!--
1. Paste raw HTML from the Content Variation tool into section#rawHTML
2. The script will look through the raw HTML and select all the links
3. It removes duplicates, ".aspx" and "/Pages" from the code
-->
<!-- Paste Raw HTML into section -->
<div id="input"> <textarea id="htmlInput" placeholder="1. Copy the HTML content from 'Content Variation tool', 2. Paste it in here, 3. Press 'Get all URLs' button. When done, press reset to start again. "></textarea> <button onclick="parseHtml()">Get all URLs</button> <button onclick="resetAll()">Reset all</button>
</div>
<div id="hrefResult"></div>
<div class="clear"></div>
<section id="rawHTML"></section>
<!-- Results will be shown here, dont edit --> <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 generator for Sharepoint - Script Codes CSS Codes
* { -webkit-transition: all 300ms ease; transition: all 300ms ease;
}
p { margin: 0;
}
#hrefResult { position: absolute; top:10px; left: 490px; width: 600px; display: inline-block; background: #333; color: #fff; padding: 25px; min-height: 500px;
}
#rawHTML { display: none
}
#input { width: 450px; display: inline-block; padding-right: 15px; position: fixed; top: 10px; left: 20px;
}
#input textarea { min-height: 500px; width: 100%; height: 100%;
}
.clear { clear: both;
}
button { padding: 10px 45px;
}
Sitemap generator for Sharepoint - Script Codes JS Codes
function resetAll() { $("#htmlInput").val(''); $("#hrefResult").empty(); $("#rawHTML").empty();
}
function parseHtml() { var htmlInput = document.getElementById("htmlInput").value; $('#rawHTML').append(htmlInput); $('#rawHTML').find('a').each(function() { $('#hrefResult').append('<p>' + $(this).attr('href') + '</p>'); }); var str = document.getElementById("hrefResult").innerHTML; var p = new RegExp(/javascript:[\s\S]........................................................................................................................................................................................................................................................................................\)\)/g); var q = new RegExp(/javascript:[\s\S].....................................................................................................................................................................................................................................................................................\)\)/g); var r = new RegExp(/javascript:[\s\S]..................................................................................................................................................................................................................................................................................\)\)/g); var res = str.replace(/http/g, "http").replace(/Pages\//g, "").replace(/.aspx/g, "").replace(p, "").replace(q, "").replace(r, "")/*.replace(/\/default/g, "")*/; document.getElementById("hrefResult").innerHTML = res; var seen = {}; $('p').each(function() { var txt = $(this).text(); if (seen[txt]) $(this).remove(); else seen[txt] = true; });
}
Developer | Gyula Szathmary |
Username | gyusza |
Uploaded | October 21, 2022 |
Rating | 3 |
Size | 2,518 Kb |
Views | 14,168 |
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 |
A Pen by Gyula Szathmary | 5,177 Kb |
Pricing widget generator project | 4,409 Kb |
Webinar v5 Style | 9,282 Kb |
Navigate to coordinates from link in google maps | 1,805 Kb |
Slimscroll | 4,090 Kb |
Financial Glossary Converter | 2,663 Kb |
Modular LP Test | 8,437 Kb |
Replace text string jQuery | 1,793 Kb |
Monthly Product Update v2 | 5,799 Kb |
Landing page and HTML snippet translator | 4,380 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 |
Filter inputs | Rowinf | 1,721 Kb |
A Pen by Ben Babics | Benbabics | 2,957 Kb |
Spiralator 9000 | AdmiralPotato | 4,671 Kb |
Filtre ile Arama Kutusu - Search Box with Filter | AyhanALTINOK | 3,448 Kb |
Sequence.js - Sliding Horizontal Parallax | Maheshc | 4,537 Kb |
HEXAGON | Aurumlux | 1,684 Kb |
Portfolio Page | HuffmanJ25 | 5,240 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
Plotting Points with D3.js | Laurakelly | 31,996 Kb |
ASCII triangle image overlay | Mitchdot | 2,200 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!