-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (80 loc) · 2 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>feed-pruning-proxy</title>
<style>
body {
margin: 2em;
}
code {
font-size: large;
}
li {
margin-bottom: 1em;
}
form {
margin-top: 4em;
max-width: 600px;
}
form input {
display: inline-block;
box-sizing: border-box;
}
form input[name="feed"] {
width: 100%;
}
form ul {
padding-inline: 0;
}
form li {
list-style: none;
margin-bottom: 0.5em;
}
</style>
</head>
<body>
<h1>feed-pruning-proxy</h1>
<a href="https://github.com/pokutuna/feed-pruning-proxy">https://github.com/pokutuna/feed-pruning-proxy</a>
<h3>Features</h3>
<ul>
<li>
<code>{{.origin}}/p?feed={url}</code><br />
remove body contents (e.g. description, summary, content)
</li>
<li>
<code>{{.origin}}/p?feed={url}&diet</code><br />
(diet mode) remove markups from body contents, keep texts
</li>
<li>
<code>{{.origin}}/p?feed={url}&org={org}&channel={channel}</code><br />
replace entry urls with redirector to log where the click came from
</li>
</ul>
<form method="POST" action="/">
<h3>URL Generator</h3>
<ul>
<li>
<label for="feed">feed url (rss, atom)</label><br />
<input type="url" name="feed" placeholder="https://example.com/feed" pattern="https?://.*" required id="feed" />
</li>
<li>
<label for="diet">diet mode</label>
<input type="checkbox" name="diet" id="diet" />
</li>
<li>
<fieldset>
<legend>open from</legend>
<label for="org">org</label>
<input type="text" name="org" id="org" placeholder="heisha" />
<label for="channel">channel</label>
<input type="text" name="channel" id="channel" placeholder="times_takuya-a" />
</fieldset>
</li>
<li>
<button type="submit">generate</button>
</li>
</ul>
</form>
</body>
</html>