Browse Source

from api to feeds

master
mb 3 years ago
parent
commit
9a0db58fb6
  1. 14
      templates/index.html

14
templates/index.html

@ -11,31 +11,31 @@
<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">
<section id="accesspoints">
<p>This is Multifeeder, a feed aggregator supporting different kinds of publishing experiments.</p>
<div class="accesspoint">
<h2>/feeds/latest/[num]</h2>
For example: <a href="/feeds/latest/5" target="_blank">https://multi.vvvvvvaria.org/API/latest/5</a>
For example: <a href="/feeds/latest/5" target="_blank">https://multi.vvvvvvaria.org/feeds/latest/5</a>
<br>
(for the latest 5 posts in all feeds)
<br><br>
Format: <a href="/feeds/latest/5?format=json" target="_blank">JSON</a> (default), <a href="/API/latest/5?format=md" target="_blank">Markdown</a>
Format: <a href="/feeds/latest/5?format=json" target="_blank">JSON</a> (default), <a href="/feeds/latest/5?format=md" target="_blank">Markdown</a>
</div>
<div class="accesspoint">
<h2>/feeds/today</h2>
For example: <a href="/feeds/today" target="_blank">https://multi.vvvvvvaria.org/API/today/</a>
For example: <a href="/feeds/today" target="_blank">https://multi.vvvvvvaria.org/feeds/today/</a>
<br>
(for the posts published today)
<br><br>
Format: <a href="/feeds/today" target="_blank">JSON</a> (default), <a href="/API/today?format=md" target="_blank">Markdown</a>
Format: <a href="/feeds/today" target="_blank">JSON</a> (default), <a href="/feeds/today?format=md" target="_blank">Markdown</a>
</div>
<div class="accesspoint">
<h2>/feeds/past/[days]</h2>
For example: <a href="/feeds/past/30" target="_blank">https://multi.vvvvvvaria.org/API/past/30</a>
For example: <a href="/feeds/past/30" target="_blank">https://multi.vvvvvvaria.org/feeds/past/30</a>
<br>
(for all the posts published in the last 30 days)
<br><br>
Format: <a href="/feeds/past/30?format=json" target="_blank">JSON</a> (default), <a href="/API/past/30?format=md" target="_blank">Markdown</a>
Format: <a href="/feeds/past/30?format=json" target="_blank">JSON</a> (default), <a href="/feeds/past/30?format=md" target="_blank">Markdown</a>
</div>
</section>
<section id="feeds">

Loading…
Cancel
Save