[tw5] Re: How to write JS template for Transclusion?

2019-05-07 Thread LinOnetwo
Oh, this actually makes an infinite loop, and my page blocks

在 2019年5月7日星期二 UTC+8下午12:39:22,Mark S.写道:
>
> You would need to wrap it in a tiddler, and then use that tiddler for 
> transclusion.
>
> So maybe (untested)
>
> Tiddler: MyTemplate
> Text: <$macrocall $name=listtosentence text={{!!text}}/>
>
> Then call the transclusion like:
>
> {{SomeListTiddler||MyTemplate}}
>
> Notice that it uses {{!!text}} to pick up the text of the tiddler to which 
> the template is applied.
>
> Good luck!
>
> On Monday, May 6, 2019 at 3:31:30 AM UTC-7, LinOnetwo wrote:
>>
>> I can't write wikitext or this forum will throw error on console...So:
>>
>>
>>
>> 在 2019年5月6日星期一 UTC+8下午6:29:37,LinOnetwo写道:
>>>
>>> (function() {
>>>   exports.name = 'listtosentence';
>>>
>>>   exports.params = [{ name: 'text', defalue: '' }];
>>>
>>>   exports.run = function(text) {
>>> return text
>>>   .split(/\s?\*\s/)
>>>   .filter(it => it)
>>>   .join('、');
>>>   };
>>> })();
>>>
>>> I've writen this macro
>>>
>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e3886908-854c-4c69-a7d8-c02d2185419b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: #TiddlyDesktop -- Basic notes

2019-05-07 Thread @TiddlyTweeter
Repeat for email ...

On Tuesday, 7 May 2019 12:34:13 UTC+2, @TiddlyTweeter wrote:
>
>
>
>
>
>
>
>
>
>
>
> *TiddlyDesktop is a marvellous way to run TiddlyWiki on desktop 
> computers.--What is TiddlyDesktop?Its a superb 
> menuing system for Desktop computers for one or more TiddlyWiki. Either 
> single file or via node style .tid files in folders. It seamlessly handles 
> saving and backup.The latest version (February 2018) of the executable 
> combines Chrome with TiddlyWiki.--Advantages - 
> Easy run.- Auto save & backup.- Well organised.- Easier than a browser as 
> you can just select the wiki to work on and close and open easily from the 
> menu.- Looks and behaves like a conventional 
> application.--Disadvantages - Tends to lag on 
> update. Wiki that need functions of the latest TW may not work properly.- 
> Lacks some features of full-browsers.- Backup system can make too many 
> backups.- If you running more than one profile it can be hard to identify 
> which is which as the icons for each profile on the taskbar are all the 
> same.--Get TiddlyDesktop v0.0.13For Linux, Mac 
> & Windows 
> , Feb 18th 
> 2018.Future posts will focus on TD use in Windows.*
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e6c84ad1-3b07-4468-ad52-530b978bac7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] The i18n macro, for those who wants a multilingual wiki

2019-05-07 Thread Sylvain Comte
HelloThere,

sorry for the flood, but I have been working on various things and did not
publish here during the process. But I think it's better to have one thread
for each item...

First, let me introduce the i18n macro that will enable multilingual
versions of your tiddlers (You will have to install corresponding languages
plugin to make it work properly)

   - create the tiddler
   - use <>
   - edit original and translated versions of your text

That's it, switching wiki language will also switch for your tiddlers...

   - <> macro
   



cheers and stay tuned,

*Sylvain*
sylvain.co...@gmail.com
http://sylvain.comte.online.fr

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAOWAUqGqCnBh63Yw6hWDYnZBgLyTKFebNhw71DRT4pOB_h7%3DqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] You like icons? Try the brand new feather icons plugin

2019-05-07 Thread Sylvain Comte
Hello,

If you like icons but want to change from the very classic Font Awesome,
you may try the feather icons plugin. Lightweight and pretty elegant.

   - Feather icons plugin
   


enjoy,

*Sylvain*
@sycom

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAOWAUqGXZPoG0u9rOQy52NWenWRAY6Vqv%3DmxiMc7nM0fPzJT_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] tracking stats for your wiki - now RGPD compliant and translatable

2019-05-07 Thread Sylvain Comte
Hello,

end of the flood (for now). I forked the tiddlywiki/googleanalytics plugin
and made it multilingual and (sort of) RGPD compliant. Track your visitors
with a touch of european class ;-)

   - G-Analytics plugin
   


best wishes,

*Sylvain*
@sycom

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAOWAUqFj%3DuQvKhmtMhy%3DE2cnRyyt_ddxt1cAncPca0ypeP1d9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: tracking stats for your wiki - now RGPD compliant and translatable

2019-05-07 Thread @TiddlyTweeter
Excellent. Really helps on practical issues! Tx!

Will the British be included after Brexit? :-)

On Tuesday, 7 May 2019 14:40:09 UTC+2, SylvainComte wrote:
>
> Hello,
>
> end of the flood (for now). I forked the tiddlywiki/googleanalytics plugin 
> and made it multilingual and (sort of) RGPD compliant. Track your visitors 
> with a touch of european class ;-)
>
>- G-Analytics plugin 
>
> 
>
> best wishes,
>
> *Sylvain*
> @sycom
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4679cfc5-e4ae-4fbc-8d9b-a7908e14c3aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: tracking stats for your wiki - now RGPD compliant and translatable

2019-05-07 Thread SylvainComte
British people will always be european in my heart. Some of them especially 
:-)

by the way, if your wiki is visible in EC, it should be GDPR compliant, 
brexit or not...


Le mardi 7 mai 2019 14:59:47 UTC+2, @TiddlyTweeter a écrit :
>
> Excellent. Really helps on practical issues! Tx!
>
> Will the British be included after Brexit? :-)
>
> On Tuesday, 7 May 2019 14:40:09 UTC+2, SylvainComte wrote:
>>
>> Hello,
>>
>> end of the flood (for now). I forked the tiddlywiki/googleanalytics 
>> plugin and made it multilingual and (sort of) RGPD compliant. Track your 
>> visitors with a touch of european class ;-)
>>
>>- G-Analytics plugin 
>>
>> 
>>
>> best wishes,
>>
>> *Sylvain*
>> @sycom
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/640bd86a-44d4-425b-8b69-61e413c909da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: #TiddlyDesktop -- Basic notes

2019-05-07 Thread 'Mark S.' via TiddlyWiki
Disadvantages --

If you close a folder-based TW, you have to close out and restart the 
entire TW desktop, which closes the other TW notebooks, in order to run it 
again. On a busy windows desktop, this is a problem -- you can't just open 
notebooks as you need them.

If you run portable mode, it will write "TiddlyDesktop" into your roaming 
data even if you specify a user data directory somewhere else.




On Tuesday, May 7, 2019 at 3:34:13 AM UTC-7, @TiddlyTweeter wrote:
>
>
>
>
>
>
>
>
>
>
>
> *TiddlyDesktop is a marvellous way to run TiddlyWiki on desktop 
> computers.--What is TiddlyDesktop?Its a superb 
> menuing system for Desktop computers for one or more TiddlyWiki. Either 
> single file or via node style .tid files in folders. It seamlessly handles 
> saving and backup.The latest version (February 2018) of the executable 
> combines Chrome with TiddlyWiki.--Advantages - 
> Easy run.- Auto save & backup.- Well organised.- Easier than a browser as 
> you can just select the wiki to work on and close and open easily from the 
> menu.- Looks and behaves like a conventional 
> application.--Disadvantages - Tends to lag on 
> update. Wiki that need functions of the latest TW may not work properly.- 
> Lacks some features of full-browsers.- Backup system can make too many 
> backups.- If you running more than one profile it can be hard to identify 
> which is which as the icons for each profile on the taskbar are all the 
> same.--Get TiddlyDesktop v0.0.13For Linux, Mac 
> & Windows 
> , Feb 18th 
> 2018.Future posts will focus on TD use in Windows.*
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9c077132-e9c5-44e9-afd7-6705da00f6ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: #TiddlyDesktop -- Basic notes

2019-05-07 Thread @TiddlyTweeter
Right. TiddlyDesktop is NOT portable. Whilst it can activate via relative 
addressing its hosted wiki are all on absolute addresses.

On Tuesday, 7 May 2019 16:24:13 UTC+2, Mark S. wrote:
>
> Disadvantages --
>
> If you close a folder-based TW, you have to close out and restart the 
> entire TW desktop, which closes the other TW notebooks, in order to run it 
> again. On a busy windows desktop, this is a problem -- you can't just open 
> notebooks as you need them.
>
> If you run portable mode, it will write "TiddlyDesktop" into your roaming 
> data even if you specify a user data directory somewhere else.
>
>
>
>
> On Tuesday, May 7, 2019 at 3:34:13 AM UTC-7, @TiddlyTweeter wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *TiddlyDesktop is a marvellous way to run TiddlyWiki on desktop 
>> computers.--What is TiddlyDesktop?Its a superb 
>> menuing system for Desktop computers for one or more TiddlyWiki. Either 
>> single file or via node style .tid files in folders. It seamlessly handles 
>> saving and backup.The latest version (February 2018) of the executable 
>> combines Chrome with TiddlyWiki.--Advantages - 
>> Easy run.- Auto save & backup.- Well organised.- Easier than a browser as 
>> you can just select the wiki to work on and close and open easily from the 
>> menu.- Looks and behaves like a conventional 
>> application.--Disadvantages - Tends to lag on 
>> update. Wiki that need functions of the latest TW may not work properly.- 
>> Lacks some features of full-browsers.- Backup system can make too many 
>> backups.- If you running more than one profile it can be hard to identify 
>> which is which as the icons for each profile on the taskbar are all the 
>> same.--Get TiddlyDesktop v0.0.13For Linux, Mac 
>> & Windows 
>> , Feb 18th 
>> 2018.Future posts will focus on TD use in Windows.*
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/476c6c1f-ef8b-4447-bde6-36bfdb7148f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [OTT] Yiddish Tango

2019-05-07 Thread @TiddlyTweeter
https://www.youtube.com/watch?v=5GD67mJ4inI

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bb41c75f-8b80-49c4-aaab-97f2e9088e5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: tracking stats for your wiki - now RGPD compliant and translatable

2019-05-07 Thread 'Mark S.' via TiddlyWiki
Added to the TIddlyWiki Toolmap 
 next to existing entry for 
the official plugin.

On Tuesday, May 7, 2019 at 5:40:09 AM UTC-7, SylvainComte wrote:
>
>
> end of the flood (for now). I forked the tiddlywiki/googleanalytics plugin 
> and made it multilingual and (sort of) RGPD compliant. Track your visitors 
> with a touch of european class ;-)
>
>- G-Analytics plugin 
>
> 
>
>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ae6aecb3-f192-404f-bf61-b124d8d8483b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: You like icons? Try the brand new feather icons plugin

2019-05-07 Thread 'Mark S.' via TiddlyWiki
Added to the TIddlyWiki Toolmap 
 in category Images, icons, 
emojis.

On Tuesday, May 7, 2019 at 5:35:57 AM UTC-7, SylvainComte wrote:
>
> Hello,
>
> If you like icons but want to change from the very classic Font Awesome, 
> you may try the feather icons plugin. Lightweight and pretty elegant.
>
>- Feather icons plugin 
>
> 
>
> enjoy,
>
> *Sylvain*
> @sycom
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b4d329e8-d68f-4de8-af95-2b33c624f246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: The i18n macro, for those who wants a multilingual wiki

2019-05-07 Thread 'Mark S.' via TiddlyWiki
Added to the TIddlyWiki Toolmap 
 under Writing and editing 
- editing tools

Suggested wording of:

The macro is already included in all those plugins, so if you use one of 
them, you don't have to get it apart : 

as

The macro is already included in the following plugins, so if you already 
use one of them, you don't have to get it separately: 


-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/574095c7-8178-4167-9693-9c0f6ca531d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: The i18n macro, for those who wants a multilingual wiki

2019-05-07 Thread SylvainComte
Sounds good. Thank you for this.

Sylvain

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/260f5447-e2bc-48cb-bcc0-df49edf79c9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: You like icons? Try the brand new feather icons plugin

2019-05-07 Thread rdanielo
Impressive work!
Amazing

El martes, 7 de mayo de 2019, 14:35:57 (UTC+2), SylvainComte escribió:
>
> Hello,
>
> If you like icons but want to change from the very classic Font Awesome, 
> you may try the feather icons plugin. Lightweight and pretty elegant.
>
>- Feather icons plugin 
>
> 
>
> enjoy,
>
> *Sylvain*
> @sycom
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5835ce82-de1e-4021-b5c1-6062ec0d497b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Is encrypt tiddler plugin working in recent versions of TW?

2019-05-07 Thread rdanielo
It's nice to see that the very first plugin I wrote 5 years ago it's still 
working and useful!


El sábado, 4 de mayo de 2019, 13:27:34 (UTC+2), JL escribió:
>
> Hi, does anyone have Danielo's Encrypt Tiddler plugin working in TW 5.1.16 
> or above? It's not working for me, so want to check if this is a known 
> issue, or if the problem is at my end? Thanks
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ac347a0f-fd93-44d5-a1a1-a2d340610792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Generate list of tiddlers based on a partial field match with variables

2019-05-07 Thread Damon Pritchett
Hello all,

I'm a newbie when it comes to filters and such so please bear with me. 

I have a TW where the tiddlers are companies and each tiddler has a field 
called "charterfiled" for when the company was chartered. The format of the 
charter field is 1864-08-20. I can count how many companies were chartered 
in the 1860s with the following:

<$count 
filter="[tag[Company]regexp:charterfiled[^186]sortan[charterfiled]]"/>

What I'm trying to do is to use the select widget to pick the decade I'd 
like. I wrote the following:

<$select field='primary'>
1850s
1860s
1870s
1880s



''year:'' {{!!primary}}
<$count filter="[tag[Company]regexp:charterfiled]"/>

The variable "primary" gets set correctly, but the count returns all of the 
tiddlers tagged Company and not just the  ones from the 1860s. What am I 
doing wrong? I've tried many different things in the filter and the count 
will return 0 or the total number, but never the correct number.

Thanks,

Damon











-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0694b0a2-3a95-47c4-b579-39bf0e694e82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Generate list of tiddlers based on a partial field match with variables

2019-05-07 Thread 'Mark S.' via TiddlyWiki
Without actually trying it, I can see you've got "charterfiled" in the 
value of each option. So the filter is seeing 

...charterfiled...

Try making your options like:

1850s

Good luck!

On Tuesday, May 7, 2019 at 12:57:50 PM UTC-7, Damon Pritchett wrote:
>
> Hello all,
>
> I'm a newbie when it comes to filters and such so please bear with me. 
>
> I have a TW where the tiddlers are companies and each tiddler has a field 
> called "charterfiled" for when the company was chartered. The format of the 
> charter field is 1864-08-20. I can count how many companies were chartered 
> in the 1860s with the following:
>
> <$count 
> filter="[tag[Company]regexp:charterfiled[^186]sortan[charterfiled]]"/>
>
> What I'm trying to do is to use the select widget to pick the decade I'd 
> like. I wrote the following:
>
> <$select field='primary'>
> 1850s
> 1860s
> 1870s
> 1880s
> 
>
>
> ''year:'' {{!!primary}}
> <$count filter="[tag[Company]regexp:charterfiled]"/>
>
> The variable "primary" gets set correctly, but the count returns all of 
> the tiddlers tagged Company and not just the  ones from the 1860s. What am 
> I doing wrong? I've tried many different things in the filter and the count 
> will return 0 or the total number, but never the correct number.
>
> Thanks,
>
> Damon
>
>
>
>
>
>
>
>
>
>
>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86ddf2d2-30c1-4a93-aa1c-38101ac4b3b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Generate list of tiddlers based on a partial field match with variables

2019-05-07 Thread Damon Pritchett
Hi Mark,

That was my very first go at it and it always returns the total count of 
all Company tiddlers when there should be only anywhere from 4 to 111 
depending on the decade chosen. The total number is well over 1000. I even 
tried it with the square brackets while setting the value.

That code I pasted was a copy and paste problem while I was in transition. 
Sorry about that.

Damon

