DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:bliki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:bliki [2014-08-17 20:59] – [Many questions/ideas] tonybaldwinplugin:bliki [2023-12-21 17:08] (current) – [Thanks] Aleksandr
Line 12: Line 12:
 similar    : blog, blogtng, log similar    : blog, blogtng, log
 tags       : blog, news, twitter tags       : blog, news, twitter
----- 
  
 +downloadurl: https://trello.com/1/cards/5af70a06baeeb1371277812c/attachments/5af70a219cbf8182bedfb170/download/bliki.zip
 +bugtracker :
 +sourcerepo :
 +donationurl:
  
-by [[beau@dentedreality.com.au|Beau Lebens]] and [[anthony.caetano@sanlam.co.za|Anthony Caetano]]+screenshot_img: 
 +---- 
 + 
 +By [[beau@dentedreality.com.au|Beau Lebens]] and [[anthony.caetano@sanlam.co.za|Anthony Caetano]].
  
 ===== Description ===== ===== Description =====
 +
 Bliki allows you to create a simple blog on any page of your wiki by adding a single tag (''%%~~BLIKI~~%%'') to your page. It uses date-based namespaces to store your entries, and automatically handles paging of posts, a 'new post' link, date headers and post footers. Bliki allows you to create a simple blog on any page of your wiki by adding a single tag (''%%~~BLIKI~~%%'') to your page. It uses date-based namespaces to store your entries, and automatically handles paging of posts, a 'new post' link, date headers and post footers.
  
 ===== Version/Requirements ===== ===== Version/Requirements =====
-Latest version released 2005-10-16 and developed/tested using the 2005-07-13 version of DokuWiki.\\ + 
-**Update** : thanks to [[user>Taggic]], bliki now works with Rincewind and Angua.+Latest version released 2005-10-16 and developed/tested using the 2005-07-13 version of DokuWiki. 
 + 
 +**Update**: thanks to [[user>Taggic]], bliki now works with Rincewind and Angua.
  
 ==== Previous Versions ==== ==== Previous Versions ====
 +
   * First release: deep storage only.   * First release: deep storage only.
  
Line 30: Line 40:
  
 ==== Plugin Source ==== ==== Plugin Source ====
 +
 Create a directory called ''bliki'' inside your ''lib/plugins/'' directory, and then copy the following source into ''syntax.php'' in that directory (''lib/plugins/bliki/syntax.php''). Obviously make sure the file is readable by your webserver. Create a directory called ''bliki'' inside your ''lib/plugins/'' directory, and then copy the following source into ''syntax.php'' in that directory (''lib/plugins/bliki/syntax.php''). Obviously make sure the file is readable by your webserver.
  
Line 519: Line 530:
  
 ===== Usage ===== ===== Usage =====
 +
 To create a blog using bliki, you just create a new page, set up the basic template (surrounding the actual blog) and put in the ''%%~~BLIKI~~%%'' tag. When you load that page, you'll see any available blog posts and the option to create a new one. Your actual page might look like this; To create a blog using bliki, you just create a new page, set up the basic template (surrounding the actual blog) and put in the ''%%~~BLIKI~~%%'' tag. When you load that page, you'll see any available blog posts and the option to create a new one. Your actual page might look like this;
  
Line 549: Line 561:
  
 ===== Notes ===== ===== Notes =====
 +
   * Currently will not function properly if ''$conf['userewrite']'' is set to 2 and ''$conf['useslash']'' is set to 0 (zero).   * Currently will not function properly if ''$conf['userewrite']'' is set to 2 and ''$conf['useslash']'' is set to 0 (zero).
   * Creating a new post and editing an existing one is slightly less intuitive than it could be because DokuWiki takes you to that individual entry when you're done, rather than the blog page   * Creating a new post and editing an existing one is slightly less intuitive than it could be because DokuWiki takes you to that individual entry when you're done, rather than the blog page
Line 554: Line 567:
  
 ===== To Do ===== ===== To Do =====
 +
   * Take ACLs into account for new post links   * Take ACLs into account for new post links
   * Use caching?   * Use caching?
  
 ===== Thanks ===== ===== Thanks =====
-  * Andreas Gohr and everyone else who is actively developing DokuWiki - it's the best wiki engine out there!+ 
 +  * Andreas Gohr and everyone else who is actively developing DokuWiki -- it's the best wiki engine out there!
   * Esther Brunner for the [[plugin:include|Include plugin]], which got me started on this one.   * Esther Brunner for the [[plugin:include|Include plugin]], which got me started on this one.
-  * Rael Dornfest for the [[http://www.blosxom.com/|blosxom blogging engine]], which was the inspiration for this project.+  * Rael Dornfest for the [[wp>Blosxom|blosxom blogging engine]], which was the inspiration for this project.
   * Anthony Caetano for adding flat storage support to the plugin   * Anthony Caetano for adding flat storage support to the plugin
  
 ===== Discussion ===== ===== Discussion =====
 +
 Comments? Comments?
  
Line 617: Line 633:
    $conf['bliki']['namespace'] = "some_namespace"  // ie "comments", "comments:2006", "bliki" or whatever you want    $conf['bliki']['namespace'] = "some_namespace"  // ie "comments", "comments:2006", "bliki" or whatever you want
  
-2. Replace function render() with this: +2. Replace function ''render()'' with this: 
-<code>+<code php>
     function render($mode, &$renderer, $data) {     function render($mode, &$renderer, $data) {
     global $ID, $conf;     global $ID, $conf;
plugin/bliki.1408301984.txt.gz · Last modified: 2014-08-17 20:59 by tonybaldwin

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