{"id":272,"date":"2011-01-03T15:27:17","date_gmt":"2011-01-03T14:27:17","guid":{"rendered":"http:\/\/lendl.priv.at\/blog\/?p=272"},"modified":"2026-01-26T12:13:50","modified_gmt":"2026-01-26T11:13:50","slug":"offline-plugin-for-dokuwiki","status":"publish","type":"post","link":"https:\/\/lendl.priv.at\/blog\/2011\/01\/03\/offline-plugin-for-dokuwiki\/","title":{"rendered":"Offline plugin for DokuWiki"},"content":{"rendered":"<p>I&#8217;ve been trying to adapt the <a href=\"http:\/\/www.graw.eu\/dokuwiki\/doku.php\">offline plugin<\/a> to our needs. Here are my changes:<\/p>\n<p><a href='https:\/\/lendl.priv.at\/blog\/wp-content\/uploads\/2011\/01\/offinediff.txt'>offine.diff<\/a><\/p>\n<p>Caveats:<\/p>\n<ul>\n<li>\nIt clashes with how &#8220;datadir&#8221; is set in the example in the <a href=\"http:\/\/www.dokuwiki.org\/security\">security page<\/a>. That field must not contain a trailing &#8216;\/&#8217;.\n<\/li>\n<li>\nThe plugin should remove the .zip file before adding files to it to avoid obsolete files accumulating there.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been trying to adapt the offline plugin to our needs. Here are my changes: offine.diff Caveats: It clashes with how &#8220;datadir&#8221; is set in the example in the security page. That field must not contain a trailing &#8216;\/&#8217;. The plugin should remove the .zip file before adding files to it to avoid obsolete files [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-system-administration"],"_links":{"self":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":1,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":897,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions\/897"}],"wp:attachment":[{"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lendl.priv.at\/blog\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}