[tw5] Behavior of svg internal links

2019-06-28 Thread A Gloom
An observation on behavior of links to tiddlers that are embedded into svgs 
(will seem out of context till I post about svg overlays for tiddler 
images-- still composing that while I play mad coder with other experiments 
<< >>)
I use svg's (for map & diagrams) with links to tiddlers embedded into the 
svg code such as

 (Deprecated)


-- normally, full or shortened standard urls are used but "#" allows you ro 
target individual tiddlers inside the wiki

that "#tiddler title"  may cue you into what will result-- a permaview link 
in the browser address bar.

1- the permaview url in the browser address bar will change with each 
different svg embedded link
2- if you close the tiddler that gets opened, the embedded svg link will 
not open it again while the browser address bar contains its permaview url, 
making it look like that embedded link doesn't work any longer
3- if you refresh the wiki without noticing the permaview url and clearing 
it, you will be left wondering why an unexpected tiddler displays and not 
your default start up tiddlers

Any code out there for resetting the browser address bar to non permaview?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7cde87a6-d3af-4d06-b925-10c95a1ce0d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Behavior of svg internal links.tid
Description: Binary data


[tw5] Re: TW-Scripts update

2019-06-28 Thread A Gloom
Nice job.  TWScripts is one of the reference sites I use often.

Hopefully creating & attaching tid's of posts will lighten your work load 
some.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0cfe404c-f8c4-4fe0-85c9-3020ecd40265%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: datauri macro and SVG images

2019-06-28 Thread 'Mark S.' via TiddlyWiki

I don't know about the tool. But it worked with "settings.svg" from 
https://www.flaticon.com/free-icon/settings_126472


On Friday, June 28, 2019 at 9:34:35 PM UTC-7, Mohammad wrote:
>
> Mark, 
> I use the tool at https://jakearchibald.github.io/svgomg/
>
> as advised by PMario to remove extra settings! Still it does not work
>
>
>
> On Saturday, June 29, 2019 at 12:07:23 AM UTC+4:30, Mark S. wrote:
>>
>> If you hack settings.svg to remove everything except the svg tag (e.g. 
>> remove ) then it will work.
>>
>> On Friday, June 28, 2019 at 11:37:00 AM UTC-7, Mohammad wrote:
>>>
>>> Meanwhile I found the below page
>>>
>>> https://websemantics.uk/tools/svg-to-background-image-conversion/
>>>
>>> to convert the svg as inline css! Seems this what datauri does!
>>>
>>> Still my question is why datauri does not work?
>>>
>>> On Friday, June 28, 2019 at 10:45:01 PM UTC+4:30, Mohammad wrote:

 I used the snippet from Tiddlywiki.com as below

 
 .jack {
 background: url(<$macrocall $name="datauri" title="Motovun 
 Jack.jpg" $output="text/plain"/>);
 height: 300px;
 }
 

 

 It works great!

 Now I downloaded some svg from flaticon

 https://www.flaticon.com/free-icon/settings_126472 and imported into 
 tiddlywiki.com and it fails!

 Is there any special requirement for svg images to be used with datauri 
 macro?

 --Mohammad

 Note: If you use svg as external file, it works! e.g


 

 .element {
   background-image: url(svg/newsletter-fish-cat.svg);
background-repeat: no-repeat;}

 

 






-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/163009f9-d577-48bb-a0b7-9ec79db78067%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] TW-Scripts update

2019-06-28 Thread Mohammad
A partial update is out there! I hope I could find free time to document 
the new entries

--Mohammad

Url: https://kookma.github.io/TW-Scripts/

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/df9ce3aa-7e24-431d-b610-d07da076e491%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Field Values

2019-06-28 Thread Mohammad
Added to TW-Scripts

On Thursday, June 27, 2019 at 3:49:55 PM UTC+4:30, TonyM wrote:
>
> Only want a list of ingredients?
>
> <$list filter="[tag[food]each[ingredient]get[ingredient]]">
>
> 
>
> <$list filter="[tag[food]get[ingredient]]">
>
> 
> Again untested
>
> Regards
> Tony
>
>
> On Thursday, June 27, 2019 at 9:02:39 PM UTC+10, Chems wrote:
>>
>> hey thanks.
>>
>> My problem is that it will always display the name of the tiddler.
>> But I want to display the value of the field.
>>
>>
>>
>> Am Donnerstag, 27. Juni 2019 12:45:58 UTC+2 schrieb TonyM:
>>>
>>> Chems
>>>
>>> Reading a little between the lines I think you need the each operator 
>>> 
>>>
>>> <$list filter="[tag[food]each[ingredient]]">
>>>
>>> 
>>> Above untested
>>>
>>>
>>> Regards
>>> Tony
>>>
>>> On Thursday, June 27, 2019 at 8:33:22 PM UTC+10, Chems wrote:

 Hi,

 I have a bunch of tiddlers all with the same tag with a field called 
 "ingredient".
 Now I want to have a tiddler, which displays the *value* of the 
 "ingredient" from all tiddlers with the tag.

 It should look like this:
 Potatoes
 Carrots
 ...

 As I have multiple tiddlers with the same tag, and the same ingredient, 
 I want the list to only show the ingredient one time. 
 Not like this:
 Carrots
 Carrots
 Carrots
 Potatoes

 Does anybody know how I can achieve this?
 Thanks in advanced!

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4409aba2-9bb6-4a40-bedd-c63c37974d5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: datauri macro and SVG images

2019-06-28 Thread Mohammad
Mark, 
I use the tool at https://jakearchibald.github.io/svgomg/

as advised by PMario to remove extra settings! Still it does not work



On Saturday, June 29, 2019 at 12:07:23 AM UTC+4:30, Mark S. wrote:
>
> If you hack settings.svg to remove everything except the svg tag (e.g. 
> remove ) then it will work.
>
> On Friday, June 28, 2019 at 11:37:00 AM UTC-7, Mohammad wrote:
>>
>> Meanwhile I found the below page
>>
>> https://websemantics.uk/tools/svg-to-background-image-conversion/
>>
>> to convert the svg as inline css! Seems this what datauri does!
>>
>> Still my question is why datauri does not work?
>>
>> On Friday, June 28, 2019 at 10:45:01 PM UTC+4:30, Mohammad wrote:
>>>
>>> I used the snippet from Tiddlywiki.com as below
>>>
>>> 
>>> .jack {
>>> background: url(<$macrocall $name="datauri" title="Motovun 
>>> Jack.jpg" $output="text/plain"/>);
>>> height: 300px;
>>> }
>>> 
>>>
>>> 
>>>
>>> It works great!
>>>
>>> Now I downloaded some svg from flaticon
>>>
>>> https://www.flaticon.com/free-icon/settings_126472 and imported into 
>>> tiddlywiki.com and it fails!
>>>
>>> Is there any special requirement for svg images to be used with datauri 
>>> macro?
>>>
>>> --Mohammad
>>>
>>> Note: If you use svg as external file, it works! e.g
>>>
>>>
>>> 
>>>
>>> .element {
>>>   background-image: url(svg/newsletter-fish-cat.svg);
>>>background-repeat: no-repeat;}
>>>
>>> 
>>>
>>> 
>>>
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cef6072d-cc1a-4aa6-9062-5d1e0024c5aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to change the size of videos embedded with '_canonical_uri'?

2019-06-28 Thread Ed
I have embedded an mp4 file stored locally using the _canonical_uri method, 
setting the type to "video/mp4". 


I get a tiddler that can play the video but the video does not stay within 
the tiddler (it is too wide).

The problem remains when I transclude the video to another tiddler.

Is there any way to adjust the size of it? I can't find anything in the 
docs.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/46a6e117-7f55-441c-a397-776b52067081%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Green Screen Palette

2019-06-28 Thread OOC
I adore working on a dark green screen, I wonder if anyone out there has
made a green screen palette for TW?

O

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CACs-v6q%3DrxHe-E9re1a03Y0Q7YVvkh4TK_t%2B%2Bfd%3D3AEE1xtGjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Best way to manage wiki across platforms

2019-06-28 Thread OOC
I have an iphone so it is clunky. I figured out quine and google drive and
I must say it is rather clunky. Thanks, hope some applers come along to
tell me. Hosting my own would also be an option

O

On Fri, Jun 28, 2019 at 7:28 PM TonyM  wrote:

> Ovy
>
> Welcome to tiddlywiki. You have taken the red pill and a whole new
> universe is yours.
>
> There are plenty of options to get what you want. Perhaps the easiest
> conceptually is to have it hosted on the internet such as tiddlyspot.com
> or have you access to a server online?
>
> For apple fans, others will have answers for you.
>
> one approach I like on my android is to install it on nodejs on the phone
> with termux. I can access the wiki on the phone whereever I go with my
> phone, even offline, the and I can access it from my tablet or desktop on
> my lan or a hotspot network via the network.
>
> In future I hope to build a simple question and answer that would provide
> this answer.
>
> Welcome
> Tony
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/4a353342-924e-4cb7-9bb8-5f665618cc38%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CACs-v6rxdSJXVqMQ%2B%3DUmsuhoUsh5MO%2BGBmM_3Ht3rhH94wvJGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Best way to manage wiki across platforms

2019-06-28 Thread TonyM
Ovy

Welcome to tiddlywiki. You have taken the red pill and a whole new universe is 
yours.

There are plenty of options to get what you want. Perhaps the easiest 
conceptually is to have it hosted on the internet such as tiddlyspot.com or 
have you access to a server online?

For apple fans, others will have answers for you.

one approach I like on my android is to install it on nodejs on the phone with 
termux. I can access the wiki on the phone whereever I go with my phone, even 
offline, the and I can access it from my tablet or desktop on my lan or a 
hotspot network via the network.

In future I hope to build a simple question and answer that would provide this 
answer.

Welcome
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4a353342-924e-4cb7-9bb8-5f665618cc38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Best way to manage wiki across platforms

2019-06-28 Thread Ovy Ortega
I just found tiddlywiki late last night. I could not sleep I was so 
excited. I am hoping it takes the place of evernote, writer, and zoho 
notes. But here is my dilemna 

Day to day I switch from a chromebook, an ipad, and an iphone- how can I 
sync and keep it all flowing in unison? I downloaded Quine but it does not 
seem to agree (to me) with tiddlydrive. 

Best, 

Ovy

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f0f11c9-d6e2-45bc-9294-5548645e27d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: datauri macro and SVG images

2019-06-28 Thread 'Mark S.' via TiddlyWiki
If you hack settings.svg to remove everything except the svg tag (e.g. 
remove ) then it will work.

On Friday, June 28, 2019 at 11:37:00 AM UTC-7, Mohammad wrote:
>
> Meanwhile I found the below page
>
> https://websemantics.uk/tools/svg-to-background-image-conversion/
>
> to convert the svg as inline css! Seems this what datauri does!
>
> Still my question is why datauri does not work?
>
> On Friday, June 28, 2019 at 10:45:01 PM UTC+4:30, Mohammad wrote:
>>
>> I used the snippet from Tiddlywiki.com as below
>>
>> 
>> .jack {
>> background: url(<$macrocall $name="datauri" title="Motovun Jack.jpg" 
>> $output="text/plain"/>);
>> height: 300px;
>> }
>> 
>>
>> 
>>
>> It works great!
>>
>> Now I downloaded some svg from flaticon
>>
>> https://www.flaticon.com/free-icon/settings_126472 and imported into 
>> tiddlywiki.com and it fails!
>>
>> Is there any special requirement for svg images to be used with datauri 
>> macro?
>>
>> --Mohammad
>>
>> Note: If you use svg as external file, it works! e.g
>>
>>
>> 
>>
>> .element {
>>   background-image: url(svg/newsletter-fish-cat.svg);
>>background-repeat: no-repeat;}
>>
>> 
>>
>> 
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6014004e-1f7d-4082-afc5-2a87212c2b04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Tiddlyshow v3.0 beta 2: Major improvement

2019-06-28 Thread Mohammad
*Announcement*
*Tiddlyshow v3.0 beta 2*

*New Release of Tiddlyshow  application 
as a Plugin*

A new release of Tiddlyshow using the keyboard shortcuts features of TW 
5.1.19 is announced.

This is a rather small plugin (158 kB) of Tiddlywiki for presentation and 
slideshow.

Tiddlyshow 3.0 Beta 2 release

Release date: Jun 28, 2019
Changes
   
   - New slideshow / author mode mechanism
   - New toggle-slideshow-mode macro.
  - It uses the new stateTiddler and stateField attributes for reveal 
  widget
  - A new top right button is added to be shown only in presentation 
  mode
   - A new button on tiddler view toolbar to switch to slideshow mode
   - Some themes are modified to be more semantic and nice looking
   - Two content slide has been added
   - Multi columns layout has been added
   - Themes have customized table stylesheet

See the fun catfish slideshow! Dont forget to apply the catfish theme 
before presentation!

I have implemented most of the comments received by users in this forum!
Please kindly send your feedback here or to the links given below.


*Demo, download and install*

   - *Demo: *https://kookma.github.io/Tiddlyshow/
   - *Code*: https://github.com/kookma/Tiddlyshow


*Feedback*

   1. Tiddlyshow Github repository: 
   https://github.com/kookma/Tiddlyshow/issues
   2. Tiddlywiki Google forum: 
   https://groups.google.com/forum/#!forum/tiddlywiki




Cheers
Mohammad


*Old version*

   - Demo: http://tiddlyshow.tiddlyspot.com/
   - Download: http://tiddlyshow.tiddlyspot.com/


*References*

   - 
   https://groups.google.com/forum/#!msg/tiddlywiki/TzajLePAJZA/grAgaK5FAQAJ
   - 
   
https://groups.google.com/forum/#!searchin/tiddlywiki/tiddlyshow|sort:date/tiddlywiki/751AwDcazA0/uWxjsdDwAwAJ
   - 
   https://groups.google.com/forum/#!msg/tiddlywiki/koEqNtq_o1I/pVac6tP5AQAJ
   

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/443143d4-ac5d-4fb4-a996-7fe466135d0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: datauri macro and SVG images

2019-06-28 Thread Mohammad
Meanwhile I found the below page

https://websemantics.uk/tools/svg-to-background-image-conversion/

to convert the svg as inline css! Seems this what datauri does!

Still my question is why datauri does not work?

On Friday, June 28, 2019 at 10:45:01 PM UTC+4:30, Mohammad wrote:
>
> I used the snippet from Tiddlywiki.com as below
>
> 
> .jack {
> background: url(<$macrocall $name="datauri" title="Motovun Jack.jpg" 
> $output="text/plain"/>);
> height: 300px;
> }
> 
>
> 
>
> It works great!
>
> Now I downloaded some svg from flaticon
>
> https://www.flaticon.com/free-icon/settings_126472 and imported into 
> tiddlywiki.com and it fails!
>
> Is there any special requirement for svg images to be used with datauri 
> macro?
>
> --Mohammad
>
> Note: If you use svg as external file, it works! e.g
>
>
> 
>
> .element {
>   background-image: url(svg/newsletter-fish-cat.svg);
>background-repeat: no-repeat;}
>
> 
>
> 
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57500954-ff4b-48fa-835e-12aacd4494b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: datauri macro and SVG images

2019-06-28 Thread Mohammad

>
> Repeated for whom recieve post through email
>

Note: If you use svg as external file, it works! e.g




.element {
  background-image: url(svg/newsletter-fish-cat.svg);
   background-repeat: no-repeat;}



 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7da20844-4768-492a-9139-c9b2a4cf0254%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] datauri macro and SVG images

2019-06-28 Thread Mohammad
I used the snippet from Tiddlywiki.com as below


.jack {
background: url(<$macrocall $name="datauri" title="Motovun Jack.jpg" 
$output="text/plain"/>);
height: 300px;
}




It works great!

Now I downloaded some svg from flaticon

https://www.flaticon.com/free-icon/settings_126472 and imported into 
tiddlywiki.com and it fails!

Is there any special requirement for svg images to be used with datauri 
macro?

--Mohammad

Note: If you use svg as external file, it works! e.g




.element {
  background-image: url(svg/newsletter-fish-cat.svg);
   background-repeat: no-repeat;}








-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d41fb14f-2806-4dee-b2b7-76df6a7286df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Tree Macro built in core

2019-06-28 Thread Damon Pritchett
Thanks again, Mark. That seems to do the trick with a small amount of 
testing that I've done. I'll give it a more thorough going through over the 
next several days.

Damon



On Thursday, June 27, 2019 at 4:22:14 PM UTC-5, Mark S. wrote:
>
> You can try this change to tree-node2, which may work as long AS you don't 
> have any entries ending in "XXX" or "YYY". (these are end-of-title markers, 
> which could be made more obscure if necessary).
>
> \define tree-node2(prefix,separator: "/")
> 
> <$list 
> filter="[all[shadows+tiddlers]each[description]get[description]removeprefix<__prefix__>splitbefore<__separator__>!suffix<__separator__>addsuffix[XXX]]
>  
> [all[shadows+tiddlers]each[description]get[description]removeprefix<__prefix__>splitbefore<__separator__>suffix<__separator__>addsuffix[YYY]]
>  
> +[sort[]]"
>  variable="chunk">
> <$list filter="[removesuffix[XXX]]" variable="chunk2">
> <$macrocall $name="leaf-node2" prefix=<<__prefix__>> chunk=<> 
> separator=<<__separator__>>/>
> 
> <$list filter="[removesuffix[YYY]]" variable="chunk2">
> <$macrocall $name="branch-node2" prefix=<<__prefix__>> chunk=<> 
> separator=<<__separator__>>/>
> 
> 
> 
> \end
>
> On Thursday, June 27, 2019 at 12:16:35 PM UTC-7, Damon Pritchett wrote:
>>
>> Hey Mark, et. al.,
>>
>> I've been using the modified tree macro for quite a while now and am very 
>> happy with it. I would like to make another modification to it, but I 
>> haven't been able to figure out how to do it yet so am reaching out for 
>> hlep. What I would like to do is to have the folders sorted alphabetically 
>> with the non-folders (that is, not have the folders all grouped together at 
>> the end).  Is this even possible without a total rewrite?
>>
>> Thanks,
>>
>> Damon
>>
>> On Sunday, June 16, 2019 at 9:43:23 PM UTC-5, Damon Pritchett wrote:
>>>
>>> Thanks Mark! That did the trick. I really appreciate the help. I think I 
>>> understand what you did and why as well. I just wish I could think of those 
>>> kinds of things on my own. Time and experience will change that I'm sure.
>>>
>>> Damon
>>>
>>> On Sunday, June 16, 2019 at 12:13:58 PM UTC-5, Mark S. wrote:

 Ok a coupe tweaks to leaf-node2 may do it (until you find another bug) :

 \define leaf-node2(prefix,chunk)
 
 <$list filter="[<__prefix__>addsuffix<__chunk__>]" 
 variable="full-title">
 <$list filter="[descriptionis[shadow]] 
 [descriptionis[tiddler]]" variable="tiddler">
 <$list filter="[removeprefix<__prefix__>]" variable="chunk">
 {{$:/core/images/file}} <$macrocall $name="leaf-link2" 
 full-title=<> chunk=<>/>
 
 
 
 
 \end

 On Sunday, June 16, 2019 at 7:59:33 AM UTC-7, Damon Pritchett wrote:
