2021-02-16 23:26:03 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>multifeeder</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/stylesheet.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
2021-02-17 21:21:23 +01:00
|
|
|
<h1 id="title">
|
|
|
|
<img src="/img/multifeeder.svg">
|
|
|
|
</h1>
|
|
|
|
<div align="center">(<a href="https://git.vvvvvvaria.org/varia/multifeeder/src/branch/master/feeds.txt" target="_blank">Add a feed</a>)</div>
|
|
|
|
<div align="center">Currently feeding:</div>
|
|
|
|
<br>
|
|
|
|
<br>
|
2021-02-16 23:26:03 +01:00
|
|
|
<table>
|
|
|
|
<tbody>
|
2021-02-17 21:21:23 +01:00
|
|
|
{% for x, feed in db['feeds'].items() %}
|
2021-02-16 23:26:03 +01:00
|
|
|
<tr>
|
2021-02-17 21:21:23 +01:00
|
|
|
<td class="title">{{ feed.title }}</td>
|
|
|
|
<td class="link"><a href="{{ feed.link }}" target="_blank">{{ feed.link }}</a></td>
|
|
|
|
<td class="description">{{ feed.description }}</td>
|
2021-02-16 23:26:03 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2021-02-17 21:21:23 +01:00
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
2021-02-16 23:26:03 +01:00
|
|
|
<section id="api">
|
2021-02-17 21:21:23 +01:00
|
|
|
<div class="accesspoint">
|
|
|
|
<h2>/API/latest/[num]</h2>
|
|
|
|
For example: <a href="/API/latest/5" target="_blank">https://multi.vvvvvvaria.org/API/latest/5</a>
|
|
|
|
<br>
|
|
|
|
(for the latest 5 posts in all feeds)
|
2021-02-16 23:26:03 +01:00
|
|
|
<br><br>
|
2021-02-17 21:21:23 +01:00
|
|
|
Format: JSON
|
|
|
|
</div>
|
2021-02-16 23:26:03 +01:00
|
|
|
<div class="accesspoint">
|
2021-02-17 21:21:23 +01:00
|
|
|
<h2>/API/today/</h2>
|
|
|
|
For example: <a href="/API/today/" target="_blank">https://multi.vvvvvvaria.org/API/today/</a>
|
|
|
|
<br>
|
|
|
|
(for the posts published today)
|
2021-02-16 23:26:03 +01:00
|
|
|
<br><br>
|
2021-02-17 21:21:23 +01:00
|
|
|
Format: JSON
|
2021-02-16 23:26:03 +01:00
|
|
|
</div>
|
|
|
|
<div class="accesspoint">
|
2021-02-17 21:21:23 +01:00
|
|
|
<h2>/API/past/[days]</h2>
|
|
|
|
For example: <a href="/API/past/30" target="_blank">https://multi.vvvvvvaria.org/API/past/30</a>
|
|
|
|
<br>
|
|
|
|
(for all the posts published in the last 30 days)
|
2021-02-16 23:26:03 +01:00
|
|
|
<br><br>
|
2021-02-17 21:21:23 +01:00
|
|
|
Format: JSON
|
2021-02-16 23:26:03 +01:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</html>
|