[pmwiki-users] Subject: Using pmwikiedit in PmWiki V2

Ben Wilson dausha at gmail.com
Fri Feb 3 07:05:02 CST 2006

Hmm . . . not sure if putting two values is orthogonal enough. How about:

?action=edit&pos=#anchor&ins=before/after (or b/a)

When 'pos' is null, then 'ins' will either append/postpend to the entire page.

I've actually created a recipe that takes off from the (:addlink:)
recipe. Since I work for a law firm and frequently have to brief
cases, I created a form that when complete fills the brief format
we've adopted. The cases are appended at the macro markup with the
macro following. I'll also be adding progress notes so we can document
what is going on with our cases (which typically span years and we can
spend months between next steps).


On 2/2/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Thu, Feb 02, 2006 at 01:20:44PM -0700, H. Fox wrote:
> > On 2/2/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > > On Thu, Feb 02, 2006 at 11:21:06AM -0600, Ben Wilson wrote:
> > > > Sounds like ?action=append, which would be neat, as would
> > > > ?action=postpend. That is, have one that adds to the top, one that
> > > > adds to the bottom. :-)
> > >
> > > It really needs to be ?action=edit&append=1, so that the posted
> > > text can still go through all of the various checks that need to
> > > be performed for newly posted content (e.g., blocklists, setting
> > > of page attributes, etc.)
> >
> > Or ?action=edit&append=top and ?action=edit&append=bottom
> That's nicer.  But another approach might be to use
>    ?action=edit&insert=#anchor
> which says to insert the text at the position given by #anchor, with
> insert=start and insert=end being use for the start and end of the
> page.  Then we just need some way to be able to say "before #anchor"
> and "after #anchor".
> Pm

Ben Wilson
" Mundus vult decipi, ergo decipiatur"

More information about the pmwiki-users mailing list