>
> Hey Mark,
>
> Yeah, I didn't explain very well. Hopefully, the following will help.
>
> So I have a tiddler titled "Atchison Daily Champion, Sunday, March 8, 
> 1868." I put the following in the description field 
> "Newspapers-Kansas-Atchison-Daily Champion-1868-03-08." The output of the 
> macro looked just as expected (see screenshot), except that the link on 
> the 
> 08 node doesn't link to my tiddler. It wants to link to a tiddler named 
> the 
> same as the description field. This is not what I was hoping for. I want 
> to 
> use the description field to generate the tree, but retain the shorter, 
> more readable tiddler title.  
>
> [image: tree.png]
>
>
> On Friday, June 14, 2019 at 10:54:37 PM UTC-5, Mark S. wrote:
>>
>>
>>
>> On Friday, June 14, 2019 at 4:56:44 PM UTC-7, Damon Pritchett wrote:
>>>
>>> After playing around with this new macro further, I've found that it 
>>> only works as long as the description matches the tiddler title 
>>> exactly. If 
>>> not, then there is an entry in the tree list to a tiddler that doesn't 
>>> exist.  What tweak could I make that would fix this? 
>>>
>>>
>>>
>> I don't know what you mean. Nothing should depend on the title. 
>> Perhaps you could attach some sample tiddlers so we could see what is 
>> happening.
>>
>> Thanks!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71fa7ea1-5cf1-4218-a405-b3707e735b48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: create a button that mimics the behaviour of "Create a new tiddler tagged with this one"

