]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Question.
authortschwinge <tschwinge@web>
Wed, 11 Aug 2010 08:23:04 +0000 (08:23 +0000)
committerJoey Hess <joey@finch.kitenet.net>
Wed, 11 Aug 2010 08:23:04 +0000 (08:23 +0000)
doc/forum/cutpaste.pm_not_only_file-local.mdwn [new file with mode: 0644]

diff --git a/doc/forum/cutpaste.pm_not_only_file-local.mdwn b/doc/forum/cutpaste.pm_not_only_file-local.mdwn
new file mode 100644 (file)
index 0000000..df7b502
--- /dev/null
@@ -0,0 +1,9 @@
+I'd like to use the cutpaste plugin, but not only on a file-local basis: fileA
+has \[[!cut id=foo text="foo"]], and fileB does \[[!absorb pagenames=fileA]],
+and can then use \[[!paste id=foo]].
+
+Therefore, I've written an [*absorb* directive /
+plugin](http://www.thomas.schwinge.homeip.net/tmp/absorb.pm), which is meant to
+absorb pages in order to get hold of their *cut* and *copy* directives'
+contents.  This does work as expected.  But it also absorbs page fileA's *meta*
+values, like a *meta title*, etc.  How to avoid / solve this?