Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please implement the Open Graph protocol for products homepage #2007

Closed
adriens opened this issue Dec 11, 2022 · 7 comments
Closed

Please implement the Open Graph protocol for products homepage #2007

adriens opened this issue Dec 11, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@adriens
Copy link
Contributor

adriens commented Dec 11, 2022

❔ Context

Actually, when we share endoflife.date products homepages, their preview on social network is not optimal.

Below some actual previews.

🐦 Twitter preview

image

🏒 linkedIn preview

image

πŸ§‘β€πŸ€β€πŸ§‘ Facebook preview

image

πŸ’‘ Feature request

It would be useful to get a preview thanks to The Open Graph protocol

On each product homepage, provide Open Graph protocol resources showing for example :

  • product name
  • latest release
  • logo
  • product short desc
  • software url

πŸ’° Benefits

  • Make endoflife audience grow
  • Make shares cooler
  • Get more community contributors as EOL would increase its audience
@adriens adriens added the enhancement New feature or request label Dec 11, 2022
@adriens adriens changed the title πŸ™ Please implement The Open Graph protocol for products page πŸ™ Please implement The Open Graph protocol for products homepage Dec 11, 2022
@hugovk
Copy link
Member

hugovk commented Dec 11, 2022

There's already some OG metadata, but can be improved. For example https://endoflife.date/opensearch:

<title>OpenSearch | endoflife.date</title>
<meta name="generator" content="Jekyll v4.3.1" />
<meta property="og:title" content="OpenSearch" />
<meta property="og:locale" content="en_US" />
<link rel="canonical" href="https://endoflife.date/opensearch" />
<meta property="og:url" content="https://endoflife.date/opensearch" />
<meta property="og:site_name" content="endoflife.date" />
<meta property="og:image" content="https://endoflife.date/logo.png" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content="https://endoflife.date/logo.png" />
<meta property="twitter:title" content="OpenSearch" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebPage","dateModified":"2022-12-11T14:21:35+00:00","headline":"OpenSearch","image":"https://endoflife.date/logo.png","url":"https://endoflife.date/opensearch"}</script>
<!-- End Jekyll SEO tag -->

Facebook has a tool for checking OG metadata: https://developers.facebook.com/tools/debug/

For example: https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fendoflife.date%2Fopensearch

image

image

@marcwrobel
Copy link
Member

Linked to #28 (and incidentally #978).

@captn3m0
Copy link
Member

Suggested improvements:

  1. Switch to a better og:description for the product layout. This could be product specific.
  2. og:image, had a nice idea here on path of favicon.ico is wrongΒ #978. But needs us to take a call for the icon first.
  3. Maybe og:title should say {{product}} | endoflife.date instead of just the product name?

Anything else we're missing?

@marcwrobel
Copy link
Member

That's a good start I think.

+1 for the og:title.

For the description a generic one with the product name could do the trick. I do not know if this could be configured in the Jekyll config file, but it would be great.

Note: currently all tags are managed/injected by https://jekyll.github.io/jekyll-seo-tag/.

@adriens
Copy link
Contributor Author

adriens commented Dec 12, 2022

@marcwrobel , thanks for pointing Jekyll SEO Tag : I did not know about it πŸ™

@marcwrobel marcwrobel changed the title πŸ™ Please implement The Open Graph protocol for products homepage Please implement the Open Graph protocol for products homepage Feb 26, 2023
@marcwrobel
Copy link
Member

endoflife.date already implements Open Graph, even if it's limited. And #28 was already about social media preview. Closing this as duplicate.

@marcwrobel marcwrobel closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2023
@adriens
Copy link
Contributor Author

adriens commented Oct 8, 2023

πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants