[[!tag plugins/meta patch]]
+[[!template id=gitbranch branch=jon/defaultmeta author="[[Jon]]"]]
I'd like to define [[plugins/meta]] values to apply across all pages
site-wide unless the pages define their own: default values for meta
> by the fact that some (but not all!) meta headers are idempotent.
>
> --[[smcv]]
+
+>> Thanks for your comment. Tonight I had a go at implementing the syntax
+>> you propose here. I decided the simplest thing to do might be for the scan
+>> subroutine to convert any hashes found in the meta_defaults list into calls
+>> to the preprocess routine. I've got a bit stuck trying to convert a hash to
+>> a named parameter list (or just a subroutine parameter list that is). I may
+>> try to look again in the morning (brain a bit sleepy)
+>>
+>> ...and on writing this comment I see your second suggestion was essentially
+>> to do exactly that :) -- [[Jon]]
+
+>>> ok, it's easier than I thought, I just pass the hash and it's handled
+>>> correctly. Right now can't figure out why my hashes get converted into
+>>> strings prior to me seeing them in scan():
+
+ $VAR64 = [
+ 'HASH(0xc2daf8)',
+ 'HASH(0xc2db40)'
+ ];
+
+>>> ...but it *really* is bedtime :) -- [[Jon]]