It's better when it's simple

User Tools

Site Tools


Tumblr Plugin

Compatible with DokuWiki

2017-02-19 2016-06-26 2015-08-10

plugin Embed tumblr into DokuWiki

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with embed, rss, tumblr


Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


Parameter Description
url Tumblr URL you want to embed.
type If you set this list, only title and date are shown.
target Wiki page to open post. Target page also have to embed tumblr plugin.
(Default: Page that includes plugin)

Example 1

Basic Usage.


Sample Page :

Example 2

Show titles and dates only and open posts at 'tumblr' page. In this case, 'tumblr' page should have Example 1.


Sample Page :


:!: This is a security risk when used on a freely accessible site.

Allow embedded HTML

To show all contents include images and movies, enabling htmlok is required.


Even if you allow embedded HTML, you still can't see movies in tumblr posts. It's because of SimplePie, RSS parser that DokuWiki uses, basically stripping iframe tags. (See more info)

Find $strip_htmltags on files in vendor/simplepie/simplepie and remove iframe.

// Line 16395
var $strip_htmltags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style');

Redirect your tumblr to DokuWiki

1. Paste below codes above </head> tag in your tumblr theme.

<script type="text/javascript">
  function go_wiki() {
    var addr = location.href;
    var params = addr.split("/");
    var wiki_addr = 'Wiki URL contains a tumblr plugin';
    var new_addr;
    if(params[3) {
      new_addr = wiki_addr + '?' + params[3] + '=' + params[4];
    } else {
      new_addr = wiki_addr;
    location.href = new_addr;

2. modify <body> tag

<body onload="go_wiki()">

Posts per page

Go to Customize > Advanced on your tumblr.



Bugs / Feature Requests

Please report bugs or feature requests at the

ToDo / Wish List

  • Support more languages.


plugin/tumblr.txt · Last modified: 2018-05-28 22:05 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki