Re: [tw5] Hosting a free, private, editable tiddlywiki

2024-09-08 Thread PMario
To use private GitHub Pages, you'll need a non-free Enterprise account. So 
that's probably no option.
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/50af1bef-ac47-4fae-ae3b-bdedcdf5f709n%40googlegroups.com.


[tw5] Re: Web Worker URL

2024-06-26 Thread PMario
Hi, 
>From your description I'm not really sure how your code looks like, but the 
Security Error, says `file://..` With modern browsers we are not allowed to 
require() code from a file-url, due to security concerns. So the best way 
is, to also add the library to the client as a plugin. Then you should be 
able to use the same require with the server and the client. 

But as I wrote a bit more code context will be needed. 

On Wednesday, June 26, 2024 at 2:37:33 PM UTC+2 James Mclellan wrote:

> Good morning all.
>
> I have a CPU-intensive data operation that I'm trying to spread across 
> multiple CPUs in TiddlyWiki using a Web Worker (
> https://developer.mozilla.org/en-US/docs/Web/API/Worker)
>
> I have created a server-side library module and a client-side library 
> module. The client-side constructor of the worker is supposed to contain a 
> URL to the server library 
>
> var w = new Worker("$:/core/modules/libraries/webworker-server.js");
>
> However, this generates an error "Security Error: Content at 
> file:///home/james/Desktop/Crunchy%20RPG/experiment.html may not load data 
> from 
> file:///home/james/Desktop/Crunchy%20RPG/$:/core/modules/libraries/webworker-server.js."
>
> Not sure how to reference the server library internal to the TiddlyWiki. 
> This works fine for require(..)
>

-- 
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/3b8631b5-fc3d-4131-87f2-feb857fecbbcn%40googlegroups.com.


[tw5] Re: sort:version:reverse?

2024-04-16 Thread PMario
I did create an GH issue: 
https://github.com/Jermolene/TiddlyWiki5/issues/8153

On Wednesday, April 17, 2024 at 8:33:00 AM UTC+2 PMario wrote:

> I'm not 100% sure yet, but there seems to be a bug. I'll have a closer 
> look. 
> A fast look to the code suggests, that the documentation is right. 
> But I can confirm, that *it does not work* as intended with my test 
> tiddlers. 
> -m
>
> On Wednesday, April 17, 2024 at 1:39:12 AM UTC+2 springer wrote:
>
>> Interesting! The documentation DOES imply that you can tuck :reverse into 
>> the very place where you had it!
>>
>> Perhaps this is just an error in documentation? In fact it works fine if 
>> it comes *before* the sort-type parameter:
>>
>> `{{{ [has[version]] :sort:reverse:version[get[version]] }}}`
>>
>> On Tuesday, April 16, 2024 at 7:31:00 PM UTC-4 Cade Roux wrote:
>>
>>> I see, I can use that separate reverse operator instead of doing it in 
>>> the initial sort.
>>>
>>> I'm still not sure how to use the reverse documented here in the 
>>> flaglist in the :sort filter run prefix:
>>>
>>> https://tiddlywiki.com/#Sort%20Filter%20Run%20Prefix
>>>
>>> [image: Screenshot 2024-04-16 182937.png]
>>>
>>> I'll post any future questions in the other forums.
>>>
>>> Thanks,
>>>
>>> Cade
>>>
>>> On Tuesday, April 16, 2024 at 6:01:18 PM UTC-5 springer wrote:
>>>
>>>> Of course, I meant "come on over *from* google groups, and join us at 
>>>> talk.tiddlywiki.org"
>>>>
>>>> On Tuesday, April 16, 2024 at 6:59:58 PM UTC-4 springer wrote:
>>>>
>>>>> Hello Cade! As you might note with other posts at google groups, the 
>>>>> community for this discussion has migrated to talk.tiddlywiki.org.
>>>>>
>>>>> Although we (at that forum) can still *see* posts from the google 
>>>>> group, we can't reply easily to them. 
>>>>>
>>>>> So please come on over to google groups.
>>>>>
>>>>> Meanwhile, I can suggest that the documentation on the reverse 
>>>>> Operator <https://tiddlywiki.com/#reverse%20Operator%20(Examples)> shows 
>>>>> that it doesn't take a parameter, nor does it work as a parameter within 
>>>>> the sort filter run prefix; instead it works at the "caboose" end of any 
>>>>> filter to flip the list order. Something like this works at 
>>>>> Tiddlywiki.com:
>>>>>
>>>>> `{{{ [has[version]] :sort:version[get[version]] +[reverse[]] }}}`
>>>>>
>>>>> On Tuesday, April 16, 2024 at 12:29:33 PM UTC-4 Cade Roux wrote:
>>>>>
>>>>>> I have change logs with a field for version information, and I am 
>>>>>> trying to sort them in reverse order and it doesn't appear to be 
>>>>>> working.  
>>>>>> The change log tiddlers themselves are also lists, but I cleared all 
>>>>>> that 
>>>>>> out and loaded these into the latest TW version to make a minimal 
>>>>>> reproducible case.  If I take out the sort entirely, the 10.0 comes to 
>>>>>> the 
>>>>>> top as you would expect for them to be sorted by title.  But the sort 
>>>>>> either with or without :reverse is the same.
>>>>>> [image: Screenshot 2024-04-16 112417.png]
>>>>>> <$list filter="[ascend.change[index]] 
>>>>>> :sort:version:reverse[get[ascend.version]]"><$link to={{!!title}} 
>>>>>> /><$transclude/>
>>>>>>
>>>>>> [image: Screenshot 2024-04-16 112528.png]
>>>>>> What am I doing wrong?
>>>>>>
>>>>>

-- 
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/efc4cd64-a2d8-4cac-9788-3c1fcca51f9cn%40googlegroups.com.


[tw5] Re: sort:version:reverse?

2024-04-16 Thread PMario
I'm not 100% sure yet, but there seems to be a bug. I'll have a closer 
look. 
A fast look to the code suggests, that the documentation is right. 
But I can confirm, that *it does not work* as intended with my test 
tiddlers. 
-m

On Wednesday, April 17, 2024 at 1:39:12 AM UTC+2 springer wrote:

> Interesting! The documentation DOES imply that you can tuck :reverse into 
> the very place where you had it!
>
> Perhaps this is just an error in documentation? In fact it works fine if 
> it comes *before* the sort-type parameter:
>
> `{{{ [has[version]] :sort:reverse:version[get[version]] }}}`
>
> On Tuesday, April 16, 2024 at 7:31:00 PM UTC-4 Cade Roux wrote:
>
>> I see, I can use that separate reverse operator instead of doing it in 
>> the initial sort.
>>
>> I'm still not sure how to use the reverse documented here in the flaglist 
>> in the :sort filter run prefix:
>>
>> https://tiddlywiki.com/#Sort%20Filter%20Run%20Prefix
>>
>> [image: Screenshot 2024-04-16 182937.png]
>>
>> I'll post any future questions in the other forums.
>>
>> Thanks,
>>
>> Cade
>>
>> On Tuesday, April 16, 2024 at 6:01:18 PM UTC-5 springer wrote:
>>
>>> Of course, I meant "come on over *from* google groups, and join us at 
>>> talk.tiddlywiki.org"
>>>
>>> On Tuesday, April 16, 2024 at 6:59:58 PM UTC-4 springer wrote:
>>>
 Hello Cade! As you might note with other posts at google groups, the 
 community for this discussion has migrated to talk.tiddlywiki.org.

 Although we (at that forum) can still *see* posts from the google 
 group, we can't reply easily to them. 

 So please come on over to google groups.

 Meanwhile, I can suggest that the documentation on the reverse Operator 
  shows that 
 it doesn't take a parameter, nor does it work as a parameter within the 
 sort filter run prefix; instead it works at the "caboose" end of any 
 filter 
 to flip the list order. Something like this works at Tiddlywiki.com:

 `{{{ [has[version]] :sort:version[get[version]] +[reverse[]] }}}`

 On Tuesday, April 16, 2024 at 12:29:33 PM UTC-4 Cade Roux wrote:

> I have change logs with a field for version information, and I am 
> trying to sort them in reverse order and it doesn't appear to be working. 
>  
> The change log tiddlers themselves are also lists, but I cleared all that 
> out and loaded these into the latest TW version to make a minimal 
> reproducible case.  If I take out the sort entirely, the 10.0 comes to 
> the 
> top as you would expect for them to be sorted by title.  But the sort 
> either with or without :reverse is the same.
> [image: Screenshot 2024-04-16 112417.png]
> <$list filter="[ascend.change[index]] 
> :sort:version:reverse[get[ascend.version]]"><$link to={{!!title}} 
> /><$transclude/>
>
> [image: Screenshot 2024-04-16 112528.png]
> What am I doing wrong?
>


-- 
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/94c1b8d1-b624-4e79-8801-d9d37a65862an%40googlegroups.com.


[tw5] Re: Fiddlywiki still around?

2023-11-13 Thread PMario
Hi, 
I think you should switch over to https://talk.tiddlywiki.org/ and ask 
there. 

FiddlyWiki is based on TWclassic and seems to be 10 years old.  

So it would be good, if you could describe your requirements a bit closer 
at "Talk" discussion group. 

-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/8982724f-05ca-47d2-a71c-d15b98be74ecn%40googlegroups.com.


[tw5] Re: Tiddlywiki 5.3.0 failed to start after upgrade

2023-07-18 Thread PMario
On Tuesday, July 18, 2023 at 11:34:35 AM UTC+2 Samir S. wrote:

tiddlywiki[21557]: Error executing boot module 
$:/plugins/felixhayashi/vis/vis.js: "Global assignment is not allowed 
within modules on node."


Hi Samir,
Sadly that's a known issue, where v5.3.0 is overly strict with loading 
plugins. 

There is an open issue at GitHub 
https://github.com/Jermolene/TiddlyWiki5/issues/7585 

It seems you will need to wait for v5.3.1 which will probably be needed 
sooner than later

So you should stay with your existing version for the time being. 
-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/1c7ebeb1-51c2-4c48-a5e4-caa5965548b1n%40googlegroups.com.


Re: [tw5] How prevent edit-text from losing focus?

2023-07-03 Thread PMario
The issue as described in the OP does not exist anymore. 
It has been resolved I think with 5.2.0 ... or so

@Flibbles. Can you be more specific. May be create a new issue at GH?

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/423d6aab-5e2c-44dc-82ff-17553a273fc4n%40googlegroups.com.


[tw5] Re: How to Create a Popup Form

2023-06-13 Thread PMario
Sorry wrong link in the other post. 
Here's the real one
Please head over to talk.tiddlywiki.org ... There will be more people 
watching. 

On Wednesday, June 14, 2023 at 8:27:07 AM UTC+2 PMario wrote:

> > I would like to create a HTML Pop Up form similar to this 
> <https://www.w3schools.com/howto/howto_js_popup_form.asp>, 
>
> Hi James
> I can answer this question, but without more specific information it will 
> not really help you. 
> It will just show the HTML form with some CSS formatting and that's it. 
>
> Styles in TW <https://tiddlywiki.com/#Using%20Stylesheets> are defined 
> using a tiddler named eg: `my-form-styles `tagged: ` $:/tag/Stylesheet` 
>
> PopUps can be defined using the reveal-widget 
> <https://tiddlywiki.com/#RevealWidget> using the *type: popup*
> or may be a modal <https://tiddlywiki.com/#Modals> in your case. 
>
> I did attach ZIP that I created while testing. 
> You can download, extract and drag & drop import it into a TW
>
> The CSS needs to be changed a bit. 
> `display: none;` and `postition: fixed;` have been removed. They are 
> "covered" by the tiddler frames.
>
> Please head over to talk.tiddlywiki.com ... There will be more people 
> watching.
>
> Usually we create our own forms using TW widgets like the edit-widget 
> <https://tiddlywiki.com/#EditTextWidget>, button-widget 
> <https://tiddlywiki.com/#ButtonWidget>and so on.
>
> As I wrote without more specific info we can only guess, which results in 
> some pretty pictures.
>
> 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/0d7b5f36-5a51-4b60-ba33-61e3fdbc3de9n%40googlegroups.com.


[tw5] Re: How to Create a Popup Form

2023-06-13 Thread PMario
 > I would like to create a HTML Pop Up form similar to this 
, 

Hi James
I can answer this question, but without more specific information it will 
not really help you. 
It will just show the HTML form with some CSS formatting and that's it. 

Styles in TW  are defined 
using a tiddler named eg: `my-form-styles `tagged: ` $:/tag/Stylesheet` 

PopUps can be defined using the reveal-widget 
 using the *type: popup*
or may be a modal  in your case. 

I did attach ZIP that I created while testing. 
You can download, extract and drag & drop import it into a TW

The CSS needs to be changed a bit. 
`display: none;` and `postition: fixed;` have been removed. They are 
"covered" by the tiddler frames.

Please head over to talk.tiddlywiki.com ... There will be more people 
watching.

Usually we create our own forms using TW widgets like the edit-widget 
, button-widget 
and so on.

As I wrote without more specific info we can only guess, which results in 
some pretty pictures.

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/9c6261d9-bf2b-402d-ade7-2fc7295fb6f9n%40googlegroups.com.
<>


[tw5] Re: Looking for a plugin sq/Stories

2023-06-13 Thread PMario
Do you mean Streams? https://saqimtiaz.github.io/streams/

The main page is: https://saqimtiaz.github.io/tw5-plugins-sandbox/

have fun!
-m

On Tuesday, June 13, 2023 at 10:05:16 AM UTC+2 ha.pf...@t-online.de wrote:

> Please can somebody tell where I can find that?
>
>

-- 
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/46f56730-a704-4f65-bd12-67ce66beee64n%40googlegroups.com.


[tw5] Re: How to Create a Popup Form

2023-06-13 Thread PMario
Hi James, 
It seems you try to log-in to an online service. TW is a single page app. 
So it catches the input from popups and evaluates them locally. ... 

Login forms usually send info to a server. ... So can you be more specific, 
what you try to achieve with the form?

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5f344773-f58e-4829-a658-95fe45f43e55n%40googlegroups.com.


[tw5] Re: copy button in each code block

2023-06-07 Thread PMario
On Friday, February 24, 2023 at 5:47:50 AM UTC+1 yasai ya wrote:

Thank you!
Your post was very helpful.

But it looked like the CSS wouldn't apply without the macro tiddler was 
visible.


Defining some CSS code in an HTML STYLE tag is very useful for debugging 
and testing, but it should *not be used for production* code. 

The easiest way to define CSS code is to create a *tiddler *eg: `myStyles ` 
and *tag *it `$:/tags/Stylesheet` 
Save the tiddler and the CSS definitions will be active. 

So the *text *in the above mentioned myStyles tidddler will start as 
follows. There is no STYLE tag. Just the CSS code.

table.mycodeblock {
  border:   none;
  margin:   7px 0 11px;
}

This will make your code much friendlier to maintain. 

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/aeb197e5-8d18-484e-bede-7c7ef1cc1932n%40googlegroups.com.


[tw5] Re: field manipulation, lookup's lists and maths!

2023-05-26 Thread PMario
Hi, 
You should consider to enter the forum at talk.tiddlywiki.org  ... There 
will be a much greater audience for your questions. 
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f2d5cc1d-2bf4-4d9f-92bc-42fae44ca65fn%40googlegroups.com.


[tw5] Re: Nested Lists, I think I am missing something.

2023-05-24 Thread PMario
For me this code worked well

```
\define showFields()
<$list filter="[all[current]fields[]sort[title]] -text" variable="listItem">
<> = <$view field=<>/>

\end

<$list filter="[tag[Chapter]]+[sort[]]">
  <>
  

```

Instead of using a macro you could also copy your initial code into the 
outer list. [image: test-gg-nested-list.png]

-- 
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/cbaa135a-11b4-4624-b777-390598f7b46dn%40googlegroups.com.


[tw5] Re: Missing Tiddlers

2023-05-14 Thread PMario
On Saturday, May 13, 2023 at 4:21:18 PM UTC+2 scott@gmail.com wrote:
 

The Relink Plugin [re] does this for the `list` field.  If that doesn't 
cover your needs, you might be able to look at its implementation to 
figure out how it does so.


The relink plugin has a lot of configuration options. So IMO it's not 
needed to ahve a look at the code. Just carefully read the documentation 
and have a closer look about the config options that allow you to search 
custom fields for tiddler links.

-- 
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/bd391d0f-bddc-4ab8-99f8-b53430f54ad6n%40googlegroups.com.


[tw5] Re: Question about node.js and saving

2023-05-06 Thread PMario
Hi,

On Thursday, May 4, 2023 at 7:54:51 PM UTC+2 Jim Barr wrote:

I have a TiddlyWiki instance running under Docker using Node.js. Can the 
entire install be saved out as a single Tiddlywiki file?


Your wiki should have an option to save a snapshot, which is a single file 
wiki. If you click the "cloud" icon in the sidebar there should be the 
"save snapshot" option. 
 

And likewise, can a standalone Tiddlywiki .html file be saved as a Node.js 
install?


Yes, it's possible to convert a single file wiki back to a node.js driven 
setup. 

Important: BACKUP - BACKUP - BACKUP - BACKUP - BACKUP - first ;)

