Skip to content

Conversation

@lopuhin
Copy link
Member

@lopuhin lopuhin commented Sep 7, 2020

This is not a standard namespace (not mentioned in https://ogp.me/), but it's quite common in the wild, e.g. in a product page dataset where OG is present on ~35% of pages, this "product" namespace is present on 3.4% of pages, or ~10% of OG pages, and can often contain new information.

tests/samples/misc/opengrapg_test.json is removed as this is a typo, correct tests/samples/misc/opengraph_test.json is also present.

This is not a standard namespace (not mentioned in https://ogp.me/),
but it's quite common in the wild, e.g. in a product page dataset where
OG is present on ~35% of pages, this "product" namespace is present on
3.4% of pages, or ~10% of OG pages, and can often contain new
information.
@codecov
Copy link

codecov bot commented Sep 7, 2020

Codecov Report

Merging #152 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #152   +/-   ##
=======================================
  Coverage   89.23%   89.23%           
=======================================
  Files          12       12           
  Lines         539      539           
  Branches      122      122           
=======================================
  Hits          481      481           
  Misses         52       52           
  Partials        6        6           
Impacted Files Coverage Δ
extruct/opengraph.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df7ca6b...e12b2b2. Read the comment docs.

Copy link
Contributor

@jakubwasikowski jakubwasikowski left a comment

Choose a reason for hiding this comment

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

Nice catch @lopuhin, I wasn't aware there is a namespace like that.
I don't have any suggestion re the PR. Looks great.
Approved 👍

@jakubwasikowski jakubwasikowski merged commit 7d245b3 into master Sep 7, 2020
@jakubwasikowski jakubwasikowski deleted the og-product branch September 7, 2020 10:38
@lopuhin
Copy link
Member Author

lopuhin commented Sep 7, 2020

Thanks @jakubwasikowski 👍

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.

3 participants