Skip to content

remove network dependency for Sitemap detection #1

@leonstafford

Description

@leonstafford

currently, in https://github.com/leonstafford/WordPressURLDetector/blob/main/src/DetectSitemaps.php, I'm making Guzzle requests to sitemap and robots.txt URLs. This makes things harder to test and the library more brittle.

Removing any network requests will ease usage, remove need to provide curl options for auth/ports, etc.

There should be an easier way to interrogate WP, Yoast, etc for the sitemap contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions