Found this content helpful? Log in or sign up to leave a like!
Listing of All Course Hyperlinks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I know how to validate links in content, but does anyone know of a way to list all of the hyperlinks in a course?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't think there's an easy way to get that. The link validation is an API endpoint, but not publicly documented, so I have no idea whether there's a way to have it just show the links.
The best alternative, if it is a large course, or you want to do it for multiple courses, is probably to make a script that uses the API to go over all pages, quizzes, assignments, discussions, etc., looking for any uses of href.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @RobinKouvaras,
Like said by @Gabriel33, I do not think what you are looking for is available and I cannot find any API documentation for the "Validate Links in Content" feature.
One of the challenges for a central location is because links can exist within native forms of Canvas content (e.g. pages, discussions, assignments, quizzes, quiz questions) and as a type of item in a module.
If you were to be consistent with your design process, you could make it easier to find them if:
- all of your links only exist within a module (in my opinion, depending on the number of links, that could make it seem like your course is very large or overwhelming when using the "Modules" area of the course)
- within each module, create a page that's sole purpose is to contain any link that relates to that module
While not exactly what you are looking for, I hope you found my response to be helpful.
-Doug
