Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9601 [Website v2] Github
  3. HDDS-10354

Check Open Graph metadata in website run test

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • CI, website

    Description

      Open graph 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

      <meta data-rh="true" property="og:image" content="https://ozone-site-v2.staged.apache.org/img/social-card.png"> 
      

      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.

       

      Attachments

        Activity

          People

            abhishek.pal Abhishek Pal
            erose Ethan Rose
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: