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 [2012-06-19 23:41] – [Conf Changes] working config file Layneeplugin:bliki [2023-12-21 17:08] (current) – [Thanks] Aleksandr
Line 6: Line 6:
 email      : beau@dentedreality.com.au email      : beau@dentedreality.com.au
 type       : syntax type       : syntax
-lastupdate : 2005-10-16 +lastupdate : 2011-10-31 
-compatible : +compatible : 2011-05-25 "Rincewind", "Angua"
 depends    :  depends    : 
 conflicts  conflicts 
-similar    : blog +similar    : blog, blogtng, log 
-tags       : blog, news +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. 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 29: 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 466: Line 478:
 ^ Please note the new ''structure'' and ''offset'' options! ^ ^ Please note the new ''structure'' and ''offset'' options! ^
  
-<file php default.php>+<file php local.php>
 <?php <?php
 // * 2011-10-31  modified by Taggic to get is work with current dokuwiki (Rincewind) // * 2011-10-31  modified by Taggic to get is work with current dokuwiki (Rincewind)
Line 518: 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 548: 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 553: 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 616: 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;
Line 722: Line 739:
    - how will I be able to use categories?    - how will I be able to use categories?
    - is there a simple way to modify the appearance of the entries? I'd like to have a title, instead of the Date over the entry and another color in the background of an entry and it's header...    - is there a simple way to modify the appearance of the entries? I'd like to have a title, instead of the Date over the entry and another color in the background of an entry and it's header...
 +
 +------
 +  - What ever happend to including a link in these pages to a site where the plugin is in use, as an example?  --- [[user>tonybaldwin|tony baldwin]] //2014-08-17 20:59//
plugin/bliki.1340142083.txt.gz · Last modified: 2012-06-19 23:41 by Laynee

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