Michiel Kamermans | 1 Oct 20:25
Favicon

xhtml processing optimisation.

Hi all,

I'm running a few plugins on a dokuwiki now which all function as xhtml 
postprocessor, but running the entire page several times through several 
plugins does slow things down significantly. One option of course is to 
combine the plugins into a single monster plugin, to speed things up, 
but that would be a bit drastic.

Has anyone every run to this problem before and solved it in a more 
civilised manner? Perhaps throwing a few ideas around on how to 
streamline multiple plugins operating on the same data would yield some 
usable interesting idea. I was thinking perhaps a new event that is 
thrown for every finalised xhtml line, so that plugins that can do their 
work in-place would be able to modify the lines as they're generated. 
Another option might be globally accessible xhtml postprocessing 
container with processing objects that can be added to it, with users 
defining a new xhtml_postprocessing_plugin extension, which in its 
constructor adds their custom line processing object to the processing 
container, with an optional method binding that gets passed the entire 
xhtml array once its done, should full processing be required.

in code:

------------------------------

// set up some time during dokuwiki init:

$XHTML_LINE_PROCESSORS = array();

// user code residing in for instance wiki/lib/plugins/[plugin 
(Continue reading)

Myron Turner | 1 Oct 20:35
Picon
Favicon
Gravatar

fckgLite -- Javascript sister to DokuWikiFCK

One of the developers at FCKeditor (now CKeditor) wrote to ask me if I 
had considered writing an HTML -> Wiki parser in pure javascript for 
FCKeditor/DokuWiki.  The result is fckgLite.  It's 'Lite' because it 
does not replicate all of the graphic features of the FCKeditor. 
Instead, it saves its documents as native DokuWiki markup.

fckgLite supports all of DokuWiki's markup except for php and html, 
which FCKeditor cannot deal with, and except for email-style quoting.

It is built on the DokuWikiFCK architecture and so still supports its 
underlying features--still supports plugins, still is tied into the DW 
auto-draft system, still uses DokuWiki's data/media directory for uploads.

fckgLite is incompatible with DokuWikiFCK.  If you are using 
DokuWikiFCK, you must remove the fckg directory from the DokuWiki 
plugins directory before installing fckgLite.

Here are some urls for fckgLite:

http://mturner.org/dwfck/lib/plugins/fckg/fckeditor/userfiles/file/fckgLite-0.01.09-Oct_01-12_14.tar.gz

http://mturner.org/dwfck/doku.php?id=introduction#fckglite
--

-- 

_____________________
Myron Turner
http://www.room535.org
http://www.mturner.org
http://net18reaching.org/cityscapes
_________________________________________________________
(Continue reading)

Myron Turner | 2 Oct 01:59
Picon
Favicon
Gravatar

Re: fckgLite -- Javascript sister to DokuWikiFCK

I noticed a security hole in the distribution of fckgLite and have fixed it:
   Go to: http://mturner.org/dwfck/doku.php?id=introduction#fckglite

Or download:
http://mturner.org/dwfck/lib/plugins/fckg/fckeditor/userfiles/file/fckgLite.tar.gz

You only have to replace the file action/edit.php

This change makes the editor available only to registered users; this 
means that for the time being it can't be used in an open wiki.

Sorry for the inconvenience.

_____________________
Myron Turner

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Andreas Gohr | 2 Oct 04:00
Favicon
Gravatar

darcs changes 2009-10-02


Good Morning!

This are the darcs changes for DokuWiki committed
yesterday. Please test them and report bugs.

---------------------------------------------------------------------
Thu Oct  1 01:00:02 CEST 2009  Andreas Gohr <andi[at]splitbrain.org>
  tagged develsnap 2009-10-01
---------------------------------------------------------------------

Single patches can be downloaded from
http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches

Bye,
your darcs changelog mailer

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Shai | 2 Oct 06:27
Picon

Re: Organize and link a wiki

One of the hardest things for me is to understand how to organize a Wiki ... doesn't anyone have some good pointers for me?

Shai

On Wed, Sep 30, 2009 at 1:37 PM, Shai <shaibn <at> gmail.com> wrote:
Hi,

I'm trying to understand how to organize and then also link internal documents from one to another inside a wiki.

I've had a wiki for quite some time, but never really seem to have gotten the idea on how I can organize it.

Any help would be greatly appreciated.

Also, once I decide on how to organize it, how do I easily link one page to another? Say I'm wring a new page, and I recall something about something I'm wriing about, do I need to remember the exact namespace to link to? Do I need to start searching around the wiki for the link to link this word to? How does that work?

Thanks,
Shai

Otto Vainio | 2 Oct 08:03
Favicon

Re: fckgLite -- Javascript sister to DokuWikiFCK

Myron Turner wrote:
> One of the developers at FCKeditor (now CKeditor) wrote to ask me if I 
> had considered writing an HTML -> Wiki parser in pure javascript for 
> FCKeditor/DokuWiki.  The result is fckgLite.  It's 'Lite' because it 
> does not replicate all of the graphic features of the FCKeditor. 
> Instead, it saves its documents as native DokuWiki markup.
> 
> fckgLite supports all of DokuWiki's markup except for php and html, 
> which FCKeditor cannot deal with, and except for email-style quoting.
> 
> It is built on the DokuWikiFCK architecture and so still supports its 
> underlying features--still supports plugins, still is tied into the DW 
> auto-draft system, still uses DokuWiki's data/media directory for uploads.
> 
> fckgLite is incompatible with DokuWikiFCK.  If you are using 
> DokuWikiFCK, you must remove the fckg directory from the DokuWiki 
> plugins directory before installing fckgLite.
> 

This is great. Exactly what I have waited!

Do you have a TODO somewhere? I would be glad to test and report 
suggestions ;-)

brgds Otto
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Rodolfo Pilas | 2 Oct 08:16
Gravatar

Re: Organize and link a wiki

El 02/10/09 01:27 a.m., Shai escribió:
> One of the hardest things for me is to understand how to organize a Wiki
> ... doesn't anyone have some good pointers for me?

In fact wiki is unorganized... means that it is evolutive and muting in
accordance of its content.

However you can divide it into chapters, section, themes.  Or perhaps in
general ideas containing more concrete ideas.  Or following an
alphabetical order like a dictionary.

There are not rules.  Perhaps exists good practices, but without rules
;)

Enjoy with your wiki!

Rodolfo

Hakan.Sandell | 2 Oct 08:31
Picon
Favicon

Re: Organize and link a wiki


Tip 1. Don't over-organize your wiki in the beginning. With DokuWiki, use
only a few namespaces. Compare with www.dokuwiki.org

Tip 2. Read http://www.wikipatterns.com - it's not so much about organizing
but how to make your wiki work

regards

/HÃ¥kan Sandell

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Shai | 2 Oct 08:34
Picon

Re: Organize and link a wiki

Keep'em coming guys :)

Eventually I'll create a namespace for Wiki startups :)

Shai

On Fri, Oct 2, 2009 at 8:31 AM, <Hakan.Sandell <at> mydata.se> wrote:

Tip 1. Don't over-organize your wiki in the beginning. With DokuWiki, use
only a few namespaces. Compare with www.dokuwiki.org

Tip 2. Read http://www.wikipatterns.com - it's not so much about organizing
but how to make your wiki work

regards

/Håkan Sandell

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Myron Turner | 2 Oct 17:23
Picon
Favicon
Gravatar

Re: fckgLite -- Javascript sister to DokuWikiFCK

Otto Vainio wrote:
> Myron Turner wrote:
>> One of the developers at FCKeditor (now CKeditor) wrote to ask me if I 
>> had considered writing an HTML -> Wiki parser in pure javascript for 
>> FCKeditor/DokuWiki.  The result is fckgLite.  It's 'Lite' because it 
>> does not replicate all of the graphic features of the FCKeditor. 
>> Instead, it saves its documents as native DokuWiki markup.

>>
> 
> This is great. Exactly what I have waited!
> 
> Do you have a TODO somewhere? I would be glad to test and report 
> suggestions ;-)
> 
> brgds Otto

Please send bug reports directly to me at my email address or the 
contact address at the dwfck web site:

           http://www.mturner.org/dwfck/doku.php

I try my best to fix things as soon as the come up.

Thanks,

Myron

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist


Gmane