[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto-checking dead links in the manual (was: http: links in the manu
From: |
Ihor Radchenko |
Subject: |
Re: Auto-checking dead links in the manual (was: http: links in the manual) |
Date: |
Tue, 23 Aug 2022 10:53:10 +0800 |
Max Nikulin <manikulin@gmail.com> writes:
> I hope that selenium is currently overkill, however more sites are
> starting to use anti-DDOS shields like cloudflare and HTTP client may be
> banned just because it does not fetch other resources like JS scripts.
Such links are to be considered dead for the purposes of Org manual.
We must not link websites that cannot be opened without running non-free
JS. It is according to GNU Documentation Standards.
> I do not have a patch, just an idea: export backend that ignores
> everything besides link and either send requests from lisp code or
> generate file for another tool.
>
> #+attr_linklint: ...
>
> may be used to specify regexp that target page is expected to contain.
> There are some complications like e.g. "info:" links having special code
> to generate HTML with URL derived from original path. So it may be more
> robust to parse HTML document (without checking of linked document text).
Yes, the most robust way will be simply extracting links from the html
version of the manual and testing them using whatever method is
appropriate.
--
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92
- [PATCH] Documentation and NEWS for ` org-latex-language-alist', Juan Manuel Macías, 2022/08/08
- Re: [PATCH] Documentation and NEWS for ` org-latex-language-alist', Ihor Radchenko, 2022/08/09
- Re: [PATCH] Documentation and NEWS for ` org-latex-language-alist', Juan Manuel Macías, 2022/08/16
- Re: [PATCH] Documentation and NEWS for ` org-latex-language-alist', Max Nikulin, 2022/08/18
- Re: [PATCH] Documentation and NEWS for ` org-latex-language-alist', Ihor Radchenko, 2022/08/20
- http: links in the manual, Max Nikulin, 2022/08/20
- Re: http: links in the manual, Juan Manuel Macías, 2022/08/21
- Auto-checking dead links in the manual (was: http: links in the manual), Ihor Radchenko, 2022/08/21
- Re: Auto-checking dead links in the manual (was: http: links in the manual), Max Nikulin, 2022/08/22
- Re: Auto-checking dead links in the manual (was: http: links in the manual), Hendursaga, 2022/08/22
- Re: Auto-checking dead links in the manual (was: http: links in the manual),
Ihor Radchenko <=
Re: [PATCH] Documentation and NEWS for ` org-latex-language-alist', Max Nikulin, 2022/08/09