That's awesome Eric.  However, the script would only include the body
of the tiddlers if the tiddler title was in wiki format.  So a tiddler
titled "MyNotes" would have the body of the tiddler inserted into the
table, but a tiddler titled "My Notes" would only contain the title.

Despite my utter lack of javascript knowledge I know they say that
even a blind squirrel will find a nut sometimes, so I tried

var fmt="| %0 |%1: <<tiddler [[%1]]>>| %2 |\n";

and that fixed the problem.

Is it possible to code the script so that the tiddlers are displayed
in descending order (newest to oldest) in the table?

~Roger

On Oct 17, 10:45 am, Eric Shulman <[EMAIL PROTECTED]> wrote:
> On Oct 17, 7:36 am, roger <[EMAIL PROTECTED]> wrote:
>
> > I'd like to display certain tagged tiddlers in a table in the
> > following format, rather than sequentially as individual tiddlers (as
> > would happen if I select "Open All" with the OpenTaggedTiddlers
> > plugin).
>
> If you install
>    http://www.TiddlyTools.com/#InlineJavascriptPlugin
> then you can embed the following inline script [*] in a tiddler to
> produce the output format that you want
> ---------------------------
> <script>
>         var tag="faq";
>         var hdr="| Date | Body | Author |\n";
>         var fmt="| %0 |%1: <<tiddler %1>>| %2 |\n";
>         var tids=store.getTaggedTiddlers(tag);
>         var out=[hdr];
>         for (var i=0; i<tids.length; i++) {
>                 var when=tids[i].created.formatString("DDD, MMM DDth,
> YYYY<br>0hh12:0mm:0ss am");
>                 var what=tids[i].title;
>                 var who=tids[i].modifier;
>                 out.push(fmt.format([when,what,who]));
>         }
>         return out.join('');
> </script>
> ---------------------------
>
> [*] For more info on inline scripting, see
>    http://www.TiddlyTools.com/#FAQ_ScriptsAndPlugins
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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