On Tuesday, May 7, 2019 at 1:36:49 PM UTC-7, Mark S. wrote:
>
> Without actually trying it, I can see you've got "charterfiled" in the 
> value of each option. So the filter is seeing 
>
> ...charterfiled...
>
> Try making your options like:
>
> 1850s
>
> Good luck!
>
> On Tuesday, May 7, 2019 at 12:57:50 PM UTC-7, Damon Pritchett wrote:
>>
>> Hello all,
>>
>> I'm a newbie when it comes to filters and such so please bear with me. 
>>
>> I have a TW where the tiddlers are companies and each tiddler has a field 
>> called "charterfiled" for when the company was chartered. The format of the 
>> charter field is 1864-08-20. I can count how many companies were chartered 
>> in the 1860s with the following:
>>
>> <$count 
>> filter="[tag[Company]regexp:charterfiled[^186]sortan[charterfiled]]"/>
>>
>> What I'm trying to do is to use the select widget to pick the decade I'd 
>> like. I wrote the following:
>>
>> <$select field='primary'>
>> 1850s
>> 1860s
>> 1870s
>> 1880s
>> 
>>
>>
>> ''year:'' {{!!primary}}
>> <$count filter="[tag[Company]regexp:charterfiled]"/>
>>
>> The variable "primary" gets set correctly, but the count returns all of 
>> the tiddlers tagged Company and not just the  ones from the 1860s. What am 
>> I doing wrong? I've tried many different things in the filter and the count 
>> will return 0 or the total number, but never the correct number.
>>
>> Thanks,
>>
>> Damon
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f6891ba-2ab8-44ed-b844-1da25efb2bcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Generate list of tiddlers based on a partial field match with variables

2019-05-07 Thread Eric Shulman
On Tuesday, May 7, 2019 at 12:57:50 PM UTC-7, Damon Pritchett wrote:
>
> I have a TW where the tiddlers are companies and each tiddler has a field 
> called "charterfiled" for when the company was chartered. The format of the 
> charter field is 1864-08-20. I can count how many companies were chartered 
> in the 1860s with the following:
> <$count 
> filter="[tag[Company]regexp:charterfiled[^186]sortan[charterfiled]]"/>
> What I'm trying to do is to use the select widget to pick the decade I'd 
> like. I wrote the following:
> <$select field='primary'>
> 1850s
> 1860s
> 1870s
> 1880s
> 
> ''year:'' {{!!primary}}
> <$count filter="[tag[Company]regexp:charterfiled]"/>
> The variable "primary" gets set correctly, but the count returns all of 
> the tiddlers tagged Company and not just the  ones from the 1860s. What am 
> I doing wrong? I've tried many different things in the filter and the count 
> will return 0 or the total number, but never the correct number.
>

The problem is that the "primary" value is being stored in the current 
tiddler, but when you are referencing it in the filter, it is relative to 
each matched [tag[Company]] tiddler.

Also, the filter syntax, "" is references a variable, not a 
field.  Thus, to actually refer to the selected value stored in the 
*current* tiddler, try this:

<$select field='primary'>
1850s
1860s
1870s
1880s


''year:'' {{!!primary}}
<$vars primary={{!!primary}}>
<$count filter="[tag[Company]regexp:charterfiled]"/>


Let me know how it goes...

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c6f3ef9a-0f5f-469e-b1eb-06168af190f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Generate list of tiddlers based on a partial field match with variables

2019-05-07 Thread 'Mark S.' via TiddlyWiki
I made a mistake, but this code works:

<$select field='primary'>
1850s
1860s
1870s
1880s



''year:'' {{!!primary}}
<$count filter="[tag[Company]regexp:charterfiled{!!primary}]"/>

HTH

