Dokuwiki: Provide oEmbed tags/endpoint

Created on 12 Nov 2016  路  1Comment  路  Source: splitbrain/dokuwiki

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
Doku Plugin idea

Most helpful comment

Why not implement this as a plugin? That's quite possible.

>All comments

Why not implement this as a plugin? That's quite possible.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

schplurtz picture schplurtz  路  5Comments

BenoitPoulet picture BenoitPoulet  路  3Comments

yasuhirokimura picture yasuhirokimura  路  5Comments

epeios-q37 picture epeios-q37  路  4Comments

splitbrain picture splitbrain  路  4Comments