[tw5] Re: Unicode asian characters in Freelinks

2021-02-18 Thread maki aea

just to confirm, this issue also appears to occur with chinese characters 
when i tried freelinks a few days ago

warmest wishes, maki
On Thursday, February 18, 2021 at 8:24:29 PM UTC keSh wrote:

> Hi all,
>
> I cannot get Freelinks to recognize tiddlers titles written in south-asian 
> characters (Unicode). 
>
> I'm using 5.1.23.
> Freelinks is confirmed to work with english characters as tiddler title. 
> Deliberate linking with [[ works with south-asian characters (Unicode).
>
> Any suggestions? 
> Thanks
>
> -Kesh
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/71a34b35-5b05-4995-9508-7201dd62ed05n%40googlegroups.com.


Re: [tw5] Re: question: sorting index:value in a dataTiddler by values

2021-02-18 Thread Mohammad Rahmani
I have opened a new discussion on GitHub please see
https://github.com/Jermolene/TiddlyWiki5/discussions/5506#discussion-3227970

Mario has submitted a PR to address some issues in working with data
tiddler see: https://github.com/Jermolene/TiddlyWiki5/pull/3971



Best wishes
Mohammad


On Fri, Feb 19, 2021 at 12:39 AM Álvaro 
wrote:

> I also want to work with indes and values.  But I did not know how to do
> it combining filters like you. Then i created a new filter cloning  *
> $:/core/modules/filters/indexes.js *and I modified it for obtain values,
> the important changes are in bold.
>
> /*\
> values.js
> type: application/javascript
> module-type: filteroperator
>
> Filter operator for returning the values of a data tiddler
>
> \*/
> (function(){
> "use strict";
>
> /*
> Export our filter function
> */
> exports.*values* = function(source,operator,options) {
> var results = [];
> source(function(tiddler,title) {
> var data = options.wiki.getTiddlerDataCached(title);
> if(data) {
> $tw.utils.pushTop(results,Object.*values*(data));
> }
> });
> return results;
> };
>
> })();
>
> Now you can use it. [values[]] instead the *populate* macro
> which is filtering the output of other filter.
> El jueves, 18 de febrero de 2021 a las 20:30:23 UTC+1, Mohammad escribió:
>
>> when using nsort on new values (e.g. value::index note :: is a character
>> used to create new entries) it fails.
>> One solution is as below, but for large number index - value (e.g 200 or
>> more) the solution is very slow
>>
>> This solution contains
>>
>> 1. a populate macro to list all values
>> 2. a wikify and list widget let sort values
>> 3. a lookup macro to find index(s) for a value
>>
>> \define  dataTiddler() myData
>> \define myfilter() [indexes[]]
>>
>> \define populate()
>> <$list filter="[subfilter]">
>> <$text text={{{[getindex]}}}/>
>> 
>> \end
>>
>> \define lookup-index(val)
>> <$list filter="[subfilter]" variable=idx>
>> <$list filter="[getindex] +[match[$val$]]">
>> 
>> <$link to=<> /> $val$ 
>> 
>> 
>> 
>> \end
>>
>>
>> 
>> <$wikify name=u text=<> >
>> <$list filter="[enlistnsort[]]">
>> <$macrocall $name=lookup-index val=<> />
>> 
>> 
>> 
>>
>>
>> The above can be tested in https://tiddlywiki.com/ if one creates a data
>> tiddler with the myData title containing the data of the previous post.
>>
>> Question: as stated above this solution is very slow for large numbers of
>> data (index-value pairs). What alternative solution do you propose?
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Thu, Feb 18, 2021 at 10:07 PM Mohammad Rahmani 
>> wrote:
>>
>>> This is an old question and there are several solution for that, but not
>>> for the case I explain here
>>>
>>> Assume you have a dataTiddler or JSON tiddler with data like below
>>>
>>> nella: -1
>>> rita: 1
>>> villa: 0
>>> lola: -7
>>> sina: 3
>>> cobra: 2
>>> fifa: -2
>>> zila: 3
>>> afra: 1
>>>
>>>
>>> I want to list data in this dictionary table sorted by value, so I
>>> should have
>>>
>>>   lola: -7
>>>   fifa: -2
>>>   nella: -1
>>>   villa: 0
>>>   afra: 1
>>>   rita: 1
>>>   cobra: 2
>>>   sina: 3
>>>   zila: 3
>>>
>>> Note, there are duplicated values. The solution is that new entries
>>> created from appending value to index like value::index do not work here!
>>> As you need to use nsort
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>> --
> 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 web visit
> https://groups.google.com/d/msgid/tiddlywiki/65d562c5-88e4-49b1-aa5f-e399ca397a81n%40googlegroups.com
> 
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMC_X9E8-PVWZkqJ1HYBZF9%2Bt65ejOK6xGYhMDg97Y%2BYew%40mail.gmail.com.


Re: [tw5] Announcing Tiddlyhost.com

2021-02-18 Thread Mohammad Rahmani
Hi Simon,
 Thanks for tiddlyhost.com I am sure it will have many users. Small
suggestion

1. It is good to use namespace per user (very important in my opinion)
2. Worth to show the quota per user (One can understand how much disk space
he/she has used)
3. To encourage being a nice user you can dedicate 250 MB per user and ask
for some fee above that quota
4. To keep tiddlyhost live and use a better hosting (dreamhost seems slow)
you may add a premium subscription let interested users and fans to pay for
subscription. This can be a small help to pay hosting and maintenance costs



Best wishes
Mohammad


On Fri, Feb 19, 2021 at 3:18 AM Simon Baird  wrote:

> (Via http://tiddlyspot.blogspot.com/2021/02/announcing-tiddlyhostcom.html
> )
>
> Tiddlyhost.com is the successor to Tiddlyspot.com. I've been working hard
> on it since early January and I'm really happy with the progress. It's
> pretty new, and still in development, but I feel like it's ready for some
> kind of launch.
>
> Unlike Tiddlyspot, Tiddlyhost:
> * Is secure
> * Has a password recovery mechanism
> * Supports TiddlyWiki5
> * Is fully open source
> * Let's you share and discover TiddlyWiki sites
>
> If that sounds good, please sign up at https://tiddlyhost.com/ and give
> it a try.
>
> If you have suggestions or experience problems, please file an issue [1].
> See also the code [2] and the FAQ [3].
>
> [1] https://github.com/simonbaird/tiddlyhost/issues
> [2] https://github.com/simonbaird/tiddlyhost/
> [3] https://github.com/simonbaird/tiddlyhost/wiki/FAQ
>
>
> -Simon
>
> Ps, a few notes:
> * As mentioned, Tiddlyhost is new and in development. I can't guarantee
> there won't be problems. It would be wise to download your site once in a
> while just in case something goes terribly wrong and your data gets lost.
> * Please be nice. For example don't upload your entire photo collection,
> or generate a ton of spammy content.
>
> --
> simon.ba...@gmail.com
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/tiddlywiki/CA%2B9aNS81ubH_xL2Fe2BAYmCaL4ry%3Dtz4K_g-ParCwA_N1OKKuQ%40mail.gmail.com
> 
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMA-mx4brit1uoTq6y6A3d-ky%2BgSG%3D2YS9A7BKzJp7e1YA%40mail.gmail.com.


Re: [tw5] Re: question: sorting index:value in a dataTiddler by values

2021-02-18 Thread Mohammad Rahmani
Hi Alvareh,

 Many thanks, nice solution. I added values.js and it works fine. By the
way I understood the bottleneck is the lookup-index maco in my solution For
2000 entries TW quickly freezes. I work to see how to use an alternative
approach for that part.

Amazingly TW has indexes filter operator but not values! Isn't it worth
adding it to the Tiddlywiki core?



Best wishes
Mohammad


On Fri, Feb 19, 2021 at 12:39 AM Álvaro 
wrote:

> I also want to work with indes and values.  But I did not know how to do
> it combining filters like you. Then i created a new filter cloning  *
> $:/core/modules/filters/indexes.js *and I modified it for obtain values,
> the important changes are in bold.
>
> /*\
> values.js
> type: application/javascript
> module-type: filteroperator
>
> Filter operator for returning the values of a data tiddler
>
> \*/
> (function(){
> "use strict";
>
> /*
> Export our filter function
> */
> exports.*values* = function(source,operator,options) {
> var results = [];
> source(function(tiddler,title) {
> var data = options.wiki.getTiddlerDataCached(title);
> if(data) {
> $tw.utils.pushTop(results,Object.*values*(data));
> }
> });
> return results;
> };
>
> })();
>
> Now you can use it. [values[]] instead the *populate* macro
> which is filtering the output of other filter.
> El jueves, 18 de febrero de 2021 a las 20:30:23 UTC+1, Mohammad escribió:
>
>> when using nsort on new values (e.g. value::index note :: is a character
>> used to create new entries) it fails.
>> One solution is as below, but for large number index - value (e.g 200 or
>> more) the solution is very slow
>>
>> This solution contains
>>
>> 1. a populate macro to list all values
>> 2. a wikify and list widget let sort values
>> 3. a lookup macro to find index(s) for a value
>>
>> \define  dataTiddler() myData
>> \define myfilter() [indexes[]]
>>
>> \define populate()
>> <$list filter="[subfilter]">
>> <$text text={{{[getindex]}}}/>
>> 
>> \end
>>
>> \define lookup-index(val)
>> <$list filter="[subfilter]" variable=idx>
>> <$list filter="[getindex] +[match[$val$]]">
>> 
>> <$link to=<> /> $val$ 
>> 
>> 
>> 
>> \end
>>
>>
>> 
>> <$wikify name=u text=<> >
>> <$list filter="[enlistnsort[]]">
>> <$macrocall $name=lookup-index val=<> />
>> 
>> 
>> 
>>
>>
>> The above can be tested in https://tiddlywiki.com/ if one creates a data
>> tiddler with the myData title containing the data of the previous post.
>>
>> Question: as stated above this solution is very slow for large numbers of
>> data (index-value pairs). What alternative solution do you propose?
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Thu, Feb 18, 2021 at 10:07 PM Mohammad Rahmani 
>> wrote:
>>
>>> This is an old question and there are several solution for that, but not
>>> for the case I explain here
>>>
>>> Assume you have a dataTiddler or JSON tiddler with data like below
>>>
>>> nella: -1
>>> rita: 1
>>> villa: 0
>>> lola: -7
>>> sina: 3
>>> cobra: 2
>>> fifa: -2
>>> zila: 3
>>> afra: 1
>>>
>>>
>>> I want to list data in this dictionary table sorted by value, so I
>>> should have
>>>
>>>   lola: -7
>>>   fifa: -2
>>>   nella: -1
>>>   villa: 0
>>>   afra: 1
>>>   rita: 1
>>>   cobra: 2
>>>   sina: 3
>>>   zila: 3
>>>
>>> Note, there are duplicated values. The solution is that new entries
>>> created from appending value to index like value::index do not work here!
>>> As you need to use nsort
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>> --
> 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 web visit
> https://groups.google.com/d/msgid/tiddlywiki/65d562c5-88e4-49b1-aa5f-e399ca397a81n%40googlegroups.com
> 
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMBoa2AFOUseTtFHs%2BTsytxvPEq8ZQ6xYmao5FK8b5ahLg%40mail.gmail.com.


Re: [tw5] Re: question: sorting index:value in a dataTiddler by values

2021-02-18 Thread Mohammad Rahmani
Hi Mark,
 Using your solution on 2000 entries, TW shows good performance while using
my solution TW freezes. So I like to use it, but there is a small issue

1. the data tiddler itself is populated from tiddlers in Tiddlywiki, so I
may have entries like below
index=  My Tiddler: New Tid
value= -12

Tiddlywiki uses JSON instead of data tiddler to address above issue

So what do you think





Best wishes
Mohammad


On Thu, Feb 18, 2021 at 11:45 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Remember that in TW, the data dictionary is just a convenience tool. So
> it's ok to cheat. Or at least that's my theory.
>
> <$vars cr="""
> """
> sortby="[split[:]nth[2]]"
> >
> <$list filter="[[MyData]get[text]splitsortsub:number]" >
>
> 
> 
>
> Gives
>
> lola: -7 
> fifa: -2 
> nella: -1 
> villa: 0 
> rita: 1 
> afra: 1 
> cobra: 2 
> sina: 3 
> zila: 3 
>
>
>
> On Thursday, February 18, 2021 at 11:30:23 AM UTC-8 Mohammad wrote:
>
>> when using nsort on new values (e.g. value::index note :: is a character
>> used to create new entries) it fails.
>> One solution is as below, but for large number index - value (e.g 200 or
>> more) the solution is very slow
>>
>> This solution contains
>>
>> 1. a populate macro to list all values
>> 2. a wikify and list widget let sort values
>> 3. a lookup macro to find index(s) for a value
>>
>> \define  dataTiddler() myData
>> \define myfilter() [indexes[]]
>>
>> \define populate()
>> <$list filter="[subfilter]">
>> <$text text={{{[getindex]}}}/>
>> 
>> \end
>>
>> \define lookup-index(val)
>> <$list filter="[subfilter]" variable=idx>
>> <$list filter="[getindex] +[match[$val$]]">
>> 
>> <$link to=<> /> $val$ 
>> 
>> 
>> 
>> \end
>>
>>
>> 
>> <$wikify name=u text=<> >
>> <$list filter="[enlistnsort[]]">
>> <$macrocall $name=lookup-index val=<> />
>> 
>> 
>> 
>>
>>
>> The above can be tested in https://tiddlywiki.com/ if one creates a data
>> tiddler with the myData title containing the data of the previous post.
>>
>> Question: as stated above this solution is very slow for large numbers of
>> data (index-value pairs). What alternative solution do you propose?
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Thu, Feb 18, 2021 at 10:07 PM Mohammad Rahmani 
>> wrote:
>>
>>> This is an old question and there are several solution for that, but not
>>> for the case I explain here
>>>
>>> Assume you have a dataTiddler or JSON tiddler with data like below
>>>
>>> nella: -1
>>> rita: 1
>>> villa: 0
>>> lola: -7
>>> sina: 3
>>> cobra: 2
>>> fifa: -2
>>> zila: 3
>>> afra: 1
>>>
>>>
>>> I want to list data in this dictionary table sorted by value, so I
>>> should have
>>>
>>>   lola: -7
>>>   fifa: -2
>>>   nella: -1
>>>   villa: 0
>>>   afra: 1
>>>   rita: 1
>>>   cobra: 2
>>>   sina: 3
>>>   zila: 3
>>>
>>> Note, there are duplicated values. The solution is that new entries
>>> created from appending value to index like value::index do not work here!
>>> As you need to use nsort
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>> --
> 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 web visit
> https://groups.google.com/d/msgid/tiddlywiki/4f98a1bc-c408-4b6d-b89d-d4eebcb9561fn%40googlegroups.com
> 
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMBt%3Dm_008d1yJE10c0VYC%2B50J-LxQEDR63MY4NJ4Qf1xA%40mail.gmail.com.


[tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Charlie Veniot
G'day Ray,

Just for the fun of it:  TODO Idea for Ray 


Instead of entering, as per your example:  *TODO* remember to buy dogfood

I've set things up as follows:

Type: {{remember to buy dogfood||t2DO}}

Upon save of your tiddler, you'll have a button there, when pressed it will 
create the tiddler "remember to buy dogfood" and tag it "TODO"

The "t2DO" transclusion tiddler does some neat stuff.  Not a 
fully-automatic way to add an item to the TODO list, but it saves a few 
mouse clicks.

Cheers !

On Thursday, February 18, 2021 at 8:31:34 AM UTC-4 rayv...@gmail.com wrote:

> Hi
>
> since a week i am rediscovering TW5, really fun but quite for me a steep 
> learning curve.
> But I am trying.
> I have a daily journal entry where i log everything i do in for work.
> What i would love is the following:
> When i put something like say *TODO* on a line, that that line will 
> automagically
> be added to my todo list.
>
> So i have this in my journal (or normal tiddler):
>
> --
> Walked on the beach
> Let the dog out
> *TODO* remember to buy dogfood
> Wrote documentation for project XYZ
> Called DaveSmith
> *TODO* buy birthday present for Dave
> -
>
> That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
> That would be really nice.
> Is this somehow possible?
>
> Thanks in advance for your help.
>
> Pointers to tutorials on programming TW5 are welcome as well.
> I progress very slowly each day but hey, i am progressing ;-)
>
> Ray
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/4267b682-a82d-42ee-bda9-e485e1b06c6cn%40googlegroups.com.


[tw5] Re: Announcing Tiddlyhost.com

2021-02-18 Thread David Gifford
I added my current simple productivity set up at 
https://testingoutth.tiddlyhost.com/. If you like it, grab stuff as desired.

On Thursday, February 18, 2021 at 8:14:11 PM UTC-6 David Gifford wrote:

> Nice! I have my own website, so I don't need hosting, but I wanted to 
> check it out. I like the hub idea. Nice way to see what others do, if they 
> are willing to share. Blessings!
>
> On Thursday, February 18, 2021 at 5:48:21 PM UTC-6 SimonBaird wrote:
>
>> (Via http://tiddlyspot.blogspot.com/2021/02/announcing-tiddlyhostcom.html 
>> )
>>
>> Tiddlyhost.com is the successor to Tiddlyspot.com. I've been working hard 
>> on it since early January and I'm really happy with the progress. It's 
>> pretty new, and still in development, but I feel like it's ready for some 
>> kind of launch.
>>
>> Unlike Tiddlyspot, Tiddlyhost:
>> * Is secure
>> * Has a password recovery mechanism
>> * Supports TiddlyWiki5
>> * Is fully open source
>> * Let's you share and discover TiddlyWiki sites
>>
>> If that sounds good, please sign up at https://tiddlyhost.com/ and give 
>> it a try.
>>
>> If you have suggestions or experience problems, please file an issue [1]. 
>> See also the code [2] and the FAQ [3].
>>
>> [1] https://github.com/simonbaird/tiddlyhost/issues
>> [2] https://github.com/simonbaird/tiddlyhost/
>> [3] https://github.com/simonbaird/tiddlyhost/wiki/FAQ
>>
>>
>> -Simon
>>
>> Ps, a few notes:
>> * As mentioned, Tiddlyhost is new and in development. I can't guarantee 
>> there won't be problems. It would be wise to download your site once in a 
>> while just in case something goes terribly wrong and your data gets lost.
>> * Please be nice. For example don't upload your entire photo collection, 
>> or generate a ton of spammy content.
>>
>> -- 
>> simon...@gmail.com
>>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/d37ca0c0-a1df-4a73-8708-bcca5840986an%40googlegroups.com.


[tw5] Re: Announcing Tiddlyhost.com

2021-02-18 Thread David Gifford
Nice! I have my own website, so I don't need hosting, but I wanted to check 
it out. I like the hub idea. Nice way to see what others do, if they are 
willing to share. Blessings!

On Thursday, February 18, 2021 at 5:48:21 PM UTC-6 SimonBaird wrote:

> (Via http://tiddlyspot.blogspot.com/2021/02/announcing-tiddlyhostcom.html 
> )
>
> Tiddlyhost.com is the successor to Tiddlyspot.com. I've been working hard 
> on it since early January and I'm really happy with the progress. It's 
> pretty new, and still in development, but I feel like it's ready for some 
> kind of launch.
>
> Unlike Tiddlyspot, Tiddlyhost:
> * Is secure
> * Has a password recovery mechanism
> * Supports TiddlyWiki5
> * Is fully open source
> * Let's you share and discover TiddlyWiki sites
>
> If that sounds good, please sign up at https://tiddlyhost.com/ and give 
> it a try.
>
> If you have suggestions or experience problems, please file an issue [1]. 
> See also the code [2] and the FAQ [3].
>
> [1] https://github.com/simonbaird/tiddlyhost/issues
> [2] https://github.com/simonbaird/tiddlyhost/
> [3] https://github.com/simonbaird/tiddlyhost/wiki/FAQ
>
>
> -Simon
>
> Ps, a few notes:
> * As mentioned, Tiddlyhost is new and in development. I can't guarantee 
> there won't be problems. It would be wise to download your site once in a 
> while just in case something goes terribly wrong and your data gets lost.
> * Please be nice. For example don't upload your entire photo collection, 
> or generate a ton of spammy content.
>
> -- 
> simon...@gmail.com
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a0abbd4-30af-425b-8c40-7f4aad1ece7an%40googlegroups.com.


[tw5] Inquiry: Click on Button to Copy Text

2021-02-18 Thread James

Is there a way to click on a picture, as a button, and the button will copy 
the text?

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/363ee896-4146-4458-bed5-e937b20bdca7n%40googlegroups.com.


[tw5] Announcing Tiddlyhost.com

2021-02-18 Thread Simon Baird
(Via http://tiddlyspot.blogspot.com/2021/02/announcing-tiddlyhostcom.html )

Tiddlyhost.com is the successor to Tiddlyspot.com. I've been working hard
on it since early January and I'm really happy with the progress. It's
pretty new, and still in development, but I feel like it's ready for some
kind of launch.

Unlike Tiddlyspot, Tiddlyhost:
* Is secure
* Has a password recovery mechanism
* Supports TiddlyWiki5
* Is fully open source
* Let's you share and discover TiddlyWiki sites

If that sounds good, please sign up at https://tiddlyhost.com/ and give it
a try.

If you have suggestions or experience problems, please file an issue [1].
See also the code [2] and the FAQ [3].

[1] https://github.com/simonbaird/tiddlyhost/issues
[2] https://github.com/simonbaird/tiddlyhost/
[3] https://github.com/simonbaird/tiddlyhost/wiki/FAQ


-Simon

Ps, a few notes:
* As mentioned, Tiddlyhost is new and in development. I can't guarantee
there won't be problems. It would be wise to download your site once in a
while just in case something goes terribly wrong and your data gets lost.
* Please be nice. For example don't upload your entire photo collection, or
generate a ton of spammy content.

-- 
simon.ba...@gmail.com

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CA%2B9aNS81ubH_xL2Fe2BAYmCaL4ry%3Dtz4K_g-ParCwA_N1OKKuQ%40mail.gmail.com.


[tw5] Re: How to get TiddlyWiki running behind Nginx

2021-02-18 Thread Charles Anderson
I'm not sure what you mean by initialised.  I did re-install nodejs from 
the Node.js repository and am now running node v15.9.0/npm v7.5.4, and I 
installed Tiddlywiki via the directions given at tiddlywiki.com, with the 
global flag.  tiddlywiki is installed in /usr/bin.  My testwiki is still 
installed in /var/www/html and is owned by, and runs as www-data:www-data.  
I have it configured to start with the host IP:8080, so that it's not open 
to everywhere, and Nginx is running on the same server.  It doesn't seem 
like the host should need to be set to 0.0.0.0.  I am able access the wiki 
at the host IP:8080, and it seems to work fine.  It's only when I try to 
access it through Nginx where it throws all the 400s.

On Thursday, February 18, 2021 at 12:00:59 AM UTC-8 Petri M. wrote:

> Hi,
>
> Is your tiddlywiki initialised in the /usr/local/bin/tiddlywiki/ folder OR 
> is it at /usr/local/bin/tiddlywik/testwiki/? The first case is not correct, 
> so check this. Also you should double check that the wiki actually works 
> from local network before trying to get nginx in the mix. If it is running 
> on a vps or somewhere where you do not have local connection to then use 
> the host=0.0.0.0 command so you can connect to it via vps_ip:port from your 
> own computer. 
>
> -Petri
>
> On Thursday, February 18, 2021 at 2:00:00 AM UTC+2 joshua@gmail.com 
> wrote:
>
>> The TiddlyWeb syncadaptor plugin calls those URLs to interact with the 
>> node server. The node server loads tiddlers marked as "module-type: route" 
>> and maps them as handlers to those urls. The browser should be calling 
>> "/var/www/html/recipes/*default*/tiddlers.json" in order to get handled. 
>> If your wiki is loading, but the calls to "/status", etc are not getting 
>> back to the node server, then I'm not sure where the block would be.
>>
>> Hope that helps,
>> Joshua Fontany
>>
>> On Wednesday, February 17, 2021 at 2:28:25 PM UTC-8 eirich...@gmail.com 
>> wrote:
>>
>>> Also, in the Nginx logs I see the following:
>>>
>>> 2021/02/17 14:22:32 [error] 4740#4740: *9 open() "/var/www/html/status" 
>>> failed (2: No such file or directory)
>>> 2021/02/17 14:22:32 [error] 4740#4740: *13 open() 
>>> "/var/www/html/recipes/undefined/tiddlers.json" failed (2: No such file or 
>>> directory)
>>>
>>> I can definitely say there are no "status" or "recipies" directories or 
>>> files in /var/www/html, so this seems like the obvious reason for the 400 
>>> errors, but why are they being looked for?
>>>
>>> On Wednesday, February 17, 2021 at 2:19:40 PM UTC-8 Charles Anderson 
>>> wrote:
>>>
 Honestly, I didn't know 0.0.0.0 could be used.  I did try changing my 
 startup command, but it didn't change the errors I get.  Thanks for the 
 info, though.

 On Monday, February 15, 2021 at 1:19:20 AM UTC-8 Petri M. wrote:

> Hi,
>
> I think your "host" command might be wrong when starting the wiki. See 
> here 
> https://tiddlywiki.com/static/WebServer%2520Parameter%253A%2520host.html. 
> For instance, I have a Docker + Caddy setup and I am starting the wiki 
> with 
> "host=0.0.0.0" command.
>
> -Petri
> On Sunday, February 14, 2021 at 2:42:45 AM UTC+2 eirich...@gmail.com 
> wrote:
>
>> I'm trying to run TiddlyWiki in node.js, behind Nginx such that I can 
>> spin up various wikis, all accessible by appending the name of the wiki 
>> to 
>> the end of the URL.
>>
>>- My test install is using Debian 10.8, Nginx 1.14.2-2+deb10u3, 
>>TiddlyWiki 5.1.23.
>>- I'm running my testwiki from /var/www/html, as 
>>www-data:www-data.
>>- I've created a unit file for it to run from systemd.
>>   - It is basically set to start as follows:  node 
>>   /usr/local/bin/tiddlywiki testwiki --listen host=192.168.1.212 
>> port=8080
>>
>> I've used the following links for information:
>>
>>- https://www.npmjs.com/package/tiddlywiki
>>- http://www.brool.com/post/setting-up-tiddlywiki-behind-nginx/
>>- https://ssine.ink/posts/tiddlywiki-setup/
>>- 
>>https://blog.joshsullivan.io/2019/02/20/creating-online-tiddlywiki/
>>
>> I've even tried looking at different posts in this group but either 
>> my setup is not like what I'm reading about, or the fixes for others are 
>> just not working for me.
>>
>> I seem to have no problem running the wiki on it's own.  It is 
>> accessible via port 8080, and works as expected.  However, when I try to 
>> put it behind Nginx, I can access it over port 80, but I immediately get 
>> 3 
>> errors from syncer-browser-tiddlyweb:
>>
>>- XMLHttpRequest error code: 404
>>- Error retrieving skinny tiddler list: XMLHttpRequest error 
>>code: 404
>>- Sync error while processing save of '$:/StoryList': 
>>XMLHttpRequest error code: 404
>>
>> Right now, m

[tw5] Re: question: sorting index:value in a dataTiddler by values

2021-02-18 Thread Álvaro
I also want to work with indes and values.  But I did not know how to do it 
combining filters like you. Then i created a new filter cloning  * 
$:/core/modules/filters/indexes.js *and I modified it for obtain values, 
the important changes are in bold.
  
/*\
values.js
type: application/javascript
module-type: filteroperator

Filter operator for returning the values of a data tiddler

\*/
(function(){
"use strict";

/*
Export our filter function
*/
exports.*values* = function(source,operator,options) {
var results = [];
source(function(tiddler,title) {
var data = options.wiki.getTiddlerDataCached(title);
if(data) {
$tw.utils.pushTop(results,Object.*values*(data));
}
});
return results;
};

})();

Now you can use it. [values[]] instead the *populate* macro 
which is filtering the output of other filter.
El jueves, 18 de febrero de 2021 a las 20:30:23 UTC+1, Mohammad escribió:

> when using nsort on new values (e.g. value::index note :: is a character 
> used to create new entries) it fails.
> One solution is as below, but for large number index - value (e.g 200 or 
> more) the solution is very slow
>
> This solution contains
>
> 1. a populate macro to list all values
> 2. a wikify and list widget let sort values
> 3. a lookup macro to find index(s) for a value
>
> \define  dataTiddler() myData  
> \define myfilter() [indexes[]] 
>
> \define populate()
> <$list filter="[subfilter]">
> <$text text={{{[getindex]}}}/>
> 
> \end
>
> \define lookup-index(val)
> <$list filter="[subfilter]" variable=idx>
> <$list filter="[getindex] +[match[$val$]]">
> 
> <$link to=<> /> $val$ 
> 
> 
> 
> \end
>
>
> 
> <$wikify name=u text=<> >
> <$list filter="[enlistnsort[]]">
> <$macrocall $name=lookup-index val=<> />
> 
> 
> 
>
>
> The above can be tested in https://tiddlywiki.com/ if one creates a data 
> tiddler with the myData title containing the data of the previous post.
>
> Question: as stated above this solution is very slow for large numbers of 
> data (index-value pairs). What alternative solution do you propose?
>
> Best wishes
> Mohammad
>
>
> On Thu, Feb 18, 2021 at 10:07 PM Mohammad Rahmani  
> wrote:
>
>> This is an old question and there are several solution for that, but not 
>> for the case I explain here
>>
>> Assume you have a dataTiddler or JSON tiddler with data like below
>>
>> nella: -1
>> rita: 1
>> villa: 0
>> lola: -7
>> sina: 3
>> cobra: 2
>> fifa: -2
>> zila: 3
>> afra: 1
>>
>>
>> I want to list data in this dictionary table sorted by value, so I should 
>> have
>>
>>   lola: -7  
>>   fifa: -2 
>>   nella: -1  
>>   villa: 0  
>>   afra: 1  
>>   rita: 1  
>>   cobra: 2 
>>   sina: 3  
>>   zila: 3 
>>
>> Note, there are duplicated values. The solution is that new entries 
>> created from appending value to index like value::index do not work here!
>> As you need to use nsort
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/65d562c5-88e4-49b1-aa5f-e399ca397a81n%40googlegroups.com.


[tw5] Question: TagCloud shows only numbers?

2021-02-18 Thread Ray Vermey
Hi,

my tagcloud suddenly shows this:

[image: 2021-02-18_21-30.png]

Numbers instead of the tagnames and colors.
What went wrong?
Is there a place where i can fix this?
Sorry for my little knowledge but i learn every day.
Big thanks!

Ray

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/26439f3f-4a27-4a18-9e4c-ce1740ef4046n%40googlegroups.com.


[tw5] Unicode asian characters in Freelinks

2021-02-18 Thread keSh
Hi all,

I cannot get Freelinks to recognize tiddlers titles written in south-asian 
characters (Unicode). 

I'm using 5.1.23.
Freelinks is confirmed to work with english characters as tiddler title. 
Deliberate linking with [[ works with south-asian characters (Unicode).

Any suggestions? 
Thanks

-Kesh

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/20a2334d-055c-4817-af22-b5774e02b01en%40googlegroups.com.


[tw5] Re: question: sorting index:value in a dataTiddler by values

2021-02-18 Thread 'Mark S.' via TiddlyWiki
Remember that in TW, the data dictionary is just a convenience tool. So 
it's ok to cheat. Or at least that's my theory.

<$vars cr="""
"""
sortby="[split[:]nth[2]]"
>
<$list filter="[[MyData]get[text]splitsortsub:number]" >




Gives

lola: -7 
fifa: -2 
nella: -1 
villa: 0 
rita: 1 
afra: 1 
cobra: 2 
sina: 3 
zila: 3 



On Thursday, February 18, 2021 at 11:30:23 AM UTC-8 Mohammad wrote:

> when using nsort on new values (e.g. value::index note :: is a character 
> used to create new entries) it fails.
> One solution is as below, but for large number index - value (e.g 200 or 
> more) the solution is very slow
>
> This solution contains
>
> 1. a populate macro to list all values
> 2. a wikify and list widget let sort values
> 3. a lookup macro to find index(s) for a value
>
> \define  dataTiddler() myData  
> \define myfilter() [indexes[]] 
>
> \define populate()
> <$list filter="[subfilter]">
> <$text text={{{[getindex]}}}/>
> 
> \end
>
> \define lookup-index(val)
> <$list filter="[subfilter]" variable=idx>
> <$list filter="[getindex] +[match[$val$]]">
> 
> <$link to=<> /> $val$ 
> 
> 
> 
> \end
>
>
> 
> <$wikify name=u text=<> >
> <$list filter="[enlistnsort[]]">
> <$macrocall $name=lookup-index val=<> />
> 
> 
> 
>
>
> The above can be tested in https://tiddlywiki.com/ if one creates a data 
> tiddler with the myData title containing the data of the previous post.
>
> Question: as stated above this solution is very slow for large numbers of 
> data (index-value pairs). What alternative solution do you propose?
>
> Best wishes
> Mohammad
>
>
> On Thu, Feb 18, 2021 at 10:07 PM Mohammad Rahmani  
> wrote:
>
>> This is an old question and there are several solution for that, but not 
>> for the case I explain here
>>
>> Assume you have a dataTiddler or JSON tiddler with data like below
>>
>> nella: -1
>> rita: 1
>> villa: 0
>> lola: -7
>> sina: 3
>> cobra: 2
>> fifa: -2
>> zila: 3
>> afra: 1
>>
>>
>> I want to list data in this dictionary table sorted by value, so I should 
>> have
>>
>>   lola: -7  
>>   fifa: -2 
>>   nella: -1  
>>   villa: 0  
>>   afra: 1  
>>   rita: 1  
>>   cobra: 2 
>>   sina: 3  
>>   zila: 3 
>>
>> Note, there are duplicated values. The solution is that new entries 
>> created from appending value to index like value::index do not work here!
>> As you need to use nsort
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/4f98a1bc-c408-4b6d-b89d-d4eebcb9561fn%40googlegroups.com.


[tw5] Batch match tags of tiddlers

2021-02-18 Thread tw-novice
Hello! I would like to know how to match the tags of a bunch of tiddlers 
with the tags in whichever tiddler is referenced in a specific field in 
each of those tiddlers. By matching I mean adding and removing tags to 
match the referenced tiddler.

I am sure that makes no sense! So here is an example of what I mean:

Suppose I have a wiki where there are several tiddlers with the field 
'category', the value of the field refers to another tiddler that does not 
have a 'category' field.

 Eg Suppose there are 3 tiddlers titled "dog","cat","mouse" with the value 
of the 'category' field as 'animal' in each of those 3 tiddlers. And there 
is also a tiddler named "animal" which does not have a 'category' field.

Suppose there are another 2 tiddlers named "carrot","potato" with the value 
of the 'category' field as 'vegetable' in both of these tiddlers. And there 
is also a tiddler named "vegetable" which does not have a 'category' field.

I would like to create a button which, when pressed, it goes through all 
tiddlers in the wiki that have a 'category' field, copies the tags that are 
on the corresponding tiddler listed in the category field, and applies 
those tags to the current tiddler, also removing any tags that are in the 
current tiddler but are not in the corresponding tiddler listed in the 
category field.


For example, let's say that the tiddler "animal" has the tag "biology", and 
the tiddler "vegetable" has the tag "food", and the tiddler "carrot" has 
the tag "red".

When I press the button, the following should happen:
- the "biology" tag is added to the tiddlers titled "dog","cat","mouse"
- the "food" tag is added to the tiddlers titled "carrot","potato"
- the "red" tag is removed from the tiddler titled "carrot"

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/a82a5f0e-bd70-412a-b87c-17ef8e663f8an%40googlegroups.com.


[tw5] Re: question: sorting index:value in a dataTiddler by values

2021-02-18 Thread Mohammad Rahmani
when using nsort on new values (e.g. value::index note :: is a character
used to create new entries) it fails.
One solution is as below, but for large number index - value (e.g 200 or
more) the solution is very slow

This solution contains

1. a populate macro to list all values
2. a wikify and list widget let sort values
3. a lookup macro to find index(s) for a value

\define  dataTiddler() myData
\define myfilter() [indexes[]]

\define populate()
<$list filter="[subfilter]">
<$text text={{{[getindex]}}}/>

\end

\define lookup-index(val)
<$list filter="[subfilter]" variable=idx>
<$list filter="[getindex] +[match[$val$]]">

<$link to=<> /> $val$ 



\end



<$wikify name=u text=<> >
<$list filter="[enlistnsort[]]">
<$macrocall $name=lookup-index val=<> />





The above can be tested in https://tiddlywiki.com/ if one creates a data
tiddler with the myData title containing the data of the previous post.

Question: as stated above this solution is very slow for large numbers of
data (index-value pairs). What alternative solution do you propose?

Best wishes
Mohammad


On Thu, Feb 18, 2021 at 10:07 PM Mohammad Rahmani <
mohammad.rahm...@gmail.com> wrote:

> This is an old question and there are several solution for that, but not
> for the case I explain here
>
> Assume you have a dataTiddler or JSON tiddler with data like below
>
> nella: -1
> rita: 1
> villa: 0
> lola: -7
> sina: 3
> cobra: 2
> fifa: -2
> zila: 3
> afra: 1
>
>
> I want to list data in this dictionary table sorted by value, so I should
> have
>
>   lola: -7
>   fifa: -2
>   nella: -1
>   villa: 0
>   afra: 1
>   rita: 1
>   cobra: 2
>   sina: 3
>   zila: 3
>
> Note, there are duplicated values. The solution is that new entries
> created from appending value to index like value::index do not work here!
> As you need to use nsort
>
>
>
> Best wishes
> Mohammad
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMBgGadqSKbJb2%2BVhCFW%3DZxht1gn00gaBDa4S294bcVCGA%40mail.gmail.com.


[tw5] question: sorting index:value in a dataTiddler by values

2021-02-18 Thread Mohammad Rahmani
This is an old question and there are several solution for that, but not
for the case I explain here

Assume you have a dataTiddler or JSON tiddler with data like below

nella: -1
rita: 1
villa: 0
lola: -7
sina: 3
cobra: 2
fifa: -2
zila: 3
afra: 1


I want to list data in this dictionary table sorted by value, so I should
have

  lola: -7
  fifa: -2
  nella: -1
  villa: 0
  afra: 1
  rita: 1
  cobra: 2
  sina: 3
  zila: 3

Note, there are duplicated values. The solution is that new entries created
from appending value to index like value::index do not work here!
As you need to use nsort



Best wishes
Mohammad

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDQgFhha_92iWY%2BDv8TrcCPpMyFt%2BNe-pbDfCLz8F%3DfLQ%40mail.gmail.com.


Re: [tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread scot
Something different, but may work.
Use j d mobile layout (http://j.d.simplemobile.tiddlyspot.com/) and 
NTFS22 (http://j.d.ntfs22.tiddlyspot.com/)

NTFS22 allows you to create journals etc from search bar.

Scot

On Thursday, 18 February 2021 at 17:50:29 UTC rayv...@gmail.com wrote:

> BTW CherryPicker doesn't work with Journal tiddlers... is that fixable?
> Nice tool now i got it working.
>
> Ray
>
> Op do 18 feb. 2021 om 18:40 schreef Ray Vermey :
>
>> I was able to get CherryPicker display "clean" output when i removed 
>> the @@ lines...
>>
>> Op do 18 feb. 2021 om 18:20 schreef Ray Vermey :
>>
>>> The problem with CherryPicker is that i see pfx: en txt: fields every 
>>> time.
>>> Is there a way to hide that??
>>>
>>> Ray
>>>
>>> Op do 18 feb. 2021 om 17:37 schreef Ray Vermey :
>>>
 Ah yes cherry picker... i played with it this week but could not get it 
 to work
 Maybe i need to study it a bit more.
 Thanks!

 Ray

 Op do 18 feb. 2021 om 16:47 schreef Eskha :

> Hello Ray,
>
> You may also try:
> Cherry Picker — mark segments to have them aggregated (tiddlyspot.com) 
>   
>
> Best regards,
>
> Eskha
> Le jeudi 18 février 2021 à 16:03:03 UTC+1, rayv...@gmail.com a écrit :
>
>> Not bad at all!
>> Easy to install.
>> Now finding out how to make piece of text from a tiddler into a todo 
>> item.
>> Looks nice!!
>>
>> Ray
>>
>> Op do 18 feb. 2021 om 15:19 schreef Ste :
>>
>>> https://projectify.wiki/demo.html be useful? 
>>>
>>> On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com 
>>> wrote:
>>>
 Hi

 since a week i am rediscovering TW5, really fun but quite for me a 
 steep learning curve.
 But I am trying.
 I have a daily journal entry where i log everything i do in for 
 work.
 What i would love is the following:
 When i put something like say *TODO* on a line, that that line will 
 automagically
 be added to my todo list.

 So i have this in my journal (or normal tiddler):

 --
 Walked on the beach
 Let the dog out
 *TODO* remember to buy dogfood
 Wrote documentation for project XYZ
 Called DaveSmith
 *TODO* buy birthday present for Dave
 -

 That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
 That would be really nice.
 Is this somehow possible?

 Thanks in advance for your help.

 Pointers to tutorials on programming TW5 are welcome as well.
 I progress very slowly each day but hey, i am progressing ;-)

 Ray

>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/ZKPAwN7e-5E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/66467d47-1d57-416c-a058-b8618f99c7a8n%40googlegroups.com
>  
> 
> .
>


-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/2f299a8e-ef21-4949-af52-4e0a9fdf58f7n%40googlegroups.com.


Re: [tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Ray Vermey
BTW CherryPicker doesn't work with Journal tiddlers... is that fixable?
Nice tool now i got it working.

Ray

Op do 18 feb. 2021 om 18:40 schreef Ray Vermey :

> I was able to get CherryPicker display "clean" output when i removed
> the @@ lines...
>
> Op do 18 feb. 2021 om 18:20 schreef Ray Vermey :
>
>> The problem with CherryPicker is that i see pfx: en txt: fields every
>> time.
>> Is there a way to hide that??
>>
>> Ray
>>
>> Op do 18 feb. 2021 om 17:37 schreef Ray Vermey :
>>
>>> Ah yes cherry picker... i played with it this week but could not get it
>>> to work
>>> Maybe i need to study it a bit more.
>>> Thanks!
>>>
>>> Ray
>>>
>>> Op do 18 feb. 2021 om 16:47 schreef Eskha :
>>>
 Hello Ray,

 You may also try:
 Cherry Picker — mark segments to have them aggregated (tiddlyspot.com)
 

 Best regards,

 Eskha
 Le jeudi 18 février 2021 à 16:03:03 UTC+1, rayv...@gmail.com a écrit :

> Not bad at all!
> Easy to install.
> Now finding out how to make piece of text from a tiddler into a todo
> item.
> Looks nice!!
>
> Ray
>
> Op do 18 feb. 2021 om 15:19 schreef Ste :
>
>> https://projectify.wiki/demo.html be useful?
>>
>> On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com
>> wrote:
>>
>>> Hi
>>>
>>> since a week i am rediscovering TW5, really fun but quite for me a
>>> steep learning curve.
>>> But I am trying.
>>> I have a daily journal entry where i log everything i do in for work.
>>> What i would love is the following:
>>> When i put something like say *TODO* on a line, that that line will
>>> automagically
>>> be added to my todo list.
>>>
>>> So i have this in my journal (or normal tiddler):
>>>
>>> --
>>> Walked on the beach
>>> Let the dog out
>>> *TODO* remember to buy dogfood
>>> Wrote documentation for project XYZ
>>> Called DaveSmith
>>> *TODO* buy birthday present for Dave
>>> -
>>>
>>> That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
>>> That would be really nice.
>>> Is this somehow possible?
>>>
>>> Thanks in advance for your help.
>>>
>>> Pointers to tutorials on programming TW5 are welcome as well.
>>> I progress very slowly each day but hey, i am progressing ;-)
>>>
>>> Ray
>>>
>> --
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com
>> 
>> .
>>
> --
 You received this message because you are subscribed to a topic in the
 Google Groups "TiddlyWiki" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/ZKPAwN7e-5E/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/tiddlywiki/66467d47-1d57-416c-a058-b8618f99c7a8n%40googlegroups.com
 
 .

>>>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAF_p9CjK-hDsydCAsYeQ61m22Mg_bMEn_XG58ZnEXEK0-vQVA%40mail.gmail.com.


Re: [tw5] Re: Tiddlywiki Status Badge

2021-02-18 Thread Mohammad Rahmani
Hi

On Thu, Feb 18, 2021 at 11:08 AM danraymond  wrote:

> Hi Mohammad
> I know this is an old post, but is it easy to make a status badge with
> three sections?
>

Yes! It is a simple css.



> I tried adding a new subclass and span but it didn't work. I added a new
> section to the stylesheet as well.
>

Check to see if you have the required css class defined.

>
> \define dbadge(subject, comment, status, type:"primary")
> $subject$ class="dbadge-comment">$comment$$status$
> \end
>


to give a try open https://tiddlywiki.com/ and create a new tiddler with
the below wikitext

\define dbadge(subject, comment, status, type:"primary")
$subject$$comment$$status$
\end


<>


.dbadge span{
border:1px solid black;
}
.primary{
background-color:cyan;
}

.dbadge-subject{
background-color:darkred;
color:white;

}

.dbadge-comment{
background-color:yellow;
}

.dbadge-status{
background-color:mistyrose;
}







>
> On Thursday, December 6, 2018 at 2:16:32 PM UTC+10 Mohammad wrote:
>
>> Hi Tony,
>>  Yes, I used a fixed color for subject part and I can remove it to let
>> you set the color as you like!
>> The other way is to use different colors for different categories.
>>
>> To do so, we need to modify the macro as below
>>
>>  \define dbadge(subject:"Subject",status:"Status",type1:"", type2:
>> "primary")
>> 
>>   $subject$$status$> span>
>> 
>> \end
>>
>>
>> and remove line 8 in stylesheet.
>>
>> Now type2 is a css class to define your own background color.
>>
>>
>>
>> - Mohammad
>>
> --
> 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 web visit
> https://groups.google.com/d/msgid/tiddlywiki/5f5ae83c-840f-492b-9384-67795a640b5fn%40googlegroups.com
> 
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMBpxy5mc87BGh%3DVpmCwssqe4ri2dMfKiFAuorhwwNU-EQ%40mail.gmail.com.


Re: [tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Ray Vermey
I was able to get CherryPicker display "clean" output when i removed the @@
lines...

Op do 18 feb. 2021 om 18:20 schreef Ray Vermey :

> The problem with CherryPicker is that i see pfx: en txt: fields every time.
> Is there a way to hide that??
>
> Ray
>
> Op do 18 feb. 2021 om 17:37 schreef Ray Vermey :
>
>> Ah yes cherry picker... i played with it this week but could not get it
>> to work
>> Maybe i need to study it a bit more.
>> Thanks!
>>
>> Ray
>>
>> Op do 18 feb. 2021 om 16:47 schreef Eskha :
>>
>>> Hello Ray,
>>>
>>> You may also try:
>>> Cherry Picker — mark segments to have them aggregated (tiddlyspot.com)
>>> 
>>>
>>> Best regards,
>>>
>>> Eskha
>>> Le jeudi 18 février 2021 à 16:03:03 UTC+1, rayv...@gmail.com a écrit :
>>>
 Not bad at all!
 Easy to install.
 Now finding out how to make piece of text from a tiddler into a todo
 item.
 Looks nice!!

 Ray

 Op do 18 feb. 2021 om 15:19 schreef Ste :

> https://projectify.wiki/demo.html be useful?
>
> On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com wrote:
>
>> Hi
>>
>> since a week i am rediscovering TW5, really fun but quite for me a
>> steep learning curve.
>> But I am trying.
>> I have a daily journal entry where i log everything i do in for work.
>> What i would love is the following:
>> When i put something like say *TODO* on a line, that that line will
>> automagically
>> be added to my todo list.
>>
>> So i have this in my journal (or normal tiddler):
>>
>> --
>> Walked on the beach
>> Let the dog out
>> *TODO* remember to buy dogfood
>> Wrote documentation for project XYZ
>> Called DaveSmith
>> *TODO* buy birthday present for Dave
>> -
>>
>> That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
>> That would be really nice.
>> Is this somehow possible?
>>
>> Thanks in advance for your help.
>>
>> Pointers to tutorials on programming TW5 are welcome as well.
>> I progress very slowly each day but hey, i am progressing ;-)
>>
>> Ray
>>
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com
> 
> .
>
 --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/tiddlywiki/ZKPAwN7e-5E/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> tiddlywiki+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/66467d47-1d57-416c-a058-b8618f99c7a8n%40googlegroups.com
>>> 
>>> .
>>>
>>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAF_p9BrqAybjVX9-q5NkH8UPWvBVSkgZncw1ziXtwC01%3Dri2w%40mail.gmail.com.


Re: [tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Ray Vermey
The problem with CherryPicker is that i see pfx: en txt: fields every time.
Is there a way to hide that??

Ray

Op do 18 feb. 2021 om 17:37 schreef Ray Vermey :

> Ah yes cherry picker... i played with it this week but could not get it to
> work
> Maybe i need to study it a bit more.
> Thanks!
>
> Ray
>
> Op do 18 feb. 2021 om 16:47 schreef Eskha :
>
>> Hello Ray,
>>
>> You may also try:
>> Cherry Picker — mark segments to have them aggregated (tiddlyspot.com)
>> 
>>
>> Best regards,
>>
>> Eskha
>> Le jeudi 18 février 2021 à 16:03:03 UTC+1, rayv...@gmail.com a écrit :
>>
>>> Not bad at all!
>>> Easy to install.
>>> Now finding out how to make piece of text from a tiddler into a todo
>>> item.
>>> Looks nice!!
>>>
>>> Ray
>>>
>>> Op do 18 feb. 2021 om 15:19 schreef Ste :
>>>
 https://projectify.wiki/demo.html be useful?

 On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com wrote:

> Hi
>
> since a week i am rediscovering TW5, really fun but quite for me a
> steep learning curve.
> But I am trying.
> I have a daily journal entry where i log everything i do in for work.
> What i would love is the following:
> When i put something like say *TODO* on a line, that that line will
> automagically
> be added to my todo list.
>
> So i have this in my journal (or normal tiddler):
>
> --
> Walked on the beach
> Let the dog out
> *TODO* remember to buy dogfood
> Wrote documentation for project XYZ
> Called DaveSmith
> *TODO* buy birthday present for Dave
> -
>
> That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
> That would be really nice.
> Is this somehow possible?
>
> Thanks in advance for your help.
>
> Pointers to tutorials on programming TW5 are welcome as well.
> I progress very slowly each day but hey, i am progressing ;-)
>
> Ray
>
 --
 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+...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com
 
 .

>>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tiddlywiki/ZKPAwN7e-5E/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> tiddlywiki+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/66467d47-1d57-416c-a058-b8618f99c7a8n%40googlegroups.com
>> 
>> .
>>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAF_p9DwuFJEuAyCpfr%3DZcaump2rcAax%2Ba-8ML%3DZGwjYWSVyJQ%40mail.gmail.com.


Re: [tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Ray Vermey
Ah yes cherry picker... i played with it this week but could not get it to
work
Maybe i need to study it a bit more.
Thanks!

Ray

Op do 18 feb. 2021 om 16:47 schreef Eskha :

> Hello Ray,
>
> You may also try:
> Cherry Picker — mark segments to have them aggregated (tiddlyspot.com)
> 
>
> Best regards,
>
> Eskha
> Le jeudi 18 février 2021 à 16:03:03 UTC+1, rayv...@gmail.com a écrit :
>
>> Not bad at all!
>> Easy to install.
>> Now finding out how to make piece of text from a tiddler into a todo item.
>> Looks nice!!
>>
>> Ray
>>
>> Op do 18 feb. 2021 om 15:19 schreef Ste :
>>
>>> https://projectify.wiki/demo.html be useful?
>>>
>>> On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com wrote:
>>>
 Hi

 since a week i am rediscovering TW5, really fun but quite for me a
 steep learning curve.
 But I am trying.
 I have a daily journal entry where i log everything i do in for work.
 What i would love is the following:
 When i put something like say *TODO* on a line, that that line will
 automagically
 be added to my todo list.

 So i have this in my journal (or normal tiddler):

 --
 Walked on the beach
 Let the dog out
 *TODO* remember to buy dogfood
 Wrote documentation for project XYZ
 Called DaveSmith
 *TODO* buy birthday present for Dave
 -

 That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
 That would be really nice.
 Is this somehow possible?

 Thanks in advance for your help.

 Pointers to tutorials on programming TW5 are welcome as well.
 I progress very slowly each day but hey, i am progressing ;-)

 Ray

>>> --
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/ZKPAwN7e-5E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/66467d47-1d57-416c-a058-b8618f99c7a8n%40googlegroups.com
> 
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAF_p9C%3D9oTo4_kXB2L6pL8R2tJieXEMsi_0qHfdTXVFpKw%2BHg%40mail.gmail.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-02-18 Thread 'JM' via TiddlyWiki
Yes, thank you very much!

Eric Shulman schrieb am Donnerstag, 18. Februar 2021 um 14:32:34 UTC+1:

> On Thursday, February 18, 2021 at 3:47:01 AM UTC-8 JM wrote:
>
>> Next step would be understanding what you have archieved with "limit[1]". 
>> Ist the literal content of variable relevant?
>>
>  
> The $list widget filter, [tag{!!title}tag[CAD]], only produces output when 
> there are matching tiddlers. If there are more than one match, the body of 
> the widget is output multiple times.  By adding limit[1] to the filter the 
> body will only be shown once.
>
> Note: rather than referencing {!!title}, the filter could also have been 
> written as [tagtag[CAD]], which perhaps more clearly shows 
> how the currentTiddler's title is being used.
>
> Adding the variable="..." parameter to the $list widget assigns the 
> matching tiddler's title to the specified variable name.  For this 
> particular use-case, you don't actually need to reference this variable 
> inside the $list body; it is only used to prevent the $list widget from 
> changing the value of .  Thus, the name of the variable 
> isn't important and I have used it simply to describe the purpose of the 
> "test" filter.
>
> Hope this explains things...
>
> -e
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/50903b0d-2e88-40e8-ba3a-fb6f22f87ac5n%40googlegroups.com.


Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-02-18 Thread moros...@gmail.com
As I said before, I want to add "aliases" for icons. For example for the 
word "house" there should be aliases like: "home", "building", 
"construction", "city" etc. 
Does anyone knows if a catalog or a similar resource exists on the 
internet?  But something standardized, with a formal structure. One that 
can be used for batch processing.
If you know please let me know.

On Thursday, February 18, 2021 at 5:49:30 PM UTC+2 David Gifford wrote:

> Thanks! That will do!
>
> On Wednesday, February 17, 2021 at 11:34:53 AM UTC-6 moros...@gmail.com 
> wrote:
>
>> Hi David,
>>
>> please use the following search keywords: "alpha" or "grade".
>>
>> On Wednesday, February 17, 2021 at 6:19:22 PM UTC+2 David Gifford wrote:
>>
>>> Wow! 25,000 and more on the way!
>>>
>>> Hey, but can you find and include icons with the alphabet? An A icon, B 
>>> icon, etc? I did a search for 'letters' and 'alphabet'.
>>>
>>> On Wednesday, February 17, 2021 at 9:09:50 AM UTC-6 moros...@gmail.com 
>>> wrote:
>>>
 A new version of *"TW Icons"* is available !!!

 *v1.1 *(https://morosanuae.github.io/tw-icons) now with a total of *~25000 
 icons*. 

 *Features*: 

-  The *"Google Material Design"* library was added. More libraries 
are on the way, so stay tuned! :) 


 For more info, please checkout the "version history". 

 On Saturday, February 13, 2021 at 7:14:42 PM UTC+2 Mohammad wrote:

> @Morosanuae
>
> They are different because they are more complex but this is not 
>> really the problem. 
>
>
> That is right! I see also the look and feel of emojis are quite 
> different. So  please ignore my comment, maybe in another project.
>
>
> Best wishes
> Mohammad
>
>
> On Sat, Feb 13, 2021 at 8:28 PM moros...@gmail.com  
> wrote:
>
>> @Mohammad 
>>
>> They are different because they are more complex but this is not 
>> really the problem. Every library is different (even though in a small 
>> degree) in terms of content structure. It is important for the icons 
>> from a 
>> library to be consistent (all with the same structure). This allows me 
>> to 
>> process them in batch. I'll analyze in more depth your proposed library 
>> and 
>> will come back with feedback.
>>
>> Regards,
>> Morosanuae
>>
>> On Saturday, February 13, 2021 at 6:41:34 PM UTC+2 Mohammad wrote:
>>
>>> Edited
>>>
>>> Hi Peter,
>>>  TW Icons has excellent design, but if you like to use icons as 
>>> images you can use Commander to help you to remove the prefix 
>>> $:/images/ 
>>> part.
>>>  Then please bear in mind that these are SVG parts and *NOT *SVG 
>>> images, so use transclusion. For example 
>>> {{$:/images/material-design/note-plus}}
>>> If you removed the prefix then use {{material-design/note-plus}}
>>>
>>> There is some explanation on https://tiddlywiki.com/#Using%20SVG
>>>
>>> Side note: in editor pressing ctrl+L lets insert link to a not 
>>> system tiddler, then you can trascludify it. Maybe Jeremy can add a 
>>> shortcut to act like insert link but transclude a tiddler.
>>>
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Sat, Feb 13, 2021 at 8:08 PM Mohammad Rahmani <
>>> mohammad...@gmail.com> wrote:
>>>
 Hi Peter,
  TW Icons has excellent design, but if you like to use icons as 
 images you can use Commander to help you to remove the prefix 
 $:/images/ 
 part.
  Then please bear in mind the, these are SVG part and SVG images, 
 so use transclusion {{$:/images/material-design/note-plus}}
 If you removed the prefix then use {{material-design/note-plus}}

 There is some explanation on https://tiddlywiki.com/#Using%20SVG

 Side note: in editor pressing ctrl+L lets insert link to a not 
 system tiddler, then you can trascludify it. Maybe Jeremy can add a 
 shortcut to act like insert link but transclude a tiddler.


 Best wishes
 Mohammad


 On Sat, Feb 13, 2021 at 5:55 PM Peter Pauer  
 wrote:

>>> First of all thanks for your great work!
>
> But I have got a problem. I cannot use the imported images from 
> the editor toolbar ("insert picture" button). I have imported them 
> with the 
> import button and they are tagged right ($:/tags/Image). Can 
> somebody help? :)
>
> moros...@gmail.com schrieb am Freitag, 12. Februar 2021 um 
> 16:42:24 UTC+1:
>
>> A new version of *"TW Icons"* is available: *v1.0 *(
>> https://morosanuae.github.io/tw-icons) with a total of *~17000 
>> icons*. For more info please checkout the "version history".
>> On Monday, 

Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-02-18 Thread David Gifford
Thanks! That will do!

On Wednesday, February 17, 2021 at 11:34:53 AM UTC-6 moros...@gmail.com 
wrote:

> Hi David,
>
> please use the following search keywords: "alpha" or "grade".
>
> On Wednesday, February 17, 2021 at 6:19:22 PM UTC+2 David Gifford wrote:
>
>> Wow! 25,000 and more on the way!
>>
>> Hey, but can you find and include icons with the alphabet? An A icon, B 
>> icon, etc? I did a search for 'letters' and 'alphabet'.
>>
>> On Wednesday, February 17, 2021 at 9:09:50 AM UTC-6 moros...@gmail.com 
>> wrote:
>>
>>> A new version of *"TW Icons"* is available !!!
>>>
>>> *v1.1 *(https://morosanuae.github.io/tw-icons) now with a total of *~25000 
>>> icons*. 
>>>
>>> *Features*: 
>>>
>>>-  The *"Google Material Design"* library was added. More libraries 
>>>are on the way, so stay tuned! :) 
>>>
>>>
>>> For more info, please checkout the "version history". 
>>>
>>> On Saturday, February 13, 2021 at 7:14:42 PM UTC+2 Mohammad wrote:
>>>
 @Morosanuae

 They are different because they are more complex but this is not really 
> the problem. 


 That is right! I see also the look and feel of emojis are quite 
 different. So  please ignore my comment, maybe in another project.


 Best wishes
 Mohammad


 On Sat, Feb 13, 2021 at 8:28 PM moros...@gmail.com  
 wrote:

> @Mohammad 
>
> They are different because they are more complex but this is not 
> really the problem. Every library is different (even though in a small 
> degree) in terms of content structure. It is important for the icons from 
> a 
> library to be consistent (all with the same structure). This allows me to 
> process them in batch. I'll analyze in more depth your proposed library 
> and 
> will come back with feedback.
>
> Regards,
> Morosanuae
>
> On Saturday, February 13, 2021 at 6:41:34 PM UTC+2 Mohammad wrote:
>
>> Edited
>>
>> Hi Peter,
>>  TW Icons has excellent design, but if you like to use icons as 
>> images you can use Commander to help you to remove the prefix $:/images/ 
>> part.
>>  Then please bear in mind that these are SVG parts and *NOT *SVG 
>> images, so use transclusion. For example 
>> {{$:/images/material-design/note-plus}}
>> If you removed the prefix then use {{material-design/note-plus}}
>>
>> There is some explanation on https://tiddlywiki.com/#Using%20SVG
>>
>> Side note: in editor pressing ctrl+L lets insert link to a not system 
>> tiddler, then you can trascludify it. Maybe Jeremy can add a shortcut to 
>> act like insert link but transclude a tiddler.
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Sat, Feb 13, 2021 at 8:08 PM Mohammad Rahmani <
>> mohammad...@gmail.com> wrote:
>>
>>> Hi Peter,
>>>  TW Icons has excellent design, but if you like to use icons as 
>>> images you can use Commander to help you to remove the prefix 
>>> $:/images/ 
>>> part.
>>>  Then please bear in mind the, these are SVG part and SVG images, so 
>>> use transclusion {{$:/images/material-design/note-plus}}
>>> If you removed the prefix then use {{material-design/note-plus}}
>>>
>>> There is some explanation on https://tiddlywiki.com/#Using%20SVG
>>>
>>> Side note: in editor pressing ctrl+L lets insert link to a not 
>>> system tiddler, then you can trascludify it. Maybe Jeremy can add a 
>>> shortcut to act like insert link but transclude a tiddler.
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Sat, Feb 13, 2021 at 5:55 PM Peter Pauer  
>>> wrote:
>>>
>> First of all thanks for your great work!

 But I have got a problem. I cannot use the imported images from the 
 editor toolbar ("insert picture" button). I have imported them with 
 the 
 import button and they are tagged right ($:/tags/Image). Can 
 somebody help? :)

 moros...@gmail.com schrieb am Freitag, 12. Februar 2021 um 
 16:42:24 UTC+1:

> A new version of *"TW Icons"* is available: *v1.0 *(
> https://morosanuae.github.io/tw-icons) with a total of *~17000 
> icons*. For more info please checkout the "version history".
> On Monday, February 8, 2021 at 3:35:51 PM UTC+2 David Gifford 
> wrote:
>
>>  yummy! I added this to the TiddlyWiki toolmap.
>>
>> On Sunday, February 7, 2021 at 3:41:37 PM UTC-6 
>> moros...@gmail.com wrote:
>>
>>> *TW Icons* - *A large collection of icons for TiddlyWiki*
>>>
>>> Link: https://morosanuae.github.io/tw-icons
>>
>> -- 

>>> You received this message because you are subscribed to the Google 
 Groups "TiddlyWiki" group.
 To unsubscribe from this group and stop recei

Re: [tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread strikke...@gmail.com
TiddlyRearch  has a todo, that 
might inspire you- but it only works for the first line of text in the 
tiddler. It works well for TiddlyResearch also using Streams. Every thing 
is a tiddler then.

Birthe

torsdag den 18. februar 2021 kl. 16.03.03 UTC+1 skrev rayv...@gmail.com:

> Not bad at all!
> Easy to install.
> Now finding out how to make piece of text from a tiddler into a todo item.
> Looks nice!!
>
> Ray
>
> Op do 18 feb. 2021 om 15:19 schreef Ste :
>
>> https://projectify.wiki/demo.html be useful? 
>>
>> On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com wrote:
>>
>>> Hi
>>>
>>> since a week i am rediscovering TW5, really fun but quite for me a steep 
>>> learning curve.
>>> But I am trying.
>>> I have a daily journal entry where i log everything i do in for work.
>>> What i would love is the following:
>>> When i put something like say *TODO* on a line, that that line will 
>>> automagically
>>> be added to my todo list.
>>>
>>> So i have this in my journal (or normal tiddler):
>>>
>>> --
>>> Walked on the beach
>>> Let the dog out
>>> *TODO* remember to buy dogfood
>>> Wrote documentation for project XYZ
>>> Called DaveSmith
>>> *TODO* buy birthday present for Dave
>>> -
>>>
>>> That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
>>> That would be really nice.
>>> Is this somehow possible?
>>>
>>> Thanks in advance for your help.
>>>
>>> Pointers to tutorials on programming TW5 are welcome as well.
>>> I progress very slowly each day but hey, i am progressing ;-)
>>>
>>> Ray
>>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/09450480-43b3-4200-930a-7288f69e7b01n%40googlegroups.com.


Re: [tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Eskha
Hello Ray,

You may also try:
Cherry Picker — mark segments to have them aggregated (tiddlyspot.com) 
  

Best regards,

Eskha
Le jeudi 18 février 2021 à 16:03:03 UTC+1, rayv...@gmail.com a écrit :

> Not bad at all!
> Easy to install.
> Now finding out how to make piece of text from a tiddler into a todo item.
> Looks nice!!
>
> Ray
>
> Op do 18 feb. 2021 om 15:19 schreef Ste :
>
>> https://projectify.wiki/demo.html be useful? 
>>
>> On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com wrote:
>>
>>> Hi
>>>
>>> since a week i am rediscovering TW5, really fun but quite for me a steep 
>>> learning curve.
>>> But I am trying.
>>> I have a daily journal entry where i log everything i do in for work.
>>> What i would love is the following:
>>> When i put something like say *TODO* on a line, that that line will 
>>> automagically
>>> be added to my todo list.
>>>
>>> So i have this in my journal (or normal tiddler):
>>>
>>> --
>>> Walked on the beach
>>> Let the dog out
>>> *TODO* remember to buy dogfood
>>> Wrote documentation for project XYZ
>>> Called DaveSmith
>>> *TODO* buy birthday present for Dave
>>> -
>>>
>>> That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
>>> That would be really nice.
>>> Is this somehow possible?
>>>
>>> Thanks in advance for your help.
>>>
>>> Pointers to tutorials on programming TW5 are welcome as well.
>>> I progress very slowly each day but hey, i am progressing ;-)
>>>
>>> Ray
>>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/66467d47-1d57-416c-a058-b8618f99c7a8n%40googlegroups.com.


Re: [tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Ray Vermey
Not bad at all!
Easy to install.
Now finding out how to make piece of text from a tiddler into a todo item.
Looks nice!!

Ray

Op do 18 feb. 2021 om 15:19 schreef Ste :

> https://projectify.wiki/demo.html be useful?
>
> On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com wrote:
>
>> Hi
>>
>> since a week i am rediscovering TW5, really fun but quite for me a steep
>> learning curve.
>> But I am trying.
>> I have a daily journal entry where i log everything i do in for work.
>> What i would love is the following:
>> When i put something like say *TODO* on a line, that that line will
>> automagically
>> be added to my todo list.
>>
>> So i have this in my journal (or normal tiddler):
>>
>> --
>> Walked on the beach
>> Let the dog out
>> *TODO* remember to buy dogfood
>> Wrote documentation for project XYZ
>> Called DaveSmith
>> *TODO* buy birthday present for Dave
>> -
>>
>> That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
>> That would be really nice.
>> Is this somehow possible?
>>
>> Thanks in advance for your help.
>>
>> Pointers to tutorials on programming TW5 are welcome as well.
>> I progress very slowly each day but hey, i am progressing ;-)
>>
>> Ray
>>
> --
> 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 web visit
> https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com
> 
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAF_p9AdgR_4qUmg43t%2BkDRdNBAmBg5mCORDnxkRK_TZyA8bPg%40mail.gmail.com.


[tw5] Re: Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Ste
https://projectify.wiki/demo.html be useful? 

On Thursday, 18 February 2021 at 12:31:34 UTC rayv...@gmail.com wrote:

> Hi
>
> since a week i am rediscovering TW5, really fun but quite for me a steep 
> learning curve.
> But I am trying.
> I have a daily journal entry where i log everything i do in for work.
> What i would love is the following:
> When i put something like say *TODO* on a line, that that line will 
> automagically
> be added to my todo list.
>
> So i have this in my journal (or normal tiddler):
>
> --
> Walked on the beach
> Let the dog out
> *TODO* remember to buy dogfood
> Wrote documentation for project XYZ
> Called DaveSmith
> *TODO* buy birthday present for Dave
> -
>
> That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
> That would be really nice.
> Is this somehow possible?
>
> Thanks in advance for your help.
>
> Pointers to tutorials on programming TW5 are welcome as well.
> I progress very slowly each day but hey, i am progressing ;-)
>
> Ray
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/01de63de-13ad-4f37-b2a8-537c8e7ffa06n%40googlegroups.com.


Re: [tw5] Re: issues when saving wiki - request for alternative/emergency save mechanism

2021-02-18 Thread PMario
On Wednesday, February 17, 2021 at 4:51:30 PM UTC+1 Javier Rojas wrote:

Apparently it was just me; I restarted firefox and things are back to 
> normal. 
>

Just a guss!
This can happen, if FF did update in the background. It can interfere with 
AddOns.
So if you didn't restart FF for several days, this could be the cause. 
-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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/182ccd45-9f99-41b5-80c6-9f526140b4cbn%40googlegroups.com.


Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-02-18 Thread moros...@gmail.com
@Joshua As I said before, I've processed the original SVG files with some 
scripts made in Windows 10 Powershell. All operations are done with 
PowerShell: creating files, replacing content, creating the TiddlyWiki 
formal structure and adding content. The final output is a JSON file which 
includes an array of JS objects (every object is an icon). You can see 
below an example:

{
"title":"$:/images/google-material-design/action/filled/18px/star-rate",
"tags":"$:/tags/Image Icons Images SVG",
"caption":"star-rate",
"collection":"filled",
"category":"Action",
"library":"Google Material Design",
"library_version":"5.9.55",
"text":""
}
On Thursday, February 18, 2021 at 3:25:32 PM UTC+2 moros...@gmail.com wrote:

> @Joshua Thanks! Can you explain in more detail what you have in mind? I 
> didn't understand very well. I need aliases for icons. I found this kind of 
> metadata for some of the libraries but I didn't include it yet.
>
> On Thursday, February 18, 2021 at 1:35:47 AM UTC+2 joshua@gmail.com 
> wrote:
>
>> Super impressed with how this has come together. I'll have to review how 
>> you are preparing the tiddler files, and add in some of the libraries that 
>> I have scraped meta-data for. Thanks!
>>
>> On Wednesday, February 17, 2021 at 2:26:45 PM UTC-8 moros...@gmail.com 
>> wrote:
>>
>>> @Birthe You're welcome!
>>>
>>> On Thursday, February 18, 2021 at 12:22:08 AM UTC+2 strikke...@gmail.com 
>>> wrote:
>>>
 Thank you so much for this wonderful resource. Also for reminding us, 
 to save a local copy. 29.2mb to be precise.


 Birthe
 onsdag den 17. februar 2021 kl. 22.48.32 UTC+1 skrev moros...@gmail.com
 :

> @TiddlyTweeter Thank you very much! It means a lot! :)
>
> My suggestion for you all is to make personal copies of the site 
> versions as backup in case I will not be able to ensure the availability 
> of 
> the site (and the content) in the future, so one can restore it to 
> another 
> public location. Now it is a free and open community resource, so anyone 
> can do that. Also you can use it as an offline version in case of 
> internet 
> connection failure. It's only about 30 MB. 
>
> On Wednesday, February 17, 2021 at 9:12:31 PM UTC+2 TiddlyTweeter 
> wrote:
>
>> moros...@gmail.com wrote:
>>
>>> A new version of *"TW Icons"* is available !!!
>>>
>>> *v1.1 *(https://morosanuae.github.io/tw-icons) now with a total of 
>>> *~25000 
>>> icons*. 
>>>
>>> *Features*: 
>>>
>>>-  The *"Google Material Design"* library was added. More 
>>>libraries are on the way, so stay tuned! :
>>>
>>> WHOAH !!! That is now a super useful resource! Way better, actually, 
>> than most any SVG online libraries.
>> And the fact you prepared, via scripts, all the icons to be 
>> immediately usable in TW is illustrative of your skill in programming.
>>
>> I think it is a major achievement! 
>>
>> And, given the vast scale of it now, I'm amazed at its GOOD 
>> performance.
>> So it is also concrete testament that with good data design TW can be 
>> well performative at scale. 
>>
>> All hats off. Best wishes,
>> 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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/4d2e3c2a-6505-4ce7-b58b-cbffa5dcd9abn%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-02-18 Thread Eric Shulman
On Thursday, February 18, 2021 at 3:47:01 AM UTC-8 JM wrote:

> Next step would be understanding what you have archieved with "limit[1]". 
> Ist the literal content of variable relevant?
>
 
The $list widget filter, [tag{!!title}tag[CAD]], only produces output when 
there are matching tiddlers. If there are more than one match, the body of 
the widget is output multiple times.  By adding limit[1] to the filter the 
body will only be shown once.

Note: rather than referencing {!!title}, the filter could also have been 
written as [tagtag[CAD]], which perhaps more clearly shows 
how the currentTiddler's title is being used.

Adding the variable="..." parameter to the $list widget assigns the 
matching tiddler's title to the specified variable name.  For this 
particular use-case, you don't actually need to reference this variable 
inside the $list body; it is only used to prevent the $list widget from 
changing the value of .  Thus, the name of the variable 
isn't important and I have used it simply to describe the purpose of the 
"test" filter.

Hope this explains things...

-e

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/8503de14-c588-47d0-9113-7f848fe933c7n%40googlegroups.com.


Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-02-18 Thread moros...@gmail.com
@Joshua Thanks! Can you explain in more detail what you have in mind? I 
didn't understand very well. I need aliases for icons. I found this kind of 
metadata for some of the libraries but I didn't include it yet.

On Thursday, February 18, 2021 at 1:35:47 AM UTC+2 joshua@gmail.com 
wrote:

> Super impressed with how this has come together. I'll have to review how 
> you are preparing the tiddler files, and add in some of the libraries that 
> I have scraped meta-data for. Thanks!
>
> On Wednesday, February 17, 2021 at 2:26:45 PM UTC-8 moros...@gmail.com 
> wrote:
>
>> @Birthe You're welcome!
>>
>> On Thursday, February 18, 2021 at 12:22:08 AM UTC+2 strikke...@gmail.com 
>> wrote:
>>
>>> Thank you so much for this wonderful resource. Also for reminding us, to 
>>> save a local copy. 29.2mb to be precise.
>>>
>>>
>>> Birthe
>>> onsdag den 17. februar 2021 kl. 22.48.32 UTC+1 skrev moros...@gmail.com:
>>>
 @TiddlyTweeter Thank you very much! It means a lot! :)

 My suggestion for you all is to make personal copies of the site 
 versions as backup in case I will not be able to ensure the availability 
 of 
 the site (and the content) in the future, so one can restore it to another 
 public location. Now it is a free and open community resource, so anyone 
 can do that. Also you can use it as an offline version in case of internet 
 connection failure. It's only about 30 MB. 

 On Wednesday, February 17, 2021 at 9:12:31 PM UTC+2 TiddlyTweeter wrote:

> moros...@gmail.com wrote:
>
>> A new version of *"TW Icons"* is available !!!
>>
>> *v1.1 *(https://morosanuae.github.io/tw-icons) now with a total of 
>> *~25000 
>> icons*. 
>>
>> *Features*: 
>>
>>-  The *"Google Material Design"* library was added. More 
>>libraries are on the way, so stay tuned! :
>>
>> WHOAH !!! That is now a super useful resource! Way better, actually, 
> than most any SVG online libraries.
> And the fact you prepared, via scripts, all the icons to be 
> immediately usable in TW is illustrative of your skill in programming.
>
> I think it is a major achievement! 
>
> And, given the vast scale of it now, I'm amazed at its GOOD 
> performance.
> So it is also concrete testament that with good data design TW can be 
> well performative at scale. 
>
> All hats off. Best wishes,
> 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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/9de241ca-4550-4964-b2bc-28837a212ac6n%40googlegroups.com.


[tw5] Looking for TODO rule in Tiddler that creates automagically a TODO item.

2021-02-18 Thread Ray Vermey
Hi

since a week i am rediscovering TW5, really fun but quite for me a steep 
learning curve.
But I am trying.
I have a daily journal entry where i log everything i do in for work.
What i would love is the following:
When i put something like say *TODO* on a line, that that line will 
automagically
be added to my todo list.

So i have this in my journal (or normal tiddler):

--
Walked on the beach
Let the dog out
*TODO* remember to buy dogfood
Wrote documentation for project XYZ
Called DaveSmith
*TODO* buy birthday present for Dave
-

That (only) the 2 *TODO* lines would be added to my TODO Tiddler.
That would be really nice.
Is this somehow possible?

Thanks in advance for your help.

Pointers to tutorials on programming TW5 are welcome as well.
I progress very slowly each day but hey, i am progressing ;-)

Ray

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/4619a135-25a1-44e5-8a0a-dbb20bee6608n%40googlegroups.com.


Re: [tw5] TiddlyWIki on Fission, new saver & host - live video chat tomorrow

2021-02-18 Thread TiddlyTweeter
bo...@fission.codes wrote...
... The TiddlyWiki forum on the Fission Discourse 
 is where we’re going to 
be discussing features and functions, plus I’ll be here in the Google Group 
as well.

jeremy...@gmail.com replied...

> My thanks to Boris for the chance to work together on this project. It 
> combines many areas interest for me, and I hope the results will be 
> valuable for the community as a whole.
>

 I'm no programmer but the aim of Fission looks cool!

I did want to *comment* that the video interview *by @fission *with Jeremy 
Ruston at https://vimeo.com/479941422 is the *best*, informative overview 
of the *how and what *of TiddlyWiki I have seen. 
It also shows how software development and a life-story intermix in a very 
productive way.

A comment
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/43da6de5-7992-4dd6-a5da-278316703aaan%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-02-18 Thread 'JM' via TiddlyWiki
Thank you! :-)

Next step would be understanding what you have archieved with "limit[1]". 
Ist the literal content of variable relevant? 

Eric Shulman schrieb am Donnerstag, 18. Februar 2021 um 11:08:22 UTC+1:

> On Wednesday, February 17, 2021 at 10:35:15 PM UTC-8 JM wrote:
>
>> Something changed. Using my first solution, the space between project 
>> title was 'big', as If there was an empty list behind the project title of 
>> projects without tasks tagged CAD. Now there is no more space between those 
>> projects and the following project.
>>
>
> That's what happens when I post a "solution" without actually trying it 
> with some test data!
>
> This should work better:
>
> <$list filter="[tag[project]sort[]]">
><$list filter="[tag{!!title}tag[CAD]limit[1]]" 
> variable="has_tasks_with_CAD_tag">
>   <$link>''<$view field="title"/>''
>   <$list filter="[tag{!!title}tag[CAD]sort[]]">
>  <$link />
>   
>
>  
>
> Notes:
> * moved the "test" $list widget to surround the whole project item to 
> suppress display of projects that don't have tasks tagged with CAD
> * restored the explicit <$link>... for the project item to allow 
> bold formatting of the title
>
> -e
>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/8665e8f5-d017-44d5-81f4-71dffdbb3b64n%40googlegroups.com.


[tw5] Re: Nested List, show Level 1 only if Level 2 exists

2021-02-18 Thread Eric Shulman
On Wednesday, February 17, 2021 at 10:35:15 PM UTC-8 JM wrote:

> Something changed. Using my first solution, the space between project 
> title was 'big', as If there was an empty list behind the project title of 
> projects without tasks tagged CAD. Now there is no more space between those 
> projects and the following project.
>

That's what happens when I post a "solution" without actually trying it 
with some test data!

This should work better:

<$list filter="[tag[project]sort[]]">
   <$list filter="[tag{!!title}tag[CAD]limit[1]]" 
variable="has_tasks_with_CAD_tag">
  <$link>''<$view field="title"/>''
  <$list filter="[tag{!!title}tag[CAD]sort[]]">
 <$link />
  
   
 

Notes:
* moved the "test" $list widget to surround the whole project item to 
suppress display of projects that don't have tasks tagged with CAD
* restored the explicit <$link>... for the project item to allow 
bold formatting of the title

-e

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/1f9eb480-9faa-48c4-b336-7ddfd85d5ef9n%40googlegroups.com.


[tw5] Re: Tiddlywiki Status Badge

2021-02-18 Thread danraymond


Hi Mohammad
I know this is an old post, but is it easy to make a status badge with 
three sections? I tried adding a new subclass and span but it didn’t work. 
I added a new section to the stylesheet as well.

\define dbadge(subject, comment, status, type:"primary")
$subject$$comment$$status$
\end

On Thursday, December 6, 2018 at 2:16:32 PM UTC+10 Mohammad wrote:

> Hi Tony,
>  Yes, I used a fixed color for subject part and I can remove it to let you 
> set the color as you like!
> The other way is to use different colors for different categories.
>
> To do so, we need to modify the macro as below
>
>  \define dbadge(subject:"Subject",status:"Status",type1:"", type2:
> "primary")
> 
>   $subject$$status$ span>
> 
> \end
>
>
> and remove line 8 in stylesheet.
>
> Now type2 is a css class to define your own background color.
>
>
>
> - Mohammad
>

-- 
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 web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a41bf05-43aa-4135-93cc-eec556c57516n%40googlegroups.com.


[tw5] Re: How to get TiddlyWiki running behind Nginx

2021-02-18 Thread Petri M.
Hi,

Is your tiddlywiki initialised in the /usr/local/bin/tiddlywiki/ folder OR 
is it at /usr/local/bin/tiddlywik/testwiki/? The first case is not correct, 
so check this. Also you should double check that the wiki actually works 
from local network before trying to get nginx in the mix. If it is running 
on a vps or somewhere where you do not have local connection to then use 
the host=0.0.0.0 command so you can connect to it via vps_ip:port from your 
own computer. 

-Petri

On Thursday, February 18, 2021 at 2:00:00 AM UTC+2 joshua@gmail.com 
wrote:

> The TiddlyWeb syncadaptor plugin calls those URLs to interact with the 
> node server. The node server loads tiddlers marked as "module-type: route" 
> and maps them as handlers to those urls. The browser should be calling 
> "/var/www/html/recipes/*default*/tiddlers.json" in order to get handled. 
> If your wiki is loading, but the calls to "/status", etc are not getting 
> back to the node server, then I'm not sure where the block would be.
>
> Hope that helps,
> Joshua Fontany
>
> On Wednesday, February 17, 2021 at 2:28:25 PM UTC-8 eirich...@gmail.com 
> wrote:
>
>> Also, in the Nginx logs I see the following:
>>
>> 2021/02/17 14:22:32 [error] 4740#4740: *9 open() "/var/www/html/status" 
>> failed (2: No such file or directory)
>> 2021/02/17 14:22:32 [error] 4740#4740: *13 open() 
>> "/var/www/html/recipes/undefined/tiddlers.json" failed (2: No such file or 
>> directory)
>>
>> I can definitely say there are no "status" or "recipies" directories or 
>> files in /var/www/html, so this seems like the obvious reason for the 400 
>> errors, but why are they being looked for?
>>
>> On Wednesday, February 17, 2021 at 2:19:40 PM UTC-8 Charles Anderson 
>> wrote:
>>
>>> Honestly, I didn't know 0.0.0.0 could be used.  I did try changing my 
>>> startup command, but it didn't change the errors I get.  Thanks for the 
>>> info, though.
>>>
>>> On Monday, February 15, 2021 at 1:19:20 AM UTC-8 Petri M. wrote:
>>>
 Hi,

 I think your "host" command might be wrong when starting the wiki. See 
 here 
 https://tiddlywiki.com/static/WebServer%2520Parameter%253A%2520host.html. 
 For instance, I have a Docker + Caddy setup and I am starting the wiki 
 with 
 "host=0.0.0.0" command.

 -Petri
 On Sunday, February 14, 2021 at 2:42:45 AM UTC+2 eirich...@gmail.com 
 wrote:

> I'm trying to run TiddlyWiki in node.js, behind Nginx such that I can 
> spin up various wikis, all accessible by appending the name of the wiki 
> to 
> the end of the URL.
>
>- My test install is using Debian 10.8, Nginx 1.14.2-2+deb10u3, 
>TiddlyWiki 5.1.23.
>- I'm running my testwiki from /var/www/html, as www-data:www-data.
>- I've created a unit file for it to run from systemd.
>   - It is basically set to start as follows:  node 
>   /usr/local/bin/tiddlywiki testwiki --listen host=192.168.1.212 
> port=8080
>
> I've used the following links for information:
>
>- https://www.npmjs.com/package/tiddlywiki
>- http://www.brool.com/post/setting-up-tiddlywiki-behind-nginx/
>- https://ssine.ink/posts/tiddlywiki-setup/
>- 
>https://blog.joshsullivan.io/2019/02/20/creating-online-tiddlywiki/
>
> I've even tried looking at different posts in this group but either my 
> setup is not like what I'm reading about, or the fixes for others are 
> just 
> not working for me.
>
> I seem to have no problem running the wiki on it's own.  It is 
> accessible via port 8080, and works as expected.  However, when I try to 
> put it behind Nginx, I can access it over port 80, but I immediately get 
> 3 
> errors from syncer-browser-tiddlyweb:
>
>- XMLHttpRequest error code: 404
>- Error retrieving skinny tiddler list: XMLHttpRequest error code: 
>404
>- Sync error while processing save of '$:/StoryList': 
>XMLHttpRequest error code: 404
>
> Right now, my Nginx site file looks like this:
>
> server {
>listen 80;
>listen [::]:80;
>
>server_name _;
>
>root /var/www/html;
>index index.html;
>
>location /testwiki/ {
>try_files $uri $uri/ @proxy =404;
>proxy_pass "http://192.168.1.212:8080/";;
>proxy_set_header  Host  $host;
>proxy_set_header  X-Real-IP  $remote_addr;
>proxy_set_header  X-Forwarded-For  
> $proxy_add_x_forwarded_for;
>proxy_set_header  X-Forwarded-Proto  $scheme;
>}
> }
>
> I've changed this often while troubleshooting. I've just stuck with 
> this configuration because I'm not longer seeing errors in the Nginx 
> logs, 
> so I'm starting to think Nginx is not the problem, but maybe the way