html-version
Version:
parse and modify html versions according to the html version spec
31 lines (30 loc) • 1.5 kB
HTML
<html>
<head>
<meta name="version" content="1.2.0">
<link rel="signature" href="https://example.com/versions/1.2.0.html.sig"
integrity="ed25519-XIuQBrc84d+KHryxLJ4b/d0JwTV2FtnTDVuiSjRvwsA=">
<link rel="version" href="https://example.com/versions/1.0.0.html"
version="1.0.0" integrity="sha256-mPjSxFzbBSy+LyCVyylIf5E/7zswbvsL4D/qxCAqrjY">
<link rel="version" version="1.0.0"
href="magnet:?xt=urn:btih:4822271aa656ba6913a14edb117d3c4dc50f1209">
<link rel="version" href="https://example.com/versions/1.0.1.html"
version="1.0.1" integrity="sha256-Qra3bKdpoprvRqkTF96gWOa0dPkA8MHYxOJqVsvkzIY=">
<link rel="version" version="1.0.1"
href="magnet:?xt=urn:btih:d0320ebba035cc86526baae771da14912895e113">
<link rel="version" version="1.0.1"
href="ipfs:QmNcojAWDNwf1RZsPsG2ABvK4FVs7yq4iwSrKaMdPwV3Sh">
<link rel="version" href="https://example.com/versions/1.1.0.html"
version="1.1.0" integrity="sha256-9VGwnCJuLbwo/N+TL1Ia9whqP8kVwEO8K0IFTUQk19o=">
<link rel="version" version="1.1.0"
href="ipfs:QmWMey8Dd1ZH9XWRP3d7N1oSoL35uou1GSMpBwt4UahFSD">
<link rel="latest-version" href="https://example.com/versions/latest.html">
<link rel="latest-version"
href="magnet:?xt=urn:btih:4a533d47ec9c7d95b1ad75f576cffc641853b750">
<link rel="latest-version"
href="ipns:QmWJ9zRgvEvdzBPm1pshDqqFKqMXRJoHDQ4nuocHYS2REk">
<link rel="predecessor-version" version="1.1.0">
</head>
<body>
wow
</body>
</html>