BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Locate broken links in content

Open ssddanbrown opened this issue 1 year ago • 1 comments

Describe the feature you'd like

Functionality to scan links in content and detect which links are no longer valid (lead to >=400 status). Primarily for anchors, potentially for image/media references also.

Describe the benefits this would bring to existing BookStack users

This will allow broken links in content to be detected and dealt with (updated/removed) so that readers won't be dealing with dead links. From the editor point of view, system-level scanning of this helps locating of such links without spending an exhaustive amount of time manually searching.

Can the goal of this request already be achieved via other means?

Yes:

  • Via manual search (time consuming)
  • Via API scripting (requires custom code, may not be able to handle internal links).

Have you searched for an existing open/closed issue?

  • [X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

3 months to 1 year

Additional context

Note: This was opened on behalf of a user through the BookStack support services. (Ticket 116)

Dev Notes

  • Server side request security consideration limits things. Review against existing options. Likely need to have strong permission requirements (or keep at sysadmin/command level).
  • Would likely expect handling of internal links, which may be complicated in permission-controlled scenarios.

ssddanbrown avatar Aug 14 '24 14:08 ssddanbrown