2019-06-28 Thread Watt
Hi Ankit

The docs on the official site have some info and examples:
https://tiddlywiki.com/#addsuffix%20Operator

https://tiddlywiki.com/#addprefix%20Operator

https://tiddlywiki.com/#VarsWidget:VarsWidget

If you find them a bit sparse you could try TWScripts for more examples;

https://kookma.github.io/TW-Scripts/#Filter%20Returns%20Only%20the%20First%20suffix%20word

https://kookma.github.io/TW-Scripts/#Simple%20Comparison%20of%20Two%20Variables

or sometimes searching the forum here is the best source of inspiration. 
They're generally pretty good at answering questions too, whatever the level, 
from beginner to expert. Good luck.



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1c4e9c74-e768-438a-8ac0-9eb2bfb65318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: create a button that mimics the behaviour of "Create a new tiddler tagged with this one"

2019-06-28 Thread PMario
Hi, 

See: 
https://tiddlywiki.com/#VarsWidget:VarsWidget%20%5B%5BFilter%20Operators%5D%5D

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f284d7f2-658c-4988-a696-7850c5654f12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: create a button that mimics the behaviour of "Create a new tiddler tagged with this one"

2019-06-28 Thread Ankit Mittal
Hi Mark. Many Thanks. It worked indeed. 

However, I must admit I do not follow the code .. what does <$vars> do and 
where should I read about it?

On Thursday, June 27, 2019 at 11:11:32 PM UTC+1, Mark S. wrote:
>
> Try
>
> <$vars pre="[[" suf="]]">
> <$button>New tiddler
> <$action-sendmessage $message="tm-new-tiddler" text='<$transclude 
> tiddler="$:/category">' tags={{{ 
> [addprefixaddsuffix] }}} />
> 
> 
>
>
> On Thursday, June 27, 2019 at 2:54:29 PM UTC-7, Ankit Mittal wrote:
>>
>> Hi, 
>>
>> I am trying to create a button that mimics the behaviour of "Create a new 
>> tiddler tagged with this one". 
>>
>> I used this 
>>
>> <$action-sendmessage $message="tm-new-tiddler" text='<$transclude 
>> tiddler="$:/category">' tags={{!!title}} />
>>
>> which works fine so long as title does not have white space but if it has 
>> white space it takes each word as a separate tag instead of making whole 
>> title the tag. 
>>
>> Please can someone help me achieve this?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a96a87f0-c0d8-4f4f-8ce7-b21605bf9d9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddler Rename inhibitor or warning

2019-06-28 Thread PMario
On Thursday, June 27, 2019 at 7:19:20 AM UTC+2, TonyM wrote:
... 

> For those familiar with the issues of renaming you will know the first 4 
> above are all fragile if you rename the root tiddler.
>
> *Until such time as a hook is provided to respond to rename events - I 
> have asked for in the past.*
>

