diff options
author | Peter Ludikovsky <peter@ludikovsky.name> | 2016-02-15 19:28:37 +0000 |
---|---|---|
committer | Peter Ludikovsky <peter@ludikovsky.name> | 2016-02-15 19:28:37 +0000 |
commit | c2547e0b684e61539666ec6d130145fe1c59f341 (patch) | |
tree | a034f2ac86d5bdb637aa01adefe5cd3e5a69c970 /README.html | |
parent | cd10c52edb146a0542cce6a65cfb3ae134c232dc (diff) |
Added support for Atom feeds, improved validation for RSS feeds
Diffstat (limited to 'README.html')
-rw-r--r-- | README.html | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/README.html b/README.html index 58d7435..309c2dd 100644 --- a/README.html +++ b/README.html @@ -128,7 +128,8 @@ fugitive: README <li>it regenerates static html files for articles that are just before and after newly added and deleted articles (this to maintain the "previous" and "next" links alive),</li> - <li>it regenerates the archives.html, tags.html, and feed.xml files,</li> + <li>it regenerates the archives.html, tags.html, atom.xml, and rss.xml + files,</li> <li>and finally it copies the static html file of the last article to "index.html".</li> </ul> @@ -175,9 +176,9 @@ fugitive: README anything else. </p> <p> - The foreach loop construct is specific to the archives.html, tags.html, and - feed.xml templates and will therefore be described at the same time. Where - available, the loops are processed right after the includes. + The foreach loop construct is specific to the archives.html, tags.html, + atom.xml, and rss.xml templates and will therefore be described at the same + time. Where available, the loops are processed right after the includes. </p> <p> The syntax of the conditional construct is as follows: @@ -195,8 +196,8 @@ fugitive: README <dt>page_title</dt> <dd> Its value is "archives" in the archives.html template, - "feed" in the feed.xml template, or the article title in the - article.html template. + "feed" in the atom.xml and rss.xml template, or the article title + in the article.html template. </dd> <dt>blog_url</dt> <dd> @@ -373,7 +374,7 @@ fugitive: README Its value is the title of the next article ordered by publication date. </dd> </dl> -<h4>foreach loops in archives.html and feed.xml:</h4> +<h4>foreach loops in archives.html, atom.xml, and rss.xml:</h4> <p> Two foreach loops are available: <code>foreach:article</code> and <code>foreach:commit</code>. The syntax is as follows: @@ -389,8 +390,9 @@ fugitive: README set in accordance with the commit each time. <<span class="keyword">?fugitive</span> endforeach:commit ?></pre> <p> - The only difference between the archives.html and feed.xml templates is that - in feed.xml these constructs only loop on the five last articles and commits. + The only difference between the archives.html, atom.xml, and rss.xml + templates is that in atom.xml and rss.xml these constructs only loop on the + five last articles and commits. </p> <h2 id="hacking">Hacking fugitive</h2> |