added html

master
Michael Murtaugh 1 year ago
parent e80e6f61a3
commit 580ab0da9d

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>XPUB call</title>
<link rel="stylesheet" href="call.css" />
</head>
<body>
<p>Hello world!</p>
<script src="call.js"></script>
</body>
</html>

@ -0,0 +1,3 @@
fetch("terms.json")
.then(response => response.json())
.then(terms => console.log("terms", terms));

@ -14,6 +14,8 @@ f = urlopen("https://pad.xpub.nl/p/XPUB-promo-terms/export/txt")
terms = yaml.load(f)
with open("terms.yaml", "w") as f:
yaml.dump(terms, f)
with open("terms.json", "w") as f:
json.dump(terms, f, indent=2)
def make_pub():
actor = random.choice(terms['actor'])
@ -51,7 +53,7 @@ call = '''
|/__\|/__\|/__\|/__\|
Master of Arts in Fine Art and Design: Experimental Publishing
at the Piet Zwart Institute in Rotterdam (the Netherlands)
at the Piet Zwart Institute (Rotterdam, Netherlands
///

Loading…
Cancel
Save