fix: convert mailman links to lists.fsfe.org #1425

Merged
max.mehl merged 1 commits from nico.rikken/fsfe-website:feature/convert-absolute-links-3 into master 2020-06-02 10:11:00 +00:00
Member

Converts all previous mail.fsfeurope.org and mailman.fsfeurope.org links to the new https://lists.fsfe.org domain. This actually solves a lot of broken links.

Note that this changes both links and text.

Executed commands:

find . -iname '*.xml'  -exec perl -pi -e 's/http(s)?:\/\/mail(man)?\.fsfe(urope)?\.org\//https:\/\/lists\.fsfe\.org\//g' {} \;
find . -iname '*.xhtml'  -exec perl -pi -e 's/http(s)?:\/\/mail(man)?\.fsfe(urope)?\.org\//https:\/\/lists\.fsfe\.org\//g' {} \;

I've tested some links to verify that the replacement worked, but not all.

Converts all previous `mail.fsfeurope.org` and `mailman.fsfeurope.org` links to the new `https://lists.fsfe.org` domain. This actually solves a lot of broken links. Note that this changes both links and text. Executed commands: ``` find . -iname '*.xml' -exec perl -pi -e 's/http(s)?:\/\/mail(man)?\.fsfe(urope)?\.org\//https:\/\/lists\.fsfe\.org\//g' {} \; find . -iname '*.xhtml' -exec perl -pi -e 's/http(s)?:\/\/mail(man)?\.fsfe(urope)?\.org\//https:\/\/lists\.fsfe\.org\//g' {} \; ``` I've tested some links to verify that the replacement worked, but not all.
Owner

Ah, very nice, thanks!

Ah, very nice, thanks!
max.mehl closed this pull request 2020-06-02 10:11:00 +00:00
Sign in to join this conversation.
No description provided.