Re: [tw5] Re: Filter question: how to convert current tiddler title into a title list format

2021-06-22 Thread Sebastián Ortega
Thanks Saq, Tones and Jeremy, it was hidden in plain sight. The reason I need this is a design decision of some zettlekasten-like features I'm implementing in my wiki. For example, tiddlers tagged with Source are the books, articles, or other sources of concepts I want to track and I've modified

[tw5] Re: Embedding tiddler title in image URL

2021-06-22 Thread Darth Mole
Ok so I was kind of close lol. I didn't use the $(...)$ because I thought the vars that created that in the code I had seen was specific to the buttons. I also didn't realize that with core variables they didn't need to be set if you were using the same name. Thanks Eric! On Wednesday, June

[tw5] Re: Embedding tiddler title in image URL

2021-06-22 Thread Darth Mole
wow, I'm really sorry. If you remove the enclosing [ and ] on the img tag code and save it, at least on mine, it displays the tiddler title. So when it was a broken img after I added the [ ] on either end I didn't think to check to see if it was still working. Sorry about that. Also it seems

[tw5] Re: Embedding tiddler title in image URL

2021-06-22 Thread Eric Shulman
On Tuesday, June 22, 2021 at 7:45:51 PM UTC-7 cjec...@gmail.com wrote: > ...embed the tiddler title in the url, i.e.: > [img[images/{{!!title}}.jpg]] > But of course that just gets read literally. I've also tried using a > variable with the same result: > <$set name="image"

[tw5] Re: Embedding tiddler title in image URL

2021-06-22 Thread cjec...@gmail.com
Thanks for the quick reply, and for the code. Unfortunately, it's not working for me. Here's what I've done. 1. Download a fresh copy of Tiddlywiki 2. Create a tiddler called "Test". 3. Copy/paste your code into "Test" and save. I end up with a broken image icon. When I right click and choose

[tw5] Re: Embedding tiddler title in image URL

2021-06-22 Thread Darth Mole
I think this is what you're looking for? There may be a better way to do it, but it seems to function based on my tests. Thanks to everyone over the last two weeks that have helped me so much! I wouldn't have been able to answer someone's question like this otherwise. \define linkcreation()

[tw5] Embedding tiddler title in image URL

2021-06-22 Thread cjec...@gmail.com
Long time lurker, first time poster. I've a wiki with a couple of hundred tiddlers all of the same format, just different content, so I'm trying to develop a tiddler template. Each tiddler displays an image specific to that tiddler. I've a directory in which all the images are kept, each with

[tw5] Re: TiddlyWiki SO cool ...

2021-06-22 Thread Charlie Veniot
That would be a perfect theme song for TiddlyWiki. Freedom for sure ! I find Jon Batiste one of the coolest guys. Wonderfully talented and seems like a genuinely awesome human being. On Tuesday, June 22, 2021 at 6:04:50 PM UTC-3 TiddlyTweeter wrote: > https://youtu.be/3YHVC1DcHmo > > Oh yeah

[tw5] Re: Edit While Scrolling Content CSS

2021-06-22 Thread TW Tones
Folks, Remember the story is a fundamental feature of a tiddlywiki, however within a given tiddler you can create new story views that are somewhat similar to the primary story. Basically any tiddler can be an alternate viewer of `any tiddler(s). Not only that but the new layout features and

[tw5] Re: HTML like forms saving information in data tiddler

2021-06-22 Thread TW Tones
atulg, There is no need to go to a html form, TiddlyWiki has all the tools to build forms natively however you can use HTML for layout and css anyway. Its just when you define fields or address the text field in a tiddler you need to use tiddlywiki edit-text widget etc... This is because

[tw5] Re: TiddlyWiki SO cool ...

2021-06-22 Thread Darth Mole
I have to admit. I totally watched until he started dancing thinking it was a video about TiddlyWiki. Like a 5.2.0 trailer type deal lol. On Tuesday, June 22, 2021 at 5:04:50 PM UTC-4 TiddlyTweeter wrote: > https://youtu.be/3YHVC1DcHmo > > Oh yeah > TT > -- You received this message

[tw5] Re: Filter question: how to convert current tiddler title into a title list format

2021-06-22 Thread TW Tones
mehequeda, I am curious why you need to do this. Since titles are the key to all tiddler there handling as titles is innate to TiddlyWiki and the need to generate a title with the delimiters [[ and ]] is rare. An example would be using the listops functions and operators where this is handled

[tw5] Re: [Comment] We should do multi-lingo better. ¿Lo entiendes?

2021-06-22 Thread TiddlyTweeter
https://www.youtube.com/watch?v=OJfZJhXO3ek PMario wrote: > TW is translated into 29 languages. ...Not all are up to date, but still > ... > It is wonderful! IF we ACTIVELY promoted that fact. Razumete kaj mislim? TT -- You received this message because you are subscribed to the Google

[tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread Charlie Veniot
Oh yeah, side-note: Thinking about what you're doing, I Imagine all sorts of fun applications related to dynamic colours, for example: tasks that have a certain colour when the due date is far away, and the colour changes to something else (whatever you consider a "critical colour") as the due

[tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread Charlie Veniot
Hey Atro, to steer this back to your original issue: "it seems that /TiddlyWiki/ does not allow to change color dynamically." Does all of the above address all that you were thinking? Aside: that was a fun coding exercise. Thanks ! On Tuesday, June 22, 2021 at 8:58:30 AM UTC-3 Atronoush

[tw5] Re: Is it possible to automatically generate multiple templates or macros?

2021-06-22 Thread TW Tones
Si, Comments inline > >>> but I would expect it is a little problematic because you are making > use of the short form of the transclude statement > > I'm assuming that by "short form" you mean using curly braces rather than > the transclude widget? If so how could I use the transclude

Re: [tw5] Filter question: how to convert current tiddler title into a title list format

2021-06-22 Thread Jeremy Ruston
To expand on pmario’s answer: <$vars prefix="[[" suffix="]]"> <$button> <$set name="source" filter="[all[current]]"> <$action-sendmessage $message="tm-new-tiddler" source=<> author={{!!author}}/> Add Best wishes Jeremy > On 22 Jun 2021, at 22:42, PMario wrote: > > Hi, > See:

[tw5] Re: Filter question: how to convert current tiddler title into a title list format

2021-06-22 Thread PMario
Hi, See: https://tiddlywiki.com/#SetWidget Especially the section: Filter List Variable Assignment -mario -- 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

[tw5] Re: Filter question: how to convert current tiddler title into a title list format

2021-06-22 Thread Saq Imtiaz
For now that is the best we have. However from the next TW release we can use format:titlelist[] https://tiddlywiki.com/prerelease/#format%20Operator On Tuesday, June 22, 2021 at 11:18:55 PM UTC+2 mehequeda...@gmail.com wrote: > I managed to fix the filter but I still feel there must be an

[tw5] Re: Filter question: how to convert current tiddler title into a title list format

2021-06-22 Thread Sebastián Ortega
I managed to fix the filter but I still feel there must be an easier way to do it. <$vars prefix="[[" suffix="]]"> <$button> <$action-sendmessage $message="tm-new-tiddler" source={{{ [all[current]regexp[\s]addprefixaddsuffixelse{!!title}] }}} author={{!!author}}/> Add On Tuesday,

[tw5] Filter question: how to convert current tiddler title into a title list format

2021-06-22 Thread Sebastián Ortega
Hello wise tiddlywiki users, Let's say I want to convert the current tiddler title into list format. For example: - For a tiddler named CamelCased, this is either CamelCased or [[CamelCased]] (I prefer the format but I can settle with the latter) - For a tiddler named Name with spaces

[tw5] TiddlyWiki SO cool ...

2021-06-22 Thread TiddlyTweeter
https://youtu.be/3YHVC1DcHmo Oh yeah TT -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the

Re: [tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread Mohammad Rahmani
Hi Eric, Yes, simpler is always better as long as it works correctly! I like your solution! If I am correct, this code should not update the color field automatically! I mean for a tiddler called *test*, can I use something like this? \define colorCSS()

Re: [tw5] Tag cloud using colors: idea and issues

2021-06-22 Thread Mohammad Rahmani
Jeremy! Many thanks for clarification! Best wishes Mohammad On Tue, Jun 22, 2021 at 11:31 PM Jeremy Ruston wrote: > The issue here is that JS macros are supposed to always return the same > result when passed the same parameters (in computer science terms, JS > macros are supposed to be

Re: [tw5] Re: Links vs Tiddlers

2021-06-22 Thread Darth Mole
Hi @Télumire, Can you explain a bit more by what you mean regarding fields? Like do you mean having a form you fill out that then creates a formatted tiddler or something else? Right now I drag the highlighted url text into my TiddlyWiki for an import, renaming it before I hit import. And

[tw5] Re: Is it possible to automatically generate multiple templates or macros?

2021-06-22 Thread Si
Hi Tones, thanks for your comment. >>> but I would expect it is a little problematic because you are making use of the short form of the transclude statement I'm assuming that by "short form" you mean using curly braces rather than the transclude widget? If so how could I use the transclude

[tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread Eric Shulman
On Tuesday, June 22, 2021 at 11:25:23 AM UTC-7 cj.v...@gmail.com wrote: > Is there some other way of getting the result of a filter that's less > weird than using TiddlyWiki's triple curly brackets ? I just threw that together quickly as an example re getting color "*filter* > ily(?)" > It

Re: [tw5] Re: Links vs Tiddlers

2021-06-22 Thread John D
Hi @Victor, Personally, I create a tiddler for each bookmark. When I have several similar urls to save, for example a list of online IDE, then I create only one tiddler for the list. This way it reduces clutter but still allows me to tag and filter each link. Here's my wiki : vaforis.github.io

Re: [tw5] Tag cloud using colors: idea and issues

2021-06-22 Thread Jeremy Ruston
The issue here is that JS macros are supposed to always return the same result when passed the same parameters (in computer science terms, JS macros are supposed to be deterministic). It is possible to use JS macros that are non-deterministic, but they will cause the refresh mechanism to

Re: [tw5] Tag cloud using colors: idea and issues

2021-06-22 Thread Mohammad Rahmani
Lets correct my previous post! It seems the color is changed using <$button> Set Color <$action-setfield $tiddler=testc $field=color $value=rgb(255,0,0)/> But as the color field shows a color picker, it seems the color picker does not update! Best wishes Mohammad On Tue, Jun 22, 2021 at

Re: [tw5] Tag cloud using colors: idea and issues

2021-06-22 Thread Mohammad Rahmani
On Tue, Jun 22, 2021 at 4:28 PM Atronoush wrote: > > There are some tag cloud tools around (e.g. Eric uses size and Mohammad > use badge). > I like to have tag cloud based on color! > > IDEA > i. a macro to get a number and generate a color, I call it *colgen* > this is easy! in surface plots /

[tw5] Re: Is it possible to automatically generate multiple templates or macros?

2021-06-22 Thread Si
Hi Tones, thanks for your comment. >>> but I would expect it is a little problematic because you are making use of the short form of the transclude statement I'm assuming that by "short form" you mean using curly braces rather than the transclude widget? If so how could I use the transclude

[tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread TiddlyTweeter
Ciao cj.v. I'm not sure, not being a programmer by trade. But even me, an average idiot, can see that having to wrap something *{{{ [THINGIE] }}} *i*s a seriously weird construct* I personally, on stuff like this, simply use simple substitution in style sheets. I seems fine without the

[tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread Charlie Veniot
Is there some other way of getting the result of a filter that's less weird than using TiddlyWiki's triple curly brackets ? I just threw that together quickly as an example re getting color "*filter* ily(?)" It would be great to see some alternative approaches, I think. On Tuesday, June

[tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread TiddlyTweeter
It is certainly TRUE that everyone could benefit from a "CloudMap 101". IMO *Eric's stuff on this is foundational.* The man has a mind. Color can be changed dynamically. It is just a value. Cj.v gave a simple way. Though all those "{{{..}}}" are somewhat weird, but it wot we got to have. . TT

[tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread Charlie Veniot
Arg, forgot to mention: quick way to re-render the tiddler (and update the color of the div element based on current time's seconds) is to edit and cancel edit of the tiddler. On Tuesday, June 22, 2021 at 11:42:55 AM UTC-3 Charlie Veniot wrote: > G'day Atro, > > Try the following in a new

[tw5] Re: Tag cloud using colors: idea and issues

2021-06-22 Thread Charlie Veniot
G'day Atro, Try the following in a new Tiddler: <$vars thisSecond=<> > <$vars rgbArg1={{{ [multiply[3]]}}} rgbArg3={{{ [multiply[5]]}}} > addsuffix[,]addsuffixaddsuffix[,]addsuffixaddsuffix[)]] }}}> Some Text You'll need to do something to re-render the tiddler and see

[tw5] Re: Links vs Tiddlers

2021-06-22 Thread Victor Dorneanu
> *If you are asking if the above approach (an individual tiddler per link with summary pages) is better or worse than a manual page with a bunch of links you update as you find them then I would say, based on consideration for the workflow involved, quality of life interaction/steps, and also

[tw5] Re: Links vs Tiddlers

2021-06-22 Thread ludwa6
Hey @Victor: That's a good question- simple, but profound- one that all of us here must answer for ourselves some non-zero number of times most days. The answer to this for me is a followup Q: What version of my future self (i.e. in what context) do i imagine would find this resource to be most

[tw5] Re: Links vs Tiddlers

2021-06-22 Thread Darth Mole
Hello! I may be misunderstanding/misinterpreting your situation (if so I apologize), but if you go to More > All in the tabs on the right hand side of your TiddlyWiki you'll see, if I'm reading the contents correctly, individual Tiddler's for each of your bookmarks. As example: The first

[tw5] Tag cloud using colors: idea and issues

2021-06-22 Thread Atronoush
There are some tag cloud tools around (e.g. Eric uses size and Mohammad use badge). I like to have tag cloud based on color! IDEA i. a macro to get a number and generate a color, I call it *colgen* this is easy! in surface plots / contour plots we use color bars! here different color tables

[tw5] Links vs Tiddlers

2021-06-22 Thread Victor Dorneanu
Hi, since I was not able to find such a thread, I've decided to create a new one. I just want to read your opinions when it's better to just have links (inside a tiddler) and when one should create tiddlers for them (as bookmarks). I'll try to describe my current problem. At the moment I use

[tw5] Re: Note Taking in 2021 (article & reflection)

2021-06-22 Thread Victor Dorneanu
Hi Community, if you need more details about my workflow (as described in my blog post ), feel free to ask. I do admit it's not easy (coz of ORG mode + golang + miMind) but I just use these tools to adapt the note structure to Tiddlywiki.