[pmwiki-users] Simplest possible section editing
ccox at endlessnow.com
Fri Jul 30 00:13:03 CDT 2010
On Thu, 2010-07-29 at 23:44 -0500, Randy Brown wrote:
> Existing section-editing recipes don't do quite what I want. For example, Fox forms doesn't yet handle concurrent edits, while neither Fox nor SectionEdit handles "sections" such as title directives.
> I know how to indicate the section to edit via an http request. I think I can figure out how to identify the section on the page by using well-defined strings. But I don't have a clue how to interact with PmWiki forms.
> I envision using PmWiki's existing form mechanisms, but hiding the text that comes before and after the desired section on a page. On save or preview, I'd re-insert the hidden text. In my vision, I wouldn't have to worry about things like Replace on Save logic, because the page's text would be reassembled by the time it gets that far.
Just my opinion, but IF section editing is important and whole page
editing with sections is NOT too important, then you could do something
simple like use (:include pagename:) in the overall page and have edit
tags there (possibly based on being authorized). Just an idea.
Sometimes we try to force a VERY HARD feature (one that would require a
radical architecture change) instead of just rethinking the problem.
More information about the pmwiki-users