Re: [tw5] Re: [Updated] Color Play: a playground for colors and palettes in Tiddlywiki

2021-03-23 Thread Mohammad Rahmani
On Wed, Mar 24, 2021 at 3:59 AM Thomas Elmiger 
wrote:

> Hi Mohammad,
>

Hi Thomas,



>
> Thanks for the initiative and the demo. Looks like it will need some
> additional steps to approach the goal of maximal simplicity and user
> friendliness even for beginners – but I would say it’s absolutely worth it!
>
> Motivated by the first example I saw from you I experimented a bit with
> the tools I made some time ago. This is what I could come up with until now
> and what I still consider as much too complicated:
> https://tid.li/tw5/apps/palette.html
>

Thank you forsharing! I will go through and will share my findings.

>
>
> Important facts, concepts and questions:
>
>- this is *experimental* – don’t use it for anything important
>- based on the *primary* colour there are calculated a lot of other
>colours automagically, all tagged and namespaced
>
>
This is great! Having few main colors and calculate other elements color
based on them, yet have possibility for fine tuning!



>
>-
>   - neighbouring colours
>   - triadic and quadratic contrasting colours
>   - like shades and tints in your demo these are meant as an
>   inspiration for tuning, only a few of them should be used
>
>
Correct!


>- some colours are *static* as they are hard to calculate in a
>meaningful way: colours for buttons, warnings and a rather neutral scale
>- Is it wise to *mix* colours for the scale (opacity = 1) and use
>*alpha* transparency for the shades?
>
>
I actually used blend macro to generate tints and shades (mix with black
and white). In my new version I use hsla function and use a constant hue
and then play eith s, h, and alpha!
But as you said for simplicity having the minimum number of adjustable
parameters is better!


>-
>- To transfer the result to another wiki it is relatively safe to copy *the
>palette* AND all tiddlers tagged *$:/tags/Colours* (drag the tag pill)
>at the moment.
>- My palette *generator* (compiles all variables to fixed values)
>   leads to problems with transparency in tag colours. rgba definitions 
> seem
>   not to work in this form, while they work in transclustions (?!) – I 
> wonder
>   if the contrastcolour macro
>   causes
>   this.
>
> I will have a look! but my design philosophy is to generate a palette and
when finalize, save in tiddler with constant  hex value preferably in
#rrggbbaa



>
>-
>   -
>   - *Readability* can be checked for many TW use cases – but not yet
>for the tiddler editor buttons for example. (They lack dedicated colours in
>the CSS.)
>
> This is a pain! I did not inspect the vanilla theme to see where it
assigned colors.

@Jeremy I think the theme shall be decoupled from colors! Theme shall only
create the layout and palette assign all colors! So, editor buttons shall
have their own namesapace and css selectors.

>
>- The *Colour Scheme Manager* is not consistent in the way it is
>changing colours: backgrounds are changed directly in the palette indexes,
>while the others change in my new colour tiddlers.
>
> Thanks again and all the best,
> Thomas
>

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/b093e259-677e-4f38-ae8b-4fad765a84f4n%40googlegroups.com
> 
> .
>

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


Re: [tw5] Re: Presenting: a plugin which automatically relinks renamed tiddlers

2021-03-23 Thread Flibbles
Not sure I understand. Relink isn't integrated with any package managers 
like npm. To install Relink under Node.JS, you'd download the source from 
github, and the github page  has 
instructions on how to install.

On Wednesday, March 24, 2021 at 1:15:49 AM UTC-4 Mohammad wrote:

> Hi Flibless,
> Thank you for the update! Relink and Uglify are a constant part of most of 
> my wikis!
> I use both plugins on Node.JS and would like to have a link under Install 
> on demo page redirect/instruct to download the node version of plugins.
>
> Best wishes
> Mohammad
>
>
> On Wed, Mar 24, 2021 at 9:19 AM Flibbles  wrote:
>
>>
>> Hello all!
>>
>> Just announcing that Relink V2  
>> has just been released. Besides support for V5.1.23 Tiddlywiki features 
>> like multi-operand filter operators, this integrates with the Tiddlywiki 
>> index.
>>
>> And THAT is a big thing (for me anyway). This version is much much 
>> faster. If were encountering speed issues with your Tiddlywiki at around 
>> 2500+ tiddlers, Relink may have unfortunately been to blame. It slowed down 
>> basic *typing* in if enough Relink info panels were open. Not anymore. 
>> It's much faster now.
>>
>> If you built any modules for Relink, it SHOULD continue to relink just 
>> fine, but part of the overhaul I did required me to offload all the Relink 
>> Info panel work to a new "report" method which all modules use.  If you 
>> want your module to fully integrate with V2, see the demo page for 
>> details . 
>> better yet, reach out to me, because I can probably migrate your modules in 
>> about 10 seconds.
>>
>> Anyway! Hope you all enjoy. This version of Relink will save you seconds. 
>> *Seconds*!
>>
>> -Flibbles
>> On Thursday, December 17, 2020 at 1:03:51 AM UTC-5 Flibbles wrote:
>>
>>> Yes. The parent-plugin field is present on both of Relink's supplemental 
>>> plugins.
>>>
>>> On Thursday, December 17, 2020 at 12:45:13 AM UTC-5 Mohammad wrote:
>>>
 Flibbles,
  Have you tried the parent-plugin field  to distribute subplugin of 
 relink as its children?
 Take a look in  https://tiddlywiki.com/prerelease/#PluginMechanism 
 presented in 5.1.23


 Best wishes
 Mohammad


 On Wed, Dec 16, 2020 at 4:24 AM Flibbles  
 wrote:

> For those who may be interested, many people requested that Relink be 
> able to handle renaming titles of nested directory tiddlers associated 
> with 
> a renamed tiddler.
>
> Here it is. Relink-titles, the supplemental plugin 
> .
>
> It also allows for custom rename rules based on filters, as well as 
> rules introduced by 3rd party plugins.
>
> Currently, the only built in rule is the directory tree one. I 
> couldn't think of any others that people would generally want. If you 
> know 
> of any, let me know.
>
> -Flibbles
> On Monday, May 25, 2020 at 11:06:03 PM UTC-4 joshua@gmail.com 
> wrote:
>
>> Actually, that's really cool. I have that on my ToDo list, but have 
>> put it off while I tinker with UI stuff.
>>
>> Best,
>> Joshua F
>>
>>
>> On Monday, May 25, 2020 at 6:54:16 PM UTC-7, Flibbles wrote:
>>>
>>> *Now with Markdown support!*
>>>
>>> ...in the form of a supplemental plugin.
>>>
>>> But I integrated Relink v1.10 with Tiddlywiki's PluginLibrary 
>>> wizard, so now when you go to "Get More Plugins", Relink has it's own 
>>> tab 
>>> where you can easily see all Relink sub-plugins (installed or not 
>>> installed), what needs updating, and then update with a single click. 
>>> It's 
>>> super slick, guys. For real!
>>>
>>> But probably not worth all the work it took.
>>>
>>> -Flibbles
>>>
>> -- 
>
 You received this message because you are subscribed to the Google 
> Groups "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/a57a3b3b-9a8b-4147-8717-40787ef67befn%40googlegroups.com
>  
> 
> .
>
 -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/fc82a8f9-81b6-423f-8093-ccf285024916n%40googlegroups.com
>>  
>> 

Re: [tw5] Re: Presenting: a plugin which automatically relinks renamed tiddlers

2021-03-23 Thread Mohammad Rahmani
Hi Flibless,
Thank you for the update! Relink and Uglify are a constant part of most of
my wikis!
I use both plugins on Node.JS and would like to have a link under Install
on demo page redirect/instruct to download the node version of plugins.

Best wishes
Mohammad


On Wed, Mar 24, 2021 at 9:19 AM Flibbles 
wrote:

>
> Hello all!
>
> Just announcing that Relink V2 
> has just been released. Besides support for V5.1.23 Tiddlywiki features
> like multi-operand filter operators, this integrates with the Tiddlywiki
> index.
>
> And THAT is a big thing (for me anyway). This version is much much faster.
> If were encountering speed issues with your Tiddlywiki at around 2500+
> tiddlers, Relink may have unfortunately been to blame. It slowed down basic
> *typing* in if enough Relink info panels were open. Not anymore. It's
> much faster now.
>
> If you built any modules for Relink, it SHOULD continue to relink just
> fine, but part of the overhaul I did required me to offload all the Relink
> Info panel work to a new "report" method which all modules use.  If you
> want your module to fully integrate with V2, see the demo page for details
> . better yet,
> reach out to me, because I can probably migrate your modules in about 10
> seconds.
>
> Anyway! Hope you all enjoy. This version of Relink will save you seconds.
> *Seconds*!
>
> -Flibbles
> On Thursday, December 17, 2020 at 1:03:51 AM UTC-5 Flibbles wrote:
>
>> Yes. The parent-plugin field is present on both of Relink's supplemental
>> plugins.
>>
>> On Thursday, December 17, 2020 at 12:45:13 AM UTC-5 Mohammad wrote:
>>
>>> Flibbles,
>>>  Have you tried the parent-plugin field  to distribute subplugin of
>>> relink as its children?
>>> Take a look in  https://tiddlywiki.com/prerelease/#PluginMechanism
>>> presented in 5.1.23
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> On Wed, Dec 16, 2020 at 4:24 AM Flibbles  wrote:
>>>
 For those who may be interested, many people requested that Relink be
 able to handle renaming titles of nested directory tiddlers associated with
 a renamed tiddler.

 Here it is. Relink-titles, the supplemental plugin
 .

 It also allows for custom rename rules based on filters, as well as
 rules introduced by 3rd party plugins.

 Currently, the only built in rule is the directory tree one. I couldn't
 think of any others that people would generally want. If you know of any,
 let me know.

 -Flibbles
 On Monday, May 25, 2020 at 11:06:03 PM UTC-4 joshua@gmail.com
 wrote:

> Actually, that's really cool. I have that on my ToDo list, but have
> put it off while I tinker with UI stuff.
>
> Best,
> Joshua F
>
>
> On Monday, May 25, 2020 at 6:54:16 PM UTC-7, Flibbles wrote:
>>
>> *Now with Markdown support!*
>>
>> ...in the form of a supplemental plugin.
>>
>> But I integrated Relink v1.10 with Tiddlywiki's PluginLibrary wizard,
>> so now when you go to "Get More Plugins", Relink has it's own tab where 
>> you
>> can easily see all Relink sub-plugins (installed or not installed), what
>> needs updating, and then update with a single click. It's super slick,
>> guys. For real!
>>
>> But probably not worth all the work it took.
>>
>> -Flibbles
>>
> --

>>> You received this message because you are subscribed to the Google
 Groups "TiddlyWiki" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to tiddlywiki+...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/tiddlywiki/a57a3b3b-9a8b-4147-8717-40787ef67befn%40googlegroups.com
 
 .

>>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/fc82a8f9-81b6-423f-8093-ccf285024916n%40googlegroups.com
> 
> .
>

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


Re: [tw5] Re: Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread Mohammad Rahmani
Hi Mark,
 I really appreciate your efforts! I think you should develop a small code
to do the conversion from Toolmap to link aggregator! I know Saq converted
Toolmaps entry to TW tiddlers sometimes ago, but I forgot the link to that
Tiddlywiki!
 I know this work is tedious and like you I think the current
configuration is not the best! Like you I think Jeremy shall remove the
restriction on description, ...





Best wishes
Mohammad


On Wed, Mar 24, 2021 at 9:03 AM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> Out of nearly 300 entries, less than 1% had url errors. I was hoping to do
> follow-ups with the w3c link validator, but it doesn't recognize the site
> as a document. The standard link-checker software said everything was ok,
> but obviously that's wrong.
>
> I've removed the entry with a bad url.
>
> I will stop working for now. It's VERY tedious condensing descriptions to
> 10 words and supplying tags. Mistakes are bound to happen.
>
> The last thing I need is to find people upset with my work. If requested,
> I can roll back existing entrees.
>
> On Tuesday, March 23, 2021 at 6:25:32 PM UTC-7 dieg...@gmail.com wrote:
>
>> There should also be a tag to indicate "highest supported version" or
>> something similar if relevant (for plugins, for example) and its known.
>>
>> On Tuesday, March 23, 2021 at 8:09:59 PM UTC-5 David Gifford wrote:
>>
>>> There should be a way to report dead links. LibreNote, for example,
>>> turns up a 404. Someone is adding links without even checking them first.
>>>
>>> Also, giffmex.org has been https:// since early 2020. If those adding
>>> links to giffmex.org could convert them from http: to https:, that
>>> would be appreciated.
>>>
>>> --
> 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/02dd9f80-b088-44d4-ae1b-c07f8d253130n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDtDj4yd-gHKC7nr05eo7KS8CnsiKHryi%2BUMk%3DCfOiGJQ%40mail.gmail.com.


Re: [tw5] Re: Presenting: a plugin which automatically relinks renamed tiddlers

2021-03-23 Thread Flibbles

Hello all!

Just announcing that Relink V2  has 
just been released. Besides support for V5.1.23 Tiddlywiki features like 
multi-operand filter operators, this integrates with the Tiddlywiki index.

