[tw5] Re: Reverse tag trace

2020-03-29 Thread bimlas
Damon, The kin operators lists the tiddlers just like I'm looking for except that > they're in alphabetical order > You can use "[[Tiddler E]kin::from[]]" instead of "[kin::from[Tiddler E]]" to get the hierarchical order - it's not perfect, but I hope it's a good start. -- You received this

[tw5] Re: Static Site from Tiddlywiki

2020-03-29 Thread Mohammad
Tony, I was only successful to export single tiddler. The page controls use Javascripts and what Mat proposed is to use pure CSS to simulate those interactive things! I hope other also share their experiences, solutions here. --Mohammad On Monday, March 30, 2020 at 4:17:43 AM UTC+4:30, TonyM

[tw5] Re: Is it safe to use GitHub Saver with access token while published using GitHub Pages?

2020-03-29 Thread Yuhang Guo
Thank you! It's indeed saved in local storage. 在 2020年3月29日星期日 UTC-7下午8:24:08,Mark S.写道: > > According to PMario in this post: > > https://groups.google.com/d/msg/tiddlywiki/84WAbLFh8o0/_fQ971uPAQAJ > > your oath is saved in local storage, not in the tiddlywiki file. You can > verify this for

[tw5] Re: Tiddlywiki and Coronavirus: March 2020 [Continued...] Part III

2020-03-29 Thread A Gloom
Not avoiding tou TT-- small issue of a frieght train intervening-- at least it felt like a frieght train. It should be another dat now that i'm eating and drinking, and I should be back on the computer. I'm only on the computer for this message so I son't have the link but FactCheck.org had a

[tw5] Re: filter a list by user-added field

2020-03-29 Thread David
Yep. sort[priority] got it. nice feature! On Friday, March 27, 2020 at 4:36:53 PM UTC-4, TonyM wrote: > > David > > I can give a more Extencive answer later but have you tried sort[priority] > or +[sort[priority]] ? > > if you have a set number of priorities you can use the range operator to

[tw5] Re: Is it safe to use GitHub Saver with access token while published using GitHub Pages?

2020-03-29 Thread 'Mark S.' via TiddlyWiki
According to PMario in this post: https://groups.google.com/d/msg/tiddlywiki/84WAbLFh8o0/_fQ971uPAQAJ your oath is saved in local storage, not in the tiddlywiki file. You can verify this for yourself by using some other browser to try to look at your TW file. On Sunday, March 29, 2020 at

[tw5] Is it safe to use GitHub Saver with access token while published using GitHub Pages?

2020-03-29 Thread Yuhang Guo
Hi, I'm new to TiddlyWiki. It is an awesome software and I decide to use it as my personal wiki. But I have one question. When coming to saving, I choose to use GitHub saver and I use access token to authenticate, so the access token is saved into the single file I suppose. Also, I use GitHub

[tw5] Re: How to combine two fields to get a title?

2020-03-29 Thread Giannis Moutsinas
Thanks! :) On Sunday, March 29, 2020 at 6:19:30 AM UTC+1, Mohammad wrote: > > Giannis, > One place to learn these kind of operations is TW-Scripts, for example in > your case see > > TW-Scripts: Concatenation >

[tw5] Re: Reverse tag trace

2020-03-29 Thread Damon Pritchett
Thanks Tony, The kin operators lists the tiddlers just like I'm looking for except that they're in alphabetical order (or reverse with the reverse operator). Now I've just got to figure out another sorting method using a field (existing or new) which is easy enough. Damon On Sunday, March

[tw5] Re: replace operator

2020-03-29 Thread TonyM
Mark Yes replace title not string. I remember a cobol statement called inspect that allowed both search and replace anything in a string without the complex minamilisium of regexe. It would be a start if we could get split[] not to remove spaces, but I don't know how. Because a title can't

[tw5] Re: Static Site from Tiddlywiki

2020-03-29 Thread TonyM
Mohammad I am keen to do similar things myself. Have you played with the page controls export as static html? If you do something in your own button and filter the saved tiddlers. You could be on your way. In my own experiments I was happy to export every tiddler as static html page but the

[tw5] Re: Default Sidebar Tab

2020-03-29 Thread Damon Pritchett
No, that is not working. Damon On Sunday, March 29, 2020 at 4:36:49 PM UTC-7, TonyM wrote: > > Daemon > > The default side bar tab is set in control panel settings or directly > $:/core/ui/ControlPanel/Settings/DefaultSidebarTab > > Is that what you need? > > Tony > > -- You received this

[tw5] Re: Default Sidebar Tab

2020-03-29 Thread TonyM
Daemon The default side bar tab is set in control panel settings or directly $:/core/ui/ControlPanel/Settings/DefaultSidebarTab Is that what you need? Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw5] Re: Reverse tag trace

2020-03-29 Thread TonyM
There is a great graphical timeline plugin somewhere. Arguably tiddlywiki can do anything so I urge you try and store the information you have then learn how to present the relationships latter. To do this well you need to create a tiddler for each entity such as railway lines and businesses

[tw5] Re: What is the equivalent of the has operator for Indexes

2020-03-29 Thread TonyM
Joshua A surprise gap. I will try and solve it with a workaround and share back. I suspect emptyMessage or the else may be the answer Regards Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

[tw5] Re: What is the equivalent of the has operator for Indexes

2020-03-29 Thread Joshua Fontany
I could be wrong, but I don't think there actually is an equivalent that would retain the context of the previous filter output. You could `...indexes[]match]` but that would output the field name, not the name of the tiddler the field exists in. I don't think it would be hard to add a

[tw5] Re: Reverse tag trace

2020-03-29 Thread Damon Pritchett
Thanks for the suggestions. We'll see what I can come up with. To answer Mark's question, each tiddler represents a railroad that I am researching railroads tended to be absorbed or purchased by other companies. So in an effort to show the string of companies that any particular railroad went

[tw5] Re: Default Sidebar Tab

2020-03-29 Thread Damon Pritchett
Hey all, So I installed the menu bar and moved my contents to that instead of having it in the sidebar. Now I want my default sidebar tab to be Railroads, but what worked with the state tiddlers before does not work now. Now there is no sidebar tab selected at all on startup and I haven't been

[tw5] Re: Static Site from Tiddlywiki

2020-03-29 Thread Mohammad
Hi Mat, Many thanks for the example and description you provided. I did some tests and it works. I will share my findings later here. To be able to create small static site with minimum functionality like a sidebar TOC is very demanding! I see there is alot of static site generators. I have

[tw5] Re: replace operator

2020-03-29 Thread Mohammad
Added to TW-Scripts. On Sunday, March 29, 2020 at 9:17:00 PM UTC+4:30, Mark S. wrote: > > It's more about list manipulation rather than string manipulation. But you > could use it for string manipulation like this: > > <$vars mystr="The knights who say ni"> > <$list filter="[split[ ]] doctors

[tw5] Re: replace operator

2020-03-29 Thread Mohammad
Mark, Thank you for explanation and examples --Mohammad On Sunday, March 29, 2020 at 9:17:00 PM UTC+4:30, Mark S. wrote: > > It's more about list manipulation rather than string manipulation. But you > could use it for string manipulation like this: > > <$vars mystr="The knights who say ni"> >

[tw5] Re: Trashbin plugin: New update with new features

2020-03-29 Thread Mohammad
*Announcement: Trashbin Plugin* *Date: Mar 29th, 2020* *Release: 1.2.0* *Status: Stable* A bug release is out there! - Demo: https://kookma.github.io/TW-Trashbin - Code: https://github.com/kookma/TW-Trashbin --Mohammad This is to announce the new release of Trashbin plugin. It has

[tw5] Re: replace operator

2020-03-29 Thread 'Mark S.' via TiddlyWiki
It's more about list manipulation rather than string manipulation. But you could use it for string manipulation like this: <$vars mystr="The knights who say ni"> <$list filter="[split[ ]] doctors +[replace[knights]join[ ]]"/> Extended to a larger group, this version will change "Operator" to

[tw5] Re: Tiddlywiki and Coronavirus: March 2020 [Continued...] Part III

2020-03-29 Thread 'Mark S.' via TiddlyWiki
Possibly a time-card app for people working from home. I can imagine one using Thomas Elmiger's list-reveal as a starting point. On Thursday, March 26, 2020 at 3:25:31 AM UTC-7, Mohammad wrote: > > This thread continues the discussion of Tiddlywiki and Coronavirus: >

[tw5] Re: Static Site from Tiddlywiki

2020-03-29 Thread Mat
I'm afraid I don't have much time to engage in things right now but I made the attached file some time back. It is an experiment with the aim to make a static variant of a kind of TW where it is still possible to open/close tiddlers from a sidebar or menu. While it was first "exported from TW"

[tw5] Pictures for background and tiddly background pictures

2020-03-29 Thread PWL
Hello all, So I went to put a picture in the back ground of my wiki yesterday, and found that the drop down menu only give the first 25 pictures in the wiki as options, try as I might I couldn't get the picture I wanted to appear on the menu. What am I doing wrong? The other half of my

[tw5] Re: general substring possible?

2020-03-29 Thread TonyM
Gerald, Sorry I find it hard to follow your Questions. I am Guessing is German yourNative Language? We have people here that speak German, there is a french group and more. Perhaps ask for help in a new thread in your native language eg give it a tile like this; [german Speakers] Question in

[tw5] What is the equivalent of the has operator for Indexes

2020-03-29 Thread TonyM
Folks, It seems easy to test for the existence of a field with the has operator, and even if it exists at all !has:field - I have buttons to add something to a json data tiddler and give it a value Yes - I can reverse this with a button give it a value No Can any one tell me how I

[tw5] Static Site from Tiddlywiki

2020-03-29 Thread Mohammad
How one can export a permview (like 10 tiddlers) with a small TOC and sidebar (right sidebar with one tab) as static site? Please note that the sidebar with TOC (simple link to tiddlers) is required! Is there any way to do that? --Mohammad -- You received this message because you are

[tw5] Re: Tiddlywiki and Coronavirus: March 2020 [Continued...] Part III

2020-03-29 Thread Mohammad
This also is interesting https://www.nature.com/articles/d41586-020-00935-3 -- 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: Reverse tag trace

2020-03-29 Thread bimlas
Damon Pritchett, If you created your tree using Mario's TOCP then each tiddler has only one > parent so you can climb up the tree using the parent field. > > To stop loops just don't continue if a parent us the first tiddler. > You can do the same with https://bimlas.gitlab.io/tw5-locator/ with

[tw5] Re: replace operator

2020-03-29 Thread Mohammad
Post edited. For email readers: \define triml(string) {{{ [<__string__>addsuffix[/]trim[]removesuffix[/]] }}} \define trimr(string) {{{ [<__string__>addprefix[/]trim[]removeprefix[/]] }}} -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw5] Re: general substring possible?

2020-03-29 Thread Gerald Weis
Hi Toni, Can i use some of this paramters in one Makro an how can i do this. an Macro with the colon i dont have seen till this day Am Freitag, 27. März 2020 12:15:42 UTC+1 schrieb TonyM: > > Gerald, > > It would be good if you gave a sample string and the result. > > See here,

[tw5] Re: replace operator

2020-03-29 Thread Mohammad
We also have trim, like <$vars x=" a b "> {{{ [trim[]] }}} The triml and trimr can be written as below \define triml(string) {{{ [<__string__>addsuffix[|]trim[]removesuffix[|]] }}} \define trimr(string) {{{ [<__string__>addprefix[|]trim[]removeprefix[|]] }}} The only issue is TW

[tw5] Re: replace operator

2020-03-29 Thread Mohammad
Tony! I am looking for string operations in TW5.1.22 and it seems it has several features Look

[tw5] Reverse tag trace

2020-03-29 Thread TonyM
Also If you created your tree using Mario's TOCP then each tiddler has only one parent so you can climb up the tree using the parent field. To stop loops just don't continue if a parent us the first tiddler. Regards Tony -- You received this message because you are subscribed to the Google

[tw5] Re: Reverse tag trace

2020-03-29 Thread TonyM
This and much more is all possible with the kin operator of Bimlas. Look for the plugin. However I have used my own recursive toc inside a button to store the path from the root in a branch field. Regards Tony -- You received this message because you are subscribed to the Google Groups

[tw5] replace operator

2020-03-29 Thread TonyM
Mohammad Its on tiddlywiki.com as well and seems to have being around for a while. If you look at the examples it allows you to replace one title with with another. The last example that shows today. As this was possibly developed before split and join operators, I expect we have not explored

[tw5] Re: Tiddlywiki and Coronavirus: March 2020 [Continued...] Part III

2020-03-29 Thread Mohammad
Hi TT, I am afraid I do not follow you! These are small light weight awareness icons! --Mohammad On Sunday, March 29, 2020 at 2:40:23 AM UTC+4:30, TiddlyTweeter wrote: > > *"COVID-19: Free Awareness Icons" * > > What! Don't you grasp how bad that sounds??? > -- You received this message

[tw5] Re: Tiddlywiki and Coronavirus: March 2020 [Continued...] Part III

2020-03-29 Thread Mohammad
Hi Mat, Really good examples! Thank you Mohammad On Sunday, March 29, 2020 at 5:05:12 AM UTC+4:30, Mat wrote: > > I'm not quite following this thread but based on the few posts I'm reading > above, it seems you're looking for a use for TW in the crisis. Maybe this > could give ideas? > >-

[tw5] replace operator

2020-03-29 Thread Mohammad
There is a replcae operator one can found it and examples here https://tiddlywiki.com/prerelease/#replace%20Operator I appreciate if somebody explain what is the purpose of this operator and give a real use-case! --Mohammad -- You received this message because you are subscribed to the

[tw5] Re: [Visual Studio Code][Beta] TwiddlyWiki5 Syntax Highlighting for VSCode!

2020-03-29 Thread Mohammad
Hi Josuha, I install the latest extension with Gruvbox and I could reproduce the same results as you! One comment: It seem there is no highlighting for strings? Am I right? Thank you. Keep going on! --Mohammad On Sunday, March 29, 2020 at 3:22:57 AM UTC+4:30, Joshua Fontany wrote: > > Also,