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

Find the main entry on the page #21

Open
aciccarello opened this issue May 20, 2023 · 0 comments
Open

Find the main entry on the page #21

aciccarello opened this issue May 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aciccarello
Copy link
Contributor

Is your feature request related to a problem?

Split from #20

Interpreting a page sometimes fails to highlight the main content of the page. Instead the main entry is treated the same as any other content (h-cards, other h-entries on the page)

Describe the solution you’d like

XRay has logic to check the items for one that matches the URL of the page.

A simpler fallback would be to grab the first h-entry on the page but that seems brittle and could be confused if there is an h-feed.

Describe alternatives you’ve considered

No response

Additional context

No response

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

No branches or pull requests

1 participant