Hi, I started gathering all the drama activities I have collected over the years from miscellaneous sources into a TW single file.
To quote the source of an activity (= one tiddler per activity / exercise), I have used so far: - a tag, itself tagged as 'Source', and that holds the main source reference in its text field (website, book, event title and description); - a 'source_detail' field in the activity tiddler, that contains the reference details of the activity, such as the book page number, etc. Both the source tag's text field and the 'source_detail' field are then transcluded into the activity, thanks to a macro adapted from Tobias Beer's filter and list examples <http://tobibeer.github.io/tw/filters/#all%20current%20tags%20of%20type>. That works great when the activity has only one source. Some (nearly) identical activities, however, can be found on several sources: books, web pages, notes from events I took part in, etc. And I would like to quote them all in the activity tiddlers. So, here's what I would like: 1. I create an activity tiddler. 2. I create the corresponding generic source tag tiddler(s) if they don't already exist. Ex. a tiddler tag whose text field holds info about a (hypothetical) 'dramatis.com' website would be called 'dramatis' and tagged 'Source'. 3. For every time I add a source tag to the activity tiddler, TW checks whether a corresponding source detail field exists in that current activity tiddler. 4. If not, it retrieves the name of the tag and creates a new field named after that tag. In the example above, a corresponding field named 'dramatis_detail' or simply 'dramatis' would be added in the current activity tiddler. 5. If I delete a source tag (ex. the 'dramatis' tag), the corresponding 'dramatis' field would also be deleted. (That step may not be necessary if step 3 is implemented.) Hope my explanations were clear. I can't work it out because I've been a TW beginner for months, I can't understand everything in the very technical and programer-oriented TW documentation, and so far, my needs have always been very basic. Time for me to improve my TW knowledge! Do you think something like that could be done? If not, would anybody happen to think of a similar solution on how to manage multiple sources and reference details, and the different steps to implement it? Thanks. Stéphane L. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a2b129fe-5c40-425d-a7f6-5d9b8eb8574bn%40googlegroups.com.

