Add Open Graph tags #91

Open
opened 1 year ago by wiktor · 4 comments
wiktor commented 1 year ago

Now that the profile page is being rendered server-side Keyoxide profile page could get some more tags that are used by various tools to provide site previews:

Currently I'm thinking of the following https://ogp.me/ tags:

<meta property="og:image" content="https://gravatar-link-of-users" />
<meta property="og:type" content="profile" />

It would be good if the title and description were also rendered server-side.

Now that the profile page is being rendered server-side Keyoxide profile page could get some more tags that are used by various tools to provide site previews: Currently I'm thinking of the following https://ogp.me/ tags: ``` <meta property="og:image" content="https://gravatar-link-of-users" /> <meta property="og:type" content="profile" /> ``` It would be good if the title and description were also rendered server-side.
Poster
There is no content yet.
yarmo added the
low hanging fruit
label 1 year ago
yarmo added the
help wanted
enhancement
labels 1 year ago
yarmo added this to the Feature development project 1 year ago

There's also a couple of metadata tags to make things look good on Twitter, that are common good-practice to supply along with OG stuff.

There's also a couple of metadata tags to make things look good on Twitter, that are common good-practice to supply along with OG stuff.
Poster
Indeed. It seems they're called Twitter Cards: https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards

Another consideration is the image size that will be displayed. In the example PNG @wiktor provided your avatar will look fine, but when sharing on a large Twitter card or on e.g. LinkedIn the photograph will be huge :)

Another consideration is the image size that will be displayed. In the example PNG @wiktor provided your avatar will look fine, but when sharing on a large Twitter card or on e.g. LinkedIn the photograph will be huge :)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.