wpengine / wpengine/faustjs

[experimental]: PoC sitemap feature

Open
#2,156 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.6k
Forks
155
Avg merge
1d 18h
Merged PRs (30d)
20

Description

New Faust should have a customizable sitemap feature. The data fetching strategy is yet to be determined. The options include paginated GraphQL requests, a proxied sitemap, or an approach involving the custom-sitemap-apollo from hwptoolkit.

Tasks:

  • Provide a sitemap endpoint (e.g., /sitemap.xml) in Faust.
  • Provide utilities to fetch published content (posts, pages, custom post types) from WPGraphQL.

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.

Research direction

Start by reviewing the linked discussion and the three referenced examples: custom-sitemap-vanilla-wpgraphql, proxied-sitemap-apollo, and custom-sitemap-apollo. Determine the data-fetching approach and the Faust entry points involved, then verify that the resulting feature exposes a sitemap endpoint such as /sitemap.xml and provides utilities for published posts, pages, and custom post types.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, next.js, typescript
Domain
api, backend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.