Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-134870

Open Graph preview should be equal to the og:title's value

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Dear team,

      the current preview of the Open Graph should be changed to reflect what most of the popular sites will show to their users.
      Sites like Facebook, Twitter, etc. will not show the og:site_name tag, but the generated preview contains it.

      Reproduction Steps

      1. Open Site Builder > Pages
      2. Create a new page with the title TestPage
      3. Click on the Configure button→Open Graph
      4. Assert that the Preview shows TestPage - Liferay DXP
      5. Open an incognito window
      6. Go to *view-source:http://localhost:8080/web/guest/testpage*
      7. Search for og:title
      8. Assert that the content value is
      TestPage - Liferay DXP
      1. Close the incognito window, return to the page's configuration options
      2. Tick the option Use Custom Title
      3. Enter CustomTitleSave
      4. Open incognito again with the source view of the page and search for og:title
      5. Return to the page configuration window and inspect the preview

       Expected Behaviour:
      The preview shows the same as the actual og:site tag's value (CustomTitle).

       Actual Behaviour:
      The preview shows CustomTitle - Liferay DXP, which is different from the og:site tag's value.

       

        Attachments

        1. customtitle_admin.png
          customtitle_admin.png
          49 kB
        2. customtitle.png
          customtitle.png
          146 kB
        3. defaulttitle_admin.png
          defaulttitle_admin.png
          49 kB
        4. defaulttitle.png
          defaulttitle.png
          123 kB

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              rita.schaff Rita Schaff
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package