-
Notifications
You must be signed in to change notification settings - Fork 275
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] WP_WXR_Reader #1972
Merged
+227,290
−92
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
528cfd5
[Data Liberation] WP_WXR_Processor
adamziel 428fb53
Refactor WXR_Action to WXR_Object
adamziel f013cc5
Rename WXR object $name
adamziel 5aec8a0
Parse WXR attachments
adamziel 654072f
Document the next steps for the WP_WXR_Processor
adamziel 65a84ed
Add support for terms
adamziel 4f1f7e5
Support wp:tag
adamziel 6dedf9a
Make WP_WXR_Processor streaming
adamziel 3cba344
Retain last post ID and last comment ID when parsing nested objects
adamziel 76e2210
Get it to run without exceptions on theme unit test XML file
adamziel 9fd6442
Add smoke tests for parsing existing WXR files used out in the wild
adamziel b9b8f66
Bring in WXR files from the WP PHPunit repo
adamziel 47d9dc9
Add streaming tests
adamziel 58f62a4
Make progress on the failing importer test
adamziel adf6eab
Parse XML names using @dmsnell's UTF-8 decoder
adamziel 71b7500
Simplify the next_entity() logic in the WXR processor
adamziel 004015c
Cleanup
adamziel f79e80d
Lint
adamziel 6041871
Rename WP_WXR_Processor to WP_WXR_Reader
adamziel 3cfb82f
Adjust the entity keys returned by WP_WXR_Reader
adamziel 3da4b91
Expand the documentation inside parse_name
adamziel 71a0487
Add documentation strings to WP_WXR_Reader
adamziel 9f1b362
Add XML memory budget and auto-flush the buffer periodically
adamziel a475658
Lint
adamziel f7f4df2
Give @dmsnell credit for his fantastic UTF8 decoder
adamziel 42b46b6
Add more meaningful inline documentation
adamziel efaacf9
Lint
adamziel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
❤️