And THAT is a big thing (for me anyway). This version is much much faster. 
If were encountering speed issues with your Tiddlywiki at around 2500+ 
tiddlers, Relink may have unfortunately been to blame. It slowed down basic 
*typing* in if enough Relink info panels were open. Not anymore. It's much 
faster now.

If you built any modules for Relink, it SHOULD continue to relink just 
fine, but part of the overhaul I did required me to offload all the Relink 
Info panel work to a new "report" method which all modules use.  If you 
want your module to fully integrate with V2, see the demo page for details 
. better yet, 
reach out to me, because I can probably migrate your modules in about 10 
seconds.

Anyway! Hope you all enjoy. This version of Relink will save you seconds. 
*Seconds*!

-Flibbles
On Thursday, December 17, 2020 at 1:03:51 AM UTC-5 Flibbles wrote:

> Yes. The parent-plugin field is present on both of Relink's supplemental 
> plugins.
>
> On Thursday, December 17, 2020 at 12:45:13 AM UTC-5 Mohammad wrote:
>
>> Flibbles,
>>  Have you tried the parent-plugin field  to distribute subplugin of 
>> relink as its children?
>> Take a look in  https://tiddlywiki.com/prerelease/#PluginMechanism 
>> presented in 5.1.23
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Wed, Dec 16, 2020 at 4:24 AM Flibbles  wrote:
>>
>>> For those who may be interested, many people requested that Relink be 
>>> able to handle renaming titles of nested directory tiddlers associated with 
>>> a renamed tiddler.
>>>
>>> Here it is. Relink-titles, the supplemental plugin 
>>> .
>>>
>>> It also allows for custom rename rules based on filters, as well as 
>>> rules introduced by 3rd party plugins.
>>>
>>> Currently, the only built in rule is the directory tree one. I couldn't 
>>> think of any others that people would generally want. If you know of any, 
>>> let me know.
>>>
>>> -Flibbles
>>> On Monday, May 25, 2020 at 11:06:03 PM UTC-4 joshua@gmail.com wrote:
>>>
 Actually, that's really cool. I have that on my ToDo list, but have put 
 it off while I tinker with UI stuff.

 Best,
 Joshua F


 On Monday, May 25, 2020 at 6:54:16 PM UTC-7, Flibbles wrote:
>
> *Now with Markdown support!*
>
> ...in the form of a supplemental plugin.
>
> But I integrated Relink v1.10 with Tiddlywiki's PluginLibrary wizard, 
> so now when you go to "Get More Plugins", Relink has it's own tab where 
> you 
> can easily see all Relink sub-plugins (installed or not installed), what 
> needs updating, and then update with a single click. It's super slick, 
> guys. For real!
>
> But probably not worth all the work it took.
>
> -Flibbles
>
 -- 
>>>
>> You received this message because you are subscribed to the Google Groups 
>>> "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/a57a3b3b-9a8b-4147-8717-40787ef67befn%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc82a8f9-81b6-423f-8093-ccf285024916n%40googlegroups.com.


[tw5] Re: Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread 'Mark S.' via TiddlyWiki
Out of nearly 300 entries, less than 1% had url errors. I was hoping to do 
follow-ups with the w3c link validator, but it doesn't recognize the site 
as a document. The standard link-checker software said everything was ok, 
but obviously that's wrong.

I've removed the entry with a bad url.

I will stop working for now. It's VERY tedious condensing descriptions to 
10 words and supplying tags. Mistakes are bound to happen. 

The last thing I need is to find people upset with my work. If requested, I 
can roll back existing entrees.

On Tuesday, March 23, 2021 at 6:25:32 PM UTC-7 dieg...@gmail.com wrote:

> There should also be a tag to indicate "highest supported version" or 
> something similar if relevant (for plugins, for example) and its known. 
>
> On Tuesday, March 23, 2021 at 8:09:59 PM UTC-5 David Gifford wrote:
>
>> There should be a way to report dead links. LibreNote, for example, turns 
>> up a 404. Someone is adding links without even checking them first.
>>
>> Also, giffmex.org has been https:// since early 2020. If those adding 
>> links to giffmex.org could convert them from http: to https:, that would 
>> be appreciated.
>>
>>

-- 
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/02dd9f80-b088-44d4-ae1b-c07f8d253130n%40googlegroups.com.


[tw5] Backlinks: would it be worth asking for this enhancement?

2021-03-23 Thread Charlie Veniot
G'day all,

The "Can we customize internal links? 
"  got me thinking ...

Would it be useful for "backlinks" (the operator and the InfoPanel tab) to 
consider not only links but also consider transclusions as links?

I can't help but think it would be helpful to use transclusions with 
templates to create very customized links.

For highly customizable links: Instead of a link like [[some_tiddler]], one 
could instead have {{ some_tiddler || some_link_styling_template }}

I suppose I don't see a distinction between a link to a tiddler and a 
transclusion of a tiddler in the sense that I consider one being a backlink 
just as much as the other.

Any thoughts?  Would this be worth putting in as a formal request?

Of course, even if something could be done, I always like to pause for a 
second and wonder: should it?

-- 
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/576cb26a-2018-40dc-96c8-43e5a63e8500n%40googlegroups.com.


[tw5] Re: Changing menubar font

2021-03-23 Thread Rika Sukenik
Soren, that was really helpful. Thank you! I realized that I needed to 
update the Shiraz framework (part of Kookma plugin library) that I'm using 
for styling the sidebar. It took me a few hours to figure it out, but I did 
it! By the way, Shiraz is awesome. For reference, here is a link to find it 
https://kookma.github.io/TW-PluginLibrary/

On Tuesday, March 23, 2021 at 5:18:19 PM UTC-7 Soren Bjornstad wrote:

> That looks right, so you might have a different (more specific) CSS rule 
> interfering. Try this: right-click on your page and choose *Inspect*, 
> then click the select icon in the upper-left corner of the developer tools 
> and click on the part of the menu bar that's not appearing in the correct 
> font. In the right pane under “Styles,” with any luck you'll be able to see 
> what other rules are setting the font (you will see the ones that are not 
> winning crossed out).
>
> You could also just try adding *!important *to your rules (e.g., 
> “font-family: Arial !important;”, which is considered bad practice if you 
> don't understand why you're doing it, but might solve the issue.
>
> [image: ksnip_20210323-191838.png]
>
>
> On Monday, March 22, 2021 at 5:34:27 PM UTC-5 rika.s...@gmail.com wrote:
>
>> Hmm, I must be doing something wrong because the font/size didn't change. 
>> Here's what I added:
>>
>> .tc-menubar {
>>font-family: Arial;
>>font-size:28pt;
>> }
>>
>> I've added a screenshot of what the tiddler looks like when saved.
>>
>>
>>
>>
>> On Saturday, March 20, 2021 at 10:54:14 AM UTC-7 Eric Shulman wrote:
>>
>>> On Saturday, March 20, 2021 at 9:47:33 AM UTC-7 rika.s...@gmail.com 
>>> wrote:
>>>
 I'm styling the menubar and I've found plugins to change colors 
 (helpful!) but i'm also looking to change the font and font size. Does 
 anyone know of a plugin or a stylesheet to help me with that? Thanks!
>>>
>>>
>>> Use the ".tc-menubar" class, like this:
>>>
>>> .tc-menubar {
>>>font-family: monospace;
>>>font-size:18pt;
>>> }
>>>
>>> enjoy,
>>> -e
>>>
>>

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


[tw5] Re: Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread dieg...@gmail.com
There should also be a tag to indicate "highest supported version" or 
something similar if relevant (for plugins, for example) and its known. 

On Tuesday, March 23, 2021 at 8:09:59 PM UTC-5 David Gifford wrote:

> There should be a way to report dead links. LibreNote, for example, turns 
> up a 404. Someone is adding links without even checking them first.
>
> Also, giffmex.org has been https:// since early 2020. If those adding 
> links to giffmex.org could convert them from http: to https:, that would 
> be appreciated.
>
> On Sunday, March 21, 2021 at 11:00:23 AM UTC-6 jeremy...@gmail.com wrote:
>
>> One of the obstacles we face as a community is that we don’t have a good 
>> place for us to curate and share bookmarks to useful resources. Dave 
>> Gifford has shown what's possible with his ToolMap, an invaluable community 
>> resource. But it’s a huge challenge for any one person to keep an 
>> undertaking like that up to date, let alone complete.
>>
>> So, I’m pleased to announce TiddlyWikiLinks, a community links aggregator 
>> that allows us to collectively curate bookmarks:
>>
>> https://links.tiddlywiki.com
>>
>> The way it works is that multiple contributing editors each maintain 
>> their own TiddlyWiki containing their bookmarks. These wikis are registered 
>> with the system on GitHub, and then at intervals a script retrieves all the 
>> links and aggregates them together into a new wiki.
>>
>> The above links are to a static rendering to help Google find things, but 
>> the information is also available in TiddlyWiki format:
>>
>> https://links.tiddlywiki.com/wiki.html
>>
>> It’s easy to set up to be a contributing editor.  The main requirement is 
>> that bookmarks be kept as tiddlers tagged "$:/tags/Link" with an “url” 
>> field containing the URL. So, for example, I’m “jermolene”, and all my 
>> links are to be found at:
>>
>> https://links.tiddlywiki.com/contributors/jermolene/
>>
>> My bookmarking wiki is here:
>>
>> https://jermolene-links.tiddlyhost.com
>>
>> If enough people volunteer to be contributing editors, we can spread the 
>> workload and make something much more valuable than any of us could do 
>> individually. I’d be happy if we had a handful of contributing link editors 
>> making high quality bookmarks, but I think this system could be scaled to 
>> at least a few hundred.
>>
>> If you’re interested, please reply here with the URL of your bookmarking 
>> wiki and your choice of username.
>>
>> As ever, there’s a lot to do on the development side to take this forward:
>>
>> * Improving the styling (consider the current colour scheme and styling 
>> to be a placeholder!)
>> * Adding JavaScript-based interactivity (particularly search)
>> * Adding support for multiple languages
>> * Adding an RSS/Atom feed
>>
>> The development has required setting up another GitHub organisation in 
>> order to get another GitHub Pages site:
>>
>> https://github.com/TiddlyWikiLinks/TiddlyWikiLinks
>>
>> (For those with long memories, this is, of course, a variation of the 
>> "TWederation" archiecture we have discussed as a community for a long time).
>>
>> I’ve been able to put this together in a few days thanks to all that I’ve 
>> learned on my recent client projects. My personal goal for 2021 remains to 
>> get a Community Plugin Library up and running for TiddlyWiki. The link 
>> aggregator is a simpler proposition that should give us some valuable 
>> experience for that initiative.
>>
>> Questions and thoughts welcome,
>>
>> Best wishes
>>
>> Jeremy.
>>
>>

-- 
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/abda0efc-9192-491f-a3bd-fd74cd85096an%40googlegroups.com.


[tw5] Re: Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread David Gifford
There should be a way to report dead links. LibreNote, for example, turns 
up a 404. Someone is adding links without even checking them first.

Also, giffmex.org has been https:// since early 2020. If those adding links 
to giffmex.org could convert them from http: to https:, that would be 
appreciated.

On Sunday, March 21, 2021 at 11:00:23 AM UTC-6 jeremy...@gmail.com wrote:

> One of the obstacles we face as a community is that we don’t have a good 
> place for us to curate and share bookmarks to useful resources. Dave 
> Gifford has shown what's possible with his ToolMap, an invaluable community 
> resource. But it’s a huge challenge for any one person to keep an 
> undertaking like that up to date, let alone complete.
>
> So, I’m pleased to announce TiddlyWikiLinks, a community links aggregator 
> that allows us to collectively curate bookmarks:
>
> https://links.tiddlywiki.com
>
> The way it works is that multiple contributing editors each maintain their 
> own TiddlyWiki containing their bookmarks. These wikis are registered with 
> the system on GitHub, and then at intervals a script retrieves all the 
> links and aggregates them together into a new wiki.
>
> The above links are to a static rendering to help Google find things, but 
> the information is also available in TiddlyWiki format:
>
> https://links.tiddlywiki.com/wiki.html
>
> It’s easy to set up to be a contributing editor.  The main requirement is 
> that bookmarks be kept as tiddlers tagged "$:/tags/Link" with an “url” 
> field containing the URL. So, for example, I’m “jermolene”, and all my 
> links are to be found at:
>
> https://links.tiddlywiki.com/contributors/jermolene/
>
> My bookmarking wiki is here:
>
> https://jermolene-links.tiddlyhost.com
>
> If enough people volunteer to be contributing editors, we can spread the 
> workload and make something much more valuable than any of us could do 
> individually. I’d be happy if we had a handful of contributing link editors 
> making high quality bookmarks, but I think this system could be scaled to 
> at least a few hundred.
>
> If you’re interested, please reply here with the URL of your bookmarking 
> wiki and your choice of username.
>
> As ever, there’s a lot to do on the development side to take this forward:
>
> * Improving the styling (consider the current colour scheme and styling to 
> be a placeholder!)
> * Adding JavaScript-based interactivity (particularly search)
> * Adding support for multiple languages
> * Adding an RSS/Atom feed
>
> The development has required setting up another GitHub organisation in 
> order to get another GitHub Pages site:
>
> https://github.com/TiddlyWikiLinks/TiddlyWikiLinks
>
> (For those with long memories, this is, of course, a variation of the 
> "TWederation" archiecture we have discussed as a community for a long time).
>
> I’ve been able to put this together in a few days thanks to all that I’ve 
> learned on my recent client projects. My personal goal for 2021 remains to 
> get a Community Plugin Library up and running for TiddlyWiki. The link 
> aggregator is a simpler proposition that should give us some valuable 
> experience for that initiative.
>
> Questions and thoughts welcome,
>
> Best wishes
>
> Jeremy.
>
>

-- 
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/97e63016-7c8d-4e0d-a453-8d55ee96e5f0n%40googlegroups.com.


Re: [tw5] Unpacking JSON Plugins

2021-03-23 Thread Adithya B
Thanks Jeremy. It worked!

On Tuesday, March 23, 2021 at 3:12:26 PM UTC-6 jeremy...@gmail.com wrote:

> Hi Adithya
>
> Try the “--savewikifolder” command:
>
> https://tiddlywiki.com/#SaveWikiFolderCommand
>
> Best wishes
>
> Jeremy
>
> On 23 Mar 2021, at 20:54, Adithya B  wrote:
>
> Hi Everyone,
>
> Is there a simple way to extract packed JSON plugins into 
> "/plugins/folder" on nodejs?
>
> I have made a few plugins using the JS repackplugin command. Now I feel it 
> would be easier to develop if they were in their own folder.
>
> Thanks,
> Adithya
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/c59efb23-9e62-46b0-b65a-48b8dca48dbfn%40googlegroups.com
>  
> 
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f44ebdfc-35c1-4445-82b5-47b6c01ddeb4n%40googlegroups.com.


Re: [tw5] Re: [Updated] Color Play: a playground for colors and palettes in Tiddlywiki

2021-03-23 Thread Thomas Elmiger
Hi Mohammad,

Thanks for the initiative and the demo. Looks like it will need some 
additional steps to approach the goal of maximal simplicity and user 
friendliness even for beginners – but I would say it’s absolutely worth it!

Motivated by the first example I saw from you I experimented a bit with the 
tools I made some time ago. This is what I could come up with until now and 
what I still consider as much too complicated: 
https://tid.li/tw5/apps/palette.html

Important facts, concepts and questions:

   - this is *experimental* – don’t use it for anything important
   - based on the *primary* colour there are calculated a lot of other 
   colours automagically, all tagged and namespaced
  - neighbouring colours
  - triadic and quadratic contrasting colours
  - like shades and tints in your demo these are meant as an 
  inspiration for tuning, only a few of them should be used
  - some colours are *static* as they are hard to calculate in a 
   meaningful way: colours for buttons, warnings and a rather neutral scale
   - Is it wise to *mix* colours for the scale (opacity = 1) and use *alpha* 
   transparency for the shades? 
   - To transfer the result to another wiki it is relatively safe to copy *the 
   palette* AND all tiddlers tagged *$:/tags/Colours* (drag the tag pill) 
   at the moment.
   - My palette *generator* (compiles all variables to fixed values) leads 
  to problems with transparency in tag colours. rgba definitions seem not 
to 
  work in this form, while they work in transclustions (?!) – I wonder if 
the contrastcolour 
  macro causes 
  this. 
  - *Readability* can be checked for many TW use cases – but not yet 
   for the tiddler editor buttons for example. (They lack dedicated colours in 
   the CSS.)
   - The *Colour Scheme Manager* is not consistent in the way it is 
   changing colours: backgrounds are changed directly in the palette indexes, 
   while the others change in my new colour tiddlers.

Thanks again and all the best,
Thomas

-- 
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/b093e259-677e-4f38-ae8b-4fad765a84f4n%40googlegroups.com.


Re: [tw5] [INTRO] List of similar and related tiddlers

2021-03-23 Thread bimlas
Thanks! Tony, you might also be interested in this: tiddlers are linked by 
a given search term.

https://groups.google.com/g/tiddlywiki/c/2XxI2apw6e4/m/8E7AJAszBwAJ

tony a következőt írta (2021. március 23., kedd, 21:33:58 UTC+1):

> Thank you very much, bimlas
>
> I too concur with Mohammad, very clever and handy! :-)
>
> Your solution was tested on wikis between 800 - 4K tiddlers and saw no 
> performance degradation from viewing the extra tiddlers.
>
> Oft times I drag in a lot of content to 'bookmark' in TiddlyWiki but 
> accrue semantic debt when I lag in tagging at import time.  
>
> Between tagging, other methods like Tobias Beer's Sidebar Stories 
> 
>  
> and now your useful template, this really helps make/find meaning in 
> TiddlyWiki without manual metadata intervention.
>
> Best,
> tony 
>
> On Thursday, March 18, 2021 at 12:02:32 PM UTC-7 Mohammad wrote:
>
>> Hi bimlas,
>>
>>  Very clever solution! First I thought it used some kind of fuzzy search 
>> ;-)
>> I think it has a great potential of use!
>>
>> I add it to some of my personal TWs and will share the results with you 
>> later.
>>
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Thu, Mar 18, 2021 at 12:34 AM bimlas  wrote:
>>
>>> Maybe someone finds it useful: I've attached a view template that lists
>>>
>>>- Tiddlers whose title contains the title of the current tiddler
>>>   - For example, if the title of the current tiddler is "Apple", 
>>>   then it will list "Red Apple", "Yellow Apple", etc.
>>>- Tiddlers whose text most often contains the title of the current 
>>>tiddler
>>>- For example, if the title of the current tiddler is "Apple", then 
>>>   it will list "Fruit Processing" "Healthy Food", etc.
>>>
>>> To give it a try, import it to https://tiddlywiki.com and check out the 
>>> Commands  tiddler, for example.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/669937e0-8328-4591-8f72-c1fee13874efn%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

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


Re: [tw5] Unpacking JSON Plugins

2021-03-23 Thread Jeremy Ruston
Hi Adithya

Try the “--savewikifolder” command:

https://tiddlywiki.com/#SaveWikiFolderCommand

Best wishes

Jeremy

> On 23 Mar 2021, at 20:54, Adithya B  wrote:
> 
> Hi Everyone,
> 
> Is there a simple way to extract packed JSON plugins into "/plugins/folder" 
> on nodejs?
> 
> I have made a few plugins using the JS repackplugin command. Now I feel it 
> would be easier to develop if they were in their own folder.
> 
> Thanks,
> Adithya
> 
> -- 
> 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/c59efb23-9e62-46b0-b65a-48b8dca48dbfn%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CB7CFC0C-8DDB-4B97-ACB2-5ADEE3295732%40gmail.com.


[tw5] Unpacking JSON Plugins

2021-03-23 Thread Adithya B
Hi Everyone,

Is there a simple way to extract packed JSON plugins into "/plugins/folder" 
on nodejs?

I have made a few plugins using the JS repackplugin command. Now I feel it 
would be easier to develop if they were in their own folder.

Thanks,
Adithya

-- 
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/c59efb23-9e62-46b0-b65a-48b8dca48dbfn%40googlegroups.com.


Re: [tw5] Re: How to show edit-widgets when editing tiddlers with specific tags?

2021-03-23 Thread Adithya B
Thanks Eric!

This functionality is great. I never imagined it would work this way.

On Thursday, March 18, 2021 at 3:40:53 PM UTC-6 Eric Shulman wrote:

> On Thursday, March 18, 2021 at 12:29:07 PM UTC-7 bmad...@gmail.com wrote:
>
>> How can I add that near the top, maybe above the body input?
>>
>
> You can set the order of the tiddlers with a given tag (e.g., 
> $:/tags/EditTemplate) by using drag-and-drop within the tag list.
>
> 1) while viewing any tiddler with the desired tag
> 2) click on the tag pill to view the list of tiddlers with that tag
> 3) drag any tiddler title to the desired location in the list
>
> enjoy,
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9712d4af-11d6-4081-b896-6a5efd99834cn%40googlegroups.com.


Re: [tw5] [INTRO] List of similar and related tiddlers

2021-03-23 Thread tony
Thank you very much, bimlas

I too concur with Mohammad, very clever and handy! :-)

Your solution was tested on wikis between 800 - 4K tiddlers and saw no 
performance degradation from viewing the extra tiddlers.

Oft times I drag in a lot of content to 'bookmark' in TiddlyWiki but accrue 
semantic debt when I lag in tagging at import time.  

Between tagging, other methods like Tobias Beer's Sidebar Stories 

 
and now your useful template, this really helps make/find meaning in 
TiddlyWiki without manual metadata intervention.

Best,
tony 

On Thursday, March 18, 2021 at 12:02:32 PM UTC-7 Mohammad wrote:

> Hi bimlas,
>
>  Very clever solution! First I thought it used some kind of fuzzy search 
> ;-)
> I think it has a great potential of use!
>
> I add it to some of my personal TWs and will share the results with you 
> later.
>
>
>
> Best wishes
> Mohammad
>
>
> On Thu, Mar 18, 2021 at 12:34 AM bimlas  wrote:
>
>> Maybe someone finds it useful: I've attached a view template that lists
>>
>>- Tiddlers whose title contains the title of the current tiddler
>>   - For example, if the title of the current tiddler is "Apple", 
>>   then it will list "Red Apple", "Yellow Apple", etc.
>>- Tiddlers whose text most often contains the title of the current 
>>tiddler
>>- For example, if the title of the current tiddler is "Apple", then 
>>   it will list "Fruit Processing" "Healthy Food", etc.
>>
>> To give it a try, import it to https://tiddlywiki.com and check out the 
>> Commands  tiddler, for example.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/669937e0-8328-4591-8f72-c1fee13874efn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/063767e7-e280-44ab-887f-714cb8848e5bn%40googlegroups.com.


Re: [tw5] Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread 'Mark S.' via TiddlyWiki
It turns out all it wanted was the namespace:

http://www.w3.org/2000/svg;  

amazing how many tutorials you can look at that don't even mention 
namespace.


On Tuesday, March 23, 2021 at 7:32:01 AM UTC-7 jeremy...@gmail.com wrote:

> Hi Mark
>
> That’s not valid SVG image file, it’s just an SVG element.
>
> Although the type is correct, it’s missing the required preamble:
>
> 
>  http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;>
>
>

-- 
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/0231a681-161e-4fa9-824a-084ecb4c535fn%40googlegroups.com.


Re: [tw5] Can we customize internal links?

2021-03-23 Thread Mat
This discussion triggered this thread in gh 
. Feel free to 
join in.

I think plain bracket links could be much more powerful than they currently 
are.

<:-)

On Tuesday, March 23, 2021 at 12:47:32 PM UTC+1 Stobot wrote:

> For anyone else, I'll just post a picture of what this looks like when 
> implemented - this is an entirely new way of saving time and adding context 
> to notes for me. Now I can't do images like I originally imagined, but I 
> can do some icons / emoji like shown below. Example here is information 
> stored on the project, hovering over a link which has a tag of Project. 
>
> [image: screenshot.png]
>
> On Tuesday, March 23, 2021 at 7:32:56 AM UTC-4 Stobot wrote:
>
>> Beautiful! Thanks Jeremy
>>
>> On Tuesday, March 23, 2021 at 7:27:19 AM UTC-4 jeremy...@gmail.com wrote:
>>
>>>
>>> Thanks Jeremy - that would help for Mat's use case of a custom action on 
>>> navigate - I was hoping for something in the hover / tooltip area. Is there 
>>> anything similar?
>>>
>>>
>>> For that you’ll want the tv-wikilink-tooltip variable:
>>>
>>>
>>> https://tiddlywiki.com/#tv-wikilink-tooltip%20Variable%20(Examples):%5B%5Btv-wikilink-tooltip%20Variable%5D%5D%20%5B%5Btv-wikilink-tooltip%20Variable%20(Examples)%5D%5D
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>> On Tuesday, March 23, 2021 at 7:22:58 AM UTC-4 Stobot wrote:
>>>
 We're on the same page Mat - sorry if I was unclear, while doing a 
 macro is possible, my question instead is how to hijack the normal [[...]] 
 logic as you've implied.

 I'm guessing it's either something I can tweak in "Inline Parse Rules", 
 or a modification / additional javascript around the wikification process 
 itself.

 On Tuesday, March 23, 2021 at 7:00:51 AM UTC-4 Mat wrote:

> You can probably make a macro to call like <> and the 
> macro checks up what type of tiddler "Bob Ross" is and acts accordingly. 
> Maybe the $LinkWidget can also show wikitext tooltips that uses the 
> current 
> title (i.e the linked to title) as argument - I don't know if this is 
> possible.
>
> What I would much rather see - so it doesn't disturb the workflow when 
> authoring - is a direct logic that is invoked when using the [[...]] 
> syntax, because this syntax is "the smooth one". It could be attached to 
> some template but what exact template to apply could be customized based 
> on 
> some characteristic of what is linked. E.g "Bob Ross" is tagged Contact 
> so 
> the contacttemplate is used. Maybe it could even specify what happens 
> when 
> the link is clicked! This would make it possible to have [[bobross]] 
> [[BobRoss]] and [[Bob Ross]] all navigate to [[Bob Ross]].
>
> Just maybe PMarios linking plugin, whose name just escapes me, uses 
> something like this...
>
> <:-)
>
> On Tuesday, March 23, 2021 at 11:41:26 AM UTC+1 Stobot wrote:
>
>> I had an idea today and am trying to figure out how difficult it 
>> would be to do. Say we use TiddlyWiki for project management (as I do), 
>> we 
>> will be writing "journal" type tiddlers and using as many links as 
>> possible 
>> for future reference. 
>>
>> For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and 
>> talked about [[Painting]] and his favorite place to paint which is 
>> [[France]]"
>>
>> Now, I know that:
>>
>>- [[2021-03-23]] is a tiddler that is tagged "Date"
>>- [[Bob Ross]] is a tiddler that is tagged "Contact"
>>- [[Painting]] is a tiddler that is tagged "Hobby"
>>- [[France]] is a tiddler that is tagged "Place"
>>
>> Is there somewhere that I can insert logic to add to the logic of the 
>> internal link that is ultimately rendered? For example, for a "Contact", 
>> I 
>> might have "profilepic" in a field for [[Bob Ross]], and on the 
>> tooltip/hover I might want to display his picture, for the date, maybe a 
>> calendar tooltip, and for Hobby, maybe a list of other hobbies, or maybe 
>> recent entries also related to Painting. 
>>
>> I could use macros instead of links and insert logic there - such as 
>> use <> and in the macro check for the tag and insert 
>> all 
>> of my stuff, but then I can't use things like CompText, backlinks 
>> probably 
>> wouldn't work etc. 
>>
>> Any ideas?
>>
>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>>
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/d95cee47-ea6e-44d9-b481-3613b4246b11n%40googlegroups.com
>>>  
>>> 

Re: [tw5] How to prevent TW to strip my onclick

2021-03-23 Thread Florian Cauvin
> ugly workaround ...
Actually, it worked well for "onclick" attributes, and for 

Re: [tw5] How to prevent TW to strip my onclick

2021-03-23 Thread Florian Cauvin
So, I still wanted to have some JS within (some) tiddlers to my. So I just 
went with a "workaround": I added a marker (let's say ) and then in my 
tiddlers I can add   onscript=... and that 
won't be stripped. Then, I just added a simple 'sed' one-liner in my build 
script to remove the  marker from html files in TW's output directory. 
This is an ugly workaround, but it works without trying to go change TW 
rendering process.

On Tuesday, March 23, 2021 at 10:51:07 AM UTC+2 jeremy...@gmail.com wrote:

> Hi Florian
>
> There's no easy way around that limitation of the default static site 
> rendering templates. You may find the easiest approach is to give your 
> buttons CSS classes or IDs for identification, and then use a separate JS 
> file to trap events at the document level, or to set up event handlers 
> after the page has loaded.
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermolene.com
> https://jermolene.com
>
> On 22 Mar 2021, at 22:04, Florian Cauvin  wrote:
>
> 
>
> I use tiddlywiki to render a set of static html pages!
> In a tiddler, I'm adding some html  tags with some very simple 
> "onclick=..." in order to provide some small basic interactivity to this 
> static site. But TW rendering strips all the onclick stuff from the 
> rendered html. How could I force TW not to remove my "onclick" ?
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/8820f22e-e5c3-4aec-8bbf-0d380e025980n%40googlegroups.com
>  
> 
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65f6f0b7-089d-4b23-8156-763c0ed01893n%40googlegroups.com.


Re: [tw5] Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread Jeremy Ruston
Hi Mark

That’s not valid SVG image file, it’s just an SVG element.

Although the type is correct, it’s missing the required preamble:


http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;>

I think you’ll also need a few more attributes on the SVG element: viewBox, 
version, xml.

Best wishes

Jeremy


> On 23 Mar 2021, at 13:36, 'Mark S.' via TiddlyWiki 
>  wrote:
> 
> 
> 
> This is what my favicon looks like. Is there something wrong with the svg? 
> Type? It doesn't show on the tab like a favicon should. Maybe it would work 
> in the aggregator (haven't tried that yet), but it would be nice if it also 
> worked in the browser. 
> 
> Thanks!
> On Tuesday, March 23, 2021 at 2:55:17 AM UTC-7 jeremy...@gmail.com wrote:
>> 
>> I can confirm that SVG favicons were already working. If they’re not working 
>> for you there might be an issue with the image. Bear in mind that it needs 
>> to be a full SVG image, with the type image/svg+xml, and not an SVG fragment 
>> as with Mat’s attempt,
> 
> Apologies, I believe it was Dave, not Mat,
> 
> Best wishes
> 
> Jeremy
> 
>> 
>> Best wishes
>> 
>> Jeremy
>> 
>>> On 22 Mar 2021, at 17:24, Jeremy Ruston >> > wrote:
>>> 
>>> 
>>> Hi Mark,
>>> 
>>> Come to think of it, it's possible that SVG favicons break things at 
>>> present because they're text rather than binary. I'll have a look at fixing 
>>> it,
>>> 
>>> Best wishes
>>> 
>>> Jeremy
>>> On Monday, March 22, 2021 at 5:21:42 PM UTC Mark S. wrote:
>>> I would like to use an SVG rather than an image. Changing the type to 
>>> image/svg+xml didn't help. I'm guessing there is some tweak we have to make 
>>> to the SVG ?
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to tiddlywiki+...@googlegroups.com 
>>> .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/2b6d62e4-a40f-4c04-a0b5-b60f8f7e340fn%40googlegroups.com
>>>  
>>> .
>> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/7cdcaff5-afa5-4cdb-a57a-74a7add07009n%40googlegroups.com
>  
> .
> 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69FAE0EA-F8F9-4566-9754-BA91B9B8AECF%40gmail.com.


Re: [tw5] Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread 'Mark S.' via TiddlyWiki

On Tuesday, March 23, 2021 at 6:36:15 AM UTC-7 Mark S. wrote:

>
> Maybe it would work in the aggregator (haven't tried that yet), but it 
> would be nice if it also worked in the browser. 
>

It was a 17 minute experiment, but it doesn't work in the aggregator either.
 

-- 
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/8800fdf0-6995-4962-baf2-05e5ca600ccdn%40googlegroups.com.


[tw5] Re: Can external .mhtml files be displayed in Tiddlywiki like external img files?

2021-03-23 Thread 'Mark S.' via TiddlyWiki
HTML has a lot of excess code. But if you're using copycat, you can copy 
the file contents as Markdown. The new markdown plugin updates allows some 
use of wikitext, so you can now have the best of both worlds. Markdown, 
like wikitext, is very lightweight, and you lose the incredible bloat of 
HTML -- and the dangers of hidden code.

On Tuesday, March 23, 2021 at 12:18:38 AM UTC-7 Sapphireslinger wrote:

> I like to save my favorite web articles to my note-taking tiddlywiki. 
>
> For plain text I love Tiddlyclip. But when I want to preserve the 
> formatting I also use the firefox extension Copycat to copy and paste the 
> html of a selection into the tiddler (and I worry about the safety of 
> pasting who-knows-what code into a tiddler - but this is a side question). 
>
> However, recently I discovered that the Brave browser on my Android mobile 
> has a button to download a webpage as an .mhtml file.  
>
> Could I treat the downloaded .mhtml files like my external img files and 
> just call for them like calling for an external img, for example something 
> similar to [img[foo.mhtml]] or [ext[Open file|/foo/foo/foo.mhtml]]?
>
> That way the .mhtml files would be stored outside the tiddlywiki (no 
> bloat) and merely viewed when called for. Is there a way to do this? And is 
> it safer?
>
> * I tried [ext[Open file|/foo/foo/foo.mhtml]] and it just opened a page of 
> code, no website. (I was trying to access a downloaded .mhtml file using 
> Tiddlywiki on Firefox on my desktop computer running Linux Mint). 
>
> * I tried renaming the link and the file to .html instead of .mhtml and it 
> just keeps "loading..."
>
> I tried opening the file directly on my computer (not going through 
> Tiddlywiki) by right-clicking on the file and choosing to open with 
> firefox, and it only works if the file extension has been changed to .html.
>
> I would be happy to hear what experiences people have had with .mhtml 
> files and Tiddlywiki.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1918b23d-497e-4e3e-883b-9c97ef11fe82n%40googlegroups.com.


Re: [tw5] Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread 'Mark S.' via TiddlyWiki
[image: marxsal-favicon.png]

This is what my favicon looks like. Is there something wrong with the svg? 
Type? It doesn't show on the tab like a favicon should. Maybe it would work 
in the aggregator (haven't tried that yet), but it would be nice if it also 
worked in the browser. 

Thanks!
On Tuesday, March 23, 2021 at 2:55:17 AM UTC-7 jeremy...@gmail.com wrote:

>
> I can confirm that SVG favicons were already working. If they’re not 
> working for you there might be an issue with the image. Bear in mind that 
> it needs to be a full SVG image, with the type image/svg+xml, and not an 
> SVG fragment as with Mat’s attempt,
>
>
> Apologies, I believe it was Dave, not Mat,
>
> Best wishes
>
> Jeremy
>
>
> Best wishes
>
> Jeremy
>
> On 22 Mar 2021, at 17:24, Jeremy Ruston  wrote:
>
>
> Hi Mark,
>
> Come to think of it, it's possible that SVG favicons break things at 
> present because they're text rather than binary. I'll have a look at fixing 
> it,
>
> Best wishes
>
> Jeremy
> On Monday, March 22, 2021 at 5:21:42 PM UTC Mark S. wrote:
>
>> I would like to use an SVG rather than an image. Changing the type to 
>> image/svg+xml didn't help. I'm guessing there is some tweak we have to make 
>> to the SVG ?
>>
>>
>>>
>>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/2b6d62e4-a40f-4c04-a0b5-b60f8f7e340fn%40googlegroups.com
>  
> 
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7cdcaff5-afa5-4cdb-a57a-74a7add07009n%40googlegroups.com.


[tw5] Re: When "sameday" seems to mean "yesterday"

2021-03-23 Thread Jack Baty
Woah, that'll take a minute to get through, but looks awesome! Thank you.

On Tuesday, March 23, 2021 at 6:50:03 AM UTC-4 TW Tones wrote:

> Jack,
>
> I have attempted to document it all, see here 
> , for what I 
> wish I had when new to TW5
>
> Also time handling has the [UTC] flag where needed. See 
> <>
> <>
>
> Tones
>
> On Monday, 15 March 2021 at 00:38:56 UTC+11 ja...@baty.net wrote:
>
>> Soren, this is fantastic, thank you!
>>
>> I must say that your recent video on YouTube has advanced my 
>> understanding of TiddlyWiki faster and farther than several years of 
>> muddling about on my own with docs and scattered resources. I'm very much 
>> looking forward to Grok TiddlyWiki.
>>
>> Jack
>>
>> On Sunday, March 14, 2021 at 8:38:09 AM UTC-4 Soren Bjornstad wrote:
>>
>>> On Saturday, March 13, 2021 at 1:17:46 PM UTC-6 ja...@baty.net wrote:
>>>
 Ah, so *single* curly braces, thanks! 

 I'm not sure I'll ever completely understand when to use which 
 variation. :)

>>>
>>> It's probably simpler than you think, there's just currently nowhere 
>>> that summarizes it in an understandable form:
>>>
>>>- [[square brackets]] for links / to refer to the name of a tiddler
>>>- <> to get the value of variables or macros
>>>- {{curly braces}} to get the value of fields or tiddlers
>>>
>>> Inside a filter expression, you use just *one* of each. Anywhere else, 
>>> you use two.
>>>
>>> Macros add slight additional wrinkles to the <>:
>>>
>>>- Inside macros, <<__angle brackets with underscores__>> and $dollar 
>>>signs$ both refer to a macro parameter, but the dollar signs use text 
>>>substitution (understanding when to use text substitution and when not 
>>> to 
>>>is the only hard part).
>>>- Inside macros, <> and $(parenthesized dollar 
>>>signs)$ both refer to a variable, but the dollar signs use text 
>>>substitution.
>>>
>>> And last, {{{ triple curly braces }}} select one or more tiddlers using 
>>> a filter, then transclude them – so you can think of it as the “super” or 
>>> “extra powerful” version of normal double-brace transclusion, since it has 
>>> one extra brace.
>>>
>>

-- 
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/2b7e6df9-0b20-455c-a1a8-92ba1884n%40googlegroups.com.


Re: [tw5] Can we customize internal links?

2021-03-23 Thread Stobot
For anyone else, I'll just post a picture of what this looks like when 
implemented - this is an entirely new way of saving time and adding context 
to notes for me. Now I can't do images like I originally imagined, but I 
can do some icons / emoji like shown below. Example here is information 
stored on the project, hovering over a link which has a tag of Project. 

[image: screenshot.png]

On Tuesday, March 23, 2021 at 7:32:56 AM UTC-4 Stobot wrote:

> Beautiful! Thanks Jeremy
>
> On Tuesday, March 23, 2021 at 7:27:19 AM UTC-4 jeremy...@gmail.com wrote:
>
>>
>> Thanks Jeremy - that would help for Mat's use case of a custom action on 
>> navigate - I was hoping for something in the hover / tooltip area. Is there 
>> anything similar?
>>
>>
>> For that you’ll want the tv-wikilink-tooltip variable:
>>
>>
>> https://tiddlywiki.com/#tv-wikilink-tooltip%20Variable%20(Examples):%5B%5Btv-wikilink-tooltip%20Variable%5D%5D%20%5B%5Btv-wikilink-tooltip%20Variable%20(Examples)%5D%5D
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> On Tuesday, March 23, 2021 at 7:22:58 AM UTC-4 Stobot wrote:
>>
>>> We're on the same page Mat - sorry if I was unclear, while doing a macro 
>>> is possible, my question instead is how to hijack the normal [[...]] logic 
>>> as you've implied.
>>>
>>> I'm guessing it's either something I can tweak in "Inline Parse Rules", 
>>> or a modification / additional javascript around the wikification process 
>>> itself.
>>>
>>> On Tuesday, March 23, 2021 at 7:00:51 AM UTC-4 Mat wrote:
>>>
 You can probably make a macro to call like <> and the 
 macro checks up what type of tiddler "Bob Ross" is and acts accordingly. 
 Maybe the $LinkWidget can also show wikitext tooltips that uses the 
 current 
 title (i.e the linked to title) as argument - I don't know if this is 
 possible.

 What I would much rather see - so it doesn't disturb the workflow when 
 authoring - is a direct logic that is invoked when using the [[...]] 
 syntax, because this syntax is "the smooth one". It could be attached to 
 some template but what exact template to apply could be customized based 
 on 
 some characteristic of what is linked. E.g "Bob Ross" is tagged Contact so 
 the contacttemplate is used. Maybe it could even specify what happens when 
 the link is clicked! This would make it possible to have [[bobross]] 
 [[BobRoss]] and [[Bob Ross]] all navigate to [[Bob Ross]].

 Just maybe PMarios linking plugin, whose name just escapes me, uses 
 something like this...

 <:-)

 On Tuesday, March 23, 2021 at 11:41:26 AM UTC+1 Stobot wrote:

> I had an idea today and am trying to figure out how difficult it would 
> be to do. Say we use TiddlyWiki for project management (as I do), we will 
> be writing "journal" type tiddlers and using as many links as possible 
> for 
> future reference. 
>
> For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and 
> talked about [[Painting]] and his favorite place to paint which is 
> [[France]]"
>
> Now, I know that:
>
>- [[2021-03-23]] is a tiddler that is tagged "Date"
>- [[Bob Ross]] is a tiddler that is tagged "Contact"
>- [[Painting]] is a tiddler that is tagged "Hobby"
>- [[France]] is a tiddler that is tagged "Place"
>
> Is there somewhere that I can insert logic to add to the logic of the 
> internal link that is ultimately rendered? For example, for a "Contact", 
> I 
> might have "profilepic" in a field for [[Bob Ross]], and on the 
> tooltip/hover I might want to display his picture, for the date, maybe a 
> calendar tooltip, and for Hobby, maybe a list of other hobbies, or maybe 
> recent entries also related to Painting. 
>
> I could use macros instead of links and insert logic there - such as 
> use <> and in the macro check for the tag and insert 
> all 
> of my stuff, but then I can't use things like CompText, backlinks 
> probably 
> wouldn't work etc. 
>
> Any ideas?
>

>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com.
>>
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/d95cee47-ea6e-44d9-b481-3613b4246b11n%40googlegroups.com
>>  
>> 
>> .
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Re: [tw5] Can we customize internal links?

2021-03-23 Thread Stobot
Beautiful! Thanks Jeremy

On Tuesday, March 23, 2021 at 7:27:19 AM UTC-4 jeremy...@gmail.com wrote:

>
> Thanks Jeremy - that would help for Mat's use case of a custom action on 
> navigate - I was hoping for something in the hover / tooltip area. Is there 
> anything similar?
>
>
> For that you’ll want the tv-wikilink-tooltip variable:
>
>
> https://tiddlywiki.com/#tv-wikilink-tooltip%20Variable%20(Examples):%5B%5Btv-wikilink-tooltip%20Variable%5D%5D%20%5B%5Btv-wikilink-tooltip%20Variable%20(Examples)%5D%5D
>
> Best wishes
>
> Jeremy
>
>
> On Tuesday, March 23, 2021 at 7:22:58 AM UTC-4 Stobot wrote:
>
>> We're on the same page Mat - sorry if I was unclear, while doing a macro 
>> is possible, my question instead is how to hijack the normal [[...]] logic 
>> as you've implied.
>>
>> I'm guessing it's either something I can tweak in "Inline Parse Rules", 
>> or a modification / additional javascript around the wikification process 
>> itself.
>>
>> On Tuesday, March 23, 2021 at 7:00:51 AM UTC-4 Mat wrote:
>>
>>> You can probably make a macro to call like <> and the 
>>> macro checks up what type of tiddler "Bob Ross" is and acts accordingly. 
>>> Maybe the $LinkWidget can also show wikitext tooltips that uses the current 
>>> title (i.e the linked to title) as argument - I don't know if this is 
>>> possible.
>>>
>>> What I would much rather see - so it doesn't disturb the workflow when 
>>> authoring - is a direct logic that is invoked when using the [[...]] 
>>> syntax, because this syntax is "the smooth one". It could be attached to 
>>> some template but what exact template to apply could be customized based on 
>>> some characteristic of what is linked. E.g "Bob Ross" is tagged Contact so 
>>> the contacttemplate is used. Maybe it could even specify what happens when 
>>> the link is clicked! This would make it possible to have [[bobross]] 
>>> [[BobRoss]] and [[Bob Ross]] all navigate to [[Bob Ross]].
>>>
>>> Just maybe PMarios linking plugin, whose name just escapes me, uses 
>>> something like this...
>>>
>>> <:-)
>>>
>>> On Tuesday, March 23, 2021 at 11:41:26 AM UTC+1 Stobot wrote:
>>>
 I had an idea today and am trying to figure out how difficult it would 
 be to do. Say we use TiddlyWiki for project management (as I do), we will 
 be writing "journal" type tiddlers and using as many links as possible for 
 future reference. 

 For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and 
 talked about [[Painting]] and his favorite place to paint which is 
 [[France]]"

 Now, I know that:

- [[2021-03-23]] is a tiddler that is tagged "Date"
- [[Bob Ross]] is a tiddler that is tagged "Contact"
- [[Painting]] is a tiddler that is tagged "Hobby"
- [[France]] is a tiddler that is tagged "Place"

 Is there somewhere that I can insert logic to add to the logic of the 
 internal link that is ultimately rendered? For example, for a "Contact", I 
 might have "profilepic" in a field for [[Bob Ross]], and on the 
 tooltip/hover I might want to display his picture, for the date, maybe a 
 calendar tooltip, and for Hobby, maybe a list of other hobbies, or maybe 
 recent entries also related to Painting. 

 I could use macros instead of links and insert logic there - such as 
 use <> and in the macro check for the tag and insert 
 all 
 of my stuff, but then I can't use things like CompText, backlinks probably 
 wouldn't work etc. 

 Any ideas?

>>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/d95cee47-ea6e-44d9-b481-3613b4246b11n%40googlegroups.com
>  
> 
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43acc7a9-7b98-4338-a7da-46481437ff1an%40googlegroups.com.


[tw5] Re: List Fields : How to get the "Position" of an item in a list field

2021-03-23 Thread Mohamed Amin
For future reference: I found the following related:

   1. GitHub issue : Provide an index value in lists #3384 
    (also there're 
   many other related issues)
   2. Macro by tobibeer 


On Tuesday, March 23, 2021 at 1:16:08 PM UTC+2 Mohamed Amin wrote:

> Thanks @Mat this is a clever workaround solution.
>
> @Tones, thanks for your reply, but I couldn't get your idea, how can I use 
> "range operator" to calculate the number "N" that I'll use in the "nth[N]" 
> operator?
>
>
> On Tuesday, March 23, 2021 at 12:34:00 PM UTC+2 TW Tones wrote:
>
>> Mats suggestion is one I use.
>>
>> Another trick is to use count to get the total number T of items then use 
>> a range operator from 1 to N, in which the current tiddler will be the item 
>> number.
>>
>> However you then need to retrieve the nth[N] item from the list.
>>
>> Regards
>> Tones
>>
>> On Tuesday, 23 March 2021 at 21:24:41 UTC+11 Mat wrote:
>>
>>> You can use this to find the position of an item in a list
>>>
>>> +[allbeforecount[]add[1]]
>>>
>>> e.g 
>>>
>>> {{{ one two three four five +[allbefore[four]count[]add[1]]  }}} > 4
>>>
>>> Not sure it's the optimal solution, I just made it up.
>>>
>>> <:-)
>>>  
>>>
>>>
>>> On Tuesday, March 23, 2021 at 10:57:48 AM UTC+1 Mohamed Amin wrote:
>>>
 Hi,

 Is there a way to get the position of an item in a "list field"?

 More info:
 Recently I've discovered the "nth" filter operator 
 , and one of the use case I 
 immediately think about was to "iterate" through items in multiple related 
 "list fields"

 Take the following example (not a real one, just to get the idea clear):
 If a family needs to manage its friends, each family member's Tiddler 
 will have the following fields:
 1- friend-names : "list field" contains ALL friends
 2- friendships-start-date : "list field" where the "position" of the 
 date determine the friend's names
 3- friendships-meter : "list field" where the "position" of the % 
 determine the friend's names

 Ex.
 friend-names : [[alex]]  [[andy]][[john]]  