On Tuesday, May 7, 2019 at 1:54:21 PM UTC-7, Damon Pritchett wrote:
>
> Hi Mark,
>
> That was my very first go at it and it always returns the total count of 
> all Company tiddlers when there should be only anywhere from 4 to 111 
> depending on the decade chosen. The total number is well over 1000. I even 
> tried it with the square brackets while setting the value.
>
> That code I pasted was a copy and paste problem while I was in transition. 
> Sorry about that.
>
> Damon
>
> On Tuesday, May 7, 2019 at 1:36:49 PM UTC-7, Mark S. wrote:
>>
>> Without actually trying it, I can see you've got "charterfiled" in the 
>> value of each option. So the filter is seeing 
>>
>> ...charterfiled...
>>
>> Try making your options like:
>>
>> 1850s
>>
>> Good luck!
>>
>> On Tuesday, May 7, 2019 at 12:57:50 PM UTC-7, Damon Pritchett wrote:
>>>
>>> Hello all,
>>>
>>> I'm a newbie when it comes to filters and such so please bear with me. 
>>>
>>> I have a TW where the tiddlers are companies and each tiddler has a 
>>> field called "charterfiled" for when the company was chartered. The format 
>>> of the charter field is 1864-08-20. I can count how many companies were 
>>> chartered in the 1860s with the following:
>>>
>>> <$count 
>>> filter="[tag[Company]regexp:charterfiled[^186]sortan[charterfiled]]"/>
>>>
>>> What I'm trying to do is to use the select widget to pick the decade I'd 
>>> like. I wrote the following:
>>>
>>> <$select field='primary'>
>>> 1850s
>>> 1860s
>>> 1870s
>>> 1880s
>>> 
>>>
>>>
>>> ''year:'' {{!!primary}}
>>> <$count filter="[tag[Company]regexp:charterfiled]"/>
>>>
>>> The variable "primary" gets set correctly, but the count returns all of 
>>> the tiddlers tagged Company and not just the  ones from the 1860s. What am 
>>> I doing wrong? I've tried many different things in the filter and the count 
>>> will return 0 or the total number, but never the correct number.
>>>
>>> Thanks,
>>>
>>> Damon
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e8215e7-fd0c-45cc-819c-748091466277%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: #TiddlyDesktop -- Basic notes

2019-05-07 Thread 'Mark S.' via TiddlyWiki
Another problem for people that want to adopt it as a simple solution, is 
that it doesn't close itself out cleanly in windows. It leaves nw.exe 
instances running, which block you from starting the desktop again. You 
have to use the process manager to kill the processes before you can launch 
it again.

On Tuesday, May 7, 2019 at 7:52:39 AM UTC-7, @TiddlyTweeter wrote:
>
> Right. TiddlyDesktop is NOT portable. Whilst it can activate via relative 
> addressing its hosted wiki are all on absolute addresses.
>
> On Tuesday, 7 May 2019 16:24:13 UTC+2, Mark S. wrote:
>>
>> Disadvantages --
>>
>> If you close a folder-based TW, you have to close out and restart the 
>> entire TW desktop, which closes the other TW notebooks, in order to run it 
>> again. On a busy windows desktop, this is a problem -- you can't just open 
>> notebooks as you need them.
>>
>> If you run portable mode, it will write "TiddlyDesktop" into your roaming 
>> data even if you specify a user data directory somewhere else.
>>
>>
>>
>>
>> On Tuesday, May 7, 2019 at 3:34:13 AM UTC-7, @TiddlyTweeter wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *TiddlyDesktop is a marvellous way to run TiddlyWiki on desktop 
>>> computers.--What is TiddlyDesktop?Its a superb 
>>> menuing system for Desktop computers for one or more TiddlyWiki. Either 
>>> single file or via node style .tid files in folders. It seamlessly handles 
>>> saving and backup.The latest version (February 2018) of the executable 
>>> combines Chrome with TiddlyWiki.--Advantages - 
>>> Easy run.- Auto save & backup.- Well organised.- Easier than a browser as 
>>> you can just select the wiki to work on and close and open easily from the 
>>> menu.- Looks and behaves like a conventional 
>>> application.--Disadvantages - Tends to lag on 
>>> update. Wiki that need functions of the latest TW may not work properly.- 
>>> Lacks some features of full-browsers.- Backup system can make too many 
>>> backups.- If you running more than one profile it can be hard to identify 
>>> which is which as the icons for each profile on the taskbar are all the 
>>> same.--Get TiddlyDesktop v0.0.13For Linux, Mac 
>>> & Windows 
>>> , Feb 18th 
>>> 2018.Future posts will focus on TD use in Windows.*
>>>
>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/065d10b4-0dcb-4006-ac18-b7d4b30c63d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Generate list of tiddlers based on a partial field match with variables

2019-05-07 Thread Damon Pritchett
Thanks to all. I thought I had tried that, but apparently I was changing 
too many things at once and didn't find the right one.

