[tw5] Is there any automated way of generating the html file of the TiddlyWiki node.js version?

2020-12-08 Thread muynars...@gmail.com
Hi everyone, I use the TiddlyWiki on my personal computer daily... I run its Node.js version. I'd like to create a simple script that will automatically generate the HTML file of my TiddlyWiki (at a time that I know that my computer is turned on during the day) and upload it to a cloud server

Re: [tw5] Re: How to index all the files and folders inside a folder?

2020-12-08 Thread Dummy ME
Yes, definitely. ,annually adding folders is actually a hassle. There are quite a few folders and there might be some changes along the way, which would mean changing the path every time! Thanks for the clarification though, I will move my folders into tiddlers folder then. Thanks a lot On Wed,

[tw5] Re: Imminent release of v5.1.23

2020-12-08 Thread TW Tones
Folks, Exploring the pre-release I can see the reduce operator is an advance, however these are my personal observations so far. I understand the reduce operator has its origin in bigdata and other terminology, but it seems to me the documentation and examples is insufficient to realise its

[tw5] Re: How to add tag A to all tiddlers with tag B

2020-12-08 Thread Harry
Thanks a lot, this really helps me resolve the issue! Best Harry 在2020年12月7日星期一 UTC-5 上午1:00:43 写道: > On Sunday, December 6, 2020 at 9:41:46 PM UTC-8 Harry wrote: > >> for all tiddlers that already have been tagged "NV-senator", I want to >> also tag them with "NV-legislator". >> > I also want

Re: [tw5] Re: Last request for the week!

2020-12-08 Thread Eric Shulman
On Tuesday, December 8, 2020 at 7:00:42 PM UTC-8 digit...@gmail.com wrote: > May I ask which plugin? > Not actually a "plugin"... but a showModal() macro definition: https://groups.google.com/g/tiddlywiki/c/UMRpPMVuHNY/m/_uGxN6kzCgAJ -e -- You received this message because you are subscribed

Re: [tw5] Re: Last request for the week!

2020-12-08 Thread Donald Coates
May I ask which plugin? But I figured it out! I was using a plugin by Eric. I just changed subtitle > to subtitle={{{ [[$tid$]get[caption]] }}} > > Thanks and blessings. > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from

[tw5] Re: Twtube

2020-12-08 Thread Donald Coates
My barely educated guess: tiddlywiki still relies on nginx to connect to the video. The src has to be in a place that is accessible to nginx. Therefore you should be able to add that directory location onto a web address and have nginx serve it directly, like an external image. One way

[tw5] Re: Discussion on GitHub: Good or bad

2020-12-08 Thread TW Tones
Reviewing - reply posted Tones On Wednesday, 9 December 2020 at 08:10:37 UTC+11 Mohammad wrote: > GitHub has started a discussion service, so there is no need to open issue > or PR. > Having this forum, I am not sure if this is good or bad for Tiddlywiki to > open its discussion service on

[tw5] Re: How can I integrate TiddlyWiki with Reactjs webapp

2020-12-08 Thread Joshua Fontany
I have not seen any integrations using both. This might be a bit hard to pull off, actually, as TW manipulates the DOM in a different way than React does. Whenever you make a change to any data in a TW web-page, that change is communicated up the "tree of widgets" (a Javascript-object model

Re: [tw5] Re: How to index all the files and folders inside a folder?

2020-12-08 Thread Joshua Fontany
I do not think that subfolders are automatically read when using "tiddlywiki.files" configs. Unlike the main "tiddlers/" folder, those are not recursively searched. >From https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files The format of the file is an object with two optional

[tw5] Re: Packaged theme and plugin library

2020-12-08 Thread clutterstack
Thanks for testing, Mohammad! Best, Chris On Tuesday, December 8, 2020 at 4:04:45 PM UTC-5 Mohammad wrote: > Hi Chris, > Wonderful job! > > Imported into my working 5.1.22 wiki, works like a charm. > > > > > Best wishes > Mohammad > > On Tuesday, December 8, 2020 at 11:28:01 PM UTC+3:30

[tw5] Could we have a zip download saver mechanism?

2020-12-08 Thread 'Mark S.' via TiddlyWiki
Now that we have (or will have in 5.1.23) a means to zip up tiddlers, could we have a download saver that zips up the current TW? Motivation: Chrome on Android doesn't allow extensions, and now mangles the original file name, adding it's own prefix text. If the saver could save a zipped copy,

[tw5] Re: Using File Backups with Firefox on Android?

2020-12-08 Thread 'Mark S.' via TiddlyWiki
Due to network changes, I finally had to upgrade my Android. It appears that is is no longer possible to install *file-backups* on FF for Android. When you search for *file-backups* in the repository, FF shows you the extension, but won't let you install. It offers you instead a chance to

[tw5] Re: Imminent release of v5.1.23

2020-12-08 Thread bimlas
Thanks for the clarification, I got what caused the error: I noticed this in the prerelease full edition (https://tiddlywiki.com/prerelease/editions/full/) and didn't test it with the other versions. The https://tiddlywiki.com/library/v5.1.23/index.html URL is referenced by the plugin library

[tw5] Discussion on GitHub: Good or bad

2020-12-08 Thread Mohammad
GitHub has started a discussion service, so there is no need to open issue or PR. Having this forum, I am not sure if this is good or bad for Tiddlywiki to open its discussion service on GitHub. I have experimentally set up Shiraz discussion service. See

[tw5] Re: Packaged theme and plugin library

2020-12-08 Thread Mohammad
Hi Chris, Wonderful job! Imported into my working 5.1.22 wiki, works like a charm. Best wishes Mohammad On Tuesday, December 8, 2020 at 11:28:01 PM UTC+3:30 clutterstack wrote: > Hello all, > > I *think* I've got a working plugin library for my projects, and a > packaging of the theme I

[tw5] Re: Imminent release of v5.1.23

2020-12-08 Thread Mohammad
bimlas, This is not a bug but intentionally plugin library does not work. Some Tiddlywiki empty file (empty.html) does not have the plugin library so one cannot install the official plugin. If so do as below 1. import

[tw5] Re: Imminent release of v5.1.23

2020-12-08 Thread 'Mark S.' via TiddlyWiki
>From https://tiddlywiki.com/prerelease/ and a single-file download, it worked fine for me. If you're using node, it won't work (since vsn ??) because you're supposed to install your plugins via your info file. On Tuesday, December 8, 2020 at 11:40:42 AM UTC-8 bimlas wrote: > I'm not sure

[tw5] Packaged theme and plugin library

2020-12-08 Thread clutterstack
Hello all, I *think* I've got a working plugin library for my projects, and a packaging of the theme I was playing with in my public wiki . It should now be possible, as Mohammad suggested, to easily grab the theme to try it out in prebuilt

Re: [tw5] Re: Last request for the week!

2020-12-08 Thread David Gifford
Why, even better, Eric! Thank you! On Tue, Dec 8, 2020 at 1:15 PM Eric Shulman wrote: > On Tuesday, December 8, 2020 at 11:02:02 AM UTC-8 David Gifford wrote: > >> But I figured it out! I was using a plugin by Eric. I just changed >> subtitle to subtitle={{{ [[$tid$]get[caption]] }}} >> > >

[tw5] Re: Imminent release of v5.1.23

2020-12-08 Thread bimlas
I'm not sure this is really a bug, but the plugin library doesn't work in prerelease (ControlPanel -> Plugins -> Get more plugins). As I guess this was the case with the other prereleases as well, because it may be related to the version numbers, but just to be sure, I'm reporting this "bug".

[tw5] Re: red square of death

2020-12-08 Thread Eric Shulman
On Tuesday, December 8, 2020 at 2:10:23 AM UTC-8 Sapphireslinger wrote: > SyntaxError: JSON.parse: expected ',' or '}' after property value in > object at line 4 column 25 of the JSON data > Note that the error is in "JSON data"... thus, line 4 column 25 doesn't refer to the HTML file

Re: [tw5] Re: Last request for the week!

2020-12-08 Thread Eric Shulman
On Tuesday, December 8, 2020 at 11:02:02 AM UTC-8 David Gifford wrote: > But I figured it out! I was using a plugin by Eric. I just changed > subtitle to subtitle={{{ [[$tid$]get[caption]] }}} > To get the results you want -- use caption *with fallback to title* -- you would write:

Re: [tw5] Re: Last request for the week!

2020-12-08 Thread David Gifford
Hi Saq I couldn't figure out where to insert that. But I figured it out! I was using a plugin by Eric. I just changed subtitle to subtitle={{{ [[$tid$]get[caption]] }}} Thanks and blessings. On Tue, Dec 8, 2020 at 11:51 AM Saq Imtiaz wrote: > Set the subtitle to: > > <$transclude

[tw5] Re: Last request for the week!

2020-12-08 Thread Saq Imtiaz
Set the subtitle to: <$transclude field="caption">{{!!title}} On Tuesday, December 8, 2020 at 6:47:25 PM UTC+1 David Gifford wrote: > Hi all > > Would there be any way to hack $:/core/modules/utils/dom/modal.js so that > it displays the caption if there is text in the caption field, and the >

[tw5] Last request for the week!

2020-12-08 Thread David Gifford
Hi all Would there be any way to hack $:/core/modules/utils/dom/modal.js so that it displays the caption if there is text in the caption field, and the title if there is no caption? Also, I think this should be standard behavior in TiddlyWiki. Something for 5.1.24? Blessings, Dave -- You

[tw5] Re: [ Streams ] : feedback and issues

2020-12-08 Thread Saq Imtiaz
@Dom I am unable to re-create the issue with Stream 0.1.20 on Chrome or Firefox on Windows 10. - What browser and OS are you using? - Can you please provide step by step instruction for re-creating the issue on https://saqimtiaz.github.io/streams/ ? - Please include: -

[tw5] Re: [ Streams ] : feedback and issues

2020-12-08 Thread Dominic Robinson
@Saq, 0.1.20 seems to have the same issue. Dom On Thursday, December 3, 2020 at 10:19:03 PM UTC saq.i...@gmail.com wrote: > @Dom I have a fix. I want to give it until tomorrow to do some further > testing before I push a new version. Thank you again for the bug report. -- You received this

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread clutterstack
I've been using the TW <> macro extensively in my palette to reduce the number of different colours that need to be changed manually. I don't know if it's a best practice, but it's what I do at the moment. My wiki has so many filters elsewhere that it already needs optimising... Chris On

[tw5] Re: red square of death

2020-12-08 Thread 'Mark S.' via TiddlyWiki
Usually it's a plugin that's causing the problems. It might help to list what plugins you have. Generally you can get back and running by importing your existing TW file into an empty TW -- but not importing any 3rd party plugins. On Tuesday, December 8, 2020 at 2:10:23 AM UTC-8

Re: [tw5] red square of death

2020-12-08 Thread Jeremy Ruston
If you encounter a non-functioning, corrupt standalone TiddlyWiki HTML file, a good first line of attack is to try to import the file into a blank TiddlyWiki. If the tiddler listing shows up then you can try first try importing all the tiddlers and saving, and then testing. If it doesn’t work,

[tw5] Re: red square of death

2020-12-08 Thread clutterstack
Hi Sapphireslinger, I've had to open standalone wikis in a text editor to fix them when I've written a bad macro or whatnot. It's a pain because it's such a big file and not very readable, but it can be done. If you don't have an idea what caused it, I'm not sure where you'd start looking...if

[tw5] Re: exporting selected tiddlers limited to one

2020-12-08 Thread 'Mark S.' via TiddlyWiki
With 5.1.23, it's possible to have a routine that will export all the tiddlers in a zip file. On Tuesday, December 8, 2020 at 7:08:45 AM UTC-8 PMario wrote: > Did you export it as CSV or JSON? > If you used .tid, only the first one will be saved. > -m > -- You received this message because

[tw5] Re: exporting selected tiddlers limited to one

2020-12-08 Thread PMario
Did you export it as CSV or JSON? If you used .tid, only the first one will be saved. -m -- 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: exporting selected tiddlers limited to one

2020-12-08 Thread Jean-Pierre Rivière
and now the promised picture! [image: adanced-search.jpeg] Le mardi 8 décembre 2020 à 16:01:36 UTC+1, Jean-Pierre Rivière a écrit : > I have troubles with exporting. > > when I use the "export all" tool, it only exports the first tiddlers in > the alphabetical order ("A" in my case) !??? > >

[tw5] exporting selected tiddlers limited to one

2020-12-08 Thread Jean-Pierre Rivière
I have troubles with exporting. when I use the "export all" tool, it only exports the first tiddlers in the alphabetical order ("A" in my case) !??? when I want to export a group of selected tiddlers, I'm using the advanced search/filter way as described in the doc. Since there is no links

[tw5] Re: Twtube

2020-12-08 Thread Donald Coates
I started my tiddlywiki nodejs server the normal way with the `tiddlywiki` command. In fact it had been running for a couple weeks. I did the same as with the standalone - just dragged the downloaded tid onto the nodejs servers page and reloaded. Start there and see if all the other problems

[tw5] Re: Update text field using the checkbox widget

2020-12-08 Thread kebi
*Why don't use style at display time? Why do you add them to text field?* Thank you @Mohammad, I forgot to say that I need to change the value of the tiddler and not only its appearance. Thank you @BurningTreeC, your solutions works within the current prerelease! On Tuesday, December 8, 2020

Re: [tw5] Service worker

2020-12-08 Thread Nick
@Jeremy I am not using node.js,( I will read up on this) but after a lot of tinkering, I still couldn't get the empty TW to save to the home screen and still be viewable offline.Maybe available once but then disappears. I tried exporting it as a static site with all the tiddlers, but then

[tw5] Re: Update text field using the checkbox widget

2020-12-08 Thread BurningTreeC
This could work: \define line-through() <$action-setfield text="~~$(text-field)$~~"/> \end \define uncheckactions() <$set name="splitregexp" value="[\^~~][~~$]"> <$set name="splittext" value={{{ [[$(text-field)$]search-replace:g:regexp,[]] }}}> <$action-setfield text=<>/> \end <$list

[tw5] red square of death

2020-12-08 Thread Sapphireslinger
Can not open my tiddlywiki because: Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 4 column 25 of the JSON data How do I fix that if I can't open my

[tw5] Re: Update text field using the checkbox widget

2020-12-08 Thread BurningTreeC
No, that doesn't work, sorry for my premature proposal With the current prerelease you could do: <$set name="splitregexp" value="[\^~~][~~$]"> <$action-setfield text={{{ [[$(text-field)$]search-replace:g:regexp,[]] }}}/> BurningTreeC schrieb am Dienstag, 8. Dezember 2020 um 10:47:19 UTC+1: >

[tw5] Re: Update text field using the checkbox widget

2020-12-08 Thread BurningTreeC
Hi @kebi, for the uncheckactions you could use something like: \define uncheckactions() <$set name="splitregexp" value="[\^~~][~~$]"> <$action-setfield text={{{ [[$(text-field)$]splitregexp] }}}/> \end kebi schrieb am Dienstag, 8. Dezember 2020 um 09:10:36 UTC+1: > Hello everyone, > I have a

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread Mohammad
To correct my previous post On Tuesday, December 8, 2020 at 12:53:01 PM UTC+3:30 Mohammad wrote: > Bimlas, > I really like CSS variables and they give a lot of flexibility see > https://blog.logrocket.com/how-to-create-better-themes-with-css-variables-5a3744105c74/ > See default values, scope,

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread Mohammad
Bimlas, I really like CSS variables and they give a lot of flexibility see https://blog.logrocket.com/how-to-create-better-themes-with-css-variables-5a3744105c74/ See default values, scope, overwriting, ... But I have no experience to see what are the pros and cons of using CSS variables in

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread PMario
Hi, The problem is. IE doesn't support it. For 5.1.23 we did just add some code to the "range widget actions" functionality, to keep it compatible with IE. So at the moment IE is still a thing for us. -m -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread bimlas
The question arose in me, "Why use CSS variables if TiddlyWiki can handle them too?". Thinking through the question, the answer is pretty clear: it improves a lot in terms of performance if the TiddlyWiki variables are only used when assigning a value to a CSS variable, and using CSS variables

[tw5] Re: Update text field using the checkbox widget

2020-12-08 Thread Mohammad
Kebi, Why don't use style at display time? Why do you add them to text field? I believe you should separate these two content from style. By the way the removesuffix/removeprefixx filter operators shall do what you want On Tuesday, December 8, 2020 at 11:40:36 AM UTC+3:30 kebi wrote: > Hello

[tw5] Re: Please vote for your favour banner for v5.1.23

2020-12-08 Thread BurningTreeC
Nice banners everyone :) ! Voted! BTC TW Tones schrieb am Dienstag, 8. Dezember 2020 um 03:30:49 UTC+1: > They are all good! > > On Tuesday, 8 December 2020 at 02:52:00 UTC+11 jeremy...@gmail.com wrote: > >> The voting to choose the banner for TiddlyWiki v5.1.23 is now open. >> Please pick

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread Mohammad
More information https://blog.logrocket.com/how-to-create-better-themes-with-css-variables-5a3744105c74/ On Tuesday, December 8, 2020 at 11:44:57 AM UTC+3:30 Mohammad wrote: > More information > >

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread Mohammad
More information https://css-tricks.com/responsive-designs-and-css-custom-properties-defining-variables-and-breakpoints/ On Tuesday, December 8, 2020 at 11:28:41 AM UTC+3:30 Mohammad wrote: > CSS tiddlers are an important part of Tiddlywiki to adjust look and feel > of different elements. For

[tw5] Update text field using the checkbox widget

2020-12-08 Thread kebi
Hello everyone, I have a tiddler where I display all the tiddlers that contain the word "TODO " in their text field with a checkbox button. When I click the checkbox button the text field of the corresponding tiddler should change and include the "~~" symbols as prefix and suffix. I have

[tw5] Update the text field using the checkbox widget

2020-12-08 Thread kebi
Hello everyone, I have a tiddler that displays all the tiddlers that contain the word "TODO" in their text field along a checkbox button. When I check the checkbox the field text of the corresponding tiddler changes and the prefix/suffix "~~" are added (strikethrough). I have accomplished this