-
Notifications
You must be signed in to change notification settings - Fork 270
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] Add XML API, Stream API, WXR URL Rewriter API #1952
Conversation
packages/playground/data-liberation/src/stream-api/WP_File_Byte_Stream.php
Show resolved
Hide resolved
* // <wp:content id="test-4" class=outline title="data:text/plain;base64=asdk3nk1j3fo8"> | ||
* // ^ parsing will continue from this point. | ||
* $this->attributes = array( | ||
* 'id' => new WP_HTML_Attribute_Token( 'id', 9, 6, 5, 11, false ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's interesting to find WP_HTML_Attribute_Token
used in the XML tag processor, but I guess the concepts are the same or nearly the same structurally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup! But we could also create XML-specific flavors
A part of #1894. Follows up on #1893.
This PR brings in a few more PHP APIs that were initially explored outside of Playground so that they can be incubated in Playground. See the linked descriptions for more details about each API:
Testing instructions