> > if( function_exists('myBOLTreadpage') ) $contents = myBOLTreadpage
> > ($location);
> > else $contents = BOLTreadpage($location);
> > if( $contents === NULL ) return '';
>
> Here's the critical lines, you should be able to use in BOLTloadpage
> and BOLTsavepage:
>
> if (function_exists('myBOLTloadpage')) return myBOLTloadpage($page,
> $dir, $data, $auth);
>
> if (function_exists('myBOLTsavepage')) return myBOLTsavepage($page,
> $newcontent, $newdata, $enableconflict, $indexing);
>
> You got all the information you need. Just copy over the core
> functions and customize the page read/write sections as needed.
I see it, but I'm a bit annoyed that the anchor logic will be
bypassed. There will be compatibility issues if we have seperate code
for the same feature.
>
> > Of course, the page store is largely superfluous, and this doesn't
> > jack into searches now that mysql can handle groups and searching
> > faster than php...
>
> You are right... I need to add a hook in the BOLTexists function.
>
> Not sure about searching and indexing... I assume they use the
> loadpage/savepage functions, so it should work ok... Not tested...
The point is mysql can probably search faster than any php regexp.
It's basically what it's made for, after all.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---