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

Fix Focus #623

Merged
merged 4 commits into from
Oct 8, 2024
Merged

Fix Focus #623

merged 4 commits into from
Oct 8, 2024

Conversation

addie9800
Copy link
Collaborator

This PR adresses two issues:

@addie9800 addie9800 changed the title Fix ˋFocusˋ Fix Focus Oct 2, 2024
@addie9800 addie9800 requested a review from MaxDall October 2, 2024 11:03
@MaxDall
Copy link
Collaborator

MaxDall commented Oct 3, 2024

@addie9800 Awesome that you caught these layout edge cases!

Regarding the topic part: I wouldn't consider section keywords as useful topics especially since it introduces inconsistency to the actual topic field either for this particular publisher or all publishers as a whole. I would suggest leaving this to downstream tasks like QSE.

_snippet_selector = XPath(
'string(//script[@type="text/javascript"][contains(text(), "window.bf__bfa_metadata")])'
'string(//script[@type="text/javascript"][contains(text(), "window.bf__bfa_metadata") or contains(text(), "pageAdKeyword")])'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this still part of the new layout or a leftover of the former topic parsing fallback?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, that was also a leftover. It's fixed now

@addie9800 addie9800 merged commit 51404cb into master Oct 8, 2024
5 checks passed
@addie9800 addie9800 deleted the fix-focus branch October 8, 2024 13:10
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