The easiest way is to create a new client-server configuration and drag & 
drop import the single file wiki. The advantage is, that you get an 
Import-Dialogue, where you can see, what's imported. 

The disadvantage is, depending on the number of tiddlers you have this can 
get slow. The limit will be how fast the server can create new files. 

The other option is the "savewikifolder" command used with the TW CLI: 
https://tiddlywiki.com/#SaveWikiFolderCommand
With a bit of experimentation this will work well, even with many tiddlers. 

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/ab13d282-1e70-4ad1-b6f7-880ef9010c4fn%40googlegroups.com.


[tw5] Re: Using Filter Notation in code for Table of Contents

2023-04-25 Thread PMario
Please have a look at the docs. [[title with spaces]]

[image: toc-exclude-param.png]

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/674a1a4e-4c49-425a-ba6f-3258c90e2dcen%40googlegroups.com.


[tw5] Re: Using Filter Notation in code for Table of Contents

2023-04-25 Thread PMario
On Saturday, February 11, 2023 at 3:24:47 AM UTC+1 Eric Shulman wrote:

I've submitted a `[BUG]` issue on GitHub: 
https://github.com/Jermolene/TiddlyWiki5/issues/7261


Hi folks, 
There is a preview version 
https://tiddlywiki5-4elmgaims-jermolene.vercel.app/
created by the PR https://github.com/Jermolene/TiddlyWiki5/pull/7417 ... 
which may be included into the next TW version. 
 
docs: 
https://tiddlywiki5-4elmgaims-jermolene.vercel.app/#Table-of-Contents%20Macros

Please test and give feedback. 
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/53037a10-7135-499b-b2c9-8001b59c4049n%40googlegroups.com.


[tw5] Re: Complex search - data inside transcluded tiddlers, produce outer pages instead

2023-03-01 Thread PMario
On Wednesday, March 1, 2023 at 6:53:55 PM UTC+1 Cade Roux wrote:
 

[image: AdvancedSearch.PNG]


I do have something to experiment with. ! Backup first !!!

Edit: https://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FDefaultSearchResultList 
which contains the default-filter search. 
If you mess it up. Just delete the tiddler. The shadow (default) will take 
over again. 

It has 2 fields, which contains the 2 filters used to create the search 
results. 

Change them to:

`first-search-filter: [search:title] :map[split[:Name=]nth[2]] 
+[sort[title]limit[250]]`

`second-search-filter: [search]  :map[split[:Name=]nth[2]] 
+[sort[title]limit[250]]`

-- Explanation

first- ... searches for titles only. 
second- ... is a full text search

In your first post you wrote about the different tiddler titles. All the 
relevant titles seem to have 1 thing in common: `:Name=` .. So this can be 
used to extract the needed title. 

`:map..` applies the following filter to every input title and if they pass 
the filter write the result to the output

`..[split[:Name=].. ` will split the tiddler title into 2 elements using 
`:Name=` as the separator. 

..`nth[2]] ` uses the second element, which is eg: Mitral valve | Doppler

You wrote that STCode is redundant. .. Since the standard search does title 
deduplication they are ignored automatically. 

Hope that helps. If you have more system tiddler titles .. the mechanism 
should be similar. .. but the filter can become much more complex. ... 

-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/dd3aeb6e-dd36-4e5b-a768-7e086246b0a6n%40googlegroups.com.


[tw5] Re: Complex search - data inside transcluded tiddlers, produce outer pages instead

2023-03-01 Thread PMario
Thx for the info. This helps to understand the structure a bit better. 

On Wednesday, March 1, 2023 at 4:55:15 PM UTC+1 Cade Roux wrote:

The system tiddlers do not show up in the search normally (I think because 
they are system tiddlers).  But the content we are looking for is inside 
those tiddlers.


OK. I thought, you did already modify the search dialogue. ... 

What about $:/AdvancedSarch -- System Tab ? .. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4b7a5bef-dbc4-4577-95c6-b5032d719ba0n%40googlegroups.com.


[tw5] Re: Complex search - data inside transcluded tiddlers, produce outer pages instead

2023-03-01 Thread PMario
Hi Cade,

Can you show a screenshot of the search dialogue, where it finds content in 
a system tiddler? .. Is this possible to share?

I'll do a quick summary, to see if I do understand it right. .. Everything 
works will except of search. 

Search finds content from auto created "inner" / shadow tiddlers. 
But clicking the link should open the "outer" template which basically 
shows a transcluded list of auto-created and user-created content. 

I think it should be possible to create a "link-catcher" configuration the 
filters out the prefix and links to the name only. 

So one of your "outer" tiddlers is: "Mitral valve|Doppler"  
This tiddler exists. So it is a real tiddler. right?

Do your system tiddlers eg: 
"$:/ascend/XText.Measurement.stcodes:Name=Mitral valve|Doppler" have a 
caption-field? or do they show up with the full title in the search 
results? 

As written an example of a search result dropdown would be needed. 

-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/236649de-c254-4b96-952c-7f57f87bbb33n%40googlegroups.com.


[tw5] Re: How to use Relink in latest tiddly wiki

2022-11-25 Thread PMario
Hi,
https://flibbles.github.io/tw5-relink/
That's the latest version it shows >= v5.1.22  the build date is 6.Nov.2022 
-m

On Friday, November 25, 2022 at 6:21:28 PM UTC+1 allench...@gmail.com wrote:

> HI community,,
> I upgraded my tiddly wiki to the latest version 5.2.3. But as a depending 
> user of Relink plugin, i'm not able to use that in this version of tiddly 
> wiki anymore. I checked the plugin official page, showing latest compatible 
> version of tiddly is 5.1.2. Does anyone have any ideas to use this plugin 
> in the latest version of tiddly wiki 5.2.3?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3168cc06-44e1-4462-bec9-cc16fde20f8fn%40googlegroups.com.


[tw5] Re: Show all transclusions with a specific format

2022-10-30 Thread PMario
See: 
https://talk.tiddlywiki.org/t/show-transclusions-in-specific-format/4948/2

On Saturday, October 29, 2022 at 12:21:53 AM UTC+2 Mike Simms wrote:

> I want to make all transclusions a ppear with border (and/or specific 
> background colour) so that it can be seen that they are a transclusion and 
> not part of the tiddler's own text.
>
> Can anyone suggest some CSS or plugin that does this? I would accept a 
> plugin that accomplished this, among other features.
>
> I know some CSS but I could use some help knowing what class to apply it 
> to.
>
> Thank you!
>

-- 
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/28664464-4810-4a4b-896e-3a6c8fd93e4cn%40googlegroups.com.


[tw5] Re: What is Red "Draft of" button at lower left on page load?

2022-10-27 Thread PMario
On Wednesday, October 26, 2022 at 5:49:44 PM UTC+2 dougla...@gmail.com 
wrote:
[image: TW_Draft_of.png]

>
> My search in all the GitHub open and closed issues and also within in this 
> group's conversations didn't turn up any information on this red "Draft of" 
> button anywhere.
>
> When I clicked the button, the button disappeared and that Tiddler opened.
>
> What causes this?
>

That info should prevent data loss of tiddlers stored in "Draft mode" and 
opened a second time for editing, while the "old" edit isn't saved yet. ... 
So if you save a wiki with a tiddler in edit-mode and close the 
edit-template from the story river it will show up as this "reminder tab". 

There have been some users which left 10 and more tiddlers in edit mode and 
forgot about them. If the wiki was opened eg: 10 days later, they wondered, 
where the new data has been gone, because they opened the "old tiddler" and 
forgot about the draft.

hope that makes it clear
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/89e057b6-b37d-4315-8048-a315c8aa3d92n%40googlegroups.com.


[tw5] Re: Automatic display of field content toggled by tag

2022-09-01 Thread PMario
By the way. 
Most of the discussion is going on at: https://talk.tiddlywiki.org/ now. 
... Just to let you know. 
-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/74c3e310-9670-4d29-b620-3575b88ee79fn%40googlegroups.com.


[tw5] Re: Automatic display of field content toggled by tag

2022-09-01 Thread PMario
On Thursday, September 1, 2022 at 10:24:26 AM UTC+2 ma...@oliverhahn.net 
wrote:
..

> May I just add one remark to a small weakness of your code, just in case 
> some other person would like to use that feature. 
>

That was intentional, to test your participation :)) ... 


... just joking 
 

> 
> I solved that with adding another complementary list filter in 
> :/my/tabs/header/template. The template now looks like:
>
> ```
> <$list filter="[tag[info]]">
> <$tiddler tiddler=<> >
> <$transclude tiddler=":/my/body/header/template" mode="block"/>
> 
> 
> <$list filter="[!tag[info]]">
> <$tiddler tiddler=<> >
> <$transclude tiddler="$:/core/ui/ViewTemplate/body/default" mode="block"/>
> 
> 
> ```
>

There would be a different way with a more complex filter construction. But 
I think "keep it simple .." wins here. It's probably more flexible in the 
future. 

well done ;)
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/1ec86c99-c870-4fce-b506-b77d6c508f15n%40googlegroups.com.


[tw5] Re: Automatic display of field content toggled by tag

2022-08-31 Thread PMario
Your request is OK. I think I could figure it out ;) 

General rule: 

Please describe the requested result in plain text or create some 
screenshots with normal wikitext, but without the templates ... Sometimes 
it's possible to create a "mockup" with standard wikitext 

If we only get broken code or code that doesn't do what you want, it's very 
hard for us to imagine, what you wanted, with code alone. The plain text 
helps much more. .. 

On Wednesday, August 31, 2022 at 4:05:09 PM UTC+2 ma...@oliverhahn.net 
wrote:
...

> It is not seen in tab view. I am aware that manipulating the common 
> ViewTemplate is a quite brutal way. 
> Part of my $:/core/ui/ViewTemplate:
>

It shouldn't be needed to manipulate the ViewTemplate. .. There are several 
mechanisms in place that allow us to avoid that. 

My response below addresses the following paragraph only. 

>But after all this solution does sadly not address my whole problem. With 
this tabs-template-solution the definded field content of a tiddler is 
shown in tabs view, but not in the standard tiddler view. I was looking for 
a solution which shows the field content in both views. 

My very first solution used the ViewTemplate cascade, but it only worked 
with the tiddler and not with tabs. 
Infos of the active cascade can be found at: 

ControlPanel -> Info -> Advanced 
-> Cascades -> View Template Body ... tab

I assume you want something like this: 

[image: body-header.png]

There are 3 template elements needed. ... 

*1st tiddler:*

Title -> `:/config/enable/body/header` tagged: `$:/
tags/ViewTemplateBodyFilter` ... 
It's responsible to enable the header in the standard tiddler body. .. As 
the name suggests ;) The ViewTemplate is dynamically configured. 

*Important:* It needs a `list-before` field with the value 
`$:/config/ViewTemplateBodyFilters/default`

The content is a filter expression, that needs to return the name of the 
body-template. I used `:/my/body/header/template` here in the example. If 
you use it like this it's a standard tiddler. But if you add a $ as the 
first character, it will be system tiddler and will not show up for your 
users. 

System tiddlers can be found in the right sidebar -> More -> System .. or 
with AdvancedSearch -> System tab

```
title: :/config/enable/body/header 
tags: $:/tags/ViewTemplateBodyFilter 
list-before: $:/config/ViewTemplateBodyFilters/default

[all[current]tag[info]then[:/my/body/header/template]] 
```

*2nd tiddler: *
`:/my/body/header/template` ... Which contains the new header code

```
''Revisionsstand: <$view field="Stand" format="date" template="MMM 
"/>''

{{||$:/core/ui/ViewTemplate/body/default}}
```

*3rd tiddler: *
`info-tab-template` ... I did rename this one. In the finished product it 
may be `$:/my/tabs/header/template`
It got new code, so we can reuse the body-header-template .. so changes are 
only needed in 1 place. 

```
<$list filter="[tag[info]]">
<$tiddler tiddler=<> >
<$transclude tiddler=":/my/body/header/template" mode="block"/>


```

As I wrote if your users shouldn't see that stuff, you need to make them 
system tiddlers. They start with `$:/` ... The tiddler titles have to be 
manually *adjusted in the code too*. 

There is a ZIP file attached, that I used for testing. 

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/3fe2ebda-6612-4335-bf87-2a54118122dcn%40googlegroups.com.
<>


[tw5] Re: Automatic display of field content toggled by tag

2022-08-30 Thread PMario
Hi Oliver,

On Monday, August 29, 2022 at 3:07:21 PM UTC+2 ma...@oliverhahn.net wrote:

> ... This is not ideal, it really should be toggleable (by tag) and my 
> solution works only in the tiddler default view. But we are making 
> extensive use of the tabs macro in our Tiddlywiki and unfortunately the 
> ViewTemplate-solution doesn't work on tabs. 
>

So I do understand you right, that you want the info-field, to be shown 
inside the tabs macro above the tiddler content. right?

The tabs-macro allows you to use a template 
. So it can be called as follows. See 
the new "template" parameter

```
<>
```

Create a new tiddler eg:  *info-tiddler-template* with the following 
content: do *not* use the 3 backticks ```  ... only the text between them.

```
\whitespace trim

<$list filter="[tag[info]">
<$transclude tiddler=<> field="info" />


<$tiddler tiddler=<> >
<$transclude tiddler="$:/core/ui/ViewTemplate/body/default" mode="block"/>

```

Where the list-widget checks if the tiddler mentioned in the 
currenTab-variable has a tag "info". If yes it shows that info using the 
transclude-widget. 

The second code block uses the default core template, that is used for the 
tiddler body. 

I did test it at tiddlywiki.com .. If it doesn't work for you just ask. 

The following code adds a HTML HR .. horizontal rule, so there is a visual 
indication that the info field is shown. .. That's just an example, so you 
see, where you can add additional conditional info text

```
\whitespace trim

<$list filter="[tag[info]">
<$transclude tiddler=<> field="info" />



<$tiddler tiddler=<> >
<$transclude tiddler="$:/core/ui/ViewTemplate/body/default" mode="block"/>

```

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/e024fb9b-1d77-4894-93ae-80f6dba3bd9bn%40googlegroups.com.


Re: [tw5] Daily Task Macro - buttons no longer change color in 5.2.0-prerelease

2022-07-22 Thread PMario
As far as I can remember it's needed, when you use the macro. You should be 
good, if you use the following wrapper code for both macros
`<>` and `<>`

In the mean time you should use the $let-widget 
<https://tiddlywiki.com/#LetWidget> instead of the $vars-widget.

```
<$let x={{!!toggled}} y={{!!barray}}>

 
```

Info: The backticks for the code here are only needed to be imported in the 
right way at talk.tiddlywiki.org
So you don't need them for your code. 

On Friday, July 22, 2022 at 12:54:58 AM UTC+2 arunn...@gmail.com wrote:

> Is this macro usable with latest versions of TW. If it's usable, where 
> should the code  suggested by pmario in the posts above be added ?
> On Monday, August 16, 2021 at 2:07:44 PM UTC+5:30 TiddlyTweeter wrote:
>
>> Ciao Jeremy ...
>>
>>>  Jeremy: |  do plan to update the release note with a more prominent 
>>> warning of the impact of this change.
>>>
>>> TT: Good! IMHO, it might also be worth mentioning that their tool of 
>>> concern would continue to *run fine under previous versions of TW*. For 
>>> working apps mostly it is NOT needed you upgrade!
>>>
>>>  
>>
>>> From the core perspective we really want people to upgrade actively used 
>>> wikis to each new version because it’s expensive and complex to offer 
>>> support for old versions. For example, if we had a user on v5.1.23 who was 
>>> holding back updating to v5.2.0 then that user wouldn’t be able to benefit 
>>> from bug fixes in subsequent releases. If they reported a bug that was then 
>>> fixed by the core team they wouldn’t be able to get the fix without 
>>> updating.
>>>
>>
>> Right. I do broadly understand that. BUT in practice it is a bit of a 
>> puzzle too. Older, non-complaint plugins, by authors no longer active, 
>> could end up ESTRANGED.  
>>
>> *(FYI, in THIS thread, I do see PMario work hard for a compatible 
>> solution for the OP's user problematic. Maybe that is enough for these edge 
>> cases? I.E: a dedicated dev solves the issue functionally. What he is doing 
>> is solving a problem for the "absent landlord". One "good enough" to work 
>> for the moment.)*
>>
>> IMHO, I agree you should not go backwards. It would make no sense and 
>> would be ineffectual and serendipitous if and when it worked. 
>>
>> *However* the latest version is, crudely speaking, an "interruptus". 
>> That may throw some plugins (BUT I have no idea *how many*; it may just 
>> be a manageable handful?). But IS the "break with past" minor or serious?
>>
>> SO, to be practical. I'd say it is still a bit unclear how much of an 
>> ISSUE all this is.
>>
>> Just thoughts from a non-programmer.
>>
>> Best wishes
>> Josiah
>>
>

-- 
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/310d893b-9c72-43b1-a69d-b817f7e51eedn%40googlegroups.com.


[tw5] Re: How do I embed an external MD file on a page?

2022-07-08 Thread PMario
I forgot to ask. Do you use a single-file wiki or a nodejs ... 
client-server wiki?
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ff688af2-d46a-4cea-bc3a-3e06f45942f4n%40googlegroups.com.


[tw5] Re: How do I embed an external MD file on a page?

2022-07-08 Thread PMario
Issue: https://github.com/Jermolene/TiddlyWiki5/issues/6764

On Friday, July 8, 2022 at 12:21:40 PM UTC+2 PMario wrote:

> Hi, 
> It doesn't work, since the markdown parser doesn't know about the 
> _canonical_uri, so it renders an empty tiddler, since the text element of 
> the tiddler is empty.
>
> I'll create a GitHub issue, so we don't forget about it. 
>
> -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/17ef6a78-0918-4c85-b0bd-b8cffcfdeeb4n%40googlegroups.com.


[tw5] Re: How do I embed an external MD file on a page?

2022-07-08 Thread PMario
Hi, 
It doesn't work, since the markdown parser doesn't know about the 
_canonical_uri, so it renders an empty tiddler, since the text element of 
the tiddler is empty.

I'll create a GitHub issue, so we don't forget about it. 

-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/67056e62-ea36-4144-9e7a-185b8d8f6fe1n%40googlegroups.com.


[tw5] Re: [help] Synchronizing TiddlyWikis - a single file and separate tiddlers configuration

2022-06-30 Thread PMario
On Friday, July 1, 2022 at 4:25:49 AM UTC+2 r3pli3s wrote:

> This leads me to my questions: 
>
>- Is there a way to generate consistently individual tiddlers from a 
>single file "index.html" respecting the original format? 
>
>
Hi, One way is to start a new empty client-server version and drag and drop 
import your single-file wiki there. So the single-file tiddlers will be 
saved back to the server as single tiddlers. -- done.

Or you can use the --savewikifolder command: 
https://tiddlywiki.com/#SaveWikiFolderCommand

-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/f9d5bf3d-f011-49c9-a347-01012e5823b4n%40googlegroups.com.


[tw5] Re: How to change the color of Tw icons

2022-06-27 Thread PMario
On Monday, June 27, 2022 at 11:12:46 PM UTC+2 Juan Palomo wrote:

> One more question. I have tried to modify the size of the icon since it is 
> larger than I want and I cannot find the parameter to adjust it.
> I have tried the following formula but it seems that it is not correct:
>
> @@fill:blue; width:1em; height: 1em; {{$:/core/images/tip}}@@



That doesn't work that way, since the height and width are directly defined 
in the SVG element. You need to do the following. 

Create 2 tiddlers eg: my-styles and my-macros

```
title: my-styles 
tags: $:/tags/Stylesheet
code-body: yes

