Bug#880161: www.debian.org: Get rid of the "tidy validation errors" forcing a rebuild of certain files

Paul Wise <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <CAKTje6HPS_rU6Gmi_Yd4qKJFHwyg91362r6W21vhZeqwtrH7nQ__47904.3197622106$1509351147$gmane$org@mail.gmail.com>
On Mon, Oct 30, 2017 at 3:41 PM, Laura Arjona Reina wrote:

> but many files still need to be rebuilt to use the updated template.

I don't think we need to rebuild the whole website, this script will do:

find -type f -iname '*.html' -print0 |
xargs -0 grep -lZF '<link rev="made" href="mailto:[email protected]"' |
xargs -0 echo sed -i 's|<link rev="made"
href="mailto:[email protected]"|<link rel="author"
href="mailto:[email protected]"|g'

I'm running it now.
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.