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

adjust postlight insights custom selectors #707

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

austinmbrown
Copy link
Contributor

This PR addresses this issue by adjusting the selectors in Postlight.com's custom selector. I had to expand the main content's selector and then exclude a few elements from within it. That way the hero image gets pulled in as part of the content and can be displayed by the Reader.

Note that the Parser does successfully select the hero image and emit it to the Reader as the lead_image_url, but that the Reader does not make use of that field for anything. So there might be a bigger design/product question to explore there. This is a reasonable fix in the meantime.

@johnholdun johnholdun mentioned this pull request Nov 1, 2022
Copy link
Contributor

@johnholdun johnholdun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@austinmbrown
Copy link
Contributor Author

What's up with CI on this project? It failed on my last PR too...

@austinmbrown
Copy link
Contributor Author

(I'm not authorized to merge, BTW.)

@johnholdun
Copy link
Contributor

Yeah, something went wrong with the CircleCI config. I opened an issue to track it; doesn't seem related to your work specifically. I will merge!

@johnholdun johnholdun merged commit 4c843be into main Nov 2, 2022
@johnholdun johnholdun deleted the fix-insights-heroimage branch November 2, 2022 17:43
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

Successfully merging this pull request may close these issues.

2 participants