forked from standardebooks/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<? | ||
require_once('Core.php'); | ||
|
||
?><?= Template::Header(['title' => 'Atom Ebook Feeds', 'description' => 'A list of available Atom 1.0 feeds of Standard Ebooks ebooks.']) ?> | ||
<main> | ||
<article> | ||
<h1>Atom 1.0 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 RSS feeds. 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> | ||
<ul class="feed"> | ||
<li> | ||
<p><a href="/atom/new-releases">New releases</a></p> | ||
<p class="url"><?= SITE_URL ?>/atom/new-releases</p> | ||
<p>The thirty latest Standard Ebooks, most-recently-released first.</p> | ||
</li> | ||
<li> | ||
<p><a href="/atom/all">All ebooks</a></p> | ||
<p class="url"><?= SITE_URL ?>/atom/all</p> | ||
<p>All Standard Ebooks, most-recently-released first.</p> | ||
</li> | ||
</ul> | ||
<section id="atom-ebooks-by-subject"> | ||
<h2>Ebooks by subject</h2> | ||
<ul class="feed"> | ||
<? foreach(SE_SUBJECTS as $subject){ ?> | ||
<li> | ||
<p><a href="/atom/subjects/<?= Formatter::MakeUrlSafe($subject) ?>"><?= Formatter::ToPlainText($subject) ?></a></p> | ||
<p><a href="/atom/subjects/<?= Formatter::MakeUrlSafe($subject) ?>"></a></p> | ||
<p class="url"><?= SITE_URL ?>/atom/subjects/<?= Formatter::MakeUrlSafe($subject) ?></p> | ||
</li> | ||
<? } ?> | ||
</ul> | ||
</section> | ||
</article> | ||
</main> | ||
<?= Template::Footer() ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<? | ||
require_once('Core.php'); | ||
|
||
?><?= Template::Header(['title' => 'RSS Ebook Feeds', 'description' => 'A list of available RSS 2.0 feeds of Standard Ebooks ebooks.']) ?> | ||
<main> | ||
<article> | ||
<h1>RSS 2.0 feeds</h1> | ||
<p>RSS feeds are an alternative to Atom feeds. They contain less information than Atom feeds, but might be better supported by some RSS readers.</p> | ||
<ul class="feed"> | ||
<li> | ||
<p><a href="/rss/new-releases">New releases</a></p> | ||
<p class="url"><?= SITE_URL ?>/rss/new-releases</p> | ||
<p>The thirty latest Standard Ebooks, most-recently-released first.</p> | ||
</li> | ||
<li> | ||
<p><a href="/rss/all">All ebooks</a></p> | ||
<p class="url"><?= SITE_URL ?>/rss/all</p> | ||
<p>All Standard Ebooks, most-recently-released first.</p> | ||
</li> | ||
</ul> | ||
<section id="rss-ebooks-by-subject"> | ||
<h3>Ebooks by subject</h3> | ||
<ul class="feed"> | ||
<? foreach(SE_SUBJECTS as $subject){ ?> | ||
<li> | ||
<p><a href="/rss/subjects/<?= Formatter::MakeUrlSafe($subject) ?>"><?= Formatter::ToPlainText($subject) ?></a></p> | ||
<p><a href="/rss/subjects/<?= Formatter::MakeUrlSafe($subject) ?>"></a></p> | ||
<p class="url"><?= SITE_URL ?>/rss/subjects/<?= Formatter::MakeUrlSafe($subject) ?></p> | ||
</li> | ||
<? } ?> | ||
</ul> | ||
</section> | ||
</article> | ||
</main> | ||
<?= Template::Footer() ?> |