There is a th-renaming-tiddler hook. .. But it has a problem. see: 
https://github.com/Jermolene/TiddlyWiki5/issues/4023

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7540f118-5d2f-4e80-8edb-ba0302c6d1f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Supressing mysterious/all errormessages (on Firefox mobile) (Feature request?)

2019-06-28 Thread PMario
Hi, 

The interesting thing now is: why did you choose 5.1.16 prerelease? ... 
There may be some new functionality introduced with 5.1.16. .. If so, 
please check this function with 5.1.19. ... And if we are lucky the problem 
will be gone ;)

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1fa7e24a-d86b-400c-92aa-bbcc14760905%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Supressing mysterious/all errormessages (on Firefox mobile) (Feature request?)

2019-06-28 Thread PMario
Hi Jan, 

I did just check your TW version at:  https://szen.io/Audacity/ 

 
and it's *5.1.16-prerelease*

Pre-releases are development versions only. They shouldn't be used for 
"production".  So I would highly recommend to update to 5.1.19. 

It's close to impossible for us to help with problems, related to 
prereleases. 

have fun!
mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/388fb9f5-03e2-4c07-89f6-95f1ff821811%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Supressing mysterious/all error messages (on Firefox mobile) (Feature request?)

2019-06-28 Thread Jan

Hi and thanks for your proposals!
AFAIK I do not use any plugins in my IPhone FF.
Of course it is the sustainable solution to see, what is causing the red 
screen. But because it shows so rarely and does not effect the 
functionality I would like to have the possibilty to toggle the message 
instead of solving the problem. There is some usescases where I 
absolutely would like the wiki not to show such messages to users.
I guess that this could be done by css but this would be even less 
sustainalbe because the message is left open. So is there a part in the 
core which can be modified in order not to trigger that message.


Best wishes Jan



Am 27.06.2019 um 16:30 schrieb 'Mark S.' via TiddlyWiki:
As PMario asked, what add-ons are you using? Two of us have looked at 
your page without any problems. That seems to suggest that the problem
is with your browser. Perhaps a script-rewriter or ad-blocker is 
causing problems?




On Wednesday, June 26, 2019 at 6:56:30 AM UTC-7, Jan wrote:

Hi Mark, Hi Mario,
the message can be clicked away and you can continue without
problems. But when I reload it is there again.
That is why I would like the message *not to appear at all*, it is
no good publicity if the first thing a website says is not
working...even if it is working.

Jan


Am 26.06.2019 um 15:50 schrieb 'Mark S.' via TiddlyWiki:

I've noticed that FF on mobile (Android) creates a "hybrid"  in
memory of your current and previous revision of a TW document (it
probably happens
with other web pages too, but is more noticeable with TW).

If you reload your page does the message go away?

Another experiment is to go into the app manager (on Android) and
close FF down completely. Maybe get rid of cache data (but not
app data, which has your settings and bookmarks). Then load again.

I was able to load your page just fine on my ancient Handy with
an also ancient Firefox. But I only have one copy of your page in
memory until you make a revision.


On Wednesday, June 26, 2019 at 1:27:13 AM UTC-7, Jan wrote:

Hello everyone.
I made a TW for a manual, which I intend to use on a mobile
phone.
Unfortunately on mobile Firefox it starts with an error
message, though
it is completely functional. The errormessage only happens
there and is
quite unprecise (only "script error" for anyone who whishes
to track it
down it is on https://szen.io/Audacity/) so that i would like
to supress
it.
1.) How do i do this?
2.) Wouldne it be a nice Idea to have a control-panel option
for those
cases?

Yours Jan

-- 
You received this message because you are subscribed to the

Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to tiddl...@googlegroups.com .
To post to this group, send email to tiddl...@googlegroups.com
.
Visit this group at https://groups.google.com/group/tiddlywiki
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/tiddlywiki/73aad83f-c007-405d-ab8e-70a8319a97c1%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout
.


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

Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/da60da4f-1710-48d9-9944-25a3b6284640%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5D15BCEA.9060804%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.