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

Prioritise representative h-card parsing with expect=card #116

Open
barnabywalters opened this issue Nov 19, 2022 · 1 comment
Open

Prioritise representative h-card parsing with expect=card #116

barnabywalters opened this issue Nov 19, 2022 · 1 comment

Comments

@barnabywalters
Copy link
Contributor

XRay currently supports passing an expect: feed parameter when parsing, to skip content type detection and prioritise feed detection and parsing. It’s common for people to publish both a representative h-card and some sort of feed on their home page, and depending on exactly how they mark it up, XRay might return either a feed or card item. When the user knows that they want a representative h-card, it would be useful to be able to pass expect: card or similar to prioritise h-card parsing over feed parsing.

@aaronpk
Copy link
Owner

aaronpk commented Nov 19, 2022

sounds reasonable to me!

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

No branches or pull requests

2 participants