]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/cutpaste.pm_not_only_file-local.mdwn
Added a comment
[ikiwiki.git] / doc / forum / cutpaste.pm_not_only_file-local.mdwn
1 I'd like to use the cutpaste plugin, but not only on a file-local basis: fileA
2 has \[[!cut id=foo text="foo"]], and fileB does \[[!absorb pagenames=fileA]],
3 and can then use \[[!paste id=foo]].
4
5 Therefore, I've written an [*absorb* directive /
6 plugin](http://schwinge.homeip.net/~thomas/tmp/absorb.pm), which is meant to
7 absorb pages in order to get hold of their *cut* and *copy* directives'
8 contents.  This does work as expected.  But it also absorbs page fileA's *meta*
9 values, like a *meta title*, etc.  How to avoid / solve this?
10
11 Alternatively, do you have a better suggestion about how to achieve what I
12 described in the first paragraph?
13
14 --[[tschwinge]]