The Wanderer wrote: > On 2021-05-09 at 15:36, Dan Ritter wrote: > > > That is what a static site generator is. > > > > It's a command-line tool that takes a directory full of content > > files, a set of templates, a CSS file or 3, and spits out a web site > > ready to be served by your favorite web server, including the thing > > you asked for: an RSS or ATOM feed. > > One possible difference is that the ones I've looked at (admittedly > nowhere near all of them) seem to expect the input to be in some other > format, to be translated into HTML etc., rather than letting you write > the HTML etc. directly and doing [whatever other things] with the > result. For example, the package description for pelican (which you > suggested earlier) says that it requires its input to be in Markdown or > rST.
"Pelican can also process HTML files ending in .html and .htm." -- https://docs.getpelican.com/en/latest/content.html > Then again, I'm not sure a static site of that type would really be > suitable for having an RSS-type feed of, since by definition it would be > static and not receiving updates such as might go into such a feed. The static refers to this: the pile of data is processed when you assemble it, not when a viewer asks for it. When you make a change -- editing a page, adding a page, deleting one, changing some feature -- you commit the change and the generator does its work again. This tyically takes between 0.1 and 10 seconds. Then everything is static again. -dsr-