.my-icon svg {
height: 1em;
}
```

```
title: my-macros
tags: $:/tags/Macro
code-body: yes

\define my-icon(title) <$transclude 
tiddler=<<__title__>>/> 
```

Call the macro with: `<>` ... That should do 
the trick. 

The first tiddler my-styles defines a CSS stylesheet, that allows you to 
define the hight of the SVG element. Since it keeps the aspect ratio, it 
will scale properly if you only change hight. 

The second tiddler defines a macro named: my-icon, that covers the SVG 
inside an HTML SPAN element and defines it's class="my-icon". Which allows 
the browser to assign the CSS stylesheet settings. 

I did add a little ZIP file that contains a JSON file, which can be drag & 
drop imported into a wiki. You can test it with tiddlywiki.com. It should 
work there since I did mace the macros with it. 

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/52846b77-69f7-44b3-8877-5a8af313dfc4n%40googlegroups.com.
<>


[tw5] Re: Mandatory fields in a tiddler

2022-06-20 Thread PMario
Hi, 
No. ... But you can make a New-Tiddler Button, that pre-populates the 
necessary fields with a default value. 
You should have a closer look at: 
https://tiddlywiki.com/#ActionCreateTiddlerWidget
have fun!
-m


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f428e4a-0f0e-427b-983c-8bc0c955f7c6n%40googlegroups.com.


[tw5] Re: CamelCase-Rules

2022-06-16 Thread PMario
On Thursday, June 16, 2022 at 10:50:37 PM UTC+2 torax...@googlemail.com 
wrote:

> It was in my old installations disabled. So I am aware of it. I simply 
> wanted to give that feature a shot, but noticed, it works very inconsistent.
>

I don't think it's inconsistent. It's a parser option and works in the 
exact same way as any other option like ''bold'', //italic// and so on. 
 

> So I think it's best to view it as experimental.
>

It's definitely _not_ experimental. It probably works consistently since 
alpha 1. Same as bold and italic ;) ... 

The only thing is, that there is some discussion, if it should be ON by 
default. ... If you started using wikitext in the "early days" 
 you are 
probably used to it. 
 

> Would be a nice feature, but I need a reliable behaviour and not the 1st 
> time left and next time right. 😉
>

As I wrote. It is reliable. 

-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/16f97503-60a2-4a27-a951-821006e96b36n%40googlegroups.com.


[tw5] Re: Adding tool bar to an edit field

2022-06-16 Thread PMario
On Thursday, June 16, 2022 at 9:47:30 PM UTC+2 mervinme...@gmail.com wrote:

> Is there a way to call the edit tool bar and apply it to a form created 
> using the EditTextWidget?


There is no such possibility at the moment, if your forms are in view mode. 
.. Could you be more specific, how your forms look like?

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/46cf13b5-36ef-4fe2-a13c-3b8275d6c4ben%40googlegroups.com.


[tw5] Re: CamelCase-Rules

2022-06-16 Thread PMario
Hi,
As you wrote CamelCase it's exactly that. ... It depends on when you 
started using them. 

There have been some discussions lately, if we should switch the flag for 
CamelCase links off by default. .. At the moment the rule is on by default. 
-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/47eb82ef-8726-4c40-aa8a-0b3fb497d974n%40googlegroups.com.


[tw5] Re: Can I save tiddlywiki without re-downloading it?

2022-05-04 Thread PMario
Welcome to the club ;) !

On Tuesday, May 3, 2022 at 5:03:40 PM UTC+2 sugamka...@gmail.com wrote:

> I started using tiddlywiki maybe two hours ago. Its nice but is there any 
> way to save the wiki without redownloading it?


You can download an empty wiki and then start it from your file-system. ... 
Saving changes can be done in the way Eric described. 
 

> I don't want to use any cloud. I want to encrypt it and push it to my 
> github repo.
>

Just to be sure. 

Be aware, that your repo can become huge, depending on how often you commit 
changes to it. ... For an encrypted wiki, if you change 1 character, 
basically the whole wiki content will be encrypted and it will be different 
to the version before. ... 

Git ususally only saves text diffs to the repo. Since it is designed to be 
used with source code text, those diffs will be small most of the time. 

If your content is encrypted it will be the full size of the whole content. 
Sice everything will be different if changed and encrypted. 
 

> Sorry if this question has been asked before.
>

No problem! 

-- 
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/cc95f22e-faec-486c-87f0-ad302dbf2dffn%40googlegroups.com.


[tw5] Re: appending to a 'list variable' through cycles

2022-04-12 Thread PMario
Hi, 
Just to be sure for future reference: 
https://tiddlywiki.com/#search%20Operator The new "some" parameter is 
available since TW v5.2.2
-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/4a622baa-63fa-4acf-8d53-67be3f9d03bdn%40googlegroups.com.


[tw5] Re: Anyone know how I can expand on filters?

2022-04-11 Thread PMario
There is a typo in the example above: the end-let needs to look like 
``

```
<$let var1=test>

value of var1: <>

outside value of var1: <>   <-- there is no var1 any more ... It's 
gone
```

-m
PS: You should post at talk.tiddlywiki.org ... We can edit posts there, to 
be sure examples work

-- 
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/88931dc7-e15f-4a6a-85d5-9ef1aeb6e137n%40googlegroups.com.


[tw5] Re: Anyone know how I can expand on filters?

2022-04-11 Thread PMario
As I wrote in the other post. Wikitext is _no_ general purpose programming 
language. In wikitext variables are only accessible "inside" a widget 
"body". So eg: 

```
<$let var1=test>

value of var1: <>

outside value of var1: <>   <-- there is no var1 any more ... It's 
gone
```

So even if you try to nest the list-widget, it won't work that way, since 
your variables are only useful in the inside of the most inner list. ... 
BUT every "outer" list is still active. 

So if your variable1 has eg: 2 elements _all_ the inner list will be 
evaluated 2 times. ... That's what you see. 

As I also wrote, in the other post. I don't see the whole picture, so I 
could only help with the topic that you described. ... But I kind of knew, 
what could happen. ... 

We can only help, with problems we know, if they are described in plain 
text. If we understand the problem we can probably tell you, how to do it 
the "TiddlyWiki way". ... 

The TW UI is mainly created using lists. They are everywhere. ... But it's 
important to understand that you can't run a list-widget to create several 
variables.  You can use list-widgets to iterate over arrays of titles.

It's like a "map()" function in other languages. 

I don't know, if that helps. ... But without the "big picture" we can't do 
much.

-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/fe1961ea-2b10-4f1b-9912-8428a85bdaf5n%40googlegroups.com.


[tw5] Re: Anyone know how I can expand on filters?

2022-04-08 Thread PMario
On Thursday, April 7, 2022 at 9:15:16 PM UTC+2 thyl...@gmail.com wrote:
... 

> What I really would like to do is something like this:
> ```
> 
>   <$list filter="[fields[]prefix[FIELDNAME]]" 
> variable="thisfield">
> <$transclude field=<>/>
> \variable 2
> \variable 3
> \variable 4 - also, one of these needs to be a link.
>

Where should these variables come from? You can use $set, $let widget 
outside the UL or $list element  
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a9409f4-2bc7-4a52-922a-f1d0b91c1fe7n%40googlegroups.com.


[tw5] Re: If-Else Statements and Splitting Fields

2022-04-05 Thread PMario
Hi, 
OK. ... I see. I think you had the right idea at your other post about 
transclusions: https://groups.google.com/g/tiddlywiki/c/uyxEH7lLngE ... 
Working with templates is the way the whole TW UI is built. ... all of it. 

TW scales best if tiddlers are used for fragments of content that make 
sense on its own. Author -- Quote already makes sense on its own. So the 
most future-proof way to tackle the problem would be to use a tiddler for 
that. ... 

On Tuesday, April 5, 2022 at 10:16:52 AM UTC+2 thyl...@gmail.com wrote:
...
> Some tiddlers will have multiple quotes, so keeping the author and quote 
in the same field to keep things neat would be prefered. 

>From your last sentence in your post I guess, that that doesn't feel right 
for you. ... So I'll show you how to "split" your entry ... and what happens

My field looks like this. ... I wouldn't use a construction like this (0) 
in field names. It is allowed since TW v5.2.0 ... (I know that I'm paranoid 
;)

```
entry-0: author name | L orem ipsum dolor 
```

```
<$let entry="entry-0">
<$list filter="[all[current]getsplit[|]trim[]]" variable=element>

<>



```

The result will be come HTML code like this:

 
author name
L orem ipsum dolor sit amet, consectetur
 

OK ... So the problem now is, that that's the wrong order. ... Now we need 
to fix this. .. 
The next problem will be formatting it to get ... author name ... 
and so on ... and so on. 

It also doesn't scale very well. What if you want to add more info. eg: the 
author birth date, or the book title where the quote is from ... 

I think I could "solve it", but I would know that I would wasting my time, 
because it will end up in frustration. ... 

--

I know, that I don't see the big picture of your vision. But let me tell 
you how I would tackle that specific problem you described. 

I would go with a specific tiddler to collect quotes. eg: Albert Einstein

```
title: Albert Einstein
entry-0: “Genius is 1% talent and 99% percent hard work...”
entry-1: e = m * c^^2^^

{{||quotes-template}}
```

Then I'd create a template tiddler that is able to list all quotes, so I 
can show a list of all quotes if I open the Albert Einstein tiddler, as 
shown in the code above.

The following template will list all entry-x fields.

```
title: quotes-template

<$list filter="[all[current]fields[]prefix[entry]]" variable="entry">
  
<$transclude field=<> />
  
  ~ {{!!title}}
 
```

But it can't access a single entry if needed. To access a single entry I'd 
create a macro, that looks very similar

```
title: quote-macros
tags: $:/tags/Macro 

\define quote(author, entry)

  <$transclude tiddler=<<__author__>> field=<<__entry__>> />

~ <<__author__>>
\end 
```

The macro can be used with

```
<>
```

The templates can be used to list _all_ quotes.

```
{{quote-collection-tiddler-name||quotes-template}}
```

Creating all that stuff took less time, than thinking about some code for 
your structure, that only lead to new problems. ... 

I'll attach a zip-file that contains some more stuff I did play with. .. 
Using templates is extremely powerful. So the zip contains a second 
template quotes-template-ol ... which shows, that "entry-0" is a bad name. 
It should be "entry-1" ... 

It hope that helps. 

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/7620c999-0432-4e95-ae04-00aebe15118bn%40googlegroups.com.
<>


[tw5] Re: If-Else Statements and Splitting Fields

2022-04-04 Thread PMario
Hi, 
Wikitext is highly efficient if you want to create text output, it's _not_ 
a general purpose programming language. 

Filters are there to create selections of tiddlers. eg: 
"[tag[test]has[my-field]]", which will list all tiddlers that are tagged: 
"test" and have a field: my-field. .. In this case it doesn't matter if the 
field value is empty or not. ... "has" just tells us that the field exists. 

I don't understand, why you want to split field values. It only makes 
everything more complicated, as you already found out.

It's 22:22 here in my time zone, so I don't want to look at your "code" and 
guess, what the end result should look like.

For me it would be easier, if you would tell me in plain text, *what* you 
want to achieve and not how you want to achieve it.

- How does your tiddler content look like
- How does the field value looks like?
  - Why do you want to split it?
- How should the end-result look like ... In plain text.

-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/25ba290c-0940-4faf-9017-75d22f5ae969n%40googlegroups.com.


[tw5] Re: Chrome v100 cannot save on Tiddlyhost but v99 can

2022-04-04 Thread PMario

On Monday, April 4, 2022 at 1:20:00 PM UTC+2 bacc...@protonmail.com wrote:

> Thank you, it worked! Just a reminder, this site I had trouble with was 
> connected to Tiddlyhost but still seems to reside on Tiddlyspot. I have a 
> new TW which was created with Tiddlyhost and the credentials are actually 
> different. I always start with Tiddlyhost.com when I edit these. No addon 
> was needed for Chrome to make it save directly back to Tiddlyhost or 
> Tiddlyspot. :)
>

Ah, OK. Nice that it works again. Thanks for the feedback.
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d46c95b9-29f2-48b0-8719-c4c7aabbf7bfn%40googlegroups.com.


[tw5] Re: Chrome v100 cannot save on Tiddlyhost but v99 can

2022-04-04 Thread PMario
On Monday, April 4, 2022 at 1:03:22 PM UTC+2 bacc...@protonmail.com wrote:

> Oh gosh, no the credentials are not there. It's the first time I used 
> Tiddlyhost on that PC, it's a new PC. I will check that. Thanks!
>

Also have a closer look at my second post. ... TiddlyHost is different to 
TiddlySpot, so most elements are probably ignored. I did find out about 
this clicking some links at tiddlyhost. I think we should add a bit more 
docs to that page. 

-- 
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/76c7e39f-f363-446c-8409-083053c4da53n%40googlegroups.com.


[tw5] Re: Chrome v100 cannot save on Tiddlyhost but v99 can

2022-04-04 Thread PMario
More info at: 
https://github.com/simonbaird/tiddlyhost/wiki/TiddlySpot-Saver-configuration-for-Tiddlyhost-and-Tiddlyspot
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5b19fadc-c1c7-457c-a38c-488a2d5517f5n%40googlegroups.com.


[tw5] Re: Chrome v100 cannot save on Tiddlyhost but v99 can

2022-04-04 Thread PMario
Hi,

On Monday, April 4, 2022 at 12:42:03 PM UTC+2 bacc...@protonmail.com wrote:
... 

> On computer 2 when I make a change to my TW file and click the TW save 
> button, I get the "Save file as" dialog. It won't save to Tiddlyhost. 


Are your credentials still in tact at the second computer? 

[image: tiddlyhost-saver-config.png]

-- 
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/37e56a58-f6c9-4c51-ab0c-492598bfc196n%40googlegroups.com.


[tw5] Re: Transcluding Tiddlers

2022-04-04 Thread PMario
Hi,

You create a tiddler named eg: `myTemplate`, that contains the code: 
`<$view field="FieldName" />'` in the text. Don't use the backticks (`)

```
title: myTemplate
text: <$view field="FieldName" />
```

You can use the template like this: 

```
{{TiddlerName||myTemplate}} 

or

<$tiddler tiddler=TiddlerName>
<$transclude tiddler="myTemplate" />

```

More info can be found at: 
https://tiddlywiki.com/#Transclusion%20in%20WikiText

have fun!
mario

PS: The backticks (`) in this post are only used, that the code is shown in 
the right way at talk.tiddlywiki.org

-- 
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/96a59bc7-23c9-4149-ae31-b116abf062f2n%40googlegroups.com.


Re: [tw5] Major updates to Chromium native file system saver plugin

2022-04-02 Thread PMario
On Friday, April 1, 2022 at 8:55:53 PM UTC+2 dyllon...@gmail.com wrote:

> ...

 

> It'd be nice if there was a way to specify a priority for savers, but I 
> don't think there is one right now. 
>

Saver modules do export a name and a priority. I think the lower the lowest 
priority-number wins. ... But I'm not sure. 
A saver also exports a .canSave() function, which is used by the 
saver-handler to see if a saver can be used. .. The first saver that 
returns .canSave() === true sorted by priority will be used to save. 

IMO the canSave() function can be used to dynamically enable/disable a 
saver. 

See: 
https://github.com/Jermolene/TiddlyWiki5/tree/master/core/modules/savers


-- 
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/fd0ff6d3-fb62-4ef4-b3f7-a487d0d14613n%40googlegroups.com.


[tw5] Re: TiddlyWiki documentation request: improve access to examples

2022-04-01 Thread PMario
On Friday, April 1, 2022 at 2:24:30 PM UTC+2 cj.v...@gmail.com wrote:

> Yes, I know that.  I'm not asking for myself.  My point is that it should 
> be easy for anybody to learn about all TiddlyWiki features involved in any 
> example in the documentation. 
>
 

> It is sad and disappointing that TiddlyWiki features are being used in the 
> documentation, but the very usage not documented.  Lost opportunities.
>

OK. So a little bit of info for those, who want directly contribute to the 
TW docs. 

You are right. ... Documenting "the documentation" is an option, to show 
users what's possible. I think the needs of the TW docs are very specific. 
But still -- one can learn a lot from it. 

We -- the core devs -- need help from the community if that "meta" content 
should be there. 

There is a lot of work to do for the reference documentation. Detailed 
documentation "how the doc macros work" will add to the existing work that 
"should be already done" ... 

The TW documentation is a community effort and everyone is welcome to 
create content and contribute it. 

I did create a HowTo: 7 Steps to improve the tiddlywiki documentation 

 
at "Talk TiddlyWiki". I also did create a video series, that shows how to 
use it. The link to the videos can be found at the HowTo. 

Discussion and feedback can happen at Talk 

 
too.

Saq, did create a "working prototype" Wiki that is online, can be modified 
and can create contributions, that can directly be implemented into the 
"living" docs at tiddlywiki.com. (Link in the HowTo)

There is a Documentation Styleguide 
 and an overview 
about the Documentation macros 
 at tiddlywiki.com .. (By 
the way, I'm talking about those elements in the Video mentioned in the 
HowTo.) 

Contributions to the documentation can be successful, if users loosely 
follow the style-guide. Nothing can be broken. It may take several 
iterations till something can be accepted. 

So everyone, that wants to help us to improve the docs, so we don't loose 
opportunities can have a closer look at: 7 Steps to improve the tiddlywiki 
documentation 

 

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/c660a2d3-42fd-4f30-861e-650ca51389ecn%40googlegroups.com.


[tw5] Re: How do I copy a theme in TW 5.2.2?

2022-04-01 Thread PMario
Hi,
If you needed to create a new account here, your initial posts where set to 
"need review", to avoid spam. I think new mails usually hit Eric Shulman 
(thx for that!). Since your posts come through now, it seems you are free 
to post again. 
-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/f5559939-10cf-4122-8e87-a9febf5f2b2bn%40googlegroups.com.


[tw5] Re: Global error trap location

2022-04-01 Thread PMario
Hi,
When the "global error trap" shows up, it indicates a severe problem. 
Usually the browser tab has to be reloaded, since the app is in an 
unpredictable state and the users have a very high risk to loose date, if 
they ignore it. 

So the way to go is, to handle that error, where it is caused. In your 
code, because only there it can be decided, if it is save to go on or to 
completely restart the app. 

IMO the best way is to use a try / catch construction. There are several 
examples in the core code. 
-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/8e382c68-6ea0-4b9d-b9f8-39369c9513f7n%40googlegroups.com.


[tw5] Re: Remove the same tag on many tiddles but not the tiddle itself

2022-04-01 Thread PMario
Hi,
Have a closer look at https://tiddlywiki.com/#ActionListopsWidget .. There 
may be the info you need. 
-mairo

-- 
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/0c107512-5124-4460-8711-ffe4ab338f81n%40googlegroups.com.


[tw5] Re: TiddlyWiki documentation request: improve access to examples

2022-04-01 Thread PMario
Go to Advanced search. Search for ".operator" (without the quotes) and have 
a look at the *system tab*. There are 2 results. 
You basically can find absolutely everything in TW with advanced search, if 
you switch tabs.
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23fe79ac-77cc-4fe2-81f1-9a1602031052n%40googlegroups.com.


[tw5] Re: adding tag $:/tags/AboveStory

2022-03-25 Thread PMario
Hi, 

You need to add this tag to the tiddler, with the content, that should show 
up above the "Story River" . 
But be aware. It only shows a "naked" tiddler the content. The tiddler 
styling will be missing. 

If you also want the style of a tiddler you can use the following text 
without the backticks ``` 

```


Your text come here


``` 
The DIV will show a tiddler frame around your text. 

hope that helps
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/f9c51dae-ed7a-4ba1-baa5-f6a9d6337990n%40googlegroups.com.


[tw5] Re: [TW5] Esperanto Translation (Alpha)

2022-03-25 Thread PMario
On Friday, March 25, 2022 at 5:33:38 PM UTC+1 Mark S. wrote:

Do other languages attempt to translate "TiddlyWiki" ? I would have thought 
> that that was a special term that would stay itself in most languages.
>

I'm with Mark here. TiddlyWiki is a "brand" name and shouldn't be 
translated.
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b51df4f0-9283-4c80-99ed-db7f4409d81en%40googlegroups.com.


[tw5] Re: how to filters tags except some

2022-03-22 Thread PMario
Hi, 
You should try: `[tags[]] -[[Experiment]]` (without the backticks) as the 
filter. See: https://tiddlywiki.com/#Filter%20Expression near the end of 
the tiddler.
-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/c233fd55-f03d-401d-8248-74a8036253d3n%40googlegroups.com.


[tw5] Re: Easiest way to convert a word or phrase to a tiddler link throughout the wiki?

2022-03-17 Thread PMario
On Thursday, March 17, 2022 at 3:28:37 PM UTC+1 Mark S. wrote:

> The official plugin "Freelinks" will make any text that matches an 
> existing tiddler into a link.
>

That's right. Since 5.2.0 it also has a setting, that allows you to define 
a filter, for which tiddlers it is active. So you could say `[tag[xyz]]` in 
the "Target tiddler" filter in the setting of the plugins. The plugin can 
be installed with the ControlPanel. 

[image: control-panel-plugins-get-more.png]

-- 
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/754bb86a-7556-4782-841e-8311cef317ccn%40googlegroups.com.


[tw5] Re: IDEA Multi-line Fields ... Possible implementation

2022-03-07 Thread PMario
Hi dam,
This was only an idea, prior to TW 5.2.0 ... There are different 
possibilities now

Have a closer look at: 
https://talk.tiddlywiki.org/t/intro-field-editor-plugin/1580  Which talks 
about 2 *experimental plugins* that I published recently. It's a different 
approach ... but ... experimental. ... It seems the plugins cause a bit of 
an issue with the view- and editTemplates of the latest TW version. 

So you have to be careful testing them. ... 

-mario

On Sunday, March 6, 2022 at 6:10:01 PM UTC+1 damscal wrote:

> Hi all,
> the idea seems very good to me, especially if coupled with a system aimed 
> towards frictionless editing such as saqimtiaz's streams 
> <https://saqimtiaz.github.io/streams/> plugin plus some good 
> autocompletion plugin.
> I cannot tell which architecture might be the best, but I'd be looking 
> forward to this.
> Are there working implementations yet?
> Regards,
> dam
>
>
> On Monday, May 13, 2019 at 8:30:20 PM UTC+2 Mat wrote:
>
>> PMario
>>
>> The idea to be able to create fields using wikitext is brilliant! As 
>> Diego requests <https://github.com/Jermolene/TiddlyWiki5/issues/3308>, TW 
>> needs a smoother way for *making* notes. (I've commented in teh past 
>> that TW is great for *managing* notes but not for *taking* notes. It is 
>> currently way too fidgety and attention demanding to use e.g in a lecture 
>> or during a meeting.)
>>
>> Regarding multiple lines, it should be noted that it is possible to use 
>>  to achieve line breaks, i.e transcluding this does give two lines as 
>> output.
>>
>> my-field: this hastwo lines
>>
>> If this is insufficient I would rather treat "we need multiple lines" as 
>> something to deal with when an eventual non-backwards compatible step is 
>> taken because TW should either feature "multi-line fields" via the regular 
>> field creation way -or- we should be able to create fields directly in 
>> wikitext but in a very direct and smooth way particularly the .tid 
>> syntax would make sense. Maybe multi-lines could be signified using empty 
>> colons (ahemm, that term) . Very efficient wikitext.
>>
>> my-field: this has
>> : two lines
>>
>>
>> <:-)
>>
>

-- 
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/7836f7e5-7a91-45fa-a63c-f794df534635n%40googlegroups.com.


[tw5] Re: tiddlywiki5 and flyio?

2022-02-28 Thread PMario
On Monday, February 28, 2022 at 10:06:56 PM UTC+1 PMario wrote:

Do you want to create "static" pages with TiddlyWiki and "just" serve them 
> with a simple "file server"?
>   - I think it would be possible to create a container with a read-only 
> filesystem, for maximum security.
> This would be an interesting experiment. Didn't think about that yet :)
>

It seems a static web server is built in: 
https://fly.io/docs/getting-started/static/ ... So no need for an 
experiment.
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8f15b761-6fe5-4f36-9c67-de0fb8bfdb90n%40googlegroups.com.


[tw5] Re: tiddlywiki5 and flyio?

2022-02-28 Thread PMario
On Monday, February 28, 2022 at 5:39:26 PM UTC+1 gne...@gmail.com wrote:

> Anyone figure out how to get tw5 working in fly.io with persistent 
> volumes?
>
> .. is a function-as-a-service provider and they've recently come out with 
> ability to add persistent storage to your function. Better, 3GB included in 
> the free plan.
>

fly.io says: 
>Run your full stack apps (and databases!) all over the world. No ops 
required. 

So they seem to serve "full stack apps" .. It seems to be an interesting 
service. The blog posts are interesting and full of "techspeak". They give 
a good overview about their implementation details. 

It seems to use docker images and "covers" them in a light weight virtual 
machine to start them fast. ... 

Seems like a natural for tw5. "Ghost" blog platform figure out how to do 
> this https://favadi.com/host-a-ghost-blog-on-fly-io-for-free/
>

Seems to be a fit for TW. .. BUT as so often, it depends on what you want 
to do? 

I can see at least 4 different ways to use it. 

Do you want to create "static" pages with TiddlyWiki and "just" serve them 
with a simple "file server"?
  - I think it would be possible to create a container with a read-only 
filesystem, for maximum security.
This would be an interesting experiment. Didn't think about that yet :)

Do you want to use the platform as a server and *save back*?
 - WebDav may be an option. Using single file wikis
 - TWs own server would be an option too. .. 
But I didn't test it with 256MB of ram, which may be a bit low for 
nodejs. 
256MB seems to be the "base" free tier server

So .. It depend :)
-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/88b3d2f3-9a07-4952-b528-c0423ffea165n%40googlegroups.com.


[tw5] Re: Some odd stuff for the fun of it

2022-02-27 Thread PMario
Hi,
What do you try to prove?
You seem to dynamically define STYLE tags in the template, when the tiddler 
is opened. Those styles are active. 
When the tiddlers are closed, the styles are gone. It seems to be intended 
behaviour. ... Or am I missing something?
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5f0a49ce-652b-4ac0-9e6f-88abb7c2f28bn%40googlegroups.com.


[tw5] Re: Dynamically modifying core tiddlers

2022-02-27 Thread PMario
Hi,
If you would be a bit more specific, *what* you want to do exactly, it may 
be possible to provide some pointers. ... May be your ideas are also 
suitable to improve the core UI in a generic way. .. If so .. It may be 
possible to implement some new stuff directly into the core. .
-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/71bc8ca0-29f5-412a-999d-e147bf6b3221n%40googlegroups.com.


Re: [tw5] Use TiddlyWiki on a dedicated Linux root server

2022-02-10 Thread PMario

On Wednesday, February 9, 2022 at 5:51:42 PM UTC+1 xca...@immateriel.fr 
wrote:

>Please folks, don't try that before *both* your HTTPS and htpasswd 
credentials are set up.

IMO https:// only makes it hard for others to watch your connection and 
make sense of it. 

It doesn't add anything to the security settings of the server itself. If 
the server keeps all outside connections open, the server itself is highly 
vulnerable. I'd recommend, that a firewall closes all "windows and doors" 
for incoming connections.  Except those, that you intend to use. 

If you start rclone with --addr 0.0.0.0 it will listen to every IP address 
that can reach it. I think it should only listen to an IP that it knows and 
trusts. 

just some thoughts.
-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/f661d315-9ab3-4d34-b04e-5fc09d3c7f1en%40googlegroups.com.


[tw5] Re: Use TiddlyWiki on a dedicated Linux root server

2022-02-09 Thread PMario
Hi,
IMO it depends on the orchestration environment that you use or want to use.
Everything is possible. .. BUT the main concern will be security. 
-m
On Wednesday, February 9, 2022 at 11:06:51 AM UTC+1 heusmich wrote:

> Hi @all,
>
> Is there a possibility to use TiddlyWiki on my dedicated Linux root server 
> (Ubuntu 20.04 LTS)?
> If possible I would love it to have access to the wiki from everywhere and 
> can also make it available for other users.
>
> It would also be good to have two different access possibilities.
> So for example when you open the link to the wiki you can only read the 
> entries of the wiki.
> And the other possibility would be to log in, then you can edit the 
> entries, create new entries and so on...
> And maybe it is possible not to make all entries of the wiki visible to 
> all users, so for example make some entries invisible unless you are logged 
> in.
>
> Can anybody tell me if this is possible and - if yes - how I can realize 
> this?
>
> Best regards
> heusmich
>

-- 
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/78b50fab-517b-49d8-9106-58a476f64279n%40googlegroups.com.


Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-08 Thread PMario
Hi,
I do like that option. 
-mario

On Wednesday, February 9, 2022 at 12:11:06 AM UTC+1 dyllon...@gmail.com 
wrote:

> It does work, though I think it is disruptive asking as soon as something 
> is done which triggers autosave. However, I have put in an option with 
> version 0.7.1 to disable the modal for those who don't like it.
>
> On Sunday, February 6, 2022 at 1:46:16 AM UTC-8 PMario wrote:
>
>> On Sunday, February 6, 2022 at 12:54:25 AM UTC+1 brian@gmail.com 
>> wrote:
>> ...
>>
>>> Now with the indexdb entry re-populated, the sequence looks like this:
>>>
>>>1. Reload the TW page
>>>2. Click the + button to create a new tiddler
>>>3. Click the checkmark to save the tiddler
>>>4. A dialog box asks me if I want to let the site edit the file. I 
>>>click the "edit file" button
>>>5. The file saves
>>>
>>> So it is working for me even without the settings modal. Do you see this 
>>> same behavior?
>>>
>>
>> I also think the modal isn't needed. The API requires user interaction. 
>> ... But I think the described behaviour is good. The permission is 
>> requested, when the first save happens. Since this save is a user 
>> interaction it should be good enough.
>>
>> -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/b9c172f4-1b18-42dc-a58e-ce570e98ef78n%40googlegroups.com.


[tw5] Re: LetWidget with filter attribute value that has spaces

2022-02-07 Thread PMario
On Monday, February 7, 2022 at 4:27:17 PM UTC+1 andres@gmail.com wrote:

> Thank you so much for your help, Mario!
>

You are welcome!
 

> This conversation did kick a cog into gear in my head and I realized that 
> the filtered transclusion was returning a list and that is distinct from a 
> string with spaces. so I added a +[join[ ]] to my expression and that got 
> me the result I wanted.
>

You are right. I could have thought about this myself ... ;)

Thanks for sharing your solution, so others may find it in the future.
-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/dce009f4-8486-446c-9549-f53af22c023cn%40googlegroups.com.


[tw5] Re: LetWidget with filter attribute value that has spaces

2022-02-07 Thread PMario
On Monday, February 7, 2022 at 2:28:54 PM UTC+1 andres@gmail.com wrote:

> Thank you. I did solve it already with a SetWidget. I was hoping for a 
> solution that would use the LetWidget as is.
>

If {{{xx}}} is used and there are several results it will always only apply 
the first result. That's by design. 

So the following code will all have the same result: *n=foo*

```
<$let n={{{ [[foo]][[bar]] }}}>
<>


<$vars n={{{ [[foo]][[bar]] }}}>
<>


<$set name=n value={{{ [[foo]][[bar]] }}}>
<>

```
 

> Essentially I am wondering if the LetWidget is limited to filter results 
> with only one returned title.
>

No. As written above it's how {{{..filter..}}} is resolved. It doesn't 
matter which widget you use. You have to use the `<$set name=n 
filter="..."` or `<$list filter="..."`, to get several results.

-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/5a55072b-7074-4105-ace5-30d46520733bn%40googlegroups.com.


[tw5] Re: LetWidget with filter attribute value that has spaces

2022-02-06 Thread PMario
That's a better example

```
<$set name=n filter=" [[foo]][[bar bas]]">

{{{ [enlist] }}}

<$text text=<>/>


```

On Monday, February 7, 2022 at 8:43:28 AM UTC+1 PMario wrote:

> Try this
>
> ```
> <$set name=n filter=" [[foo]][[bar]]">
>
> {{{ [enlist] }}}
>
> <>
>
> 
> ```
>
>

-- 
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/207d3187-06b6-4b26-a23b-37eb9156e051n%40googlegroups.com.


[tw5] Re: LetWidget with filter attribute value that has spaces

2022-02-06 Thread PMario
Try this

```
<$set name=n filter=" [[foo]][[bar]]">

{{{ [enlist] }}}

<>


```

-- 
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/0500b566-88bd-4448-a109-60380203123an%40googlegroups.com.


Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-06 Thread PMario
On Sunday, February 6, 2022 at 12:54:25 AM UTC+1 brian@gmail.com wrote:
...

> Now with the indexdb entry re-populated, the sequence looks like this:
>
>1. Reload the TW page
>2. Click the + button to create a new tiddler
>3. Click the checkmark to save the tiddler
>4. A dialog box asks me if I want to let the site edit the file. I 
>click the "edit file" button
>5. The file saves
>
> So it is working for me even without the settings modal. Do you see this 
> same behavior?
>

I also think the modal isn't needed. The API requires user interaction. ... 
But I think the described behaviour is good. The permission is requested, 
when the first save happens. Since this save is a user interaction it 
should be good enough.

-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/fc92f43d-31fa-4d4c-91c2-b01bccca81e3n%40googlegroups.com.


[tw5] Re: gg VS talkW

2022-01-30 Thread PMario
On Sunday, January 30, 2022 at 11:52:50 AM UTC+1 Mat wrote:

>  But it bothers me that there may be people here in GG who think "this 
> is it" - that the community is not very active and that it is not sure one 
> gets a quick reply. 


Hi Mat, 
You should have a look at other lists in GG. ... If you visit them and the 
posts are eg: 1-3 months apart you could say ... "this is it". .. Here 
there are still several posts a day and the responses are still quick. .. 
The amount of posts is nothing compared to "Talk", but I don't think the 
community and / or the project looks abandoned here.

On the other hand I think the header should be updated. .. We may remove 
the "experimental" flag of the link to talk.tiddlywiki.com at the group 
header. IMO the header should look more like this: 

---

Welcome to the TiddlyWiki 5 discussion group for end users.  

   - *Visit our new Discourse discussion:* talk.tiddlywiki.org 
   - *Feel free to ask questions - we welcome newcomers, and are eager to 
   help everyone get the most out of TiddlyWiki 5* 
   - Include your OS, Browser, Tiddlywiki version and other relevant 
   details when asking a question so that the community can help you better.
   - The community links aggregator at links.tiddlywiki.com is the easiest 
   way to keep track of resources around the web
   - TiddlyWiki is also on Reddit at https://www.reddit.com/r/TiddlyWiki5/ 
   - TiddlyWiki Core development issues and ideas are covered over at GitHub 
   TiddlyWiki5 Discussion 
   
   - An enhanced group search facility is available via mail-archive.com 
   
   - Follow @TiddlyWiki  on Twitter and 
   view recent #tiddlywiki 
    
   posts.
   - TiddlyWiki Classic (v2.x.x) has its own TiddlyWikiClassic 
    group
   

just my thoughts.
-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/2b47686d-9762-4b78-9d60-1e19e77ea68bn%40googlegroups.com.


[tw5] Re: How to link to file using relative path?

2022-01-25 Thread PMario
Did you try: `[[old version|./archives/filename.jpg]]` ?
-m

On Tuesday, January 25, 2022 at 6:44:23 PM UTC+1 reinhard...@gmail.com 
wrote:

