Here is an example I did for reading plugin headers. It's not only an
example, it is very practical for checking the version of your plugins
to keep them up to date. If you have TableSortingPlugin it is
sortable.
----------------------------------
<<forEachTiddler
where 'tiddler.tags.contains("systemConfig")'
sortBy 'tiddler.title.toLowerCase()'
write '"|[[" + tiddler.title +"]]" + "| [[" +tiddler.text.length
+"]]" + "|[[" +tiddler.modified.formatString("YYYY.0MM.0DD") + "]]|"
+ store.getTiddlerSlice(tiddler.title, "Author") + "|"
+ store.getTiddlerSlice(tiddler.title, "Version") + "|"
+ store.getTiddlerSlice(tiddler.title, "CoreVersion")+"|\n"'
begin '"|sortable|k\n"
+ "|!Plugin|!Size|!Modified|!Author|!Version|!CoreVersion|h
\n"'
>>
--------------------------------
Morris Gray
http://twhelp.tiddlyspot.com
A TiddlyWiki help file for beginners
On Feb 21, 6:23 am, Dave Parker <[email protected]> wrote:
> I've looked at all the examples in Udos ForEachTiddler plugin and
> can't find reference to writing out sections
>
> Could anyone get me started in writing something that would list a set
> of, say 10 sections of a single tiddler (its one big tiddler with
> hundreds of sections) starting at section 42?
>
> e.g.
>
> <<forEachTiddler
> where
> 'tiddler.title = ("Book Three")'
> sectionNumber = 42
> write
> '(index < 10) ? "* "+tiddler.section" " : ""'
>
>
>
> the above obviously doesn't work, but you get the drift...
>
> Thanks,
> Dave Parker
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---