[tw5] Re: Very basic EditTextWidget tutorial and how I often specify target tiddler name

2021-09-09 Thread strikke...@gmail.com
Please Charlie, do not be harsh on yourself. You do know, that videos about 
Tiddlywiki and what we can do in tiddlywiki is our all time favourites.
I like that you are creating several smaller videos on the subject, that 
makes it easier to understand and follow - and keep up the concentration. 
That makes it easier for me - and I would guess others  - suffering some 
degree of a language barrier. 


On Friday, September 10, 2021 at 5:23:23 AM UTC+2 cj.v...@gmail.com wrote:

> https://youtu.be/qOJc2sFiPd8
>
> Not much of an award-winning video.  Although I really don't like 
> recording myself, I strangely had fun doing this one.
>
> Maybe because I wasn't tripping all over myself quite as badly as my 
> norm.  Well, the outtakes of my first three tries would prove otherwise...
>

-- 
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/db75eaeb-06f4-4639-9248-1f034fdf3ee7n%40googlegroups.com.


Re: [tw5] [Announcement] We've Tiddlefied the "Google Group" :)

2021-09-09 Thread Taacees ME
Thanks PMario and Mohammad,

@PMario, as mentioned in the video, those 2 projects are a part of a bigger 
one (called "TiddlySweets") that we're still working on.

Regards

On Thursday, September 9, 2021 at 5:23:46 AM UTC Mohammad wrote:

> This is incredible!
> Thank you a million! 
>
> Please consider adding this to tw5.com (docs).
>
>
>
> Best wishes
> Mohammad
>
>
> On Wed, Sep 8, 2021 at 11:29 PM Taacees ME  wrote:
>
>> Hi All,
>>
>> We (The Tiddlefiers) are VERY PROUD to announce that we FINISHED our 25K 
>> & Goodfelaws projects
>>
>> You can find a SAMPLE Data in:
>> DEMO Data: https://taacees.github.io/TiddlySweets/
>> Video (Explain): https://youtu.be/B9-iSFwLAHA
>>
>> What? 
>> We've Tiddlefed (Convert them to TW5) the 3 TiddlyWiki Google Groups 
>> (Users, Dev and Docs)
>>
>> Why?
>> It was an Idea, transformed to an "Internal Project" then became:
>> ~410K Tiddlers 
>> ~650MB Total Data size 
>> ~30K Conversations
>> ~ 190K Messages
>>
>> Regards
>>
>>
>> -- 
>> 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/1838d974-e0f7-43c0-aa34-afebc8681300n%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/c5a1693f-40b3-4f28-aee6-ce7589aa647cn%40googlegroups.com.


[tw5] Very basic EditTextWidget tutorial and how I often specify target tiddler name

2021-09-09 Thread Charlie Veniot
https://youtu.be/qOJc2sFiPd8

Not much of an award-winning video.  Although I really don't like recording 
myself, I strangely had fun doing this one.

Maybe because I wasn't tripping all over myself quite as badly as my norm.  
Well, the outtakes of my first three tries would prove otherwise...

-- 
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/607dce86-b498-4275-b2d8-c036ed5813c3n%40googlegroups.com.


[tw5] tw editions and docker questions

2021-09-09 Thread Jean-Pierre Rivière
Hi everybody!

I need to have some of my tiddlywiki being onto nodejs to gain some 
functionality. For this, I have selected docker to have iti as easy as I 
can. Besides docker, I need some shell script to setup the wiki (docker 
images) ready to launch (listen command). Good point: this was an occasion 
for me to invest into docker.

But there remains a problem, which is that of the tiddlywiki edition. the 
"editions" command list the available options with a quick summary. But 
some options would gain a little more explanations, like the 
server-external-js which seems to mean that the js is not mangled inside 
the js. That could be useful to serve several wikis from the same server.

But in fact, I need a localized edition. Alas, editions are not cumulative 
(but the server-external-js really should be an option and not a proper 
edition because that's not an editorial difference at all and it could be 
useful for many editions).

By localized, I mean that I want the content in French, but without all the 
fuss of fr-FR editions which I would need to get rid of but for a few 
tiddlers (and this would be a burden to implement and maintain). As for the 
fr-FR-server, the interface has not been translated (I wonder what has been 
translated and where I could find this information?)

docker code used (without the volume and port stuff) on my tiddlywiki 
docker image tiddock:

