> I tried to implement these line in the first script like this:
> <script>
> var out="";
> var txt=store.getTiddlerText("$1","");
> var items=txt.split("\n----\n"); {
> if (!items[1]) items=txt.split("\n"); // start a new row
> out += "|"+items[i]; // add item to row
>
> }
> out += "|\n"; // end last row
> return out;
> </script>

Well, it would help if you hadn't *removed* the part of the code that
actually *loops* over the entire list of items.  Go back to my first
post in this thread that contained the complete script.  You should
just replace the original line that fetches the 'items' array with the
3 lines that fetches it using either format, and leave the for (...)
loop statement as-is, so that each retrieved item can be processed and
added to the output.

-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