[pmwiki-users] Problem in searches in 2.1.5

Stirling Westrup sti at pooq.com
Sat Oct 7 21:14:03 CDT 2006


Patrick R. Michaud wrote:

> Another option would be to follow an idea from the "POP3 to Wiki"
> thread, and to have a "drop directory" where text files and/or 
> page files could be placed for automatically being updated 
> into the wiki.  An external application could then simply place
> its updates into the drop directory, and PmWiki would take
> care of throwing them into wiki.d/ and doing all of the related
> updates (including the pageindex).

I really like this idea. It would mean that the (backburnered) project I
have where the entire initial contents of the wiki are auto-generated
would be much simpler.

> Another option might be to simply provide an ?action=index, whic
> does quick timestamp checks between the index and the files to
> throw out any outdated entries.  Then an automated script that is
> modifying files in wiki.d/ would simply call PmWiki with ?action=index
> to purge/update any inconsistent entries from the pageindex
> without having to throw it out entirely.

Given the previous facility, a process could take a page from wiki.d,
modify it and drop the new version into the drop-directory. Of course,
then one might have to deal with version skew if someone is editing the
wiki.d version as this happens.




More information about the pmwiki-users mailing list