[tw5] Re: Tiddlywiki and GitHub Pages and Travis-CI

2019-04-04 Thread Mohammad
Hi Tony! These demos only shows how to have a website hosted on the GitHub Pages! - The first case just uses a simple index.html no matter how you produce it! but here I used Tiddlywiki - The second case uses Tiddlywiki node.js version integrated with Travis to produce the website a

[tw5] Re: Tiddlywiki and GitHub Pages and Travis-CI

2019-04-04 Thread Mohammad
Hi S.S. On Friday, April 5, 2019 at 3:07:03 AM UTC+4:30, S. S. wrote: > > Good work Mohammad! > > Glad you included Daniel Rodríguez: TW5-auto-publish2gh-pages > - that is how I > set up my Github Pages. > > One day you will have to expla

Re: [tw5] How to use the $set widget properly with a "not missing" and "empty" filter?

2019-04-04 Thread Mohammad
Hi S.S, This is great! You can visually and interactively play with $set and see the result! Thank you On Friday, April 5, 2019 at 4:50:39 AM UTC+4:30, S. S. wrote: > > > The set widget is very useful for choosing between multiple options. > Understanding the logic of what combinations of the $s

[tw5] Re: Conditionally appending a TOC of Sub tiddlers to a Tiddler (Or how to write Javascript Macros)

2019-04-04 Thread registrierungs genervter
Great! This did the trick - with a small modification. I had to set the *variable* parameter of the *list* widget to another value: <$list filter="[all[current]tagging[]limit[1]]" *variable="currentTiddlerInTheList"*> <> This needs to be done because the d

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread Mohammad
On Friday, April 5, 2019 at 4:29:38 AM UTC+4:30, TonyM wrote: > > Mohammand, > > For your exploration. > > On Windows 10, > >- I sometimes simply zip a whole wikifolder for backup before a major >event. This could be automated if desired. > > I started using Sunkron. It supports multi p

[tw5] Re: use variable for macro param default

2019-04-04 Thread Mohammad
Added to TW-Scripts On Friday, April 5, 2019 at 7:19:50 AM UTC+4:30, TonyM wrote: > > PS > > As Posted elsewhere this is the method I use for default parameters > > I often use a variation of this when making my own macros to allow it to > use current tiddler or another if provided. Basically it

[tw5] Re: Attachment performance with "Folders"

2019-04-04 Thread TonyM
Marc, Since no one has answered I will point you to the idea of external files using "canonical" or skinny tiddlers, these are key words that should get you somewhere on this. Depending on your application I would first try filling up your wiki with your PDF's as a trial and see if they damage

[tw5] Re: use variable for macro param default

2019-04-04 Thread TonyM
PS As Posted elsewhere this is the method I use for default parameters I often use a variation of this when making my own macros to allow it to use current tiddler or another if provided. Basically it provides a default of the current tiddler *However you could use this for any input parameter

[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-04 Thread TonyM
Jed, I deleted the '$:/plugins/OokTech/Bob/Wiki Listing" which was an overridden system tiddler and the fault was corrected. Thanks for your help Nesting wikis will be helpful, especially once I learn how to manage a single plugin store etc... Thanks for Bob. Tony On Wednesday, April 3, 2019

[tw5] Re: Tiddlywiki and GitHub Pages and Travis-CI

2019-04-04 Thread TonyM
Mohammad, This is an invaluable piece of documentation you have created. I have not followed it yet but will. - Do I understand correctly that the key purpose would be to build your own tiddlywiki edition or custom build and permit contributions via github? - I understand it is not re

Re: [tw5] How to use the $set widget properly with a "not missing" and "empty" filter?

2019-04-04 Thread TonyM
S S I often use a variation of this when making my own macros to allow it to use current tiddler or another if provided. Basically it provides a default of the current tiddler \define mymacro(tiddlername) <$set name=selected-tiddler value="$tiddlername$" emptyValue=<< currentTiddler>> > Action:

Re: [tw5] How to use the $set widget properly with a "not missing" and "empty" filter?

2019-04-04 Thread S. S.
The set widget is very useful for choosing between multiple options. Understanding the logic of what combinations of the $set widget's attributes produce the desired outcome is essential to using it for such a requirement. The discussion above was quite a revelation. Here's a possible use. If

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread TonyM
Mohammand, For your exploration. On Windows 10, - I sometimes simply zip a whole wikifolder for backup before a major event. This could be automated if desired. - If the folder was connected to a Dropbox (or version controled sync) sync, dropbox would maintain multiple versions of

[tw5] Re: can't save tw in my own php server

2019-04-04 Thread TonyM
When I go to the same php file I get the following see below. Rather than seeing the content. It suggests to me php is simply not being processed by the server. That is where I would focus first. Regards Tony Debug Tests ini setting: file_uploads OK ini setting: upload_max_filesize 2M ini sett

[tw5] Re: Tiddlywiki and GitHub Pages and Travis-CI

2019-04-04 Thread S. S.
Good work Mohammad! Glad you included Daniel Rodríguez: TW5-auto-publish2gh-pages - that is how I set up my Github Pages. One day you will have to explain why you chose that yellow background colour! Cheers. On Friday, April 5, 2019 a

[tw5] Re: Conditionally appending a TOC of Sub tiddlers to a Tiddler (Or how to write Javascript Macros)

2019-04-04 Thread S. S.
Hello r.g. The tagging operator seems to be just made for you! Since you just need to have a list of 1, you limit the filter's output. So you might try this in your *Sub Tiddlers* template: <$list filter="[all[current]tagging[]limit[1]]"> <> If th

[tw5] Tiddlywiki and GitHub Pages and Travis-CI

2019-04-04 Thread Mohammad
*Announcement: New Demo and Documentation to create websites on GitHub Pages* *Date: Apr 5th, 2019* Referring to the good works by Danielo, Talha, and Joe, an some other people , for the documentation purpose, I have prepared two demo wikis with documentation to show *Setup websites using Tid

[tw5] Conditionally appending a TOC of Sub tiddlers to a Tiddler (Or how to write Javascript Macros)

2019-04-04 Thread registrierungs genervter
I would like to add a TOC of Sub Tiddlers (Tiddlers tagged with this Tiddler) at the end of each tiddler. I would like to do this automatically, but only if there are Sub Tiddlers. Currently im doing it manually: I have defined a macro *t* in a Tiddler tagged with '$:/tags/Macro': \whitespace

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread 'Mark S.' via TiddlyWiki
Tiddlyserver has a built-in backup, though I'm not sure how it works with data folders. -- Mark -- 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+unsubs

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread Mohammad
Thanks Mario for these valuable information! --Mohammad On Thursday, April 4, 2019 at 8:21:57 PM UTC+4:30, PMario wrote: > > On Thursday, April 4, 2019 at 5:31:16 PM UTC+2, Mohammad wrote: >> >> Many thanks Mario! >> I will have a look and inform you how it works for me! >> > > I did a little bit

[tw5] Re: can't save tw in my own php server

2019-04-04 Thread 李晨
I think you are right, it's something wrong in my server. -- here is some infomation: ubuntu@VM-0-11-ubuntu:/var/www/html$ ls -l total 1988 -rwxrwxrwx 1 ubuntu ubuntu 2019718 Apr 4 17:24 index.html -rwxrwxrwx 1 ubuntu ubuntu 10476 Apr 4 17:24 tw-receiver-server.php and you

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread PMario
On Thursday, April 4, 2019 at 5:31:16 PM UTC+2, Mohammad wrote: > > Many thanks Mario! > I will have a look and inform you how it works for me! > I did a little bit more testing. - The minimum "backup period" is 10 minutes. - Triggering a manual "Backup run" is not trivial, since the setting

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread Mohammad
Many thanks Mario! I will have a look and inform you how it works for me! --Mohammad On Thursday, April 4, 2019 at 7:09:11 PM UTC+4:30, PMario wrote: > > On Sunday, March 31, 2019 at 7:04:16 PM UTC+2, Mohammad wrote: >> >> Actually I am using TW on Node.js on a Windows machine and I like to >>

[tw5] Re: How to? --- APPEND one tiddler "text" to another? #append

2019-04-04 Thread Mohammad
Hi Josiah, You may like the below macro! \define append-text(tidTitle, text:"", btnLabel:"Append Text", sep:"") <$button> $btnLabel$ <$list variable="newText" filter= "[<__tidTitle__>get[text]addsuffix<__sep__>addsuffix<__text__>]" > <$action-setfield $tiddler=<<__tidTitle__>> text=<> /> \end

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-04 Thread PMario
On Sunday, March 31, 2019 at 7:04:16 PM UTC+2, Mohammad wrote: > > Actually I am using TW on Node.js on a Windows machine and I like to have > a backup of the tiddlers I change! > Windows 10 has a built in file history function, which is disabled by default. ... The only thing you need is a "sp

[tw5] Re: How to? --- APPEND one tiddler "text" to another? #append

2019-04-04 Thread @TiddlyTweeter
Repeat for email ... On Thursday, 4 April 2019 16:35:32 UTC+2, @TiddlyTweeter wrote: > > The use case is you create a tiddler and realise it would be better added > to another (not via transclusion, rather, the literal content of "text" is > appended to another Tiddler's "text" field.). > > Do

[tw5] Re: Why multiple click on a WidgetButton does not work ?

2019-04-04 Thread S. S.
*<>* that you have it working, you may also want to read: [TW5] Now date not refreshing in button Regards! On Thursday, April 4, 2019 at 8:18:43 PM UTC+7, vpl wrote: > > And this works !!! > > Thanks very much for your h

[tw5] Re: Why multiple click on a WidgetButton does not work ?

2019-04-04 Thread vpl
And this works !!! Thanks very much for your help so accurate and responsive ... Really appreciated Regards vpl Le jeudi 4 avril 2019 15:07:51 UTC+2, Jed Carty a écrit : > > Macros are updated when they are rendered and not updated until they are > re-rendered. If you open the tiddler once an

[tw5] Re: can't save tw in my own php server

2019-04-04 Thread TonyM
The same error using store.php or tw-Reciver suggests a problem on the server. Perhaps you need to share more info. Are you sure the php file is not in error Is it called index.php and names the wiki file in it Is something in .htaccess interfearing Does the php have the correct attributes or p

[tw5] Re: Why multiple click on a WidgetButton does not work ?

2019-04-04 Thread Jed Carty
Macros are updated when they are rendered and not updated until they are re-rendered. If you open the tiddler once and don't close it then your setup won't re-render the button and the date value won't update. To get this to update they way you want to have to put something in to force an updat

[tw5] Why multiple click on a WidgetButton does not work ?

2019-04-04 Thread vpl
Hi, I've created a simple javascript macro (called filterbacklog) that display the current date time stamp I've created a button that trigger the execution of this macro <$button actions=<> > Click me! When I click the first time on the button I get the console.log providing the current tim

[tw5] Re: [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-04 Thread @TiddlyTweeter
On Thursday, 4 April 2019 14:19:25 UTC+2, @TiddlyTweeter wrote: > > Ciao Jed > > I think its a wider problem in a way. Bob is used but the wider reach I > think needs some solutions that are nothing to do with Bob per se. Bob > suffers as we are not yet up to its speed. > > What I mean is that

[tw5] Re: [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-04 Thread @TiddlyTweeter
Ciao Jed I think its a wider problem in a way. Bob is used but the wider reach I think needs some solutions that are nothing to do with Bob per se. Bob suffers as we are not yet up to its speed. What I mean is that its difficult to mass promote TW to, for instance, Twitter or Telegram because

[tw5] Save directly Tiddlywiki 5 file to GitHub

2019-04-04 Thread Mohammad
Referring to: https://github.com/Jermolene/TiddlyWiki5/issues/3890 And the nice https://github.com/38911BytesFree/TiddlyWiki To save Tiddlywiki directly to GitHub Pages, is it possible to 1. Have GitHub Saver plugin? or 2. Update the current classic TW to TW5? --Mohammad -- You recei

[tw5] Re: can't save tw in my own php server

2019-04-04 Thread 李晨
thanks tony, but still don't work I modify the password in tw-receiver-server.php as 123456, and upload this file to my server then I import the plugin_sendwheel_tw-receiver.json in my tw index.html, and set parameters: secret key: 123456 server url: http://212.129.142.212/tw-receiver-server.