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

Store and return raw XRay result #194

Open
aaronpk opened this issue Aug 19, 2023 · 0 comments
Open

Store and return raw XRay result #194

aaronpk opened this issue Aug 19, 2023 · 0 comments

Comments

@aaronpk
Copy link
Owner

aaronpk commented Aug 19, 2023

Currently webmention.io uses XRay to parse a page, then picks out individual parts of the XRay response into the database, and then when queried in the API, puts it back together in a format that looks very similar to XRay.

This causes problems, e.g. #177, as well as having to add special support for new post types even after XRay can already parse them.

Instead, webmention.io should store the raw XRay response, only pulling out fields when absolutely required, and use the raw XRay response when building the API response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant