Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16998

website - Improve the OpenGraph tags to align with the meta description

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Auto Closed
    • None
    • 3.x
    • website
    • Unknown

    Description

      I noticed that when sharing a deep link on apps like Telegram or Slack, the preview shows some generic info about Camel instead of the page's specific content. For example, this is a screen of the preview for the link https://camel.apache.org/components/3.11.x/eips/stop-eip.html when sharing it on Telegram:

      The meta title and description for this page are ok.

      <title>Stop :: Apache Camel</title>
      <meta name="description" content="Stops the processing of the current message">

      Since in the source there are the OpenGraph tags, the original meta title and description are discarded by Telegram (and other OG compatible apps) to favor them. These are the title and description that will be used instead:

      <meta property="og:title" content="Apache Camel helps you integrate over 300 different systems!">
      <meta property="og:description" content="Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data.">

      I suggest updating the OG tags to be specific about the page that's being shared. So for the above link the tags could be something like:

      <meta property="og:title" content="Stop - Enterprise Integration Pattern - Camel Component">
      <meta property="og:description" content="Stops the processing of the current message - Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data.">

      The idea is to merge the generic OG tag with the specific meta title and description (plus a bit of info from the breadcrumbs to contextualize the content) to provide a more on point description of the content that's being shared.

      Attachments

        1. image-2021-09-23-10-03-24-171.png
          76 kB
          Riccardo Forina

        Activity

          People

            Unassigned Unassigned
            rforina Riccardo Forina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: