http://tiddlywiki.org/wiki/Tagging_(macro) <<tagging [tag]>>
If the tag parameter is not specified, the current tiddler's name will be used instead. Not the answer but it seems like a step in the right direction. Ken Girard On Jan 15, 8:34 am, David Sevilla <[email protected]> wrote: > Hi, > > I have a TW that I am trying to improve to use as a book catalog, and > I am stuck in the following: > > I have tiddlers tagged "Author", and others tagged "Book" which also > have all their authors as tags. In each Author tiddler, I want to list > all the books and their respective co-authors. For example: > > A1,A2,A3,A4 tagged Author > B1 tagged Book A1 A2 > B2 tagged Book A1 A3 > > Then, assuming I put my code in A1, I should see "B1 (A2), B2 > (A3)" (in whichever format: bulleted, etc.) > > Now, I can easily list all books by A1, and even by nesting I have > been able to list all co-authors of A1 (for each existing author, if a > book by both exists, print the other author). But now, for each book I > want to get all authors tagging it, and I cannot see how to do this > with nested calls. I can do > > forEachTiddler where 'tiddler.tags.contains > (context.inTiddler.title)' > > which gets all books by A1 (assume we are in the A1 tiddler!) but then > I need to apply "all tiddlers that are tagging this", and I don't know > how to do that (I can easily find "all tiddlers _tagged_ by this" with > the .tags.contains as above). > > Any ideas? > > Thanks a lot, > > David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/TiddlyWikiDev?hl=en -~----------~----~----~----~------~----~------~--~---
