Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #235057

Re: generate a rss.xml from a bunch of HTML files

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: generate a rss.xml from a bunch of HTML files
Date 2021-05-10 12:20 +0200
Message-ID <Cdbb3-27u-3@gated-at.bofh.it> (permalink)
References (4 earlier) <CcRFo-5Xq-5@gated-at.bofh.it> <CcV6i-8m8-11@gated-at.bofh.it> <CcWc2-CW-3@gated-at.bofh.it> <CcXrs-1m1-9@gated-at.bofh.it> <CcZjz-2Hf-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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-

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: generate a rss.xml from a bunch of HTML files Dan Ritter <dsr@randomstring.org> - 2021-05-09 13:50 +0200
  Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-09 15:30 +0200
    Re: generate a rss.xml from a bunch of HTML files Darac Marjal <mailinglist@darac.org.uk> - 2021-05-10 09:20 +0200
      Re: generate a rss.xml from a bunch of HTML files Dan Ritter <dsr@randomstring.org> - 2021-05-10 12:20 +0200
    Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-09 18:30 +0200
    Re: generate a rss.xml from a bunch of HTML files Dan Ritter <dsr@randomstring.org> - 2021-05-09 19:10 +0200
      Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-09 20:20 +0200
        Re: generate a rss.xml from a bunch of HTML files Dan Ritter <dsr@randomstring.org> - 2021-05-09 21:40 +0200
          Re: generate a rss.xml from a bunch of HTML files The Wanderer <wanderer@fastmail.fm> - 2021-05-09 23:40 +0200
            Re: generate a rss.xml from a bunch of HTML files Charles Curley <charlescurley@charlescurley.com> - 2021-05-10 01:30 +0200
              Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-10 01:50 +0200
                Re: generate a rss.xml from a bunch of HTML files Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-10 08:10 +0200
                Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-10 15:10 +0200
                Re: generate a rss.xml from a bunch of HTML files Jonathan Dowland <jon+debian-user@dow.land> - 2021-05-12 12:50 +0200
            Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-10 01:50 +0200
            Re: generate a rss.xml from a bunch of HTML files Dan Ritter <dsr@randomstring.org> - 2021-05-10 12:20 +0200
              Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-10 15:20 +0200
        Re: generate a rss.xml from a bunch of HTML files Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-10 08:10 +0200
          Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-10 15:10 +0200
  Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-09 14:30 +0200
    Re: generate a rss.xml from a bunch of HTML files Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-09 15:10 +0200
  Re: generate a rss.xml from a bunch of HTML files Emanuel Berg <moasenwood@zoho.eu> - 2021-05-09 14:30 +0200

csiph-web