From 50dc7bb79af62b819648c67c5ccd33b3470e626c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 10 Mar 2018 21:41:36 -0500 Subject: Add Haunt manual. --- manuals/haunt/Atom.html | 130 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 manuals/haunt/Atom.html (limited to 'manuals/haunt/Atom.html') diff --git a/manuals/haunt/Atom.html b/manuals/haunt/Atom.html new file mode 100644 index 0000000..e5e3f07 --- /dev/null +++ b/manuals/haunt/Atom.html @@ -0,0 +1,130 @@ + + + + + + +Atom (Haunt Reference Manual) + + + + + + + + + + + + + + + + + + + +
+

+Previous: , Up: Builders   [Contents][Index]

+
+
+ +

5.6.3 Atom

+ +
+
(use-modules (haunt builder atom))
+
+ +
+
Scheme Procedure: atom-feed [#:file-name #:subtitle #:filter #:max-entries #:blog-prefix]
+

Return a builder procedure that renders a site’s posts as an Atom +feed. All arguments are optional: +

+
+
file-name:
+

The page file name. The default is feed.xml. +

+
+
subtitle
+

The feed subtitle. The default is “Recent Posts”. +

+
+
filter
+

The procedure called to manipulate the posts list before rendering. +The default is to keep all posts and sort them in reverse +chronological order. +

+
+
max-entries
+

The maximum number of posts to render in the feed. The default is 20. +

+
+ +
+ +
+
Scheme Procedure: atom-feeds-by-tag [#:prefix #:filter #:max-entries #:blog-prefix]
+

Return a builder procedure that renders an atom feed for every tag +used in a post. All arguments are optional: +

+
+
prefix
+

The directory in which to write the feeds. The default is +feeds/tags. +

+
+
filter
+

The procedure called to manipulate the posts list before rendering. +The default is to keep all posts and sort them in reverse +chronological order. +

+
+
max-entries
+

The maximum number of posts to render in each feed. The default is +20. +

+
+
+ +
+ + + + + + -- cgit v1.2.3