summaryrefslogtreecommitdiff
path: root/README.html
diff options
context:
space:
mode:
authorPeter Ludikovsky <peter@ludikovsky.name>2016-02-15 19:28:37 +0000
committerPeter Ludikovsky <peter@ludikovsky.name>2016-02-15 19:28:37 +0000
commitc2547e0b684e61539666ec6d130145fe1c59f341 (patch)
treea034f2ac86d5bdb637aa01adefe5cd3e5a69c970 /README.html
parentcd10c52edb146a0542cce6a65cfb3ae134c232dc (diff)
Added support for Atom feeds, improved validation for RSS feeds
Diffstat (limited to 'README.html')
-rw-r--r--README.html20
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
&quot;previous&quot; and &quot;next&quot; 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
&quot;index.html&quot;.</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 &quot;archives&quot; in the archives.html template,
- &quot;feed&quot; in the feed.xml template, or the article title in the
- article.html template.
+ &quot;feed&quot; 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.
&lt;<span class="keyword">?fugitive</span> endforeach:commit ?&gt;</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>