docker run -d --rm tiddock wiki --init fr-FR-server
docker run -d --rm tiddock server host=0.0.0.0

(I used elasticdog Dockerfile and shells to see what was needed to do. 
Thanks elasticdog!)

Also, if I understand what is said here, I must not directly use tiddlywiki 
for a production wiki but use a proxy liki nginx can provide. I have no 
knowledge of nginx so far. Where could I find some useful docs or sources 
of a tiddlywiki with this kind of setup?

Thanks in advance for your help.

-- 
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/557ebd2a-a02c-41e1-a9d2-de28ac1a0495n%40googlegroups.com.


[tw5] Re: ISO week date format template

2021-09-09 Thread J N
A correction of the example given for a week date in TiddlyWiki is that the 
template should use the w token for the ISO week-numbering year, not 
, since weeks may cross the traditional year boundary with some days of 
the week falling outside the year the week belongs to. It is a bit 
surprising that the final element of the week day number is missing when 
the other parts of the ISO standard are supported.

torsdag 9 september 2021 kl. 21:31:46 UTC+2 skrev J N:

> I would like to use the ISO week date format for the title of new journal 
> tiddlers and elsewhere, since I find it practical to be aware of the week 
> day in combination with a sortable date format.
>
> https://en.wikipedia.org/wiki/ISO_8601#Week_dates
> -Www-D or WwwD
>
> E.g. 2021-w36-4 for thursday of week 36, 2021-09-09.
>
> I can not see a way to get the week day number in the built in date format 
> tokens.
>
> https://tiddlywiki.com/#DateFormat
>
> The closest I've got is -W0WW-ddd, but that renders as 2021-W36-Thu, 
> which will not sort alphanumerically in date order like an ISO date would.
>
> I can see that the template tokens are implemented in a system tiddler 
> named $:/core/modules/utils/utils.js.
>
> Getting the day of week is trivial in JavaScript, e.g. adding a token 
> matching a single "D" for this:
>
> [/^D/, function() {
> return date.getDay() || 7;
> }]
>
> The utils.js tiddler seems to contain a lot of other stuff however, and I 
> guess local changes would have to be merged on achieving updates of 
> TiddlyWiki.
>
> Maybe there are other ways to achieve custom date formatting of this kind 
> in TiddlyWiki?
>

-- 
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/de63bfa1-069a-4777-b010-578e2a991859n%40googlegroups.com.


[tw5] ISO week date format template

2021-09-09 Thread J N
I would like to use the ISO week date format for the title of new journal 
tiddlers and elsewhere, since I find it practical to be aware of the week 
day in combination with a sortable date format.

https://en.wikipedia.org/wiki/ISO_8601#Week_dates
-Www-D or WwwD

E.g. 2021-w36-4 for thursday of week 36, 2021-09-09.

I can not see a way to get the week day number in the built in date format 
tokens.

https://tiddlywiki.com/#DateFormat

The closest I've got is -W0WW-ddd, but that renders as 2021-W36-Thu, 
which will not sort alphanumerically in date order like an ISO date would.

I can see that the template tokens are implemented in a system tiddler 
named $:/core/modules/utils/utils.js.

Getting the day of week is trivial in JavaScript, e.g. adding a token 
matching a single "D" for this:

[/^D/, function() {
return date.getDay() || 7;
}]

The utils.js tiddler seems to contain a lot of other stuff however, and I 
guess local changes would have to be merged on achieving updates of 
TiddlyWiki.

Maybe there are other ways to achieve custom date formatting of this kind 
in TiddlyWiki?

-- 
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/41f05363-bac8-4569-a383-4bbfc757a52an%40googlegroups.com.


[tw5] Re: How to make multiple "reveals" in one tiddler so that they work independently?

2021-09-09 Thread Eric Shulman
On Thursday, September 9, 2021 at 2:56:13 AM UTC-7 Petri M. wrote:

> I can't figure this one out. So, I have a sidebar search tiddler where I 
> want to show three different kinds of searches at the same time but I want 
> each of them to be collapsable for easy navigation. I got everything else 
> working fine but I cannot figure out how to get them to collapse and expand 
> independently.
>

Popups are intended to* appear only when the corresponding state tiddler 
has a value* and the TWCore system *automatically dismisses popups when it 
detects a click elsewhere.*

However, your goal is to have an "anti-popup" that has the inverse 
behavior... i.e., it defaults to being visible unless the state tiddler 
value is set by a button click, and then remains that way until the button 
is clicked again.  The solution is to *not use popups at all.*  Instead, 
you want the button to simply toggle the state tiddler between blank and 
non-blank and then use that value to determine when to show the associated 
content.

Here's one way to write this using set/setTo and a "filtered transclusion" 
to calculate the desired state value:

<$button class="sidebar-collapsible" 
selectedClass="sidebar-collapsible-onclick"
   set="test1" setTo={{{ [{test1}match[hide]then[show]else[hide]] }}}>Title 
matches:
<$reveal state="test1" type="nomatch" text="hide"> ... t1 

<$button class="sidebar-collapsible" 
selectedClass="sidebar-collapsible-onclick"
   set="test2" setTo={{{ [{test2}match[hide]then[show]else[hide]] }}}>Title 
matches:
<$reveal state="test2" type="nomatch" text="hide"> ... t2 

Note: The current value of the state tiddlers will be retained when you 
save your file.  However, if you want the state tiddlers to be reset when 
you save the file, *name them starting with "$:/state/popup/"*.  By 
default, tiddlers with that prefix are not retained when the file is saved.

enjoy,
-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/7b4f5780-7e23-4c06-b0c0-2c9eec08dbf6n%40googlegroups.com.


[tw5] How to make multiple "reveals" in one tiddler so that they work independently?

2021-09-09 Thread Petri M.
I can't figure this one out. So, I have a sidebar search tiddler where I 
want to show three different kinds of searches at the same time but I want 
each of them to be collapsable for easy navigation. I got everything else 
working fine but I cannot figure out how to get them to collapse and expand 
independently. 

The "reveal" widget combined with "qualify" seems to be used quite 
commonly, but in order for "qualify" to give independent values it has to 
be transcluded from somewhere else. This does not seem to work for me 
because if I transclude my list then it just breaks entirely. I think this 
is due to $(searchTiddler) not having a value outside of the tiddler or 
something. 

Anyway, then I thought that I should be able to just ditch the "qualify" 
and use standard tiddlers as states? But the exact same issue happens. 

So if I have something like

<$button class="sidebar-collapsible" 
selectedClass="sidebar-collapsible-onclick" popup="test1">
Title matches:

<$reveal type="match" state="test1" text="">
...


<$button class="sidebar-collapsible" 
selectedClass="sidebar-collapsible-onclick" popup="test2">
Title matches:

<$reveal type="match" state="test2" text="">
...
 

they do not work independently. I checked that the "test1" and "test2" are 
created and removed when I click the buttons but they cannot *both *be "on" 
at the same time (collapsed). 

Can I get some help here? I feel like this should be a simple thing but it 
has taken me way too long already. 

Thanks,
Petri

-- 
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/0a4b024e-92ec-4d67-a8cb-fbef21aaf750n%40googlegroups.com.


[tw5] Re: Auto Linking tags

2021-09-09 Thread Russell Price
Awesome! thanks Mario! I will give this a go when I get a chance!

My thinking behind the automatic linking was that I have a lot of notes to 
add and it would be quicker for the links to automatically be created and 
for me to remove the unecassary ones than it would be for me to traul 
through all my notes creating them! :P

On Wednesday, 8 September 2021 at 12:43:30 UTC+1 PMario wrote:

> Hi, 
> Tags in tiddlywiki can be also tiddlers. Eg: you can create a tiddler 
> named: java   that contains the following content: 
>
> <>
>
> Then you create a second tiddler named: Java ... with the content
>
> {{java}}
>
> The second tiddler is there, just to be sure you can use [[java]] and 
> [[Java]] as links to the tag-tiddler. 
>
> The advantage of this mechanism is, that you can decide, which "java" 
> words link to the tag-tiddler. .. If every occurrence of the "java" text 
> will link to the tag-tiddler, for me personally it would be annoying to 
> have 10 links in a text, that all link to the same target. 
>
> And
>
> You can add this to your java-tag tiddler. 
>
> Tagged "java":
>
> <>
>
> 
>
> Backlinks: <$list filter="[[java]backlinks[]] 
> [[Java]backlinks[]]"><>, 
>
> Which will show you, where your links to [[java]] come from. 
>
> have fun!
> 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/b5aa9c36-7646-48ba-8ca4-0ff8c0625ae4n%40googlegroups.com.