Repository navigation
feat(inspect): site crawl from the sitemap - #35
Merged
Merged
Conversation
… page URL With a DOMParser document and its URL, links resolve against the page's <base> or URL, and words are counted on the text nodes outside script, style, noscript and template. Called without arguments it reads the live page as before.
…s them Sitemaps come from robots.txt (else /sitemap.xml), with sitemap indexes followed within limits and gzipped sitemaps gunzipped. A plan skips other hosts, robots.txt blocks and URLs past the page limit; a queue runs the fetches with a concurrency, a delay between starts, Stop and Resume. Each page is read with the SEO and JSON-LD checks; findings cover error statuses, noindex pages in the sitemap, JSON-LD errors per type, duplicate titles, descriptions and h1, missing tags, canonicals elsewhere and redirects. CSV, JSON and a Markdown report for a coding agent.
…and exports Find URLs asks for access to the site, reads robots.txt and the sitemaps (or a pasted list) and shows what will be crawled and what is skipped; Crawl runs the plan with a progress bar, Stop and Resume. Findings expand to their pages, the table sorts and filters, a row opens the page detail. CSV, JSON and Copy for agent. Served HTML only: no JavaScript runs.
… pages with issues
…-crawl # Conflicts: # PRODUCT.md # README.md # src/ui/styles.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Inspect panel "Site crawl": finds URLs from robots.txt Sitemap lines, /sitemap.xml (indexes followed, gzip unpacked) or a pasted list, then crawls them (served HTML only, no cookies) with a page cap, concurrency, delay (and robots.txt Crawl-delay), stop / resume. Per page: status, redirects, title, description, canonical, robots / X-Robots-Tag, H1, hreflang, words, JSON-LD types and findings. Site-wide findings (duplicates among indexable pages, missing tags, non-200, noindex in sitemap, canonical elsewhere), sortable table, CSV / JSON export, Copy for agent. Site access is asked on first use. collectMeta can now read a parsed document.
Closes #29