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

[Data Liberation] Create WP entity stream API for use by exporters #2106

Open
brandonpayton opened this issue Dec 19, 2024 · 1 comment
Open
Assignees

Comments

@brandonpayton
Copy link
Member

This is a tracking issue.

For data liberation, we want an API for streaming WP entities from a site. Then we can export WP entities to multiple targets without having to solve the same entity traversal problems in each exporter. Some example exporters are:

  • WXR
  • WXR + assets package
  • Static HTML files
  • Markdown

The idea is to present the API as an entity iterator with a constructor that supports reentrancy.

Let's focus on a single, uninterrupted traversal for the first version of this API. I think we can implement reentrancy in a straightforward manner once the traversal flow is established.

@brandonpayton
Copy link
Member Author

The next step is to create a draft PR for this API. If there end up being a lot of questions, I'll start a separate GH discussion where we can make a mess and figure things out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

1 participant