[[evan]]
 friendships-start-date :  [[Mar2015]]   [[Dec2017]][[Nov2016]]
  [[Feb2011]]
 friendships-meter [[70]]  [[30]]   [[60]]  
   [[90]]

 Now I can use the filter "[contain:friend-name[alex]]" to get all 
 family members who is a friend with "alex".
 And if I know the <> of "alex" in the "friend-names" field, 
 I can get the rest of the data corresponding to it for the currentTiddler 
 using a filter like:
 "[all[current]get[friendships-meter]enlist-input[]nth]" 

 Regards



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1922324-317b-4e39-ade5-1de886490fa9n%40googlegroups.com.


Re: [tw5] Can we customize internal links?

2021-03-23 Thread Jeremy Ruston
> 
> Thanks Jeremy - that would help for Mat's use case of a custom action on 
> navigate - I was hoping for something in the hover / tooltip area. Is there 
> anything similar?

For that you’ll want the tv-wikilink-tooltip variable:

https://tiddlywiki.com/#tv-wikilink-tooltip%20Variable%20(Examples):%5B%5Btv-wikilink-tooltip%20Variable%5D%5D%20%5B%5Btv-wikilink-tooltip%20Variable%20(Examples)%5D%5D

Best wishes

Jeremy

> 
> On Tuesday, March 23, 2021 at 7:22:58 AM UTC-4 Stobot wrote:
> We're on the same page Mat - sorry if I was unclear, while doing a macro is 
> possible, my question instead is how to hijack the normal [[...]] logic as 
> you've implied.
> 
> I'm guessing it's either something I can tweak in "Inline Parse Rules", or a 
> modification / additional javascript around the wikification process itself.
> 
> On Tuesday, March 23, 2021 at 7:00:51 AM UTC-4 Mat wrote:
> You can probably make a macro to call like <> and the macro 
> checks up what type of tiddler "Bob Ross" is and acts accordingly. Maybe the 
> $LinkWidget can also show wikitext tooltips that uses the current title (i.e 
> the linked to title) as argument - I don't know if this is possible.
> 
> What I would much rather see - so it doesn't disturb the workflow when 
> authoring - is a direct logic that is invoked when using the [[...]] syntax, 
> because this syntax is "the smooth one". It could be attached to some 
> template but what exact template to apply could be customized based on some 
> characteristic of what is linked. E.g "Bob Ross" is tagged Contact so the 
> contacttemplate is used. Maybe it could even specify what happens when the 
> link is clicked! This would make it possible to have [[bobross]] [[BobRoss]] 
> and [[Bob Ross]] all navigate to [[Bob Ross]].
> 
> Just maybe PMarios linking plugin, whose name just escapes me, uses something 
> like this...
> 
> <:-)
> 
> On Tuesday, March 23, 2021 at 11:41:26 AM UTC+1 Stobot wrote:
> I had an idea today and am trying to figure out how difficult it would be to 
> do. Say we use TiddlyWiki for project management (as I do), we will be 
> writing "journal" type tiddlers and using as many links as possible for 
> future reference. 
> 
> For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and talked 
> about [[Painting]] and his favorite place to paint which is [[France]]"
> 
> Now, I know that:
> [[2021-03-23]] is a tiddler that is tagged "Date"
> [[Bob Ross]] is a tiddler that is tagged "Contact"
> [[Painting]] is a tiddler that is tagged "Hobby"
> [[France]] is a tiddler that is tagged "Place"
> Is there somewhere that I can insert logic to add to the logic of the 
> internal link that is ultimately rendered? For example, for a "Contact", I 
> might have "profilepic" in a field for [[Bob Ross]], and on the tooltip/hover 
> I might want to display his picture, for the date, maybe a calendar tooltip, 
> and for Hobby, maybe a list of other hobbies, or maybe recent entries also 
> related to Painting. 
> 
> I could use macros instead of links and insert logic there - such as use 
> <> and in the macro check for the tag and insert all of my 
> stuff, but then I can't use things like CompText, backlinks probably wouldn't 
> work etc. 
> 
> Any ideas?
> 
> -- 
> 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/d95cee47-ea6e-44d9-b481-3613b4246b11n%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2E51A0F7-EB43-4B73-9A6D-D392E1400E94%40gmail.com.


