Skip to content

Provide oEmbed tags/endpoint #1751

@chrisblech

Description

@chrisblech

Social platforms, CMS, and discussion boards are more and more automatically generating a "Preview-box" (or "Onebox") when a user shares a Hyperlink.

"oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly." (quoted from http://oembed.com)

When I paste a link to my DokuWiki, my discussion board doesn't find any oEmbed Infos, and therefore it shows only the naked URL, instead of a nice preview of the DokuWiki Article.

Is it possible to include oEmbed Provider functionality to DokuWiki (similar to RSS)?

  • add a header <link rel="alternate" type="application/json+oembed" ... > to every page
  • provide a JSON Output with title, first paragraph, and a picture of the requested wiki page

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions