Andreas Gohr | 1 Apr 04:00
Favicon
Gravatar

darcs changes 2007-04-01


Good Morning!

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

---------------------------------------------------------------------
Sun Apr  1 01:00:02 CEST 2007  Andreas Gohr <andi[at]splitbrain.org>
  tagged develsnap 2007-04-01

Sat Mar 31 23:34:01 CEST 2007  Anika Henke <a.c.henke[at]arcor.de>
  * fix for breadcrumbs and "namespace:start" pages (FS#927) by Nathan Fritz <fritzn[at]crown.edu>

Sat Mar 31 21:54:43 CEST 2007  Anika Henke <a.c.henke[at]arcor.de>
  * some additional chars for the picker
---------------------------------------------------------------------

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

Andreas Gohr | 2 Apr 04:00
Favicon
Gravatar

darcs changes 2007-04-02


Good Morning!

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

---------------------------------------------------------------------
Sun Apr  1 21:21:49 CEST 2007  Andreas Gohr <andi[at]splitbrain.org>
  * GeSHi update to 1.0.7.19
---------------------------------------------------------------------

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

abtet | 2 Apr 15:55
Picon
Favicon

Re: Help - write flat file to XML

Hi,
Thanks for the info. Yeah, my idea is to render the text file as an XML. if let say i've come out with the renderer plug-in how should i integrate it with doku?

I can now read the file but only as html and can't really work it out as XML yet..i have the xml tag already to map the content (the doku text file) but i have no idea how to put the xml into it..

Chris Smith <chris <at> jalakai.co.uk> wrote:

Hello,

Dokuwiki is most easily extended through plugins. The plugins page at
splitbrain is your best place to see details and resources availble
(http://wiki.splitbrain.org/wiki:plugins).

Your application seems best suited to a renderer plugin. Renderer
plugins take DW instructions(1) and render them according to their code,
e.g. a custom XML format. You can use the base renderer class
(include/parser/renderer.php) or one of the existing renderer plugins as
your foundation. These will have stubs for all of the native dokuwiki
syntax modes. If your XML closely maps to DW native syntax, your coding
will be a matter of generating appropriate strings for each DW instruction.

Cheers,

Chris

(1) DW parses the raw wiki text into an intermediate format, an
instruction list. The instruction list is a programmatic representation
of the raw wiki text.

a tahir wrote:
> Very nice function..I Have tried that..it works well..
> But that's not what i want/have on mind. I might have to explain what
> i wanted Doku to work on. I am using Doku (wiki features is what i am
> looking at in this study - i chose Doku) as an authoring tool for
> content (education) creation. The intended user for my study are
> teachers. As the content that they've created are stored in doku
> format (text file), i want to read it and stored in XML format (that
> i've created). Could anyone pls give me idea on how to do this?
>
> If i wanted to change/extend any function in Doku, where should i do
> it? (am not sure about this)..i am new to coding..try to understand
> how doku is working and learning php at the same time..kind of hard to
> me..
>
> Thank you very much.
>
> */Martin Tschofen /* wrote:
>
> A quick search on export on the wiki explains it:
>
> http://wiki.splitbrain.org/wiki:export
>
>
>
> On 3/27/07, *a tahir*
> > wrote:
>
>
>
> */Guy Brand
> >/* wrote:
>
> On 27 March at 00:30, a tahir wrote:
>
> > I am new to DokuWiki and have successfully installed it
> on my local
> > machine. I am a student and using Doku to my research. I
> wanted to
> > ask if anyone knows how to read the doku file (flat file)
> and write
> > it as an XML (converting the flat file to xml). This can
> be done i
> > hope with doku.
>
> Hello,
>
>
> Yes it can. Use do=export_xhtml for the page you want to
> convert
> to xhtml.
>
> --
> bug
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>
> Hi,
> Thanks for the reply. Could you please elaborate how to do
> that? Does that means i don't have to write a code to read the
> text file and parse it to XML (save as XML)? and if i have to
> write a code how could i connect the code with doku?
> What i am having on mind now is to come out with a code that
> can read the text file and parse it as an XML. If there is a
> simple way to do this without coding as i am very poor in coding.
> ------------------------------------------------------------------------
> Sucker-punch spam with award-winning protection.
> Try the free Yahoo! Mail Beta.
>
>
>
>
>
> ------------------------------------------------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile
> and
> always stay connected
> to
> friends.

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
<at> isis.u-strasbg.fr> <at> isis.u-strasbg.fr> <at> yahoo.com> <at> yahoo.com>.tschofen <at> gmail.com>

TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
Guy Brand | 2 Apr 23:11
Picon
Picon

Re: - newer version exists - Issue

On 30 March at 13:33, Monchanin Eric wrote:

> Hello Everybody,

  Hello,

> Since a few days, I am having a very annoying issue.
> When I save a modified page I am getting a
> "A newer version exists"
>  A newer version of the document you edited exists. This happens when
> another user changed the document while you were editing it.
> Examine the differences shown below thoroughly, then decide which
> version to keep. If you choose save, your version will be saved. Hit
> cancel to keep the current version.
> Save / Cancel.

  Someone else (or you with a different browser) has been editing
  the same page with the same login (if your wiki has users set up)
  or with the same IP address (if your wiki is without authentication)
  and saved his changes before you save yours.

> If I click on Save: Firefox then asks if I want to download doku.php (?)
> IE just tells me there is no such page.

  I cannot reproduce that. When I hit the save button, the page is
  saved and when I hit cancel, the page which was edited and saved
  while I was edited is kept.

-- 
  bug
--

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

Monchanin Eric | 3 Apr 00:01
Picon
Favicon

Re: - newer version exists - Issue

Well, at 1st I also thought somebody was editing the same file. But this
actually happens all the time, for all the files.
We have like 6 users set up in the whole wiki and maybe 50 different
pages. This issue seems to happen only to a few other people:
http://forum.dokuwiki.org/thread/578 for instance.

The wiki has been working correctly for the last 2 month, then started
to go wrong last week (around March 21)
Also, the "Recent Changes" are not displayed anymore, - last file
modified march 21 -

This problem occurs both in my chrooted env and outside (when apache is
executed in command line)

Guy Brand a écrit :
> On 30 March at 13:33, Monchanin Eric wrote:
>
>   
>> Hello Everybody,
>>     
>
>   Hello,
>
>   
>> Since a few days, I am having a very annoying issue.
>> When I save a modified page I am getting a
>> "A newer version exists"
>>  A newer version of the document you edited exists. This happens when
>> another user changed the document while you were editing it.
>> Examine the differences shown below thoroughly, then decide which
>> version to keep. If you choose save, your version will be saved. Hit
>> cancel to keep the current version.
>> Save / Cancel.
>>     
>
>   Someone else (or you with a different browser) has been editing
>   the same page with the same login (if your wiki has users set up)
>   or with the same IP address (if your wiki is without authentication)
>   and saved his changes before you save yours.
>
>   
>> If I click on Save: Firefox then asks if I want to download doku.php (?)
>> IE just tells me there is no such page.
>>     
>
>   I cannot reproduce that. When I hit the save button, the page is
>   saved and when I hit cancel, the page which was edited and saved
>   while I was edited is kept.
>
>   

--

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

Martin Gill | 3 Apr 09:40
Picon
Gravatar

Re: - newer version exists - Issue

On Mon, 2 Apr 2007 23:11:48 +0200, Guy Brand <gb <at> isis.u-strasbg.fr> wrote:
> On 30 March at 13:33, Monchanin Eric wrote:
> 
[snip]
> 
>> If I click on Save: Firefox then asks if I want to download doku.php (?)
>> IE just tells me there is no such page.
> 
>   I cannot reproduce that. When I hit the save button, the page is
>   saved and when I hit cancel, the page which was edited and saved
>   while I was edited is kept.
> 

I've seen this behaviour before. It happens when the php page being served does not have the correct headers
and firefox does not recognise it as a valid parse-able file. It's basically missing the "Content-Type:
text/html;" headers and firefox doesn't know what to do with it and offers to download it.

Do you have control over your webserver? Settings on it might have changed that brought this about, as you
said your wiki was working fine for 2 months.

Could be change in the way apache (or whatever) handles php files.

Regards,

  Martin

Homepage: http://www.martinsgill.co.uk
    Blog: http://blog.martinsgill.co.uk
--<-+->----<-+->----<-+->----<-+->----<-+->----<-+->----<-+->--
"Tantum religio potuit suadere malorum."
 - Titus Lucretius Carus (Roman Poet), De Rerum Natura

--

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

Werner Flamme | 3 Apr 09:39
Picon
Favicon

Re: - newer version exists - Issue

Monchanin Eric schrieb am 30.03.2007 13:33:
help you might have for me ;-)
> 
> Since a few days, I am having a very annoying issue.
> When I save a modified page I am getting a
> "A newer version exists"
>  A newer version of the document you edited exists. This happens when
> another user changed the document while you were editing it.
> Examine the differences shown below thoroughly, then decide which
> version to keep. If you choose save, your version will be saved. Hit
> cancel to keep the current version.
> Save / Cancel.

I know this text - I always get it when I use tor (the onion router) for 
accessing a wiki. I klick on the "edit" button with one IP address, edit 
the file, and when I try to save I get this very text ;-) because the IP 
address the wiki server gets from me now is not the same as when checking 
the page out.

The reason for downloading doku.php is given from Martin Gill. It is not DW 
related, we see this in our self-built intranet as well :-(

Just my 2c
Werner

-- 
Werner Flamme, Abt. WKDV
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-3921 - Fax (0341) 235-453921
http://www.ufz.de - eMail: werner.flamme <at> ufz.de
--

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

Ben Pollinger | 3 Apr 12:46
Picon

Re: - newer version exists - Issue

On 30/03/07, Monchanin Eric <emonchan <at> free.fr> wrote:
...
> If I click on Save: Firefox then asks if I want to download doku.php (?)
[snip]

I have this repeatedly with Firefox, but not IE6 or IE7

I found that turning off gzipping output in DokuWiki's admin page
solved the problem. Not ideal, but will do for now.

Note that gzipping output (the HTML pages) is different to gzipping
previous page versions (attic files).

I doubt this will help with your wider problem though, sorry.

-- 
www.pollinger.org.uk
PGP key: 0x30788FEF
--

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

Monchanin Eric | 3 Apr 14:06
Picon
Favicon

Re: - newer version exists - Issue

Hello,

I have a total access to the web server. The settings change you're
refering to might be the php update I did 2 weeks ago.
I went from 4.4.4 to 4.4.6 with only 1 small adding in the configure
(concerning gd)
I checked this morning with different settings: apache 1.3.33 -> apache
1.3.7 and php 4.4.4 to php 4.4.6, and I am always getting this same error.
Note that, when firefox wants to save the file, IE goes to a missing
page error.
If this is a problem of missing header, is there a way to force the
header somewhere in dokuwiki ?

Martin Gill a écrit :
> On Mon, 2 Apr 2007 23:11:48 +0200, Guy Brand <gb <at> isis.u-strasbg.fr> wrote:
>   
>> On 30 March at 13:33, Monchanin Eric wrote:
>>
>>     
> [snip]
>   
>>> If I click on Save: Firefox then asks if I want to download doku.php (?)
>>> IE just tells me there is no such page.
>>>       
>>   I cannot reproduce that. When I hit the save button, the page is
>>   saved and when I hit cancel, the page which was edited and saved
>>   while I was edited is kept.
>>
>>     
>
> I've seen this behaviour before. It happens when the php page being served does not have the correct
headers and firefox does not recognise it as a valid parse-able file. It's basically missing the
"Content-Type: text/html;" headers and firefox doesn't know what to do with it and offers to download it.
>
> Do you have control over your webserver? Settings on it might have changed that brought this about, as you
said your wiki was working fine for 2 months.
>
> Could be change in the way apache (or whatever) handles php files.
>
> Regards,
>
>   Martin
>
> Homepage: http://www.martinsgill.co.uk
>     Blog: http://blog.martinsgill.co.uk
> --<-+->----<-+->----<-+->----<-+->----<-+->----<-+->----<-+->--
> "Tantum religio potuit suadere malorum."
>  - Titus Lucretius Carus (Roman Poet), De Rerum Natura
>
>
>   

--

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

Robert Albrecht | 3 Apr 17:28
Picon

Re: - newer version exists - Issue

Martin Gill wrote:
> On Mon, 2 Apr 2007 23:11:48 +0200, Guy Brand <gb <at> isis.u-strasbg.fr> wrote:
>   
>> On 30 March at 13:33, Monchanin Eric wrote:
>>     
>>> If I click on Save: Firefox then asks if I want to download doku.php (?)
>>> IE just tells me there is no such page.
>>>       
>>   I cannot reproduce that. When I hit the save button, the page is
>>   saved and when I hit cancel, the page which was edited and saved
>>   while I was edited is kept.
>>
>>     
>
> I've seen this behaviour before. It happens when the php page being served does not have the correct
headers and firefox does not recognise it as a valid parse-able file. It's basically missing the
"Content-Type: text/html;" headers and firefox doesn't know what to do with it and offers to download it.
>   
I've also experienced this kind of behaviour, although not with 
DokuWiki. In my case it seemed to be related to php running out of 
memory (resizing images). Try checking the error log if you haven't already.

Robert Albrecht
--

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


Gmane