[dokuwiki] Re: Indexing of modified pages
- From: Myron Turner <turnermm02@xxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 20 Jul 2007 15:44:43 -0500
TNHarris wrote:
On Thu, 19 Jul 2007 19:48:01 -0500, "Myron Turner" <turnermm02@xxxxxxx>
said:
A string is needed for cleanText() and file_get_contents() is
optimized and recommended for reading a file into a string. I assume
this was the reasoning, since file() returns an array.
I hope you didn't misunderstand me. (I made a grammatical typo in me
previous message. Sorry.)
io_readFile returns a string, which is why I thought it would be better
to use file_get_contents instead of join('',file($file)) which it
currently does (line 97).
There's no helping compressed files, of course.
-- tom
telliamed@xxxxxxxxxxx
Right. I see your point .
--
_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Monobook Tpl and FF
- From: Francois Sabot
- References:
- [dokuwiki] Indexing of modified pages
- From: Todd Augsburger
- [dokuwiki] Re: Indexing of modified pages
- From: TNHarris
- [dokuwiki] Re: Indexing of modified pages
- From: Myron Turner
- [dokuwiki] Re: Indexing of modified pages
- From: TNHarris
Other related posts:
- » [dokuwiki] Indexing of modified pages
- » [dokuwiki] Re: Indexing of modified pages
- » [dokuwiki] Re: Indexing of modified pages
- » [dokuwiki] Re: Indexing of modified pages
- » [dokuwiki] Re: Indexing of modified pages
- » [dokuwiki] Re: Indexing of modified pages
- » [dokuwiki] Re: Indexing of modified pages
On Thu, 19 Jul 2007 19:48:01 -0500, "Myron Turner" <turnermm02@xxxxxxx> said:
A string is needed for cleanText() and file_get_contents() is optimized and recommended for reading a file into a string. I assume this was the reasoning, since file() returns an array.
I hope you didn't misunderstand me. (I made a grammatical typo in me
previous message. Sorry.)
io_readFile returns a string, which is why I thought it would be better
to use file_get_contents instead of join('',file($file)) which it
currently does (line 97).
There's no helping compressed files, of course. -- tom telliamed@xxxxxxxxxxx
- [dokuwiki] Monobook Tpl and FF
- From: Francois Sabot
- [dokuwiki] Indexing of modified pages
- From: Todd Augsburger
- [dokuwiki] Re: Indexing of modified pages
- From: TNHarris
- [dokuwiki] Re: Indexing of modified pages
- From: Myron Turner
- [dokuwiki] Re: Indexing of modified pages
- From: TNHarris