-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
51 lines (48 loc) · 1.79 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
<!doctype html>
<html lang="en">
<head>
<!-- IMPROV: Added character set and viewport meta tags for better compatibility -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Article Parser</title>
<!-- IMPROV: Added a more descriptive title attribute for accessibility -->
<link
id="theme"
rel="stylesheet"
href="https://unpkg.com/sakura.css/css/sakura.css"
/>
</head>
<body>
<script src="https://bookmarklet-theme.vercel.app/script.js"></script>
<h1>Article Parser</h1>
<!-- IMPROV: Added a short description for better SEO and accessibility -->
<p>
Article Parser is a tool to declutter articles. Made by
<a href="https://github.com/lucasew/">lucasew</a> using
<a href="https://github.com/go-shiori/go-readability"
>go-readability</a
>
and <a href="https://oxal.org/projects/sakura/">sakura.css</a>.
</p>
<!-- IMPROV: Improved form input placeholder for clarity -->
<form action="/api">
<label for="url">URL:</label>
<input
type="text"
name="url"
id="url"
value=""
placeholder="Enter article URL here..."
/>
<button type="submit">Declutter</button>
</form>
<!-- IMPROV: Improved bookmarklet text for clarity -->
<p>
Or use the
<a
href="javascript: (function(){window.open('https://articleparser.vercel.app/api?url=' + encodeURI(window.location.href), '_blank')})();"
>bookmarklet</a
>.
</p>
</body>
</html>