-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (70 loc) · 3.34 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
{% autoescape true %}
<html>
<head><title>Atom/RSS to h-feed</title>
<meta charset="utf-8">
<meta name="mobile-web-app-capable" content="yes" />
<link href="styles/hfeed.css" media="all" rel="stylesheet" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="static/fragmention.js"></script>
</head>
<body>
<h2>A tool to turn feeds into h-feeds</h2>
<form action="/feed" method="get">
<div><input name="feed" type="url"></input></div>
<div><input type="submit" value="Unmung feed"></div>
<div><input name="raw" type="checkbox" label="show raw"><label>show raw</label></div>
</form>
<h2>A tool to turn any webpage into mf2 json</h2>
<form action="/mf2" method="get">
<div>url:<input name="url" type="url"></input></div>
<div><textarea name="html" rows="6" cols="80" >{{ rawhtml }}</textarea></div>
<div><input type="submit" value="parse for microformats"></div>
<div><input name="pretty" type="checkbox" label="pretty print" checked="on"><label>pretty print</label></div>
<div><pre><code>{{mfjson}}</code></pre></div>
</form>
<h2>A tool to autolink and embed urls into html</h2>
<form action="/autolink" method="get">
<div><textarea name="rawtext" rows="6" cols="80" >{{ rawtext }}</textarea></div>
<div><input type="submit" value="autolink"></div>
<div><input name="embed" type="checkbox" label="pretty print" checked="on"><label>embed images etc</label></div>
<div><input name="maxurllength" type="number" label="max url length" ></div>
{% autoescape false %}<div>{{ linkedhtml }}</div> {% endautoescape %}
<div><textarea name="linkedhtml" rows="6" cols="80" >{{ linkedhtml }}</textarea></div>
</form>
<h2>A tool to show indiecards</h2>
<form action="/indiecard" method="get">
<div><input name="url" type="url"></input></div>
<div><input type="submit" value="show indiecard"></div>
</form>
<h2>A tool to show storycards</h2>
<form action="/storycard" method="get">
<div><input name="url" type="url"></input></div>
<div><input type="submit" value="show storycards"></div>
</form>
<h2>A tool to show json as html</h2>
<form action="/jsontoxoxo" method="get">
<div><input name="url" type="url"></input></div>
<div><input type="submit" value="to html"></div>
</form>
<h2>A tool to extract json from html lists</h2>
<form action="/xoxotojson" method="get">
<div><input name="url" type="url"></input></div>
<div><input name="pretty" type="checkbox" label="pretty print" checked="on"><label>pretty print</label></div>
<div><input type="submit" value="to json"></div>
</form>
<h2>A tool to make jf2 from mf2</h2>
<form action="/mf2tojs2" method="get">
<div><input name="url" type="url"></input></div>
<div><input name="pretty" type="checkbox" label="pretty print" checked="on"><label>pretty print</label></div>
<div><input type="submit" value="to jf2"></div>
</form>
<h2>mastodon preview</h2>
<form action="/mastoview" method="get">
<div><input name="url" type="text"></input></div>
<div><input name="local" type="checkbox" label="local" checked="on"><label>local only</label></div>
<div><input type="submit" value="preview"></div>
</form>
</body>
</html>
{% endautoescape %}