> I'm picking up this very old discussion. What is the state of the art? It 
> seems that the proposed solution by Eric Shulman
>
> ```
> [[filename.pdf]] is a link to a tiddler, but 
> [[filename.pdf|filename.pdf]] is a link to an external file 
>
> And, because the link doesn't start with an /absolute/path/to/ 
> folder/..., it is automatically handled by the browser as *relative to 
> the current directory* (i.e, the one containing the TW document). 
> Thus, you can also write something like: 
> [[old version|archives/filename.jpg]] 
> to link to a file in a *relative sub-directory*. 
> ```
> doesn't work with the current version of TiddlyWiki. 
>
> I have exactly the constellation described in this example (see attached 
> screenshot). The two links using a relative path respectively, point to a 
> non-existing internal tiddler. The last link with the fullpath point 
> correctly to the external PDF file.
> How can I use relative paths to external files nowadays?
>
>
> -Reinhard
>
> On Sunday, January 27, 2013 at 8:38:19 PM UTC+1 beert...@gmail.com wrote:
>
>> Hi Florencio,
>>
>> Just to make sure, I believe what Eric was trying to convey was that...
>>
>> [[my file|filename.avi]
>>
>> ...will do the trick for linking to any filename.avi that resides in the 
>> same directory as your TW via some link that displayed as [my link].
>>
>> Cheers, Tobias.
>>
>>
>> Am Sonntag, 27. Januar 2013 18:54:37 UTC+1 schrieb giraf...@gmail.com:
>>>
>>> Thanks Eric for your answer.
>>>
>>> I solved in the following way:  
>>>
>>> As I used FF, I upload an extension for Firefox:  LocalLink 0.5, ( 
>>> http://locallink.mozdev.org/ )
>>> and it worked fine.  Also the simple way of placing the filename works 
>>> with IE, but I did not try with other explorers.
>>>
>>> Florencio de la Torre
>>>
>>> El viernes, 25 de enero de 2013 18:24:22 UTC+1, Eric Shulman escribió:

 > the path and this command does not work: 
 > [[my file|file://filename.avi]] 
 > but with absolute path is works fine [[my file|file:///c:\my 
 > documents\filedir\filename.avi]] 

 As I previously explained: 
 > > And, because the link doesn't start with an /absolute/path/to/ 
 > > folder/..., it is automatically handled by the browser as *relative 
 to 
 > > the current directory* (i.e, the one containing the TW document). 
 > > Thus, you can also write something like: 
 > >[[old version|archives/filename.jpg]] 
 > > to link to a file in a *relative sub-directory*. 
 > 
 > > Also note that the link doesn't specify either http:// or file:// 
 > > protocol.  In fact, in most browsers, relative references only work 
 > > when you omit the protocol from the URL.  In this case, it's an 
 > > advantage: it means that the same external PrettyLink can be 
 applied 
 > > locally (as a filesystem reference), or remotely (as a server-side 
 > > URL), without needing any special TW code... the browser's normal 
 > > handling does it automatically. 


 > Is it a way to set a variable with the path where the files are 
 located? 
 > and to use this variable when naming the file to be openned? 

 http://www.TiddlyTools.com/#ImagePathPlugin 

 works for [img[...]], but not for general external links. 

 enjoy, 
 -e 
 Eric Shulman 
 TiddlyTools / ELS Design Studios 

 HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... 
http://www.TiddlyTools.com/#Donations 

 Professional TiddlyWiki Consulting Services... 
 Analysis, Design, and Custom Solutions: 
http://www.TiddlyTools.com/#Contact 

>>>

-- 
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/c45b685a-9376-45fa-a342-26100d87c939n%40googlegroups.com.


[tw5] Re: LocalStorage and TiddlyWiki: toe-dip into exploring possibilities

2022-01-25 Thread PMario
On Monday, January 24, 2022 at 10:39:01 PM UTC+1 cj.v...@gmail.com wrote:

> Just my first toe-dip into figuring out how browser "Local Storage" works.
>
> Not sure I'd trust this for longterm/safe storage of anything, but I am 
> intrigued by the possibilities.  TiddlyWiki "proper".
>

It's _not_ intended to be a "longterm/safe" storage, because it's very easy 
to accidentally be deleted by the user. It's also deleted in unpredictable 
ways by the browser, depending on the available disk space. ... 

While disks are huge in our days .. It still is completely unpredictable 
and localStorage behaviour may change according to the users privacy 
settings and browser "private browsing" modes. 

-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/4a4bb80e-6104-4968-a1fe-1edd511ab641n%40googlegroups.com.


[tw5] Re: dynamically building a string by concatenation in a macro

2022-01-23 Thread PMario
On Saturday, January 22, 2022 at 7:07:59 PM UTC+1 CarloGgi wrote:
...

> Now, before I ask why ON EARTH the above code doesn't work, let me say 
> that I expect for it to be because of how macros are parsed and when macro 
> substitution is made, in which case I will do a little comment on it later.
>

There is some docs about string concatenation. 
https://tiddlywiki.com/#Concatenating%20text%20and%20variables%20using%20macro%20substitution
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9cb38ee4-ff8a-4c64-92fa-81b75249bcd0n%40googlegroups.com.


[tw5] Re: Display georeferenced maps in Leaflet?

2022-01-20 Thread PMario
Hi,
This may be of interest: 
https://tiddlywiki.com/#Leaflet%20maps%20plugin%20by%20Sylvain%20Comte
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a883cd14-9320-4d6f-a47b-41ac80c5f26dn%40googlegroups.com.


[tw5] Re: Create tiddler from Select widget

2022-01-20 Thread PMario
try this

```
\define test-action()
<$action-createtiddler $basetitle="test" text={{asdf}}/>
\end

Status  <$select tiddler=asdf actions=<>>
Pending/Blocked
With Vendor
In House

```

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3575d9eb-b2de-4305-8237-647cd1e02ca1n%40googlegroups.com.


[tw5] Re: Transclusion Terminology

2022-01-16 Thread PMario
That's an interesting discussion. I think it's new. I cant remember, that 
we did discuss it yet. ... 

At tiddlywiki.com we have the following tiddlers that explain how we use 
the transclusion mechanism. 
See: Doc links 


   - Transclusion
   - Transclusion in WikiText
   - Transclusion Basic Usage
   - Transclusion with Templates
   - Transclusion and Substitution
   - TextReference
   - TemplateTiddlers
   - TranscludeWidget

We talk about the proposed "transcludee" as a basic "transclusion".  The 
term "transcluder" isn't used because it doesn't really matter. 
When tiddlers are displayed, transclusions are transparent. Users only see 
them if they open the tiddler in edit mode. So a "transcluder" is just a 
*tiddler*. ... 

In a slightly different context we talk about "transcludees" as a "*text 
references*". So the term we use is "text reference", because it's that 
what it does. 

In another context we call the "transcludee" a "*template*" because it does 
a slightly different thing as a standard transclusion. Templates can be 
compared to parametrized transclusion 
 where the 
resulting text uses variables to create a "new" text output. 

So in reality we have terms for different types of transcludees, which imo 
makes that term obsolete. I think it's not precise enough. 

Tiddler, transclusion, text-reference and template are the terms we have 
already established, to precisely describe how transclusions are used with 
TiddlyWiki. 

just some thoughts
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/7a4295b9-a5ae-4a7d-a7a5-b73bb635bd98n%40googlegroups.com.


Re: [tw5] Re: How Many Tiddlers Should I Use?

2022-01-15 Thread PMario
On Sunday, January 16, 2022 at 7:15:09 AM UTC+1 qazxwecvr wrote:

> Probably not too many; I'll probably at the very most record a few dozen 
> theorems whose proofs involve at the very most a dozen or two steps. From 
> Mat's answer it seems like it won't be an issue.
>
 
You are right. With those numbers it looks OK. 

-

About the structure...

As you found out already, in TW there are several possibilities to "link" 
information together.

You mentioned the TOC table of content macro  It works with tags. 
tiddlywiki.com uses it for the contents tab.

There are "tiddler links" [1] eg: [[tiddler title]] which directly link to 
an other tiddler title in "prose" text.
Those links can be automatically listed in the linked tiddler as so called 
"backlinks". This info is shown in the tiddler toolbar info areas as a 
"backlink". There's also the possibility to link them at the end of the 
tiddler similar to footnotes.

There are "prettylinks" [1] eg: [[link text|tiddler title]] ... Those links 
also create automatic backlinks created by the TW core.

You can use fields in 1 tiddler that contain a tiddler title which links to 
an other tiddler. ... Those relations can be very well followed using the 
relink-plugin [4]. Which also helps if tiddlers are renamed, so "links" and 
"prettylinks" are also renamed in the text properly.

I did create a TOCp macro as a plugin [2], which uses fields instead of 
tags to create a TOC like structure. By default is uses a field *name: 
parent* to create the toc structure. The field name can be any name and 
there can be several independent TOCp's if needed. 

You probably already found out about the KaTeX plugin [3], which can render 
formulas. 

That's all from me about the structure at the moment. 

[1] https://tiddlywiki.com/#Linking%20in%20WikiText
[2] https://wikilabs.github.io/editions/tocP/
[3] https://tiddlywiki.com/#KaTeX%20Plugin
[4] https://flibbles.github.io/tw5-relink/

-- 
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/88da7723-30e4-449e-afa2-d475241d2e16n%40googlegroups.com.


[tw5] Re: How Many Tiddlers Should I Use?

2022-01-15 Thread PMario
Hi and Welcome,

I think all 3 scenarios you describe can be created. ...

IMO what Mat wanted to find out was: How many tiddlers you want to create. 
So How many theorems are you talking about and how many steps does 1 proof 
have. 
 
Are you talking about 100 tiddlers or 1000 or several 10th of 1000 ?

-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/b1677f71-efec-4fd6-9ebc-f41a07cdba5dn%40googlegroups.com.


[tw5] Re: Possible bug in list-links macro

2022-01-14 Thread PMario
On Friday, January 14, 2022 at 4:35:41 PM UTC+1 Eric Shulman wrote:
...

> However, neither suggested core change would actually address Reinhard's 
> stated use-case, which is:
> "...*to always display the title, rather than the caption."*
>

Uuups, I didn't read the whole thing ... my bad. 

But still the workaround is simple. my-list-fix can be

I did name the macro: `my-list-links` so it doesn't overwrite the core 

```
\define my-list-links(filter,type:"ul",subtype:"li",class:"",emptyMessage)
\whitespace trim
<$type$ class="$class$">
  <$list filter="$filter$" emptyMessage=<<__emptyMessage__>>>
<$subtype$>
<$link to={{!!title}}>
<$view field="title"/>


  

\end
```

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a1b0520-d8d9-4fcd-980e-571f6f5e6caen%40googlegroups.com.


[tw5] Re: Possible bug in list-links macro

2022-01-14 Thread PMario
On Friday, January 14, 2022 at 4:10:06 PM UTC+1 reinhard...@gmail.com wrote:

> @Eric Schulman @PMario
>
> Thanks for the fast response and the solution.
> I'm quite a newbie to TiddlyWiki  and still try to grok the finer points.
>

As a workaround you can redefine the core macro without modifying the core 
tiddler, if you 

 - Create a new tiddler eg: `my-list-fix ` 
 - tag it with: ` $:/tags/Macro`
 - put my code from above into the text 
 - save. 

Now your example should work. .. Since user macros are defined after core 
macros it should work that way. 

I did test it with your demo wiki.

The proposal discussion at github is here: 
https://github.com/Jermolene/TiddlyWiki5/issues/6397

... You see: It seems to be an easy fix, but if done right it will trigger 
a bit more work.

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/fd4b1aa7-a2e2-4dee-bfc3-2dab9576bbefn%40googlegroups.com.


[tw5] Re: Possible bug in list-links macro

2022-01-14 Thread PMario
On Friday, January 14, 2022 at 3:50:23 PM UTC+1 PMario wrote:
...

> So the way to go may be to make a proposal instead of a PR first. 
>

I think the most elegant way to go is: 
https://github.com/Jermolene/TiddlyWiki5/pull/1191#issuecomment-65532894

We would need to have a closer look if there are unwanted side-effects. 

-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/e1b7ab17-87c2-4c7f-bed1-a4fabc8d70ecn%40googlegroups.com.


[tw5] Re: Possible bug in list-links macro

2022-01-14 Thread PMario
Just for completeness. I was searching for other elements in the core that 
may have the same problem. 

I found an old PR-discussion, which "scratches" the same topic: 
https://github.com/Jermolene/TiddlyWiki5/pull/1191
and probably has the same problems. .. 

So there are definitely some other elements which could / should be 
improved. .. The downside is, that it will be much more work and it may 
eventually touch more core elements as I wanted to change :/

So the way to go may be to make a proposal instead of a PR first. 

-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/cdb79034-5746-4438-b48c-4426353881e2n%40googlegroups.com.


[tw5] Re: Possible bug in list-links macro

2022-01-14 Thread PMario
On Friday, January 14, 2022 at 1:24:16 PM UTC+1 Eric Shulman wrote:
...

> However, `<>` is a merely a "convenience" macro for outputting 
> a bullet list of links.
> If you want a more specific behavior, you should use the `<$list>` widget 
> directly, like this:
>

As  Eric pointed out `<>` is a convenience macro ... and it is 
really "old" code, where the transclusion "title-fallback" code was the 
only possibility we had. 

With version 5.2.1 we do have a lot more possibilities to create "filtered 
logic" ... IMO the solution is relatively simple. 

We would need to redefine the list-links macro a little bit. See the new 
`<$set name="field-name" ...` instructions. 

```
\define list-links(filter,type:"ul",subtype:"li",class:"",emptyMessage)
\whitespace trim
<$type$ class="$class$">
  <$list filter="$filter$" emptyMessage=<<__emptyMessage__>>>
<$set name="field-name" 
filter="[all[current]get[caption]!is[blank]then[caption]else[title]]">
<$subtype$>
<$link to={{!!title}}>
<$view field=<>/>



  

\end
```

I think I'll create a PR with a suggestion to change this code and the docs 
in the core. ... 

@Eric could you have a second look at the new code. 

-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/a1bad59b-6861-4ff3-b0a9-9c6089edfc6bn%40googlegroups.com.


[tw5] Re: projectify.wiki offline?!

2022-01-13 Thread PMario
You can do this: 

 - Download empty.html from the Projectify docs directory.
 - Download empty.html from tiddlywiki.com
 - rename empty.html form tiddlywiki.com to test.html
 - Open test.html
 - Drag and drop import empty.html into test.html
 - *Unselect* all the tiddlers that already exist. 
 - Then import

I did test this and it seems to work. ... 

--- BACKUP your production wiki now!! ---

If it works with test.html you can try it with your wiki ... 

hope that helps
-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/5c6c02e0-bbf0-4a92-a453-51866bcf749bn%40googlegroups.com.


[tw5] Re: projectify.wiki offline?!

2022-01-13 Thread PMario
IMO 0.14.0 is the latest version

https://github.com/NicolasPetton/Projectify/tags

On Thursday, January 13, 2022 at 5:09:40 PM UTC+1 derb...@gmail.com wrote:

> Now I discovered this: https://projectify-demo.tiddlyhost.com/ where a 
> plugin install is possible. But is that the latest version?
>
> Basti S. schrieb am Donnerstag, 13. Januar 2022 um 16:22:02 UTC+1:
>
>> Thanks Mario.
>> That mean further support cannot be expected or that the author just want 
>> to freeze the current state and continue later?
>>
>> Do I need to start a complete new Wiki or is it possible to install it in 
>> an existing Wiki as plugin? 
>>
>> PMario schrieb am Donnerstag, 13. Januar 2022 um 15:58:24 UTC+1:
>>
>>> Hi,
>>> https://github.com/NicolasPetton/Projectify
>>>
>>> Projectify has been archived. See: 
>>> https://github.com/NicolasPetton/Projectify
>>>
>>> At the moment the project is abandoned ... 
>>>
>>> You can directly download the files from: 
>>> https://github.com/NicolasPetton/Projectify/tree/master/docs
>>> You *only need* demo.html or empty.html ... the contain the wiki
>>>
>>> index.html + the rest of the code was the landing page. 
>>> hope that helps
>>> -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/3aacb329-3ffa-4ce1-b5e1-4c6f62a26a9an%40googlegroups.com.


[tw5] Re: projectify.wiki offline?!

2022-01-13 Thread PMario
Hi,
https://github.com/NicolasPetton/Projectify

Projectify has been archived. See: 
https://github.com/NicolasPetton/Projectify

At the moment the project is abandoned ... 

You can directly download the files from: 
https://github.com/NicolasPetton/Projectify/tree/master/docs
You *only need* demo.html or empty.html ... the contain the wiki

index.html + the rest of the code was the landing page. 
hope that helps
-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/b63bd9b6-b15b-4ea0-80a4-cf0485537acfn%40googlegroups.com.


[tw5] Re: Freelink and non-english tiddler title

2021-12-26 Thread PMario
@Mark S. 
The advantage of freelinks is in a context, where you can't modify the 
content but you still want to have links. eg: Submitted homework tiddlers 
from students. Adding links to those tiddlers would mean to modify the 
original work in an unreasonable way. It wouldn't be the students work 
anymore. 
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/032a3523-a589-4d4a-9670-6210319e6e03n%40googlegroups.com.


[tw5] Re: [Question|Help] n00b: Example Code: How-To: Frames

2021-12-26 Thread PMario
Hi,
You may want to have a look at: 
https://tiddlywiki.com/#%22Grok%20TiddlyWiki%22%20by%20Soren%20Bjornstad
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3c7a2964-06a2-46d3-846e-1a72e6f42fbbn%40googlegroups.com.


[tw5] Re: Freelink and non-english tiddler title

2021-12-25 Thread PMario
Hi,
Jeremy has changed the core regexp construction a little bit, but I didn't 
find a performant way to use an unicode regexp that JavaScript does 
understand. ... May be I missed something. ...
So no improvements atm :/
-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/f6092e84-c684-43c5-89ba-12d71b6dc5b8n%40googlegroups.com.


[tw5] Re: What creates tiddlers from links

2021-12-20 Thread PMario
On Monday, December 20, 2021 at 8:33:13 PM UTC+1 springer wrote:
 

> I'm perplexed a bit, since I'm well aware you're a wizard relative to my 
> bumbling-tinkering ways. But it seems that when you say "this missing 
> tiddler hint is hardcoded in the core", you imply it's tricky and dangerous 
> to tinker with... 
>

That may be your interpretation, but I didn't write it's dangerous. 
 

> Isn't the Missing Tiddler hint easily overridden by erasing or replacing 
> the contents of the following shadow tiddler?
>
> $:/language/MissingTiddler/Hint
>

That's the text in the missing tiddler body. But the edit-toolbar button of 
a missing tiddler also should work in a consistent way. That's not easy to 
achieve with the current mechanism. There should be an easy and 
standardized way for plugin authors to allow users to modify the behaviour, 
without modifying the plugin or the core tiddlers. This should make it 
possible for several different plugins to work together. At the moment the 
last plugin that "modifies" the core tiddler wins and overwrites the 
behaviour of every other plugin that may want to use the same functionality.

-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/a79dbfcb-e91c-4f5b-a3e9-c1d8f03a81a9n%40googlegroups.com.


[tw5] Re: What creates tiddlers from links

2021-12-20 Thread PMario
On Monday, December 20, 2021 at 4:11:34 PM UTC+1 sheri...@gmail.com wrote:

So my question is: what core tiddler creates these tiddlers from links? 
> Then I can go and modify it to my hearts content.
>

Hi Sher,

The default ViewTemplate shows a missing tiddler hint, that allows us to 
create a "standard tiddler". ... This missing tiddler hint is hardcoded in 
the core atm. ... So there is no easy fix. 



At the moment I'm working on a "dynamic" missing tiddler body, for the TW 
core. It uses the new cascade filter system, that will allow us to be much 
more flexible in the future with exactly your usecse. 

I'm implementing the new mechanism for the markdown plugin atm. It looks 
like this: (NOT final!)

[image: dynamic-edit-button-01.gif]

There is a new body with a new "edit MD" button in the body text and the 
toolbar. 
If one of those buttons will be clicked a new text/markdow tiddler will be 
created. 

As you can see, the whole new body is useful *but* a bit too "aggressive" 
... The new tiddler doesn't look empty anymore :/

So I'm looking for  better mechanism, that will allow us more flexibility 
and still have an "empty feeling" for non existing tiddlers. 

There should be a possibility to create dynamic toolbar buttons, that 
should allow us to use "user defined templates" instead of the default 
tiddler template ... 

-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/e463c1c4-cd54-421f-a19a-f08fc9b1efdfn%40googlegroups.com.


[tw5] Re: Javascript non-macros

2021-12-16 Thread PMario
On Thursday, December 16, 2021 at 4:24:14 PM UTC+1 davou...@gmail.com wrote:

> The dev documentation 
>  states 
> "Macros are just used to return a chunk of wikitext for further processing. 
> They should not make modifications to tiddlers in the wiki store."
>

The main reason, why macros shouldn't have side effects is, that they don't 
have a .refresh() function of their own. They are refreshed by "parent" 
widgets. 

So if you want to implement your own functionality, that survives a page 
refresh you need to create widgets. 
 

> Is there a hook point where I can have my own js code that can modify 
> tiddlers?
>

Widgets.
 

> Basically I want to be able to set field values from js. As I'd much 
> rather use js than the conglomerate that is wikitext, widgets, filters, and 
> macros.
>

It depends on what you really want to do. If you just want to change some 
fields you are probably a 100 times faster to get stuff done if you use the 
existing wikitext functionality. 

If you just want to see how the TW internals work you could have a closer 
look how widgets work. 

In TW everything is driven by the "refresh" mechanism, which is 
automatically triggered as soon as you change a tiddler content in the 
store. 

Changes to the tiddler store are usually driven by user interaction with 
"buttons" and "action widgets". .. So user actions change the tiddler 
content, which in turn automatically updates the UI. ... 

The internal tiddler store is immutable. So changing tiddlers is only 
possible writing a completely new tiddler. Overwriting a tiddler is done in 
the following way. -- read tiddler content -- modify the content -- write 
tiddler with the same or a new title. Once the store is updated a "change" 
event is fired by the core. All widgets that depend on the tiddler content 
that has been changed, trigger their .refresh() function, which may write 
new HTML output to the DOM. 

... So it really depends, what you want to do. .. If you could be more 
specific about your usecase, I could probably point you in the right 
direction in the core code. 

-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/fde88708-ca30-43bc-b99d-28c5280ce7e2n%40googlegroups.com.


[tw5] Re: If your CSS isn't working ...

2021-12-14 Thread PMario
Hi,

Have a closer look at: https://tiddlywiki.com/#Debugging%20Stylesheets
It may have helped you. ... but it won't give any hair back ;)

-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/c982ac98-d671-4261-a79f-68cee503f0b9n%40googlegroups.com.


[tw5] Re: On using a hierarchical notation for tiddler titles to support better retrieval and naming

2021-12-01 Thread PMario
Hi,
We call this type of tiddler titles "namespace" and we use it for core 
tiddlers. 
The first TW namespace uses $:/ prefix for all system tiddlers. eg: 
$:/temp/, $:/state/ and so on. 

There is a macro named: tree-macro used like: `<>` ... that should work for you. 
See the docs about the tree-macro 


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/bc9c8ff9-3f9f-416d-b91d-59338f66323bn%40googlegroups.com.


[tw5] Re: appending to a 'list variable' through cycles

2021-11-28 Thread PMario
On Sunday, November 28, 2021 at 11:46:05 AM UTC+1 CarloGgi wrote:

> Hi Mario, her I am, sorry for the late reply but I've been very much busy 
> lately...
> Your code works well, and I will thoroughly study it to improve my 
> knowledge of Tiddlywiki, but it doesn't do what I'm looking for.
>

Hi, 
As I wrote, TW search doesn't provide an easy way to search for "any" 
search term. ... That's new ... I think the desire is valid and we should 
support it out of the box. ... 

I try to implement a new "search mode: any" for the search operator 
, so the outer list-widget in my 
example should be able to return the right list of tiddlers, which will 
make your logic much easier.  

It will need some tests and docs ... I'll create a PR once I have something 
that works. ... We'll see. 

-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/ea862cec-8f0b-42f0-b53c-b5feb71931bcn%40googlegroups.com.


[tw5] Re: No CSS while hosting Tiddlywiki on Node.js on Qnap NAS

2021-11-27 Thread PMario

On Friday, November 26, 2021 at 11:54:36 PM UTC+1 dr.vi...@gmail.com wrote:

Steps I made inside Container: 
> 1. npm install -g tiddlywiki
> 2. tiddlywiki kompendium --init server
> 3. tiddlywiki kompendium --listen
>

I think the following command is wrong. Why do you use --listen above and 
the *deprecated* --server below?? 

4. forever start --spinSleepTime 1 
> ./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js ./ --server 5678 
> $:/core/save/lazy-all "" "" "" "" 0.0.0.0 ""
>

imo it should be 

forever start --spinSleepTime 1 
./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js *kompendium* --server 
5678 $:/core/save/lazy-all "" "" "" "" 0.0.0.0 ""

BUT connecting a server without a password to the internet is a big 
mistake. 

just a thought
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b5f29a4-dc59-4da5-b808-20418a9458dfn%40googlegroups.com.


  1   2   3   4   5   6   7   8   9   10   >