Skip to content

Implement share link for resources to support meta tags for social sharing #1167

Open
@giohappy

Description

@giohappy

Social sharing meta tags are not parsed by social platforms, since they're populated lately and through JS code. When a resource is shared on a social channel (Facebook, Twitter, LinkedIn, etc.) a preview of the resource is not generated for this reason.

A "jump" page will be implemented. This page will only render the meta tags and it will redirect (with a JS script) the user to the real resource page (viewer). Being the redirection performed by JS web crawlers won't follow the redirection, and they will be able to parse the server-side rendered meta tags.

The link to this jump page, e.g., /datasets/mylayer/share, will be rendered inside the Share panel, in place of the detail URL.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions