DokuWiki + WordPress = dwBliki

dwBiliki-0.1 is out!

Promised to share what I did to make a Bliki out of DokuWiki and WordPress. Here you are. dwBiliki-0.1 is out. As you have quickly guessed, d = DokuWiki and w = WordPress. See this and that for what motivated me to work on dwBliki.

dwBliki is a WordPress plugin that makes use of the WordPress plugin API. The API is a great feature from WP. It suffices all the needs to make dwBliki to work. I wished not to touch a single line of the DokuWiki code. I almost did with one exception - actually one line. See below (step 2).

Installation

  1. If you haven’t already, download, install and configure DokuWiki (2005-02-06 or up) and WordPress (tested only on 1.5). Make sure both are working individually.
  2. Here comes the single line hack in the DokuWiki code. Cd to /path/to/dokuwiki/install. Edit inc/common.php. Replace line 23
    session_start();
    with

    if (!headers_sent()) session_start();

    The reason for this change is to suppress the “header has been sent” warning. The change seems harmless to DokuWiki when it’s run individually. Andreas Gohr, the DokuWiki author, has promised to make this change. See comments blow.

  3. Download the latest dwBiliki: .tar.gz or .zip. Extract to the WordPress plugins directory.
    $ cd /path/to/wordpress/install
    $ cd wp-content/plugins
    $ tar xvfz dwbliki.latest.tar.gz
    $ unzip dwbliki.latest.zip # (for .zip)
  4. Configure dwBliki. Assume you are still in the WordPress plugins directory. Edit dwbliki/config.php. This is the only config file you need to take care. Follow the instructions in that file.
  5. Point your browser to your WordPress site admin page. Click on menu “Plugins”. After screen refreshed, you should be able to see dwBliki listed as a plugin. Activate it and click “View site”.
  6. If you have configured the DokuWiki path and relative url path correctly (in dwbliki/config.php), after you click “View site” and refresh the WordPress a few times, you should be able to see your Wiki pages in WordPress now.
  7. If you run into problems that you cannot resolve after trying, drop comments to this post.

A note

Please note that dwBliki-0.1 does not import your Wiki pages all at once. Instead it does a kind of lazy loading. Initially it only imports the starting page of your Wiki. It acts up on the Wiki links (a.k.a. “[[…]]”) in that page and maps them into WordPress posts. As you browse more pages, it maps more and eventually brings every Wiki page into WordPress.

Acknowledgment

A special word of gratitude is extended to the hardworking DokuWiki and WordPress teams.

Happy bliki’ing!

