Thank you Eric -

I've put it all together like this:
<script>
   var out=[];
   var row='|%0|%1|%2|%3|';
   out.push('| # | Elev | Synopse | Beskrivelse |h'); // headings
   var tids=store.getTaggedTiddlers('NoteArkiv');
      for (var i=0; i<tids.length; i++){
      if (!store.getTiddlerText(tids[i].title+'##Beskrivelse'))
continue;
      var el=store.getTiddlerSlice(tids[i].title,'Elev');
      var sy=store.getTiddlerSlice(tids[i].title,'Synopse');
      var b='<<tiddler [['+tids[i].title+'##Beskrivelse]]>>';
      out.push(row.format([i+1,el,sy,b]));
   }
   out.push('|sortable|k');out.push('i alt ='+tids.length);  // table
class
   return out.join('\n');
</script>

and it works nicely for getting the tiddlers tagged w 'NoteArkiv' but
don't have the slice '!Beskrivelse'.
However the numbering and endcount don't get affected by the exclusion
- so I'll stick to a unique Tag this time - unless ofcourse, there is
a way to make the numbering work as well.

Thank you for your patience - so far.

YS Måns Mårtensson

On Jun 2, 3:02 am, Eric Shulman <[email protected]> wrote:
> > If I could exclude tiddlers without one of the slices ie !Description
> > (!Beskrivelse in Danish)
>
> Add this just inside the 'for' loop:
>    if (!store.getTiddlerText(tids[i].title+'##Description')) continue;
>
> -e
--~--~---------~--~----~------------~-------~--~----~
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