I believe it requires TiddlySpaceFilters as TiddlySpaceFilter extends
the 'is' filter.
There's no reason this couldn't be repurposed into a separate plugin
which removes the tiddlyspace specific is filters
e.g.
config.filterHelpers = { is: {} }

However you have to bear in mind that the TiddlySpaceFilters plugi

The [is[image]] and [is[svg]] filters requires the ImageMacroPlugin
because of these 2 lines

config.filterHelpers["is"].image = config.macros.image.isImageTiddler;
config.filterHelpers["is"].svg = config.macros.image.isSVGTiddler;

I've attempted to fix it up without these so it *should* work in a
standalone TiddlyWiki:
http://filterstw.tiddlyspace.com/tiddlers.wiki#TiddlySpaceFilters2

Feel free to repurpose it to whatever needs you may have if that
doesn't quite do the job :)

On May 14, 8:16 pm, Tobias Beer <beertob...@googlemail.com> wrote:
> @Jon,
>
> ExtraFiltersPlugin states that it requires TiddlySpaceFilters and
> ImageMacroPlugin. Is that really the case? Or is it rather that some
> functionality is only available if indeed those two are present?
>
> Also, those filter rules do not seem to always combine. Looking at {has}
> and {startsWith} it seems that the result list is always created based on
> all tiddlers. Why is that? How about changing forEachTiddler, so that you
> can run it against a preexisting set of tiddlers, e.g.
>
> this.forEachTiddler = function(callback*, tids*) {
>
> > var t*, ts = tids || tiddlers*;
> > for(t in *ts*) {
> > var tiddler = tiddlers[t];
> > if(tiddler instanceof Tiddler)
> > callback.call(this,t,tiddler);
> > }
> > };
>
> I am just thinking that some of those additional filters are quite handy
> for non-ts use-cases. So, perhaps ...is it a viable option to split them
> into ExtraFiltersCode and ExtraFiltersTS?
>
> Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to