34 user comments

  1. kb on March 1st, 2005:

    Wow, I’ve been thinking about something like this for sometime. Another good example that I like to think of as a well made bliki is Rui’s The Tao of Mac which is a hacked phpwiki. It has that balance of wiki and blog that seperatley you cannot get.

    Can’t wait to see the code. I was going to do the same thing but just as a big hack to DokuWiki.

  2. Andreas Gohr on March 3rd, 2005:

    Hi!

    This sounds really interesting! I will add the suggested change to DokuWiki.

    Andi (DokuWiki Developer)

  3. ezpdo4php on March 3rd, 2005:

    Thanks, Andi. I will revise the instruction once I see your new release. -oak

  4. kusaeni on March 3rd, 2005:

    I downloaded DoKuWiki latest version .. and try to extract it but .. Its cant to extract .. Err

  5. ezpdo4php on March 3rd, 2005:

    kusaeni,

    i haven’t tried the latest version of DokuWiki. the version i am using is 2005-02-06. probably you can drop a line at the DokuWiki site and see if anybody can help. thanks.

    another thing you might want to be aware (not sure if this is your case) is that if you download .tar.gz, and unzip it using WinZip, you might run into problems. the right command line is tar xvfz.

    btw, if you get your problem solved, please post your solution so people can share. thanks.

    -oak

  6. ezpdo4php on March 3rd, 2005:

    kb, see the new post http://www.ezpdo.net/blog/?p=26. -oak
    p.s. i found your wirting about bliki thorough and enlightening.

  7. ogre on March 3rd, 2005:

    love it oak ;) ;), as i said in my email to you.. i’ve been looking for something like this for over a year.. i’m going to install it right now and let you know how it works..

    you’re just unstoppable right now..

  8. ogre on March 3rd, 2005:

    although i think maybe ‘woku-bliki’ would be a cool name..

  9. ezpdo4php on March 4th, 2005:

    ogre,

    thanks for the suggestion. sounds really a cool name. if anybody else concur, i’ll change it. let me know how it works.

    -oak

  10. kusaeni on March 5th, 2005:

    Yup I know it .. I d’load DokuWiki latest version 2002-02-18 … And I use Winzip to extract it …And my Cpanel to auto extract .. but still cannt clear the problem :(

  11. ezpdo4php on March 5th, 2005:

    kusaeni,

    i tried the latest version of dokuwiki. did not have any trouble extracting the file. tried both winzip and tar xvfz in cygwin. worked like a charm. if your problem persists, best to contact folks at http://wiki.splitbrain.org/. thanks.

    -oak

  12. EZPDO: Eazy PHP Data Objects » Blog Archive » Looking for dwBliki? on March 5th, 2005:

    […] Was hoping to integrate DokuWiki into WordPress. Now after a day of hacking, this is what I currently have - a bliki if you may. Take a look at this (blog) and compare it with this (wiki). […]

  13. EZPDO » Blog Archive » dwBliki: Search is on! on March 8th, 2005:

    […] Projects Search

    […]

  14. netbib weblog on March 8th, 2005:

    WordPress-Plugin fr DokuWiki

    Das Software-Projekt EZPDO kndigt ein WordPress-Plugin an, mit dem sich DokuWiki-Seiten in Beitrge eines WordPress-Weblogs berfhren lassen. Damit sollen sich dann Beitrge von einer geschlossenen Gruppe (im Falle von EZPDO: den Entwicklern des Proj…

    See the Google auto-translation (German->English) of this comment here . -oak.

  15. Weblog Tools Collection » WP Plugin: DWBliki on March 9th, 2005:

    […] Weblog tools blog tools blogging tools LinkyLoo Wordpress Plugins — Mark WP Plugin: DWBliki DWBliki is a DokuWiki plugin for Wordpress that DOES require a few changes to the core Wordpre […]

  16. elnayaf on March 11th, 2005:

    The above statement (#15) is not true. Just to clarify. dwBliki is a WordPress plugin that DOES NOT require any changes in the WordPress core, but only a single line change in DokuWiki at the moment. And that single line change won’t even be necessary as DokuWiki author Andreas Gohr has promised to make it into the future releases. I have posted a similar comment on that site.

  17. Bubbling Minds » Blog + Wiki on March 14th, 2005:

    […] on.href = entryLink;return true;}}

    14-3-2005

    Blog + Wiki

    DokuWiki + WordPress = dwBliki

    Arkiveret under: Bubbling Minds — Lis Faurholt @ 23:12 […]

  18. Sidney’s weblog » Blog Archive » [DokuWiki | start] on April 5th, 2005:

    […] [DokuWiki | start] I have just installed DokuWiki and the strangely named […]

  19. SteveJ on April 15th, 2005:

    Here are my choices for names:
    a) Just “bliki”
    b) blogwiki (I guess, this is quite generic)
    c) dwiki
    d) wokubliki (as suggested above)

  20. ezpdo4php on April 21st, 2005:

    thanks for your suggestions.. we will go for “woku-bliki” then. may take a while to come up with a decent logo. so be patient. :)

  21. Gabe on April 27th, 2005:

    Hi all. I’m not a big fan of the Woku-bliki” moniker. It doesn’t really elicit the function of the plug-in is and it is hard to pronounce (i.e., WOCK-YOU-Blicky vs. wah-koo-blEEky–in all fairness a problem with the DokuWiki name too)).

    My suggestions:
    WP2DW or DW2WP
    WordPressWiki or WPWiki or even just WPW
    WordWiki
    WPDWiki
    WPD

  22. EZPDO: An O/R Mapping and Persistence Solution for PHP5 on May 2nd, 2005:

    […] t 1: sync up DokuWiki content on a regular basis. The previous version pulls Wiki pages by lazy loading, meaning that starting from the starting Wiki page, only linked pages are imported. Now we have an n […]

  23. empdesign » Blog Archive » Plugins Wp on May 16th, 2005:

    […] currido entre la creación de la entrada y la creación de cada uno de los comentarios. dwBiliki: Permite la integración de WordPress y la her […]

  24. David Angier Blog » Wordpress and Drupal on July 14th, 2005:

    […] On the other hand, I was helping someone set up a new site which is going to be a typical portal with news articles, stories, blog syndication and aggregation, forums, an information repositary and some custom tweaks particular to that site. With plugins such as bbPress, dwBliki, or easily themeable complementry software such as PunBB and DokuWiki then Wordpress could do it. […]

  25. Notizblog » Blog Archive » dwBliki on August 2nd, 2005:

    […] EZPDO: An O/R Mapping and Persistence Solution for PHP5 […]

  26. louie on August 20th, 2005:

    seems the lastest dwBliki not works on the latest dokuwiki :(

  27. ezpdo4php on August 20th, 2005:

    louie, that’s likely as dokuwiki has been undergoing some big changes lately (especially in its parsing core). we haven’t tested dwbliki agaist the latest dokuwiki yet, but will do so when we have a chance. if you or anyone else can do some investigation and share with us, we will highly appreciate. thanks.

  28. Cry For Help » Blog Archive » DokuWiki Markup Plugin on October 27th, 2005:

    […] The first thing I did was search google. You never know if anyone has had the same idea and went ahead and did it My google search gave me dwBliki dwBliki is very nice but it didn’t do what I wanted. dwBliki reads all your wiki pages and convert’s them into wordpress posts. I wanted to write my posts using wordpress and using dokuwiki markup. Since I didn’t find anything I pulled up my sleeves and prepared for the worse. After a quick overview of WordPress Web Site I found out the Codex. Here I found all the info I needed. I went through a couple of webpages explaining how to use the WordPress plugin API. […]

  29. WikiThis at MB Blog on November 8th, 2005:

    […] Edit At one point I tried desperatly to use the dwBliki Plugin but it dosn’t work well. // Used for showing and hiding user information in the comment form function ShowUtils() { document.getElementById(”authorinfo”).style.display = “”; document.getElementById(”showinfo”).style.display = “none”; document.getElementById(”hideinfo”).style.display = “”; } function HideUtils() { document.getElementById(”authorinfo”).style.display = “none”; document.getElementById(”showinfo”).style.display = “”; document.getElementById(”hideinfo”).style.display = “none”; } […]

  30. Site Of Abel » Blog Archive » on February 16th, 2006:

    […] […]

  31. AÄŸva on February 18th, 2006:

    great site you have made

  32. Danald on June 12th, 2006:

    Realmente tengo gusto de este Web site. Usted todo ha hecho un buen trabajo.

  33. Bulk Email on November 19th, 2006:

    Can the liberties of a nation be thought secure,
    when we have removed their only firm basis,
    a conviction in the minds of the people that they
    bulk email services
    are a gift of God? Indeed, I tremble for my countrymen,
    when I reflect that God is just, that His justice
    cannot sleep forever.

    -Thomas Jefferson

  34. Fan of Don Lapre on December 18th, 2006:

    i don’t know PHP , is it possible to use this dwBliki… Can anyone help me out…

    Fan of Don Lapre
    larisa@larisajoyreilly.com

Post your comments

XHTML: tags you can use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Couldn't find your convert utility. Check that you have ImageMagick installed.