1PFT-GEN-RSS(1)        User Contributed Perl Documentation       PFT-GEN-RSS(1)
2
3
4

NAME

6       pft gen-rss - Generate a Feed RSS for the website
7

SYNOPSIS

9       pft gen-rss
10

DESCRIPTION

12       This command will generate an XML file according to the RSS (Really
13       Simple Syndacation) specification.
14
15       The default behaviour is to position the generated file in the root of
16       the "build" directory, and named "feed.rss".  The generated feed will
17       contain one "item" element for each of last 10 blog entries.
18
19       The global PFT configuration allows to change the default path of the
20       file and the number of listed blog entries (see pft-init(1)).
21

OPTIONS

23       --help
24           Show this guide
25

EXIT STATUS

27       •   1 in case of option parsing failure.
28
29       •   2 if it was impossible to construct the filesystem tree.
30
31       •   3 in case of corrupt configuration.
32

BUGS

34       In PFT blog entries are timestamped with a day resolution.  There is no
35       obvious way to timestamp the publishing date ("pubDate") of blog
36       entries with a better time resolution, so the hour is rounded up to
37       midnight.
38
39       The generated RSS feed will use the publishing date of the most recent
40       entry as "lastBuildDate".  This makes the implementation simple, but
41       yields inaccurate results should the user update an old blog entry.
42

SEE ALSO

44       pft(1), pft-init(1)
45
46
47
48perl v5.34.0                      2022-01-20                    PFT-GEN-RSS(1)
Impressum