web/www/feeds/atom/index.php

40 lines
1.9 KiB
PHP

<?= Template::Header(['title' => 'Atom 1.0 Ebook Feeds', 'description' => 'A list of available Atom 1.0 feeds of Standard Ebooks ebooks.']) ?>
<main>
<section class="narrow">
<h1>Atom 1.0 Ebook Feeds</h1>
<p>Atom feeds can be read by one of the many <a href="https://en.wikipedia.org/wiki/Comparison_of_feed_aggregators">RSS clients</a> available for download, like <a href="https://www.thunderbird.net/en-US/">Thunderbird</a>. They contain more information than regular <a href="/feeds/rss">RSS feeds</a>. Most RSS clients can read both Atom and RSS feeds.</p>
<p>Note that some RSS readers may show these feeds ordered by when an ebook was last updated, even though the feeds are ordered by when an ebook was first released. You should be able to change the sort order in your RSS reader.</p>
<?= Template::FeedHowTo() ?>
<section id="general-feeds">
<h2>General Atom feeds</h2>
<ul class="feed">
<li>
<p><a href="/feeds/atom/new-releases">New releases</a> (Public)</p>
<p class="url"><?= SITE_URL ?>/feeds/atom/new-releases</p>
<p>The fifteen latest Standard Ebooks, most-recently-released first.</p>
</li>
<li>
<p><a href="/feeds/atom/all">All ebooks</a></p>
<p class="url">
<? if(isset(Session::$User->Email)){ ?>https://<?= rawurlencode(Session::$User->Email) ?>@<?= SITE_DOMAIN ?><? }else{ ?><?= SITE_URL ?><? } ?>/feeds/atom/all</p>
<p>All Standard Ebooks, most-recently-released first.</p>
</li>
</ul>
</section>
<section id="feeds-by-topic">
<h2>Atom feeds by topic</h2>
<ul class="feed">
<li>
<p><a href="/feeds/atom/authors">Feeds by author</a></p>
</li>
<li>
<p><a href="/feeds/atom/collections">Feeds by collection</a></p>
</li>
<li>
<p><a href="/feeds/atom/subjects">Feeds by subject</a></p>
</li>
</ul>
</section>
</section>
</main>
<?= Template::Footer() ?>