Re: [Templates] Collecting snippets

2012-06-14 Thread Dave Howorth
Andy Wardley wrote: On 13/06/2012 15:22, Dave Howorth wrote: I'm sure there must be a way to do this, and I'm guessing it probably involves WRAPPER, but my brain is fried. Can anybody give me a hint? Hi Dave, You could have a PRE_PROCESS template define a list for keywords and a MACRO to

[Templates] Collecting snippets

2012-06-13 Thread Dave Howorth
So I'm generating some web pages and as I go through each page, I want to record some keywords that depend on the content (related to whether an IF or ELSE was processed, or the names processed in various lists etc). The comes the kicker; I want the keywords to appear in a meta element at the

Re: [Templates] Collecting snippets

2012-06-13 Thread Andy Wardley
On 13/06/2012 15:22, Dave Howorth wrote: I'm sure there must be a way to do this, and I'm guessing it probably involves WRAPPER, but my brain is fried. Can anybody give me a hint? Hi Dave, You could have a PRE_PROCESS template define a list for keywords and a MACRO to add a keyword to it: