Ethan Rose created HDDS-10354:
---------------------------------

             Summary: Check opengraph metadata in website run test
                 Key: HDDS-10354
                 URL: https://issues.apache.org/jira/browse/HDDS-10354
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: CI, website
            Reporter: Ethan Rose


[Open graph|https://ogp.me/] is a standard used to define how the website 
preview is displayed when it is shared on social media or messaging apps. 
Metadata tags are inside the html <head> tag with the property prefix "og", for 
example
{code:java}
<meta data-rh="true" property="og:image" 
content="https://ozone-site-v2.staged.apache.org/img/social-card.png";> 
{code}
contains the path to the image used as the social card. We can use {{curl}} to 
pull this data from the instance of the site running under test, and some sort 
of CLI html parser to check that the opengraph properties are properly filled 
in to make sure the social media preview does not break.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to