Hi TwWizards

ListByTag by BidiX (used in iTW) - doesn't seem to cut the deal when
you upgrade the core.

I guess this is the problem:
var text = "{{{"+wikifyPlain(tiddler.title, store, 100)+"}}}";
???

This is the central piece of code: [[ListByTag]]

Array.prototype.tiddlerList = function(listFormat,max) {
                var output = "";
                if (!listFormat)
                        // listFormat = 
"'\\n{{tiddlerListItem{{{tiddlerListItemTitle{[[' +
tiddler.title + ']]}}} - ' + tiddler.created.formatString('0DD/0MM/
YY') + ' - ' + tiddler.modifier + '\\n{{tiddlerExcerpt{' + text +
' ... \\n}}}}}}'";
                        listFormat = 
"'\\n{{tiddlerListItem{{{tiddlerListItemTitle{[[' +
tiddler.title + ']]}}} - ' + tiddler.created.formatString('0DD/0MM/
YY') + ' - ' + tiddler.modifier + '}}}'";
                if (!max)
                        max = this.length;
                if (this.length > 0 && this[0] instanceof Tiddler) {
                        for (var i=0;i<max;i++) {
                                var tiddler = this[i];
                                var text = "{{{"+wikifyPlain(tiddler.title, 
store, 100)+"}}}";
                                output += eval(listFormat);
                        }
                }
                output += "\n----\n";
                return output;
        };

You can see the plugin in action here:
http://itw.bidix.info/

Cheers Måns Mårtensson

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

Reply via email to