[tw5] Re: Can we customize internal links?

2021-03-23 Thread Stobot
Thanks Jeremy - that would help for Mat's use case of a custom action on 
navigate - I was hoping for something in the hover / tooltip area. Is there 
anything similar?

On Tuesday, March 23, 2021 at 7:22:58 AM UTC-4 Stobot wrote:

> We're on the same page Mat - sorry if I was unclear, while doing a macro 
> is possible, my question instead is how to hijack the normal [[...]] logic 
> as you've implied.
>
> I'm guessing it's either something I can tweak in "Inline Parse Rules", or 
> a modification / additional javascript around the wikification process 
> itself.
>
> On Tuesday, March 23, 2021 at 7:00:51 AM UTC-4 Mat wrote:
>
>> You can probably make a macro to call like <> and the 
>> macro checks up what type of tiddler "Bob Ross" is and acts accordingly. 
>> Maybe the $LinkWidget can also show wikitext tooltips that uses the current 
>> title (i.e the linked to title) as argument - I don't know if this is 
>> possible.
>>
>> What I would much rather see - so it doesn't disturb the workflow when 
>> authoring - is a direct logic that is invoked when using the [[...]] 
>> syntax, because this syntax is "the smooth one". It could be attached to 
>> some template but what exact template to apply could be customized based on 
>> some characteristic of what is linked. E.g "Bob Ross" is tagged Contact so 
>> the contacttemplate is used. Maybe it could even specify what happens when 
>> the link is clicked! This would make it possible to have [[bobross]] 
>> [[BobRoss]] and [[Bob Ross]] all navigate to [[Bob Ross]].
>>
>> Just maybe PMarios linking plugin, whose name just escapes me, uses 
>> something like this...
>>
>> <:-)
>>
>> On Tuesday, March 23, 2021 at 11:41:26 AM UTC+1 Stobot wrote:
>>
>>> I had an idea today and am trying to figure out how difficult it would 
>>> be to do. Say we use TiddlyWiki for project management (as I do), we will 
>>> be writing "journal" type tiddlers and using as many links as possible for 
>>> future reference. 
>>>
>>> For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and talked 
>>> about [[Painting]] and his favorite place to paint which is [[France]]"
>>>
>>> Now, I know that:
>>>
>>>- [[2021-03-23]] is a tiddler that is tagged "Date"
>>>- [[Bob Ross]] is a tiddler that is tagged "Contact"
>>>- [[Painting]] is a tiddler that is tagged "Hobby"
>>>- [[France]] is a tiddler that is tagged "Place"
>>>
>>> Is there somewhere that I can insert logic to add to the logic of the 
>>> internal link that is ultimately rendered? For example, for a "Contact", I 
>>> might have "profilepic" in a field for [[Bob Ross]], and on the 
>>> tooltip/hover I might want to display his picture, for the date, maybe a 
>>> calendar tooltip, and for Hobby, maybe a list of other hobbies, or maybe 
>>> recent entries also related to Painting. 
>>>
>>> I could use macros instead of links and insert logic there - such as use 
>>> <> and in the macro check for the tag and insert all of 
>>> my stuff, but then I can't use things like CompText, backlinks probably 
>>> wouldn't work etc. 
>>>
>>> Any ideas?
>>>
>>

-- 
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/d95cee47-ea6e-44d9-b481-3613b4246b11n%40googlegroups.com.


[tw5] Re: Can we customize internal links?

2021-03-23 Thread Stobot
We're on the same page Mat - sorry if I was unclear, while doing a macro is 
possible, my question instead is how to hijack the normal [[...]] logic as 
you've implied.

I'm guessing it's either something I can tweak in "Inline Parse Rules", or 
a modification / additional javascript around the wikification process 
itself.

On Tuesday, March 23, 2021 at 7:00:51 AM UTC-4 Mat wrote:

> You can probably make a macro to call like <> and the 
> macro checks up what type of tiddler "Bob Ross" is and acts accordingly. 
> Maybe the $LinkWidget can also show wikitext tooltips that uses the current 
> title (i.e the linked to title) as argument - I don't know if this is 
> possible.
>
> What I would much rather see - so it doesn't disturb the workflow when 
> authoring - is a direct logic that is invoked when using the [[...]] 
> syntax, because this syntax is "the smooth one". It could be attached to 
> some template but what exact template to apply could be customized based on 
> some characteristic of what is linked. E.g "Bob Ross" is tagged Contact so 
> the contacttemplate is used. Maybe it could even specify what happens when 
> the link is clicked! This would make it possible to have [[bobross]] 
> [[BobRoss]] and [[Bob Ross]] all navigate to [[Bob Ross]].
>
> Just maybe PMarios linking plugin, whose name just escapes me, uses 
> something like this...
>
> <:-)
>
> On Tuesday, March 23, 2021 at 11:41:26 AM UTC+1 Stobot wrote:
>
>> I had an idea today and am trying to figure out how difficult it would be 
>> to do. Say we use TiddlyWiki for project management (as I do), we will be 
>> writing "journal" type tiddlers and using as many links as possible for 
>> future reference. 
>>
>> For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and talked 
>> about [[Painting]] and his favorite place to paint which is [[France]]"
>>
>> Now, I know that:
>>
>>- [[2021-03-23]] is a tiddler that is tagged "Date"
>>- [[Bob Ross]] is a tiddler that is tagged "Contact"
>>- [[Painting]] is a tiddler that is tagged "Hobby"
>>- [[France]] is a tiddler that is tagged "Place"
>>
>> Is there somewhere that I can insert logic to add to the logic of the 
>> internal link that is ultimately rendered? For example, for a "Contact", I 
>> might have "profilepic" in a field for [[Bob Ross]], and on the 
>> tooltip/hover I might want to display his picture, for the date, maybe a 
>> calendar tooltip, and for Hobby, maybe a list of other hobbies, or maybe 
>> recent entries also related to Painting. 
>>
>> I could use macros instead of links and insert logic there - such as use 
>> <> and in the macro check for the tag and insert all of 
>> my stuff, but then I can't use things like CompText, backlinks probably 
>> wouldn't work etc. 
>>
>> Any ideas?
>>
>

-- 
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/4f440b43-a907-4ca9-9c12-d5aa40445113n%40googlegroups.com.


Re: [tw5] Can external .mhtml files be displayed in Tiddlywiki like external img files?

2021-03-23 Thread Jeremy Ruston
Chrome desktop can also save webpages in MHTML format.

I’ve subsequently researched a little and it looks like they may be explicitly 
blocked from display in an iframe.

Best wishes

Jeremy

> On 23 Mar 2021, at 10:28, TW Tones  wrote:
> 
> Perhaps you can share a minimal mHTML file for us to experiment with?

-- 
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/18EEB1C0-684D-48D8-88EC-4BFD61C1E016%40gmail.com.


Re: [tw5] Can we customize internal links?

2021-03-23 Thread Jeremy Ruston
Hi Stobot

You should be able to do this with the <$linkcatcher> widget; it lets you trap 
navigations (ie clicks on links) and runs custom logic in an action string:

https://tiddlywiki.com/#LinkCatcherWidget 


Best wishes

Jeremy


> On 23 Mar 2021, at 10:41, Stobot  wrote:
> 
> I had an idea today and am trying to figure out how difficult it would be to 
> do. Say we use TiddlyWiki for project management (as I do), we will be 
> writing "journal" type tiddlers and using as many links as possible for 
> future reference. 
> 
> For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and talked 
> about [[Painting]] and his favorite place to paint which is [[France]]"
> 
> Now, I know that:
> [[2021-03-23]] is a tiddler that is tagged "Date"
> [[Bob Ross]] is a tiddler that is tagged "Contact"
> [[Painting]] is a tiddler that is tagged "Hobby"
> [[France]] is a tiddler that is tagged "Place"
> Is there somewhere that I can insert logic to add to the logic of the 
> internal link that is ultimately rendered? For example, for a "Contact", I 
> might have "profilepic" in a field for [[Bob Ross]], and on the tooltip/hover 
> I might want to display his picture, for the date, maybe a calendar tooltip, 
> and for Hobby, maybe a list of other hobbies, or maybe recent entries also 
> related to Painting. 
> 
> I could use macros instead of links and insert logic there - such as use 
> <> and in the macro check for the tag and insert all of my 
> stuff, but then I can't use things like CompText, backlinks probably wouldn't 
> work etc. 
> 
> Any ideas?
> 
> -- 
> 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/7158dcda-b8d3-44cd-afb5-fa099865f448n%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/BA33FE0E-02EB-4177-B8A0-1E771974FC64%40gmail.com.


[tw5] Re: List Fields : How to get the "Position" of an item in a list field

2021-03-23 Thread Mohamed Amin
Thanks @Mat this is a clever workaround solution.

@Tones, thanks for your reply, but I couldn't get your idea, how can I use 
"range operator" to calculate the number "N" that I'll use in the "nth[N]" 
operator?


On Tuesday, March 23, 2021 at 12:34:00 PM UTC+2 TW Tones wrote:

> Mats suggestion is one I use.
>
> Another trick is to use count to get the total number T of items then use 
> a range operator from 1 to N, in which the current tiddler will be the item 
> number.
>
> However you then need to retrieve the nth[N] item from the list.
>
> Regards
> Tones
>
> On Tuesday, 23 March 2021 at 21:24:41 UTC+11 Mat wrote:
>
>> You can use this to find the position of an item in a list
>>
>> +[allbeforecount[]add[1]]
>>
>> e.g 
>>
>> {{{ one two three four five +[allbefore[four]count[]add[1]]  }}} > 4
>>
>> Not sure it's the optimal solution, I just made it up.
>>
>> <:-)
>>  
>>
>>
>> On Tuesday, March 23, 2021 at 10:57:48 AM UTC+1 Mohamed Amin wrote:
>>
>>> Hi,
>>>
>>> Is there a way to get the position of an item in a "list field"?
>>>
>>> More info:
>>> Recently I've discovered the "nth" filter operator 
>>> , and one of the use case I 
>>> immediately think about was to "iterate" through items in multiple related 
>>> "list fields"
>>>
>>> Take the following example (not a real one, just to get the idea clear):
>>> If a family needs to manage its friends, each family member's Tiddler 
>>> will have the following fields:
>>> 1- friend-names : "list field" contains ALL friends
>>> 2- friendships-start-date : "list field" where the "position" of the 
>>> date determine the friend's names
>>> 3- friendships-meter : "list field" where the "position" of the % 
>>> determine the friend's names
>>>
>>> Ex.
>>> friend-names : [[alex]]  [[andy]][[john]]  
>>>[[evan]]
>>> friendships-start-date :  [[Mar2015]]   [[Dec2017]][[Nov2016]]
>>>  [[Feb2011]]
>>> friendships-meter [[70]]  [[30]]   [[60]]  
>>>   [[90]]
>>>
>>> Now I can use the filter "[contain:friend-name[alex]]" to get all 
>>> family members who is a friend with "alex".
>>> And if I know the <> of "alex" in the "friend-names" field, I 
>>> can get the rest of the data corresponding to it for the currentTiddler 
>>> using a filter like:
>>> "[all[current]get[friendships-meter]enlist-input[]nth]" 
>>>
>>> Regards
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a0af5f7c-ca92-4a14-93b9-169a2566b501n%40googlegroups.com.


[tw5] Re: Can we customize internal links?

2021-03-23 Thread Mat
You can probably make a macro to call like <> and the 
macro checks up what type of tiddler "Bob Ross" is and acts accordingly. 
Maybe the $LinkWidget can also show wikitext tooltips that uses the current 
title (i.e the linked to title) as argument - I don't know if this is 
possible.

What I would much rather see - so it doesn't disturb the workflow when 
authoring - is a direct logic that is invoked when using the [[...]] 
syntax, because this syntax is "the smooth one". It could be attached to 
some template but what exact template to apply could be customized based on 
some characteristic of what is linked. E.g "Bob Ross" is tagged Contact so 
the contacttemplate is used. Maybe it could even specify what happens when 
the link is clicked! This would make it possible to have [[bobross]] 
[[BobRoss]] and [[Bob Ross]] all navigate to [[Bob Ross]].

Just maybe PMarios linking plugin, whose name just escapes me, uses 
something like this...

<:-)

On Tuesday, March 23, 2021 at 11:41:26 AM UTC+1 Stobot wrote:

