MastodonTootFollower/templates/index.html

57 lines
1.9 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>My Website</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<!-- https://developer.mozilla.org/en-US/docs/Glossary/Favicon -->
<link rel="icon" href="{{ url_for('static', filename='favicon.png') }}" type="image/x-icon">
</head>
<body>
<main>
2022-12-14 19:10:28 +01:00
<h1>MastodonTootFollower</h1>
<p>
2022-12-14 18:07:22 +01:00
In the following you can generate a link to follow a conversation on Mastodon.
</p>
<p>
2022-12-14 20:01:04 +01:00
You can either follow a conversation with a feed reader (RSS) of your choice
2022-12-14 18:07:22 +01:00
or view new replies and edits each time you open the link in your webbrowser (HTML page or JSON file).
</p>
<p>
To get started, fill in the URL of the Toot that has started the conversation
and click one of the three buttons. Then open your generated link (either with a feed reader or in your webbrowser).
</p>
<p>
The random seed is used to store your reading position.
</p>
<p>
<label for="input1">URL of Toot: </label>
<input name="html_url" type="url" maxlength="256" id="input1"/>
</p>
<p>
2022-12-14 18:07:22 +01:00
<label for="input2">Seed: </label>
<input name="html_url" type="text" value="{{ seed }}" maxlength="256" id="input2"/>
</p>
<ul>
<li>
2022-12-14 20:01:04 +01:00
<button onclick="rss_button()">RSS feed</button>
</li>
<li>
2022-12-14 18:07:22 +01:00
<button onclick="json_button()">News as JSON file</button>
</li>
<li>
2022-12-14 18:07:22 +01:00
<button onclick="html_button()">News as HTML page</button>
</li>
</ul>
2022-12-14 18:07:22 +01:00
<p>Generated link: <a href="https://localhost:443" id="href1"></a></p>
2022-12-14 19:10:28 +01:00
<p></p>
2022-12-14 20:11:19 +01:00
<p><a href="https://codeberg.org/privacy1st/MastodonTootFollower">Source Code</a> of this project. If you encounter any errors, please report them there.</p>
</main>
<script src="{{ url_for('static', filename='index.js') }}"></script>
</body>
</html>