Example: fetch and parse a sitemap from WP (app router)

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
wordpress
Domain
documentation

Research direction

Start by reading RFC #17 and locating the existing app-router examples and documentation structure in the repository. Add examples covering WordPress's native wp-sitemap.xml and sitemap output from Rank Math and Yoast SEO, with enough guidance to show how each is fetched and parsed.

Written by the indexing model from the issue text.

Description

topic:sitemap type:docs

Overview

As per RFC #17 we need to supply examples and documentation on how to fetch and parse a sitemap from WordPress in a headless application.

We need to consider the following:

  • A native sitemap from WordPress (e.g. wp-sitemap.xml)
  • Sitemaps documentation for some of the common WP plugins such as Rank Math and Yoast SEO
Dominant language
PHP
Stars
47
Forks
3
Avg merge
1m
Merged PRs (30d)
19

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wpengine/hwptoolkit

All issues in wpengine/hwptoolkit

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.