> I had an idea today and am trying to figure out how difficult it would be 
> to do. Say we use TiddlyWiki for project management (as I do), we will be 
> writing "journal" type tiddlers and using as many links as possible for 
> future reference. 
>
> For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and talked 
> about [[Painting]] and his favorite place to paint which is [[France]]"
>
> Now, I know that:
>
>- [[2021-03-23]] is a tiddler that is tagged "Date"
>- [[Bob Ross]] is a tiddler that is tagged "Contact"
>- [[Painting]] is a tiddler that is tagged "Hobby"
>- [[France]] is a tiddler that is tagged "Place"
>
> Is there somewhere that I can insert logic to add to the logic of the 
> internal link that is ultimately rendered? For example, for a "Contact", I 
> might have "profilepic" in a field for [[Bob Ross]], and on the 
> tooltip/hover I might want to display his picture, for the date, maybe a 
> calendar tooltip, and for Hobby, maybe a list of other hobbies, or maybe 
> recent entries also related to Painting. 
>
> I could use macros instead of links and insert logic there - such as use 
> <> and in the macro check for the tag and insert all of 
> my stuff, but then I can't use things like CompText, backlinks probably 
> wouldn't work etc. 
>
> Any ideas?
>

-- 
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/13ed08b4-ea75-439c-a8c0-2954b5872b01n%40googlegroups.com.


[tw5] Re: When "sameday" seems to mean "yesterday"

2021-03-23 Thread TW Tones
Jack,

I have attempted to document it all, see here 
, for what I wish 
I had when new to TW5

Also time handling has the [UTC] flag where needed. See 
<>
<>

Tones

On Monday, 15 March 2021 at 00:38:56 UTC+11 ja...@baty.net wrote:

> Soren, this is fantastic, thank you!
>
> I must say that your recent video on YouTube has advanced my understanding 
> of TiddlyWiki faster and farther than several years of muddling about on my 
> own with docs and scattered resources. I'm very much looking forward 
> to Grok TiddlyWiki.
>
> Jack
>
> On Sunday, March 14, 2021 at 8:38:09 AM UTC-4 Soren Bjornstad wrote:
>
>> On Saturday, March 13, 2021 at 1:17:46 PM UTC-6 ja...@baty.net wrote:
>>
>>> Ah, so *single* curly braces, thanks! 
>>>
>>> I'm not sure I'll ever completely understand when to use which 
>>> variation. :)
>>>
>>
>> It's probably simpler than you think, there's just currently nowhere that 
>> summarizes it in an understandable form:
>>
>>- [[square brackets]] for links / to refer to the name of a tiddler
>>- <> to get the value of variables or macros
>>- {{curly braces}} to get the value of fields or tiddlers
>>
>> Inside a filter expression, you use just *one* of each. Anywhere else, 
>> you use two.
>>
>> Macros add slight additional wrinkles to the <>:
>>
>>- Inside macros, <<__angle brackets with underscores__>> and $dollar 
>>signs$ both refer to a macro parameter, but the dollar signs use text 
>>substitution (understanding when to use text substitution and when not to 
>>is the only hard part).
>>- Inside macros, <> and $(parenthesized dollar 
>>signs)$ both refer to a variable, but the dollar signs use text 
>>substitution.
>>
>> And last, {{{ triple curly braces }}} select one or more tiddlers using a 
>> filter, then transclude them – so you can think of it as the “super” or 
>> “extra powerful” version of normal double-brace transclusion, since it has 
>> one extra brace.
>>
>

-- 
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/7b943e8a-916a-4690-8890-141a884bac8an%40googlegroups.com.


[tw5] Can we customize internal links?

2021-03-23 Thread Stobot
I had an idea today and am trying to figure out how difficult it would be 
to do. Say we use TiddlyWiki for project management (as I do), we will be 
writing "journal" type tiddlers and using as many links as possible for 
future reference. 

For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and talked 
about [[Painting]] and his favorite place to paint which is [[France]]"

Now, I know that:

   - [[2021-03-23]] is a tiddler that is tagged "Date"
   - [[Bob Ross]] is a tiddler that is tagged "Contact"
   - [[Painting]] is a tiddler that is tagged "Hobby"
   - [[France]] is a tiddler that is tagged "Place"

Is there somewhere that I can insert logic to add to the logic of the 
internal link that is ultimately rendered? For example, for a "Contact", I 
might have "profilepic" in a field for [[Bob Ross]], and on the 
tooltip/hover I might want to display his picture, for the date, maybe a 
calendar tooltip, and for Hobby, maybe a list of other hobbies, or maybe 
recent entries also related to Painting. 

I could use macros instead of links and insert logic there - such as use 
<> and in the macro check for the tag and insert all of 
my stuff, but then I can't use things like CompText, backlinks probably 
wouldn't work etc. 

Any ideas?

-- 
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/7158dcda-b8d3-44cd-afb5-fa099865f448n%40googlegroups.com.


[tw5] Re: List Fields : How to get the "Position" of an item in a list field

2021-03-23 Thread TW Tones
Mats suggestion is one I use.

Another trick is to use count to get the total number T of items then use a 
range operator from 1 to N, in which the current tiddler will be the item 
number.

However you then need to retrieve the nth[N] item from the list.

Regards
Tones

On Tuesday, 23 March 2021 at 21:24:41 UTC+11 Mat wrote:

> You can use this to find the position of an item in a list
>
> +[allbeforecount[]add[1]]
>
> e.g 
>
> {{{ one two three four five +[allbefore[four]count[]add[1]]  }}} > 4
>
> Not sure it's the optimal solution, I just made it up.
>
> <:-)
>  
>
>
> On Tuesday, March 23, 2021 at 10:57:48 AM UTC+1 Mohamed Amin wrote:
>
>> Hi,
>>
>> Is there a way to get the position of an item in a "list field"?
>>
>> More info:
>> Recently I've discovered the "nth" filter operator 
>> , and one of the use case I 
>> immediately think about was to "iterate" through items in multiple related 
>> "list fields"
>>
>> Take the following example (not a real one, just to get the idea clear):
>> If a family needs to manage its friends, each family member's Tiddler 
>> will have the following fields:
>> 1- friend-names : "list field" contains ALL friends
>> 2- friendships-start-date : "list field" where the "position" of the date 
>> determine the friend's names
>> 3- friendships-meter : "list field" where the "position" of the % 
>> determine the friend's names
>>
>> Ex.
>> friend-names : [[alex]]  [[andy]][[john]]
>>  [[evan]]
>> friendships-start-date :  [[Mar2015]]   [[Dec2017]][[Nov2016]]
>>  [[Feb2011]]
>> friendships-meter [[70]]  [[30]]   [[60]]
>> [[90]]
>>
>> Now I can use the filter "[contain:friend-name[alex]]" to get all family 
>> members who is a friend with "alex".
>> And if I know the <> of "alex" in the "friend-names" field, I 
>> can get the rest of the data corresponding to it for the currentTiddler 
>> using a filter like:
>> "[all[current]get[friendships-meter]enlist-input[]nth]" 
>>
>> Regards
>>
>>

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


Re: [tw5] Re: Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread PMario
On Monday, March 22, 2021 at 3:07:23 PM UTC+1 Jeremy Ruston wrote:
...

> Probably even less, if I would use a different template, to create the 
> output file.
> OR
> Would it be possible to create a community-links.json file that you can 
> fetch. ... It would be several kByte. 
>
>
> We could certainly update the scraper to optionally accept JSON.
>
> But, it's quite nice that the originating sites are human readable because 
> it gives users of links.tiddlywiki.com the opportunity to get to know the 
> contributors better.
>

You are right. After reading your answer, I did think about the 
external-core render command. That would be able to have a smaller html 
file and still be able to load a working TW.

Since my wikis and the link-wiki are auto-generated, that will be a nice 
fit.

-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/32043752-4f66-495c-8e61-5955b0d5c1d5n%40googlegroups.com.


[tw5] Re: Can external .mhtml files be displayed in Tiddlywiki like external img files?

2021-03-23 Thread TW Tones
Sapphireslinger

Perhaps you can share a minimal mHTML file for us to experiment with?

Tones
On Tuesday, 23 March 2021 at 18:20:54 UTC+11 Sapphireslinger wrote:

> More accurately the link I tried was [ext[Open file|Webpages/foo.mhtml]]
>
> On Tuesday, March 23, 2021 at 3:18:38 PM UTC+8 Sapphireslinger wrote:
>
>> I like to save my favorite web articles to my note-taking tiddlywiki. 
>>
>> For plain text I love Tiddlyclip. But when I want to preserve the 
>> formatting I also use the firefox extension Copycat to copy and paste the 
>> html of a selection into the tiddler (and I worry about the safety of 
>> pasting who-knows-what code into a tiddler - but this is a side question). 
>>
>> However, recently I discovered that the Brave browser on my Android 
>> mobile has a button to download a webpage as an .mhtml file.  
>>
>> Could I treat the downloaded .mhtml files like my external img files and 
>> just call for them like calling for an external img, for example something 
>> similar to [img[foo.mhtml]] or [ext[Open file|/foo/foo/foo.mhtml]]?
>>
>> That way the .mhtml files would be stored outside the tiddlywiki (no 
>> bloat) and merely viewed when called for. Is there a way to do this? And is 
>> it safer?
>>
>> * I tried [ext[Open file|/foo/foo/foo.mhtml]] and it just opened a page 
>> of code, no website. (I was trying to access a downloaded .mhtml file using 
>> Tiddlywiki on Firefox on my desktop computer running Linux Mint). 
>>
>> * I tried renaming the link and the file to .html instead of .mhtml and 
>> it just keeps "loading..."
>>
>> I tried opening the file directly on my computer (not going through 
>> Tiddlywiki) by right-clicking on the file and choosing to open with 
>> firefox, and it only works if the file extension has been changed to .html.
>>
>> I would be happy to hear what experiences people have had with .mhtml 
>> files and Tiddlywiki.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cdd4d890-fec2-4dcf-88ce-8bd86c4cf73bn%40googlegroups.com.


[tw5] Re: List Fields : How to get the "Position" of an item in a list field

2021-03-23 Thread Mat
You can use this to find the position of an item in a list

+[allbeforecount[]add[1]]

e.g 

{{{ one two three four five +[allbefore[four]count[]add[1]]  }}} > 4

Not sure it's the optimal solution, I just made it up.

<:-)
 


On Tuesday, March 23, 2021 at 10:57:48 AM UTC+1 Mohamed Amin wrote:

> Hi,
>
> Is there a way to get the position of an item in a "list field"?
>
> More info:
> Recently I've discovered the "nth" filter operator 
> , and one of the use case I 
> immediately think about was to "iterate" through items in multiple related 
> "list fields"
>
> Take the following example (not a real one, just to get the idea clear):
> If a family needs to manage its friends, each family member's Tiddler will 
> have the following fields:
> 1- friend-names : "list field" contains ALL friends
> 2- friendships-start-date : "list field" where the "position" of the date 
> determine the friend's names
> 3- friendships-meter : "list field" where the "position" of the % 
> determine the friend's names
>
> Ex.
> friend-names : [[alex]]  [[andy]][[john]]
>  [[evan]]
> friendships-start-date :  [[Mar2015]]   [[Dec2017]][[Nov2016]]
>  [[Feb2011]]
> friendships-meter [[70]]  [[30]]   [[60]]
> [[90]]
>
> Now I can use the filter "[contain:friend-name[alex]]" to get all family 
> members who is a friend with "alex".
> And if I know the <> of "alex" in the "friend-names" field, I 
> can get the rest of the data corresponding to it for the currentTiddler 
> using a filter like:
> "[all[current]get[friendships-meter]enlist-input[]nth]" 
>
> Regards
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ec48008c-ca95-493a-ba2f-a19b64fc4ff2n%40googlegroups.com.


[tw5] Count hits in numerical order

2021-03-23 Thread vinvi...@gmail.com
Hello,

List (Unique) text field of tiddlers tagged: "(S)", where all tiddlers with 
tag "(I)" and field: "rate" with value: "2" are tagged to.

<$list filter="[[2]listed[rating]tag[(I)]]">
<$list filter="[all[current]tags[]]+[tag[(S)]] +[limit[1]]">
{{!!text}}




*Each listed (S) tagged tiddler has one or more (I) tagged tiddlers tagged 
to it. *
*How do I use the CountWidget in the example above so that it also counts 
the number of hits?*

*And how do I list the tiddlers in numerical order with the highest number 
on top?*

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/19bfe195-2f46-483c-9107-2a28244a0f75n%40googlegroups.com.


[tw5] List Fields : How to get the "Position" of an item in a list field

2021-03-23 Thread Mohamed Amin
Hi,

Is there a way to get the position of an item in a "list field"?

More info:
Recently I've discovered the "nth" filter operator 
, and one of the use case I 
immediately think about was to "iterate" through items in multiple related 
"list fields"

Take the following example (not a real one, just to get the idea clear):
If a family needs to manage its friends, each family member's Tiddler will 
have the following fields:
1- friend-names : "list field" contains ALL friends
2- friendships-start-date : "list field" where the "position" of the date 
determine the friend's names
3- friendships-meter : "list field" where the "position" of the % determine 
the friend's names

