You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2024/02/13 01:34:00 UTC

[jira] [Created] (HDDS-10354) Check opengraph metadata in website run test

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org