|
From: Steve W. <sw...@wc...> - 2000-06-22 05:03:33
|
On Thu, 22 Jun 2000, Arno Hollosi wrote:
> I implemented the new data structure as described in DBLIB.txt
> throughout wiki. I replaced several $pagehash["date"] with
> "lastmodified" and changed its handling from string to time()-stamp.
> (this includes that there are now two config variables for the dateformat)
> Also, $pagehash["refs"] is now an array. I've updated
> wiki_mysql.php3 to the new schema too.
Hmm... I coded against the original files, and was able to get everything
to work except searches; and I wound up putting in a weird hack to account
for the data structure... something like:
$ref["page"]["content"] = explode("\n", $o->content);
for fullsearch, which is probably all I'll have to revisit...
> If you start from scratch, then the version should work with pgsql & dbm
> as well. Let me know, if there are any problems.
>
> On a side note: I added "__" bold markup, but didn't dare to remove "'''".
> Your turn.
Hmm. Too late to discuss markup changes... I was drinking sake late into
the night :-)
> I've written two such functions for wiki_mysql.php3
> They are called MakeDBHash() and MakePageHash().
> If you like you can move them to wiki_stdlib.php3
Excellent. I'll check them out.
Just doing "cvs update," I found everything worked except fullsearch with
pgsql and DBM both, so my hunch is probably right and it will take only a
small amount of work here to fix.
sw
...............................ooo0000ooo.................................
Hear FM quality freeform radio through the Internet: http://wcsb.org/
home page: www.wcsb.org/~swain
|