Ex.
friend-names : [[alex]]  [[andy]][[john]]  
   [[evan]]
friendships-start-date :  [[Mar2015]]   [[Dec2017]][[Nov2016]]
 [[Feb2011]]
friendships-meter [[70]]  [[30]]   [[60]]  
  [[90]]

Now I can use the filter "[contain:friend-name[alex]]" to get all family 
members who is a friend with "alex".
And if I know the <> of "alex" in the "friend-names" field, I can 
get the rest of the data corresponding to it for the currentTiddler using a 
filter like:
"[all[current]get[friendships-meter]enlist-input[]nth]" 

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/17361809-f714-4062-a7e0-626fdcc450fcn%40googlegroups.com.


Re: [tw5] Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread Jeremy Ruston
Hi Mark

> On 22 Mar 2021, at 22:14, 'Mark S.' via TiddlyWiki 
>  wrote:
> 
> That would work well enough, and be semi-intuitive in a TiddlyWiki sort of 
> way.

That’s now live, and I’ve added a note to the about page.

Best wishes

Jeremy

> 
> On Monday, March 22, 2021 at 2:09:28 PM UTC-7 jeremy...@gmail.com wrote:
> Hi Mark
> 
> Good idea. Do you think it would be enough to exclude "$:/" system tags?
> 
> Best wishes
> 
> Jeremy
> --
> Jeremy Ruston
> jer...@jermolene.com 
> https://jermolene.com 
> 
>> On 22 Mar 2021, at 20:59, 'Mark S.' via TiddlyWiki 
>> > > wrote:
>> 
>> It would be handy for link management purposes if system tags (or some 
>> other tag with a designated prefix) could be ignored in processing.
> 
>> 
>> 
>> On Monday, March 22, 2021 at 10:25:48 AM UTC-7 jeremy...@gmail.com 
>>  wrote:
>> I’ve created an issue:
>> 
>> https://github.com/TiddlyWikiLinks/TiddlyWikiLinks/issues/7 
>> 
>> 
>> Best wishes
>> 
>> Jeremy
>> 
>> 
>>> On 22 Mar 2021, at 17:24, Jeremy Ruston > wrote:
>>> 
>> 
>>> 
>>> Hi Mark,
>>> 
>>> Come to think of it, it's possible that SVG favicons break things at 
>>> present because they're text rather than binary. I'll have a look at fixing 
>>> it,
>>> 
>>> Best wishes
>>> 
>>> Jeremy
>>> On Monday, March 22, 2021 at 5:21:42 PM UTC Mark S. wrote:
>>> I would like to use an SVG rather than an image. Changing the type to 
>>> image/svg+xml didn't help. I'm guessing there is some tweak we have to make 
>>> to the SVG ?
>>> 
>>> 
>>> 
>>> 
>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to tiddlywiki+...@googlegroups.com <>.
>> 
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/2b6d62e4-a40f-4c04-a0b5-b60f8f7e340fn%40googlegroups.com
>>>  
>>> .
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to tiddlywiki+...@googlegroups.com 
>> .
> 
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/896ca094-56b3-4009-a794-e47e3c8419aan%40googlegroups.com
>>  
>> .
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/777b5f3a-ee37-4856-a983-88b19de4769cn%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/E1FF696F-D78F-4198-B85E-265A45040F63%40gmail.com.


Re: [tw5] Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread Jeremy Ruston
> 
> I can confirm that SVG favicons were already working. If they’re not working 
> for you there might be an issue with the image. Bear in mind that it needs to 
> be a full SVG image, with the type image/svg+xml, and not an SVG fragment as 
> with Mat’s attempt,

Apologies, I believe it was Dave, not Mat,

Best wishes

Jeremy

> 
> Best wishes
> 
> Jeremy
> 
>> On 22 Mar 2021, at 17:24, Jeremy Ruston > > wrote:
>> 
>> 
>> Hi Mark,
>> 
>> Come to think of it, it's possible that SVG favicons break things at present 
>> because they're text rather than binary. I'll have a look at fixing it,
>> 
>> Best wishes
>> 
>> Jeremy
>> On Monday, March 22, 2021 at 5:21:42 PM UTC Mark S. wrote:
>> I would like to use an SVG rather than an image. Changing the type to 
>> image/svg+xml didn't help. I'm guessing there is some tweak we have to make 
>> to the SVG ?
>> 
>> 
>> 
>> 
>> -- 
>> 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/2b6d62e4-a40f-4c04-a0b5-b60f8f7e340fn%40googlegroups.com
>>  
>> .
> 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/966230C7-3F48-4536-9EE4-23BC7F47676A%40gmail.com.


Re: [tw5] Announcing the TiddlyWiki Community Links Aggregator

2021-03-23 Thread Jeremy Ruston
I can confirm that SVG favicons were already working. If they’re not working 
for you there might be an issue with the image. Bear in mind that it needs to 
be a full SVG image, with the type image/svg+xml, and not an SVG fragment as 
with Mat’s attempt,

Best wishes

Jeremy

> On 22 Mar 2021, at 17:24, Jeremy Ruston  wrote:
> 
> 
> Hi Mark,
> 
> Come to think of it, it's possible that SVG favicons break things at present 
> because they're text rather than binary. I'll have a look at fixing it,
> 
> Best wishes
> 
> Jeremy
> On Monday, March 22, 2021 at 5:21:42 PM UTC Mark S. wrote:
> I would like to use an SVG rather than an image. Changing the type to 
> image/svg+xml didn't help. I'm guessing there is some tweak we have to make 
> to the SVG ?
> 
> 
> 
> 
> -- 
> 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/2b6d62e4-a40f-4c04-a0b5-b60f8f7e340fn%40googlegroups.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7DE73373-81B6-4188-A6C0-841E6642A43D%40gmail.com.


Re: [tw5] How to prevent TW to strip my onclick

2021-03-23 Thread Jeremy Ruston
Hi Florian

There's no easy way around that limitation of the default static site rendering 
templates. You may find the easiest approach is to give your buttons CSS 
classes or IDs for identification, and then use a separate JS file to trap 
events at the document level, or to set up event handlers after the page has 
loaded.

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 22 Mar 2021, at 22:04, Florian Cauvin  wrote:
> 
> 
> I use tiddlywiki to render a set of static html pages!
> In a tiddler, I'm adding some html  tags with some very simple 
> "onclick=..." in order to provide some small basic interactivity to this 
> static site. But TW rendering strips all the onclick stuff from the rendered 
> html. How could I force TW not to remove my "onclick" ?
> -- 
> 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/8820f22e-e5c3-4aec-8bbf-0d380e025980n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86623CB9-3931-43DA-974F-9C640F8BB286%40gmail.com.


[tw5] Re: How to prevent TW to strip my onclick

2021-03-23 Thread Mat
I'm not really the person to answer this but FWIW: Yes, the stripping of 
all JS is intentional for security reasons. You can get around this by, for 
example, creating a plugin. There were questions about this just within the 
last 2-3 weeks If I recall, Simon Baird asked about where to find 
guidance on how to create plugins and I think Mark S also had a similar 
question.

BTW, someone qualified should update the docs for this 
 to clarify why no JS and 
how to deal with it.
<:-)

On Monday, March 22, 2021 at 11:04:51 PM UTC+1 florian...@gmail.com wrote:

> I use tiddlywiki to render a set of static html pages!
> In a tiddler, I'm adding some html  tags with some very simple 
> "onclick=..." in order to provide some small basic interactivity to this 
> static site. But TW rendering strips all the onclick stuff from the 
> rendered html. How could I force TW not to remove my "onclick" ?
>

-- 
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/eb51770f-ad39-418d-b687-da8bc44e9689n%40googlegroups.com.


Re: [tw5] Re: Can external .mhtml files be displayed in Tiddlywiki like external img files?

2021-03-23 Thread Jeremy Ruston
It may be worth trying to use an iframe to view the documents. Untested, but 
something like this may work:



Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 23 Mar 2021, at 07:20, Sapphireslinger  wrote:
> 
> More accurately the link I tried was [ext[Open file|Webpages/foo.mhtml]]
> 
>> On Tuesday, March 23, 2021 at 3:18:38 PM UTC+8 Sapphireslinger wrote:
>> I like to save my favorite web articles to my note-taking tiddlywiki. 
>> 
>> For plain text I love Tiddlyclip. But when I want to preserve the formatting 
>> I also use the firefox extension Copycat to copy and paste the html of a 
>> selection into the tiddler (and I worry about the safety of pasting 
>> who-knows-what code into a tiddler - but this is a side question). 
>> 
>> However, recently I discovered that the Brave browser on my Android mobile 
>> has a button to download a webpage as an .mhtml file.  
>> 
>> Could I treat the downloaded .mhtml files like my external img files and 
>> just call for them like calling for an external img, for example something 
>> similar to [img[foo.mhtml]] or [ext[Open file|/foo/foo/foo.mhtml]]?
>> 
>> That way the .mhtml files would be stored outside the tiddlywiki (no bloat) 
>> and merely viewed when called for. Is there a way to do this? And is it 
>> safer?
>> 
>> * I tried [ext[Open file|/foo/foo/foo.mhtml]] and it just opened a page of 
>> code, no website. (I was trying to access a downloaded .mhtml file using 
>> Tiddlywiki on Firefox on my desktop computer running Linux Mint). 
>> 
>> * I tried renaming the link and the file to .html instead of .mhtml and it 
>> just keeps "loading..."
>> 
>> I tried opening the file directly on my computer (not going through 
>> Tiddlywiki) by right-clicking on the file and choosing to open with firefox, 
>> and it only works if the file extension has been changed to .html.
>> 
>> I would be happy to hear what experiences people have had with .mhtml files 
>> and Tiddlywiki.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/ab769038-d4e1-4425-87aa-980125873a29n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/76211751-B612-43E5-8C22-D6C852850F4F%40gmail.com.


[tw5] Re: Can external .mhtml files be displayed in Tiddlywiki like external img files?

2021-03-23 Thread Sapphireslinger
More accurately the link I tried was [ext[Open file|Webpages/foo.mhtml]]

On Tuesday, March 23, 2021 at 3:18:38 PM UTC+8 Sapphireslinger wrote:

> I like to save my favorite web articles to my note-taking tiddlywiki. 
>
> For plain text I love Tiddlyclip. But when I want to preserve the 
> formatting I also use the firefox extension Copycat to copy and paste the 
> html of a selection into the tiddler (and I worry about the safety of 
> pasting who-knows-what code into a tiddler - but this is a side question). 
>
> However, recently I discovered that the Brave browser on my Android mobile 
> has a button to download a webpage as an .mhtml file.  
>
> Could I treat the downloaded .mhtml files like my external img files and 
> just call for them like calling for an external img, for example something 
> similar to [img[foo.mhtml]] or [ext[Open file|/foo/foo/foo.mhtml]]?
>
> That way the .mhtml files would be stored outside the tiddlywiki (no 
> bloat) and merely viewed when called for. Is there a way to do this? And is 
> it safer?
>
> * I tried [ext[Open file|/foo/foo/foo.mhtml]] and it just opened a page of 
> code, no website. (I was trying to access a downloaded .mhtml file using 
> Tiddlywiki on Firefox on my desktop computer running Linux Mint). 
>
> * I tried renaming the link and the file to .html instead of .mhtml and it 
> just keeps "loading..."
>
> I tried opening the file directly on my computer (not going through 
> Tiddlywiki) by right-clicking on the file and choosing to open with 
> firefox, and it only works if the file extension has been changed to .html.
>
> I would be happy to hear what experiences people have had with .mhtml 
> files and Tiddlywiki.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ab769038-d4e1-4425-87aa-980125873a29n%40googlegroups.com.


[tw5] Can external .mhtml files be displayed in Tiddlywiki like external img files?

2021-03-23 Thread Sapphireslinger
I like to save my favorite web articles to my note-taking tiddlywiki. 

For plain text I love Tiddlyclip. But when I want to preserve the 
formatting I also use the firefox extension Copycat to copy and paste the 
html of a selection into the tiddler (and I worry about the safety of 
pasting who-knows-what code into a tiddler - but this is a side question). 

However, recently I discovered that the Brave browser on my Android mobile 
has a button to download a webpage as an .mhtml file.  

Could I treat the downloaded .mhtml files like my external img files and 
just call for them like calling for an external img, for example something 
similar to [img[foo.mhtml]] or [ext[Open file|/foo/foo/foo.mhtml]]?

That way the .mhtml files would be stored outside the tiddlywiki (no bloat) 
and merely viewed when called for. Is there a way to do this? And is it 
safer?

* I tried [ext[Open file|/foo/foo/foo.mhtml]] and it just opened a page of 
code, no website. (I was trying to access a downloaded .mhtml file using 
Tiddlywiki on Firefox on my desktop computer running Linux Mint). 

* I tried renaming the link and the file to .html instead of .mhtml and it 
just keeps "loading..."

I tried opening the file directly on my computer (not going through 
Tiddlywiki) by right-clicking on the file and choosing to open with 
firefox, and it only works if the file extension has been changed to .html.

I would be happy to hear what experiences people have had with .mhtml files 
and Tiddlywiki.

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