[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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:webmaster@debian.org";' |
xargs -0 echo sed -i 's|<link rev="made"
href="mailto:webmaster@debian.org";|<link rel="author"
href="mailto:webmaster@debian.org";|g'

I'm running it now.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Reply to: