Re: [RFC] Apache::Inject

John Ankarström <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi,

thank you so much for your response!

Den 2021-04-24 kl. 23:22 skrev Jacques Deguest:
> When you write on prepan regarding SSI that "[w]hile you can technically
> include <head> elements in your header file, they will be placed in the
> body of the HTML page and not in the head." I would have to disagree.
> With SSI you can include a file anywhere.

No, I was referring to Apache::Inject in that sentence. Maybe I was a
bit unclear, but I meant it like:

"[Apache::Inject] is designed for injecting headers and footers that
belong in the <body> element, such as headings, menu bars and copyright
notices. While you can technically include <head> elements in your
header file, [Apache::Inject] will be [place them] in the body of the
HTML page and not in the head."

I'll try to clarify that sentence -- thanks!

> However, I agree "it is useful for adding headers and footers to a large
> number of pre-existing static HTML pages" although arguably if they are
> static why not just pre-process them once and for all ?

For one, it makes it lot easier to update the header and footer later.

Best regards
John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.