We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a493dad commit 44c609eCopy full SHA for 44c609e
index.html
@@ -0,0 +1,23 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+
4
+<head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Computable Artifact Metadata</title>
8
+</head>
9
10
+<body>
11
+ <script>
12
+ fetch('metadata.json')
13
+ .then(response => response.json())
14
+ .then(async (metadata) => {
15
+ const metadataString = encodeURIComponent(JSON.stringify(metadata));
16
+ const currentPageIRI = encodeURIComponent(window.location.href);
17
+ window.location.href = `https://kgrid.org/python-sdk/kgrid_sdk/KOInfoPage.html?data=${metadataString}&base=${currentPageIRI}`;
18
+ })
19
+ .catch(error => console.error('Error fetching metadata:', error));
20
+ </script>
21
+</body>
22
23
+</html>
0 commit comments