Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify broken links #4

Open
FedericoPonzi opened this issue Aug 10, 2023 · 2 comments
Open

Verify broken links #4

FedericoPonzi opened this issue Aug 10, 2023 · 2 comments

Comments

@FedericoPonzi
Copy link
Owner

an idea for later - right now genereto is handling all internal links.

@FedericoPonzi
Copy link
Owner Author

For external links:
in a genereto-project folder, create a csv file (or some file db) and keep a table of:

link,last_visited,status,ignore

which can be included in the CVS. Then, any time the output is created, genereto should check for new links and visit websites there were not visited in the last n days/weeks/months (configurable) and fail in case a new website is reported offline.

If the user sets ignore to true, genereto will ignore it. This option could be behind a cli flag.

@FedericoPonzi
Copy link
Owner Author

Another possible check: missing links body.
I've found a link like this:
that ended up empty in the output page.
the idea is to find these occurrences and print a warning at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant