pft-gen-rss - Man Page
Generate a Feed RSS for the website
This command will generate an XML file according to the RSS (Really Simple Syndacation) specification.
The default behaviour is to position the generated file in the root of the
build directory, and named
feed.rss. The generated feed will contain one
item element for each of last 10 blog entries.
The global PFT configuration allows to change the default path of the file and the number of listed blog entries (see pft-init(1)).
Show this guide
- 1 in case of option parsing failure.
- 2 if it was impossible to construct the filesystem tree.
- 3 in case of corrupt configuration.
In PFT blog entries are timestamped with a day resolution. There is no obvious way to timestamp the publishing date (
pubDate) of blog entries with a better time resolution, so the hour is rounded up to midnight.
The generated RSS feed will use the publishing date of the most recent entry as
lastBuildDate. This makes the implementation simple, but yields inaccurate results should the user update an old blog entry.
pft(1), pft-init(1), pft-make(1).