forked from varia/multifeeder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
2.5 KiB
57 lines
2.5 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Multifeeder</title>
|
|
<link rel="stylesheet" type="text/css" href="/css/stylesheet.css">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
</head>
|
|
<body>
|
|
<h1 id="title">
|
|
<img src="/img/multifeeder.svg">
|
|
</h1>
|
|
<div class="add">(<a href="https://git.vvvvvvaria.org/varia/multifeeder/src/branch/master/feeds.txt" target="_blank">Add a feed</a>)</div>
|
|
<section id="api">
|
|
<h1>Aggregated Publishing Interface (API)</h1>
|
|
<p>This is the Multifeeder API :---), an Aggregated Publishing Interface supporting any kinds of publishing experiments. Currently the API is used to feed <a href="https://televex.vvvvvvaria.org">Varia's TeleVex</a>.</p>
|
|
<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)
|
|
<br><br>
|
|
Format: <a href="/API/latest/5?format=json" target="_blank">JSON</a> (default), <a href="/API/latest/5?format=md" target="_blank">Markdown</a>
|
|
</div>
|
|
<div class="accesspoint">
|
|
<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)
|
|
<br><br>
|
|
Format: <a href="/API/today" target="_blank">JSON</a> (default), <a href="/API/today?format=md" target="_blank">Markdown</a>
|
|
</div>
|
|
<div class="accesspoint">
|
|
<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)
|
|
<br><br>
|
|
Format: <a href="/API/past/30?format=json" target="_blank">JSON</a> (default), <a href="/API/past/30?format=md" target="_blank">Markdown</a>
|
|
</div>
|
|
</section>
|
|
<section id="feeds">
|
|
<h1>Currently feeding</h1>
|
|
<p>The following feeds are rendered in the Multifeeder. The feeds in this list include streams of projects and activities in and around Varia. The API is updated every 10 minutes.</p>
|
|
{% for x, feed in db['feeds'].items() %}
|
|
<div class="feed el{{ x }}">
|
|
<div class="title">{{ feed.title }}</div>
|
|
<div class="description">{{ feed.description }}</div>
|
|
<div class="rss"><a href="{{ feed.rss }}" target="_blank">{{ feed.rss }}</a></div>
|
|
</div>
|
|
{% endfor %}
|
|
</section>
|
|
<footer>
|
|
<div>Multifeeding RSS streams into a point of access.</div>
|
|
<a href="https://git.vvvvvvaria.org/varia/multifeeder" target="_blank">https://git.vvvvvvaria.org/varia/multifeeder</a></footer>
|
|
</body>
|
|
</html>
|