CINXE.COM
tips:blogging [DokuWiki]
<!DOCTYPE html> <html lang="en" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>tips:blogging [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="index,follow"/> <meta name="keywords" content="tips,blogging"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/tips:blogging?do=index" title="Sitemap"/> <link rel="manifest" href="/lib/exe/manifest.php"/> <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed.php"/> <link rel="alternate" type="application/rss+xml" title="Current namespace" href="/feed.php?mode=list&ns=tips"/> <link rel="edit" title="Edit this page" href="/tips:blogging?do=edit"/> <link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/tips:blogging"/> <link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/tips:blogging"/> <link rel="canonical" href="https://www.dokuwiki.org/tips:blogging"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e"/> <link rel="alternate" hreflang="it" href="https://www.dokuwiki.org/it:tips:blogging"/> <link rel="alternate" hreflang="ja" href="https://www.dokuwiki.org/ja:tips:blogging"/> <link rel="alternate" hreflang="ru" href="https://www.dokuwiki.org/ru:tips:blogging"/> <link rel="alternate" hreflang="uk" href="https://www.dokuwiki.org/uk:tips:blogging"/> <link rel="alternate" hreflang="x-default" href="https://www.dokuwiki.org/tips:blogging"/> <script >var NS='tips';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"tips:blogging","namespace":"tips","ACT":"show","useHeadingNavigation":0,"useHeadingContent":0};(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js" defer="defer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js" defer="defer"></script> <script src="/lib/exe/js.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e&lang=en" defer="defer"></script> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="shortcut icon" href="/lib/tpl/dokuwiki/images/favicon.ico" /> <link rel="apple-touch-icon" href="/lib/tpl/dokuwiki/images/apple-touch-icon.png" /> <meta name="verify-v1" content="OVxl3gsCv2MhZqh1cBQyl0JytWXSwXMjyvwc+4w3WtA=" /> <meta name="google-site-verification" content="YhTVK69hW94ZXUtc2zSLPxTkZKbZIn0zK67mz5WQB-E" /> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83791-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-83791-1', { 'anonymize_ip': true }); </script> </head> <body> <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_dokuwiki showSidebar hasSidebar"> <!-- ********** HEADER ********** --> <header id="dokuwiki__header"><div class="pad group"> <div class="headings group"> <ul class="a11y skip"> <li><a href="#dokuwiki__content">skip to content</a></li> </ul> <h1 class="logo"><a href="/start" accesskey="h" title="Home [h]"><img src="/lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /><span>DokuWiki</span></a></h1> <p class="claim">It's better when it's simple</p> </div> <div class="tools group"> <!-- USER TOOLS --> <div id="dokuwiki__usertools"> <h3 class="a11y">User Tools</h3> <ul> <li class="action login"><a href="/tips:blogging?do=login&sectok=" title="Log In" rel="nofollow"><span>Log In</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17.25V14H3v-4h7V6.75L15.25 12 10 17.25M8 2h9a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4h2v4h9V4H8v4H6V4a2 2 0 0 1 2-2z"/></svg></a></li> </ul> </div> <!-- SITE TOOLS --> <div id="dokuwiki__sitetools"> <h3 class="a11y">Site Tools</h3> <form action="/start" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"><input type="hidden" name="do" value="search" /><input type="hidden" name="id" value="tips:blogging" /><div class="no"><input name="q" type="text" class="edit" title="[F]" accesskey="f" placeholder="Search" autocomplete="on" id="qsearch__in" value="" /><button value="1" type="submit" title="Search">Search</button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> <div class="mobileTools"> <form action="/doku.php" method="get" accept-charset="utf-8"><div class="no"><input type="hidden" name="id" value="tips:blogging" /><select name="do" class="edit quickselect" title="Tools"><option value="">Tools</option><optgroup label="Page Tools"><option value="edit">Edit this page</option><option value="revisions">Old revisions</option><option value="backlink">Backlinks</option></optgroup><optgroup label="Site Tools"><option value="recent">Recent Changes</option><option value="media">Media Manager</option><option value="index">Sitemap</option></optgroup><optgroup label="User Tools"><option value="login">Log In</option></optgroup></select><button type="submit">></button></div></form> </div> <ul> <li class="action recent"><a href="/tips:blogging?do=recent" title="Recent Changes [r]" rel="nofollow" accesskey="r">Recent Changes</a></li><li class="action media"><a href="/tips:blogging?do=media&ns=tips" title="Media Manager" rel="nofollow">Media Manager</a></li><li class="action index"><a href="/tips:blogging?do=index" title="Sitemap [x]" rel="nofollow" accesskey="x">Sitemap</a></li> </ul> </div> </div> <!-- BREADCRUMBS --> <div class="breadcrumbs"> <div class="trace"><span class="bchead">Trace:</span> <span class="bcsep">•</span> <span class="curid"><bdi><a href="/tips:blogging" class="breadcrumbs" title="tips:blogging">blogging</a></bdi></span></div> </div> <hr class="a11y" /> </div></header><!-- /header --> <div class="wrapper group"> <!-- ********** ASIDE ********** --> <nav id="dokuwiki__aside" aria-label="Sidebar"><div class="pad aside include group"> <h3 class="toggle">Sidebar</h3> <div class="content"><div class="group"> <div class="plugin_translation is-dropdown"><span class="title">Translations of this page<sup><a href="/localization" class="wikilink1" title="localization" data-wiki-id="localization">?</a></sup>: </span><ul><li class="span"><span class="wikilink1" title="English">English (en)</span></li><li class="a"><a class="wikilink2" title="|العربية" href="/ar:tips:blogging">|العربية (ar)</a></li><li class="a"><a class="wikilink2" title="Català" href="/ca:tips:blogging">Català (ca)</a></li><li class="a"><a class="wikilink2" title="Česky" href="/cs:tips:blogging">Česky (cs)</a></li><li class="a"><a class="wikilink2" title="Dansk" href="/da:tips:blogging">Dansk (da)</a></li><li class="a"><a class="wikilink2" title="Deutsch" href="/de:tips:blogging">Deutsch (de)</a></li><li class="a"><a class="wikilink2" title="Ελληνικά" href="/el:tips:blogging">Ελληνικά (el)</a></li><li class="a"><a class="wikilink2" title="Esperanto" href="/eo:tips:blogging">Esperanto (eo)</a></li><li class="a"><a class="wikilink2" title="Español" href="/es:tips:blogging">Español (es)</a></li><li class="a"><a class="wikilink2" title="فارسی" href="/fa:tips:blogging">فارسی (fa)</a></li><li class="a"><a class="wikilink2" title="Français" href="/fr:tips:blogging">Français (fr)</a></li><li class="a"><a class="wikilink2" title="עברית" href="/he:tips:blogging">עברית (he)</a></li><li class="a"><a class="wikilink2" title="Magyar" href="/hu:tips:blogging">Magyar (hu)</a></li><li class="a"><a class="wikilink1" title="Italiano" href="/it:tips:blogging">Italiano (it)</a></li><li class="a"><a class="wikilink1" title="日本語" href="/ja:tips:blogging">日本語 (ja)</a></li><li class="a"><a class="wikilink2" title="한국어" href="/ko:tips:blogging">한국어 (ko)</a></li><li class="a"><a class="wikilink2" title="Lietuvių Kalba" href="/lt:tips:blogging">Lietuvių Kalba (lt)</a></li><li class="a"><a class="wikilink2" title="Nederlands" href="/nl:tips:blogging">Nederlands (nl)</a></li><li class="a"><a class="wikilink2" title="Norsk" href="/no:tips:blogging">Norsk (no)</a></li><li class="a"><a class="wikilink2" title="Polski" href="/pl:tips:blogging">Polski (pl)</a></li><li class="a"><a class="wikilink2" title="Português" href="/pt-br:tips:blogging">Português (pt-br)</a></li><li class="a"><a class="wikilink2" title="Română" href="/ro:tips:blogging">Română (ro)</a></li><li class="a"><a class="wikilink1" title="Русский" href="/ru:tips:blogging">Русский (ru)</a></li><li class="a"><a class="wikilink2" title="Српски Језик" href="/sr:tips:blogging">Српски Језик (sr)</a></li><li class="a"><a class="wikilink2" title="Svenska" href="/sv:tips:blogging">Svenska (sv)</a></li><li class="a"><a class="wikilink2" title="ไทย" href="/th:tips:blogging">ไทย (th)</a></li><li class="a"><a class="wikilink1" title="Українська" href="/uk:tips:blogging">Українська (uk)</a></li><li class="a"><a class="wikilink2" title="中文" href="/zh:tips:blogging">中文 (zh)</a></li><li class="a"><a class="wikilink2" title="繁體中文" href="/zh-tw:tips:blogging">繁體中文 (zh-tw)</a></li></ul></div> <p> <strong>Learn about DokuWiki</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/features" class="wikilink1" title="features" data-wiki-id="features">Features</a> & <a href="/blogroll" class="wikilink1" title="blogroll" data-wiki-id="blogroll">reviews</a> </div> </li> <li class="level1"><div class="li"> <a href="/install" class="wikilink1" title="install" data-wiki-id="install">Installation guide</a></div> </li> <li class="level1"><div class="li"> <a href="/manual" class="wikilink1" title="manual" data-wiki-id="manual">User manual</a> & <a href="/wiki:syntax" class="wikilink1" title="wiki:syntax" data-wiki-id="wiki:syntax">syntax</a></div> </li> <li class="level1"><div class="li"> <a href="/changes" class="wikilink1" title="changes" data-wiki-id="changes">Release notes</a></div> </li> <li class="level1"><div class="li"> <a href="/faq" class="wikilink1" title="faq" data-wiki-id="faq">FAQ</a></div> </li> </ul> <p> <strong>Advanced Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/extensions" class="wikilink1" title="extensions" data-wiki-id="extensions">Extensions</a></div> </li> <li class="level1"><div class="li"> <a href="/development" class="wikilink1" title="development" data-wiki-id="development">Development manual</a></div> </li> </ul> <p> <strong>Corporate Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/faq:support" class="wikilink1" title="faq:support" data-wiki-id="faq:support">Get support</a></div> </li> <li class="level1"><div class="li"> <a href="/donate" class="wikilink1" title="donate" data-wiki-id="donate">Donations</a></div> </li> </ul> <p> <strong>Our Community</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/teams:getting_involved" class="wikilink1" title="teams:getting_involved" data-wiki-id="teams:getting_involved">Get involved</a></div> </li> <li class="level1"><div class="li"> <a href="/dokuinstall" class="wikilink1" title="dokuinstall" data-wiki-id="dokuinstall">Users</a></div> </li> <li class="level1"><div class="li"> <a href="http://forum.dokuwiki.org" class="urlextern" title="http://forum.dokuwiki.org">User forum</a></div> </li> <li class="level1"><div class="li"> <a href="/mailinglist" class="wikilink1" title="mailinglist" data-wiki-id="mailinglist">Development mailinglist</a></div> </li> </ul> <hr /> <p> Follow us on <a href="https://phpc.social/@dokuwiki" class="urlextern" title="https://phpc.social/@dokuwiki">Mastodon</a> and other <a href="/social" class="wikilink1" title="social" data-wiki-id="social">social networks</a>. </p> <p> <a href="/privacy" class="wikilink1" title="privacy" data-wiki-id="privacy">Our Privacy Policy</a> </p> </div></div> </div></nav><!-- /aside --> <!-- ********** CONTENT ********** --> <main id="dokuwiki__content"><div class="pad group"> <div class="pageId"><span>tips:blogging</span></div> <div class="page group"> <!-- wikipage start --> <!-- TOC START --> <div id="dw__toc" class="dw__toc"> <h3 class="toggle">Table of Contents</h3> <div> <ul class="toc"> <li class="level1"><div class="li"><a href="#blogging_with_dokuwiki">Blogging with DokuWiki</a></div> <ul class="toc"> <li class="level2"><div class="li"><a href="#setup_blog_by_combining_couple_of_plugins">Setup blog by combining couple of plugins</a></div></li> <li class="level2"><div class="li"><a href="#required_plugins">Required Plugins</a></div></li> <li class="level2"><div class="li"><a href="#setup">Setup</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#single-user">Single-User</a></div></li> <li class="level3"><div class="li"><a href="#multi-user">Multi-User</a></div></li> <li class="level3"><div class="li"><a href="#feed_setup">Feed Setup</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#usage">Usage</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#using_drafts">Using Drafts</a></div></li> <li class="level3"><div class="li"><a href="#managing_comments">Managing Comments</a></div></li> <li class="level3"><div class="li"><a href="#managing_linkbacks">Managing Linkbacks</a></div></li> <li class="level3"><div class="li"><a href="#managing_tags">Managing Tags</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#customization">Customization</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#displaying_only_the_first_section_on_the_front_page">Displaying only the first section on the front page</a></div></li> <li class="level3"><div class="li"><a href="#tuning_the_feed">Tuning the feed</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#dealing_with_spam">Dealing with SPAM</a></div></li> <li class="level2"><div class="li"><a href="#caveats">Caveats</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#treat_your_filesystem_carefully">Treat your filesystem carefully</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#tips">Tips</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#fixing_wrong_timestamps">Fixing wrong timestamps</a></div></li> <li class="level3"><div class="li"><a href="#mobile_blogging">mobile blogging</a></div></li> </ul> </li> <li class="level2"><div class="li"><a href="#discussion">Discussion</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#change_order_of_linkback_and_discussion_in_rendered_wiki_page">Change order of "linkback" and "discussion" in rendered wiki page</a></div></li> <li class="level3"><div class="li"><a href="#link_to_dokuwiki_user_name_instead_of_real_name">Link to dokuwiki user name instead of real name</a></div></li> <li class="level3"><div class="li"><a href="#non-blog_pages">Non-blog pages</a></div></li> </ul></li> </ul></li> </ul> </div> </div> <!-- TOC END --> <h1 class="sectionedit1" id="blogging_with_dokuwiki">Blogging with DokuWiki</h1> <div class="level1"> <p> There are basically two ways to use DokuWiki for blogging. </p> <ol> <li class="level1"><div class="li"> Combine a couple plugins to extend DokuWiki with the right features so it is a complete blog. Please see the directions <a href="#setup_blog_by_combining_couple_of_plugins" title="tips:blogging ↵" class="wikilink1">below</a>.</div> </li> <li class="level1"><div class="li"> Or install the <a href="/plugin:blogtng" class="wikilink1" title="plugin:blogtng" data-wiki-id="plugin:blogtng">BlogTNG plugin</a>. </div> </li> </ol> <p> The features completeness of both approaches differ. </p> <p> The main difference between the two plugins is that BlogTNG is an all-in-one solution that uses a sqlite database for storing the blogging information. Arbitrary pages can be marked as belonging to a certain blog, there is no need to use any specific namespace structure. However this also means that you can't use the discussion or tagging features for non-blog pages which is possible with the modular setup. </p> <p> The modular setup contains some more features like comment moderation directly on the blog pages or archive pages while blogtng for example limits plugin syntax usage in comments which is in a typical blog setup definitely a useful feature (but that depends of course also on the installed plugins). </p> <p> <img src="/lib/images/smileys/exclaim.svg" class="icon smiley" alt=":!:" /> This page is a <strong>WORK IN PROGRESS</strong>! If you feel you can add to it please improve it wherever you see fit! </p> </div> <div class="secedit editbutton_section editbutton_1"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Blogging with DokuWiki] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="blogging_with_dokuwiki" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1-1214" /><button type="submit" title="Blogging with DokuWiki">Edit</button></div></form></div> <h2 class="sectionedit2" id="setup_blog_by_combining_couple_of_plugins">Setup blog by combining couple of plugins</h2> <div class="level2"> <p> Although <a href="https://en.wikipedia.org/wiki/blogging" class="interwiki iw_wp" title="https://en.wikipedia.org/wiki/blogging">blogging</a> isn't the main purpose of <a href="/dokuwiki" class="wikilink1" title="dokuwiki" data-wiki-id="dokuwiki">DokuWiki</a>, there are quite a large number of <a href="/plugins" class="wikilink1" title="plugins" data-wiki-id="plugins">plugins</a> available, which can turn DokuWiki into a full fledged blogging platform. </p> <p> This page describes the steps necessary to get you started with blogging in DokuWiki. It also provides useful tips and hints about possible caveats. </p> <p> If you want to discover existing DokuWiki-based blogs, try <a href="http://www.google.com/search?q=inurl:doku.php+inurl:blog" class="urlextern" title="http://www.google.com/search?q=inurl:doku.php+inurl:blog">this Google search</a>. </p> </div> <div class="secedit editbutton_section editbutton_2"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Setup blog by combining couple of plugins] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="setup_blog_by_combining_couple_of_plugins" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1215-1748" /><button type="submit" title="Setup blog by combining couple of plugins">Edit</button></div></form></div> <h2 class="sectionedit3" id="required_plugins">Required Plugins</h2> <div class="level2"> <p> First of all you have to install a set of plugins. The basic blog setup consists of the <a href="/plugin:blog" class="wikilink1" title="plugin:blog" data-wiki-id="plugin:blog">blog</a>, <a href="/plugin:include" class="wikilink1" title="plugin:include" data-wiki-id="plugin:include">include</a> and the <a href="/plugin:pagelist" class="wikilink1" title="plugin:pagelist" data-wiki-id="plugin:pagelist">pagelist</a> plugins, which represent the minimal install of the blog suite. </p> <p> In addition to these, you may complete your blog setup using the <a href="/plugin:discussion" class="wikilink1" title="plugin:discussion" data-wiki-id="plugin:discussion">discussion</a>, <a href="/plugin:linkback" class="wikilink1" title="plugin:linkback" data-wiki-id="plugin:linkback">linkback</a>, <a href="/plugin:bloglinks" class="wikilink1" title="plugin:bloglinks" data-wiki-id="plugin:bloglinks">bloglinks</a>, <a href="/plugin:feedmod" class="wikilink1" title="plugin:feedmod" data-wiki-id="plugin:feedmod">feedmod</a>, <a href="/plugin:avatar" class="wikilink1" title="plugin:avatar" data-wiki-id="plugin:avatar">avatar</a>, and <a href="/plugin:tag" class="wikilink1" title="plugin:tag" data-wiki-id="plugin:tag">tag</a> plugins. </p> </div> <div class="secedit editbutton_section editbutton_3"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Required Plugins] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="required_plugins" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1749-2194" /><button type="submit" title="Required Plugins">Edit</button></div></form></div> <h2 class="sectionedit4" id="setup">Setup</h2> <div class="level2"> </div> <div class="secedit editbutton_section editbutton_4"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Setup] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="setup" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="2195-2213" /><button type="submit" title="Setup">Edit</button></div></form></div> <h3 class="sectionedit5" id="single-user">Single-User</h3> <div class="level3"> <p> In this scenario we have only one single user who wants to use the blog plugin to create manage one blog. The <a href="/plugin:blog#configuration" class="wikilink1" title="plugin:blog" data-wiki-id="plugin:blog">configuration</a> of the blog plugin lets you specify a namespace where all the blog entries will be stored. By default this is set to <code>:blog</code> which should be OK for most users. </p> <p> To create the blog you have to decide which wiki page you'd like to use for the blog first and create it. If you want the blog to be the start page of the wiki this would be <code>:start</code>. After that you just have to add the <a href="/plugin:blog#blog" class="wikilink1" title="plugin:blog" data-wiki-id="plugin:blog">blog plugin syntax</a> to the page and save it. </p> <pre class="code">{{blog>?5}}</pre> <p> The above will display the five latest entries in our blog. Since this is a single-user setup there's no need to specify a namespace in the plugin syntax, instead the default setting will be used. You should see a form now to add new blog entries. But before you add your first entry there's one configuration option left which needs to be set, namely the <code>dateprefix</code> setting in dokuwiki/lib/plugins/blog/conf/default.php. It can be used to add the date the page was created to the page name of the new page. A good setting here is <code>%Y:%m%d_</code>. What happens here is that when you enter “my new blog” into the new entry form and press enter, the following page will created <code>blog:2008:0512_my_new_blog</code>. You see this comes in quite handy to keep your blog namespace organized. </p> <p> In order to only allow read access to your blog to prevent people from editing your entries it also makes sense to add some <abbr title="Access Control List">ACL</abbr> rules (the example assumes that you use the <code>:start</code> page for the blog listing). </p> <pre class="file">start @ALL 1 start yourusername 16 blog:* @ALL 1 blog:* yourusername 16</pre> </div> <div class="secedit editbutton_section editbutton_5"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Single-User] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="single-user" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="2214-3943" /><button type="submit" title="Single-User">Edit</button></div></form></div> <h3 class="sectionedit6" id="multi-user">Multi-User</h3> <div class="level3"> <p> In this scenario we want to allow different users to have their own blog. For that, each user needs his own blogging namespace and blog listing page where only he is allowed to create and edit pages. For this example we have three users named joey, walter and susi. Each user gets his own namespace below the <code>:blog</code> namespace and his own listing page. Therefore we have to setup the following <abbr title="Access Control List">ACL</abbr> rules (example for the user joey): </p> <pre class="file">blog:joey @ALL 1 blog:joey:* @ALL 1 blog:joey joey 16 blog:joey:* joey 16</pre> <p> Note that you can use <a href="/acl#user_wildcards" class="wikilink1" title="acl" data-wiki-id="acl">user wildcards</a> if you want to allow each and every user to blog. </p> <p> Now you have to create the page <code>:blog:joey</code> and insert the following blog plugin syntax to setup the blog. </p> <pre class="code">{{blog>blog:joey?5}}</pre> <p> Repeat that for all remaining users. After that they can start blogging by creating new entries with the new entry form. </p> </div> <div class="secedit editbutton_section editbutton_6"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Multi-User] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="multi-user" /><input type="hidden" name="codeblockOffset" value="1" /><input type="hidden" name="range" value="3944-4881" /><button type="submit" title="Multi-User">Edit</button></div></form></div> <h3 class="sectionedit7" id="feed_setup">Feed Setup</h3> <div class="level3"> <p> One of the most important things in a blog is its RSS feed. DokuWiki automatically creates all kind of <a href="/syndication" class="wikilink1" title="syndication" data-wiki-id="syndication">feeds</a> for you. But for a blog you may want to setup a specially tuned one. </p> <p> <strong>Note:</strong> Since the new DokuWiki supports full <abbr title="HyperText Markup Language">HTML</abbr> feeds it's no longer recommended to use the <a href="/plugin:feed" class="wikilink1" title="plugin:feed" data-wiki-id="plugin:feed">feed plugin</a> to create the blog feed (it's still useful for discussion feeds and the like though). </p> </div> <h4 id="determine_your_feed_url">Determine your feed URL</h4> <div class="level4"> <p> You will need some parameters to build your blog article feed. Most important is the <code>ns</code> parameter to limit the feed to your blog articles only. Remember not to use the blog frontpage for the feed because it will result in all your blog entries being included in one single feed item! </p> <p> Here is a most basic example <abbr title="Uniform Resource Locator">URL</abbr>: </p> <pre class="code">http://www.example.com/feed.php?ns=blog&num=10</pre> <p> You should also make sure it links to the most current version of your article. You can either set the <a href="/config:rss_linkto" class="wikilink1" title="config:rss_linkto" data-wiki-id="config:rss_linkto">default options</a> to do so or pass it along to <code>feed.php</code>: </p> <pre class="code">http://www.example.com/feed.php?ns=blog&num=10&linkto=current</pre> <p> You will most probably also enable DokuWiki's <a href="/config:rss_content" class="wikilink1" title="config:rss_content" data-wiki-id="config:rss_content">full html feed</a>: </p> <pre class="code">http://www.example.com/feed.php?ns=blog&num=10&linkto=current&content=html</pre> </div> <h4 id="nice_feed_urls_with_htaccess">Nice feed URLs with .htaccess</h4> <div class="level4"> <p> If you have <abbr title="Uniform Resource Locator">URL</abbr> rewriting via <code>.htaccess</code> enabled you should also consider to add some custom rewrite rules to have nice feed URLs. The rewrite rule for the above example would look like this (just add it below the rule for the <code>_export/</code> links): </p> <pre class="code apache"><span class="kw1">RewriteRule</span> ^_feed/?(.*) feed.php?ns=$1&num=<span class="nu0">10</span>&linkto=current&content=html [QSA,L]</pre> <p> Now you can access you blog feed with <code>http://yourdomain.org/_feed/blog</code>. </p> </div> <h4 id="autodiscovery">Autodiscovery</h4> <div class="level4"> <p> Browsers can discover RSS feeds by certain <abbr title="HyperText Markup Language">HTML</abbr> metadata. By default DokuWiki will provide this metadata for its standard feeds on its own. For a blogging page you might want to disable those feeds and only output your blog feed. This is done by editing your <a href="/template" class="wikilink1" title="template" data-wiki-id="template">template</a>'s <code>main.php</code>. Here is an example head section: </p> <pre class="code html4strict"><span class="sc2"><<a href="http://december.com/html/4/element/head.html"><span class="kw2">head</span></a>></span> <span class="sc2"><<a href="http://december.com/html/4/element/meta.html"><span class="kw2">meta</span></a> <span class="kw3">http-equiv</span><span class="sy0">=</span><span class="st0">"Content-Type"</span> <span class="kw3">content</span><span class="sy0">=</span><span class="st0">"text/html; charset=utf-8"</span> <span class="sy0">/</span>></span> <span class="sc2"><<a href="http://december.com/html/4/element/title.html"><span class="kw2">title</span></a>><?php tpl_pagetitle<span class="br0">(</span><span class="br0">)</span>?></span> [<span class="sc2"><?php echo strip_tags<span class="br0">(</span>$conf<span class="br0">[</span><span class="st0">'title'</span><span class="br0">]</span><span class="br0">)</span>?></span>]<span class="sc2"><<span class="sy0">/</span><a href="http://december.com/html/4/element/title.html"><span class="kw2">title</span></a>></span> <span class="sc2"><?php tpl_metaheaders<span class="br0">(</span>false<span class="br0">)</span>?></span> <span class="sc2"><<a href="http://december.com/html/4/element/link.html"><span class="kw2">link</span></a> <span class="kw3">rel</span><span class="sy0">=</span><span class="st0">"alternate"</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">"application/rss+xml"</span> <span class="kw3">title</span><span class="sy0">=</span><span class="st0">"Blog"</span> <span class="kw3">href</span><span class="sy0">=</span><span class="st0">"/feed.php?ns=blog&amp;linkto=page"</span> <span class="sy0">/</span>></span> <span class="sc2"><<span class="sy0">/</span><a href="http://december.com/html/4/element/head.html"><span class="kw2">head</span></a>></span></pre> <p> Notice the parameter <code>false</code> being passed to the tpl_metaheaders function. This will suppress all default RSS autodiscovery tags. </p> </div> <div class="secedit editbutton_section editbutton_7"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Feed Setup] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="feed_setup" /><input type="hidden" name="codeblockOffset" value="3" /><input type="hidden" name="range" value="4882-7420" /><button type="submit" title="Feed Setup">Edit</button></div></form></div> <h2 class="sectionedit8" id="usage">Usage</h2> <div class="level2"> </div> <div class="secedit editbutton_section editbutton_8"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Usage] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="usage" /><input type="hidden" name="codeblockOffset" value="5" /><input type="hidden" name="range" value="7421-7439" /><button type="submit" title="Usage">Edit</button></div></form></div> <h3 class="sectionedit9" id="using_drafts">Using Drafts</h3> <div class="level3"> <p> There are two different ways of dealing with unfinished blog entries in DokuWiki. You could for example setup a dedicated draft namespace where you store them, and at the time you finish them just create the blog entry and copy/paste the article. However, the blog plugin also supports drafts. To mark a blog entry as draft simply put <code>~~DRAFT~~</code> into the entry and save it. It will not show up in the blog listing unless you remove <code>~~DRAFT~~</code> from the page again. If you want to use this feature it's recommended to also install the <a href="/plugin:feedmod" class="wikilink1" title="plugin:feedmod" data-wiki-id="plugin:feedmod">feedmod</a> plugin as it also removes drafts from the blog feed. <strong>Note:</strong> Pages marked as draft with blog plugin still show up in search results, and for users with edit permissions! </p> </div> <div class="secedit editbutton_section editbutton_9"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Using Drafts] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="using_drafts" /><input type="hidden" name="codeblockOffset" value="5" /><input type="hidden" name="range" value="7440-8193" /><button type="submit" title="Using Drafts">Edit</button></div></form></div> <h3 class="sectionedit10" id="managing_comments">Managing Comments</h3> <div class="level3"> <p> The <a href="/plugin:discussion" class="wikilink1" title="plugin:discussion" data-wiki-id="plugin:discussion">discussion</a> plugin provides an administration interface available in DokuWiki's admin menu which allows you to close/open discussions and show/hide/delete comments. </p> </div> <div class="secedit editbutton_section editbutton_10"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Managing Comments] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="managing_comments" /><input type="hidden" name="codeblockOffset" value="5" /><input type="hidden" name="range" value="8194-8401" /><button type="submit" title="Managing Comments">Edit</button></div></form></div> <h3 class="sectionedit11" id="managing_linkbacks">Managing Linkbacks</h3> <div class="level3"> <p> The <a href="http://foosel.org/snippets/dokuwiki/linkback" class="urlextern" title="http://foosel.org/snippets/dokuwiki/linkback">linkback</a> plugin also provides an administration interface which allows you to delete linkbacks or enable/disable them for single pages. </p> </div> <div class="secedit editbutton_section editbutton_11"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Managing Linkbacks] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="managing_linkbacks" /><input type="hidden" name="codeblockOffset" value="5" /><input type="hidden" name="range" value="8402-8619" /><button type="submit" title="Managing Linkbacks">Edit</button></div></form></div> <h3 class="sectionedit12" id="managing_tags">Managing Tags</h3> <div class="level3"> <p> The latest <a href="/plugin:tag" class="wikilink1" title="plugin:tag" data-wiki-id="plugin:tag">tag</a> plugin provides an administration interface which lets you rebuild the tag index. The <a href="/plugin:tagentry" class="wikilink1" title="plugin:tagentry" data-wiki-id="plugin:tagentry">tagentry</a> plugin also provides a great functionality to keep control over your tags. </p> </div> <div class="secedit editbutton_section editbutton_12"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Managing Tags] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="managing_tags" /><input type="hidden" name="codeblockOffset" value="5" /><input type="hidden" name="range" value="8620-8851" /><button type="submit" title="Managing Tags">Edit</button></div></form></div> <h2 class="sectionedit13" id="customization">Customization</h2> <div class="level2"> <p> <img src="/lib/images/smileys/fixme.svg" class="icon smiley" alt="FIXME" /> </p> </div> <div class="secedit editbutton_section editbutton_13"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Customization] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="customization" /><input type="hidden" name="codeblockOffset" value="5" /><input type="hidden" name="range" value="8852-8884" /><button type="submit" title="Customization">Edit</button></div></form></div> <h3 class="sectionedit14" id="displaying_only_the_first_section_on_the_front_page">Displaying only the first section on the front page</h3> <div class="level3"> <p> Sometimes you don't want to show a full article on the front page because it is too long. To cut it off at a given line, just insert an empty H1 header. To make that work you also have to activate the <code>firstseconly</code> configuration option of the <a href="/plugin:include" class="wikilink1" title="plugin:include" data-wiki-id="plugin:include">include</a> plugin. </p> <pre class="file">This is going to be a long post ====== ====== Here comes all the long post</pre> </div> <div class="secedit editbutton_section editbutton_14"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Displaying only the first section on the front page] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="displaying_only_the_first_section_on_the_front_page" /><input type="hidden" name="codeblockOffset" value="5" /><input type="hidden" name="range" value="8885-9314" /><button type="submit" title="Displaying only the first section on the front page">Edit</button></div></form></div> <h3 class="sectionedit15" id="tuning_the_feed">Tuning the feed</h3> <div class="level3"> <p> DokuWiki's default feed is not 100% suitable for blogging, like it will display the page name as title of the feed item instead of the first headline. To change that you can use the <a href="/plugin:feedmod" class="wikilink1" title="plugin:feedmod" data-wiki-id="plugin:feedmod">feedmod</a> plugin. It will set the first headline of the blog entry as feed item title and also adds a footer which links to the discussion section, and displays the tags of the post. Furthermore you can add links to social bookmarking services by editing a footer template (for more information please refer to the <a href="/plugin:feedmod" class="wikilink1" title="plugin:feedmod" data-wiki-id="plugin:feedmod">feedmod</a> plugin page). </p> <p> Another simple way to add additional features to your feed is to use the <a href="http://www.feedburner.com" class="urlextern" title="http://www.feedburner.com">Feedburner</a> service. Register at their site, point them to your feed (See <a href="#determine_your_feed_url" title="tips:blogging ↵" class="wikilink1">Determine your feed URL</a>) and put the Feedburner feed into the autodiscovery tag. This will also move some server load from your site to the Feedburner services. </p> </div> <div class="secedit editbutton_section editbutton_15"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Tuning the feed] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="tuning_the_feed" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="9315-10223" /><button type="submit" title="Tuning the feed">Edit</button></div></form></div> <h2 class="sectionedit16" id="dealing_with_spam">Dealing with SPAM</h2> <div class="level2"> <p> Comment SPAM is quite a problem these days. Luckily DokuWiki provides a number of <a href="http://www.dokuwiki.org/plugins?plugintag=spam" class="interwiki iw_plugintag" title="http://www.dokuwiki.org/plugins?plugintag=spam">anti spam plugins</a>. Support for the <a href="/plugin:captcha" class="wikilink1" title="plugin:captcha" data-wiki-id="plugin:captcha">captcha</a> plugin is integrated into the <a href="/plugin:discussion" class="wikilink1" title="plugin:discussion" data-wiki-id="plugin:discussion">discussion</a> plugin. All you have to do is install it and set it up to your likings. </p> </div> <div class="secedit editbutton_section editbutton_16"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Dealing with SPAM] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="dealing_with_spam" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="10224-10533" /><button type="submit" title="Dealing with SPAM">Edit</button></div></form></div> <h2 class="sectionedit17" id="caveats">Caveats</h2> <div class="level2"> </div> <div class="secedit editbutton_section editbutton_17"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Caveats] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="caveats" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="10534-10554" /><button type="submit" title="Caveats">Edit</button></div></form></div> <h3 class="sectionedit18" id="treat_your_filesystem_carefully">Treat your filesystem carefully</h3> <div class="level3"> <p> <img src="/lib/images/smileys/fixme.svg" class="icon smiley" alt="FIXME" /> </p> </div> <div class="secedit editbutton_section editbutton_18"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Treat your filesystem carefully] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="treat_your_filesystem_carefully" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="10555-10603" /><button type="submit" title="Treat your filesystem carefully">Edit</button></div></form></div> <h2 class="sectionedit19" id="tips">Tips</h2> <div class="level2"> </div> <div class="secedit editbutton_section editbutton_19"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Tips] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="tips" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="10604-10621" /><button type="submit" title="Tips">Edit</button></div></form></div> <h3 class="sectionedit20" id="fixing_wrong_timestamps">Fixing wrong timestamps</h3> <div class="level3"> <p> <img src="/lib/images/smileys/fixme.svg" class="icon smiley" alt="FIXME" /> </p> <p> Some timestamp issues I came across: </p> <ul> <li class="level1"><div class="li"> As mentioned in the discussion of the <a href="/plugin:meta#discussion" class="wikilink1" title="plugin:meta" data-wiki-id="plugin:meta">meta plugin</a>, feed.php ignores settings of <code>~~META: …~~</code>. (Usually <a href="https://codesearch.dokuwiki.org/search?project=dokuwiki&defs=getRecents&path=" class="interwiki plugin_xref" title="search definitions for getRecents()">getRecents()</a> from changelog.php is called, which doesn't seem to support it?) This results in a mismatch between blog listing like <code>{{blog>blog?5}}</code> and <code>feed.php?ns=blog&num=5</code>, which is unexpected.</div> </li> <li class="level1"><div class="li"> Also, it is currently not possible to let feed.php list only newly created pages (and sort them by descending creation date). (Because getRecents() does provide listing only newly created pages.) I note that this listing <em>is</em> possible with the <a href="/plugin:changes" class="wikilink1" title="plugin:changes" data-wiki-id="plugin:changes">changes plugin</a>, but this code isn't used in <a href="https://codesearch.dokuwiki.org/search?project=dokuwiki&defs=&path=feed.php" class="interwiki plugin_xref" title="view definition for feed.php">feed.php</a>.</div> </li> <li class="level1"><div class="li"> An alternative approach using alphabetic ordering of pages by name could also solve issues if the items have pagenames like <code>:blog:YYYY-MM:DD-pagetitle</code> or similar. Then the feed.php is consistent with the permalinks of the blog, which would be nice.</div> </li> </ul> <p> — <em>Louwrens van Dellen 2010/05/03 23:23</em> </p> </div> <div class="secedit editbutton_section editbutton_20"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Fixing wrong timestamps] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="fixing_wrong_timestamps" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="10622-11692" /><button type="submit" title="Fixing wrong timestamps">Edit</button></div></form></div> <h3 class="sectionedit21" id="mobile_blogging">mobile blogging</h3> <div class="level3"> <p> <a href="/tips:mail2page" class="wikilink1" title="tips:mail2page" data-wiki-id="tips:mail2page">mail2page</a> is a script to create pages from mail. See also Andi's <a href="http://www.splitbrain.org/blog/2007-03/01-mobile_blogging_with_dokuwiki" class="urlextern" title="http://www.splitbrain.org/blog/2007-03/01-mobile_blogging_with_dokuwiki">blog post</a> </p> </div> <div class="secedit editbutton_section editbutton_21"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[mobile blogging] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="mobile_blogging" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="11693-11889" /><button type="submit" title="mobile blogging">Edit</button></div></form></div> <h2 class="sectionedit22" id="discussion">Discussion</h2> <div class="level2"> </div> <div class="secedit editbutton_section editbutton_22"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Discussion] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="discussion" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="11890-11912" /><button type="submit" title="Discussion">Edit</button></div></form></div> <h3 class="sectionedit23" id="change_order_of_linkback_and_discussion_in_rendered_wiki_page">Change order of "linkback" and "discussion" in rendered wiki page</h3> <div class="level3"> <p> Is it possible (without changing source/templates) to change the order of the <a href="/plugin:discussion" class="wikilink1" title="plugin:discussion" data-wiki-id="plugin:discussion">discussion</a> and the <a href="/plugin:linkback" class="wikilink1" title="plugin:linkback" data-wiki-id="plugin:linkback">linkback</a> plugin? If there is no way without editing, could anybody who is more often editing the code than me, give a hint into the right direction? (I am “speaking” <abbr title="HyperText Markup Language">HTML</abbr>/<abbr title="Cascading Style Sheets">CSS</abbr>/PHP) </p> <p> Thanks, <a href="mailto:dokuwiki%20%5Bdot%5D%20org%20%5Bat%5D%20rb%20%5Bdot%5D%207bg%20%5Bdot%5D%20de" class="mail" title="dokuwiki [dot] org [at] rb [dot] 7bg [dot] de">Ralf</a> </p> <blockquote><div class="no"> Unfortunately this is not possible in DokuWiki because of the way the output is generated in the two plugins there is no way to influence the order of the plugins. — <a href="https://forum.dokuwiki.org/u/Michitux" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/Michitux">Michael Hamann</a> <em>2013/11/18 13:09</em></div></blockquote> </div> <div class="secedit editbutton_section editbutton_23"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Change order of "linkback" and "discussion" in rendered wiki page] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="change_order_of_linkback_and_discussion_in_rendered_wiki_page" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="11913-12553" /><button type="submit" title="Change order of "linkback" and "discussion" in rendered wiki page">Edit</button></div></form></div> <h3 class="sectionedit24" id="link_to_dokuwiki_user_name_instead_of_real_name">Link to dokuwiki user name instead of real name</h3> <div class="level3"> <p> In order to limit some problems with namesake, is it possible to change the link user:xxxxx ? The best could be an option in the admin panel to choose between real name or dokuwiki user. Thanks. — <em>To_O</em> </p> <p> I think the link to the user page feature comes from <a href="/plugin:include" class="wikilink1" title="plugin:include" data-wiki-id="plugin:include">include plugin</a>, which the <a href="/plugin:blog" class="wikilink1" title="plugin:blog" data-wiki-id="plugin:blog">blog plugin</a> relies upon. — Anon </p> </div> <div class="secedit editbutton_section editbutton_24"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Link to dokuwiki user name instead of real name] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="link_to_dokuwiki_user_name_instead_of_real_name" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="12554-12967" /><button type="submit" title="Link to dokuwiki user name instead of real name">Edit</button></div></form></div> <h3 class="sectionedit25" id="non-blog_pages">Non-blog pages</h3> <div class="level3"> <p> What can I make non-blog pages (e.g. contact – these shouldn't appear in the blog listing)? Is using the ~~DRAFT~~ option a good idea? — Alex </p> </div> <div class="secedit editbutton_section editbutton_25"><form class="button btn_secedit" method="post" action="/tips:blogging"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1741080273" /><input type="hidden" name="summary" value="[Non-blog pages] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="non-blog_pages" /><input type="hidden" name="codeblockOffset" value="6" /><input type="hidden" name="range" value="12968-" /><button type="submit" title="Non-blog pages">Edit</button></div></form></div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>tips/blogging.txt</bdi> · Last modified: <time datetime="2025-03-04T10:24:33+0100">2025-03-04 10:24</time> by <bdi>saggi</bdi></div> <hr class="a11y" /> </div></main><!-- /content --> <!-- PAGE ACTIONS --> <nav id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools__heading"> <h3 class="a11y" id="dokuwiki__pagetools__heading">Page Tools</h3> <div class="tools"> <ul> <li class="edit"><a href="/tips:blogging?do=edit" title="Edit this page [e]" rel="nofollow" accesskey="e"><span>Edit this page</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg></a></li><li class="revs"><a href="/tips:blogging?do=revisions" title="Old revisions [o]" rel="nofollow" accesskey="o"><span>Old revisions</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7v5.11l4.71 2.79.79-1.28-4-2.37V7m0-5C8.97 2 5.91 3.92 4.27 6.77L2 4.5V11h6.5L5.75 8.25C6.96 5.73 9.5 4 12.5 4a7.5 7.5 0 0 1 7.5 7.5 7.5 7.5 0 0 1-7.5 7.5c-3.27 0-6.03-2.09-7.06-5h-2.1c1.1 4.03 4.77 7 9.16 7 5.24 0 9.5-4.25 9.5-9.5A9.5 9.5 0 0 0 12.5 2z"/></svg></a></li><li class="backlink"><a href="/tips:blogging?do=backlink" title="Backlinks" rel="nofollow"><span>Backlinks</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"/></svg></a></li><li class="top"><a href="#dokuwiki__top" title="Back to top [t]" rel="nofollow" accesskey="t"><span>Back to top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/></svg></a></li> </ul> </div> </nav> </div><!-- /wrapper --> <!-- ********** FOOTER ********** --> <footer id="dokuwiki__footer"><div class="pad"> <div class="license">Except where otherwise noted, content on this wiki is licensed under the following license: <bdi><a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license" class="urlextern">CC Attribution-Share Alike 4.0 International</a></bdi></div> <div class="buttons"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license"><img src="/lib/images/license/button/cc-by-sa.png" alt="CC Attribution-Share Alike 4.0 International" /></a> <a href="https://www.dokuwiki.org/donate" title="Donate" ><img src="/lib/tpl/dokuwiki/images/button-donate.gif" width="80" height="15" alt="Donate" /></a> <a href="https://php.net" title="Powered by PHP" ><img src="/lib/tpl/dokuwiki/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> <a href="//validator.w3.org/check/referer" title="Valid HTML5" ><img src="/lib/tpl/dokuwiki/images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a> <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" ><img src="/lib/tpl/dokuwiki/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> <a href="https://dokuwiki.org/" title="Driven by DokuWiki" ><img src="/lib/tpl/dokuwiki/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> </div> <div style="margin-top: 2em; font-size:90%" class="dokuwiki"><div style="float:right"><a href="http://www.splitbrain.org/personal#imprint" style="float:right; text-decoration: none; color:#333">Imprint</a></div></div><!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer><!-- /footer --> </div></div><!-- /site --> <div class="no"><img src="/lib/exe/taskrunner.php?id=tips%3Ablogging&1743384920" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>