Link checking for fedora-web

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

 



There's a useful utility called `linkchecker` that will verify links
in our site.  It's packaged in Fedora already (yay!) so this Makefile
goo should invoke it properly.  The resulting CSV file can be loaded
into LibreOffice (or whatever) and filtered to find 404 or other
errors.

I used this process recently to detect dead sponsor site links:
<https://git.fedorahosted.org/cgit/fedora-web.git/commit/?id=361b47a42a>

A few notes:

* This process downloads a few 10's of MiB, so if you're on a heavily
  metered connection you may want to leave this process to someone
  else.

* Very large downloads will generate a timeout error, which is normal.
  The configuration file has been set so that the rule won't download
  enormous images.

* The httplib3 library on which linkchecker relies gets cranky about
  verification of HTTPS links, so you'll see numerous warnings, which
  can be safely ignored.

-- 
websites mailing list
websites@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/websites




[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux