> Wondering if we could use something like [tag[rss]] [[InnerTemplate]] ?
> Am also wondering if we could borrow some techniques from the way
> PageTemplates work. That is, <node tiddler='SiteTitle'></node> instead
> of using <node><<tiddler SiteTitle>></node>
I guess the using the new filter technique is a must.
But I don't quite like the use of attributes for this.
How about something that resembles {{evaluated parameters}} - this
obviously isn't well thought through yet, but it might be an option.
What kinda irritates me is that these templates are different from the
default ones (Page- and ViewTemplate). That is not to say the current
way of embedding macros (an extra HTML element with a macro attribute)
is perfect, but I think overall consistency is important.
-- F.
> You should try to avoid *overwriting* core functions unless absolutely
> necessary. Instead, whenever possible, you should *hijack* those
> functions, adding your functionality either before or after invoking
> the hijacked code (via the "apply(this,arguments)" method). This
> allows other plugins that also hijack these functions to continue to
> operate.
>
> Of course, hijacking the function is not always possible, given the
> nature of the specific core function, or the changes you want to
> make. In that case, it is important to clearly note in your plugin
> documentation that installing this plugin may have adverse affects on
> other plugins installed in the same document.
Great advice, I've shoved it onto the Wiki:
http://www.tiddlywiki.org/wiki/Dev:Best_Practices
Paul (psd)
--
http://blog.whatfettle.com