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


5.4.5 RSS

(use-modules (haunt builder rss))
Procedure: rss-feed [#:file-name "rss-feed.xml"] [#:subtitle "Recent Posts"] [#:filter posts/reverse-chronological] [#:publication-date (current-date)] [#:max-entries 20] [#:blog-prefix ""]

Return a builder procedure that renders a list of posts as an RSS feed. All arguments are optional:

file-name

The page file name.

subtitle

The feed subtitle.

filter

The procedure called to manipulate the posts list before rendering.

publication-date

The feed publication date. Defaults to the current date.

max-entries

The maximum number of posts to render in the feed.

blog-prefix

The prefix for all post URLs, which is the combination of the blog’s prefix and post prefix. See Blog for more information.