2022-12-12 20:22:38 +01:00
|
|
|
<!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
|
|
|
|
2022-12-12 20:22:38 +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>
|
|
|
|
You can either follow a conversation with a feed reader (Atom/RSS) of your choice
|
|
|
|
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>
|
2022-12-12 20:22:38 +01:00
|
|
|
<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"/>
|
2022-12-12 20:22:38 +01:00
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2022-12-14 18:07:22 +01:00
|
|
|
<button onclick="rss_button()">Atom/RSS feed</button>
|
2022-12-12 20:22:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2022-12-14 18:07:22 +01:00
|
|
|
<button onclick="json_button()">News as JSON file</button>
|
2022-12-12 20:22:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2022-12-14 18:07:22 +01:00
|
|
|
<button onclick="html_button()">News as HTML page</button>
|
2022-12-12 20:22:38 +01:00
|
|
|
</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>
|
|
|
|
<p><a href="https://codeberg.org/privacy1st/MastodonTootFollower">Source Code</a> of this project.</p>
|
2022-12-12 20:22:38 +01:00
|
|
|
|
|
|
|
</main>
|
|
|
|
<script src="{{ url_for('static', filename='index.js') }}"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|