2011-11-19, 00:41:00
I was wondering if someone could offer some help on the architecture of content filters and its control structure.
I am trying to figure out how multiple content filters are supposed to work without a way to specify
sequence phases.
For example
I am using dynpages (of course) for components.
I am trying to make my own content filter.
My filter seems to process before dynpages.
So my content filter doesn't process dynpages output.
I have also noticed that the I18n search plugin shows the unprocessed dynpages tags in its results or news feeds, so a similar issue there.
Any ideas ?
On a similar note.
Is there a standardized syntax for content insertion or replacer plugins ?
{% pluginname: function args %} ?
I haven't really seen a design guide for plugins so these don't wind up being a bunch of hacks as opposed to an actual plugin system.
So far I have seen plugins that check if other plugins functions exists and handling exceptions for it. This doesn't seem very ideal situation.
Would it even be possible to make a content filter phase rule plugin, that lets you specify phase sequence order of content filters?
I am trying to figure out how multiple content filters are supposed to work without a way to specify
sequence phases.
For example
I am using dynpages (of course) for components.
I am trying to make my own content filter.
My filter seems to process before dynpages.
So my content filter doesn't process dynpages output.
I have also noticed that the I18n search plugin shows the unprocessed dynpages tags in its results or news feeds, so a similar issue there.
Any ideas ?
On a similar note.
Is there a standardized syntax for content insertion or replacer plugins ?
{% pluginname: function args %} ?
I haven't really seen a design guide for plugins so these don't wind up being a bunch of hacks as opposed to an actual plugin system.
So far I have seen plugins that check if other plugins functions exists and handling exceptions for it. This doesn't seem very ideal situation.
Would it even be possible to make a content filter phase rule plugin, that lets you specify phase sequence order of content filters?