Damon

On Tuesday, May 7, 2019 at 3:36:39 PM UTC-7, Mark S. wrote:
>
> I made a mistake, but this code works:
>
> <$select field='primary'>
> 1850s
> 1860s
> 1870s
> 1880s
> 
>
>
> ''year:'' {{!!primary}}
> <$count filter="[tag[Company]regexp:charterfiled{!!primary}]"/>
>
> HTH
>
> On Tuesday, May 7, 2019 at 1:54:21 PM UTC-7, Damon Pritchett wrote:
>>
>> Hi Mark,
>>
>> That was my very first go at it and it always returns the total count of 
>> all Company tiddlers when there should be only anywhere from 4 to 111 
>> depending on the decade chosen. The total number is well over 1000. I even 
>> tried it with the square brackets while setting the value.
>>
>> That code I pasted was a copy and paste problem while I was in 
>> transition. Sorry about that.
>>
>> Damon
>>
>> On Tuesday, May 7, 2019 at 1:36:49 PM UTC-7, Mark S. wrote:
>>>
>>> Without actually trying it, I can see you've got "charterfiled" in the 
>>> value of each option. So the filter is seeing 
>>>
>>> ...charterfiled...
>>>
>>> Try making your options like:
>>>
>>> 1850s
>>>
>>> Good luck!
>>>
>>> On Tuesday, May 7, 2019 at 12:57:50 PM UTC-7, Damon Pritchett wrote:

 Hello all,

 I'm a newbie when it comes to filters and such so please bear with me. 

 I have a TW where the tiddlers are companies and each tiddler has a 
 field called "charterfiled" for when the company was chartered. The format 
 of the charter field is 1864-08-20. I can count how many companies were 
 chartered in the 1860s with the following:

 <$count 
 filter="[tag[Company]regexp:charterfiled[^186]sortan[charterfiled]]"/>

 What I'm trying to do is to use the select widget to pick the decade 
 I'd like. I wrote the following:

 <$select field='primary'>
 1850s
 1860s
 1870s
 1880s
 


 ''year:'' {{!!primary}}
 <$count filter="[tag[Company]regexp:charterfiled]"/>

 The variable "primary" gets set correctly, but the count returns all of 
 the tiddlers tagged Company and not just the  ones from the 1860s. What am 
 I doing wrong? I've tried many different things in the filter and the 
 count 
 will return 0 or the total number, but never the correct number.

 Thanks,

 Damon













-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5190da4f-2884-46be-967a-7b28562896df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: You like icons? Try the brand new feather icons plugin

2019-05-07 Thread David Gifford
Ha, you beat me to it. I just got home from a short vacation. Looks like 
you or someone also got TiddlyShow. Thank you!

On Tuesday, May 7, 2019 at 11:50:45 AM UTC-5, Mark S. wrote:
>
> Added to the TIddlyWiki Toolmap 
>  in category Images, 
> icons, emojis.
>
> On Tuesday, May 7, 2019 at 5:35:57 AM UTC-7, SylvainComte wrote:
>>
>> Hello,
>>
>> If you like icons but want to change from the very classic Font Awesome, 
>> you may try the feather icons plugin. Lightweight and pretty elegant.
>>
>>- Feather icons plugin 
>>
>> 
>>
>> enjoy,
>>
>> *Sylvain*
>> @sycom
>>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/efdaf9d1-0a60-475e-b308-09589f5ae404%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] You like icons? Try the brand new feather icons plugin

2019-05-07 Thread TonyM
Sylvain,

How does it go using these as buttons or edittoolbar buttons. Have you tried?

thanks
Tony

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90438875-189f-4400-8cae-4765697308cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] You like icons? Try the brand new feather icons plugin

2019-05-07 Thread SylvainComte
Hi Tony

works like a charm by replacing the corresponding $:/core/images/ content with 
`<>`

You may have to add a class and make some css. I did for the save-wiki button.

Also feather library has "only" 179 icons, so you may miss some if you want to 
replace all TiddlyWiki's.

Discovered a bug just now though :-/ icon search is broken. Not enough testing. 
Release early sounds good but...

Cheers

Sylvain
@sycom

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a963b92-e886-48e6-93ce-d275ba6c0c30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.