[tw5] Re: Filter comparison operators

2020-03-08 Thread TonyM
Mat

The match operator is effectively the equals operator the git hub issue raises

Are there others?

regards
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/087be6c8-44fb-475c-9fff-7e986fab3911%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-08 Thread Donald Coates
Jeremy!!   That was the solution

Sorry for the exclamations but I have dumped a lot of time obsessively 
trying to figure this out.  It has been constructive playtime I hope 
because I'm starting to get a sense of just how powerful the server can be 
beyond just serving the files, but I was beginning to despair.  I have been 
playing with tiddlywiki.file in other contexts and have no idea why I did 
not apply it here.

You have truly saved my sanity.

This was part of a more complex task I was trying to achieve which I will 
write up later in case it might help others like Beckstrom.

Again - thank you for your advice and this wonderful tool.

Donald

-- 
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/45104d02-cdb7-4266-8f1b-1f7c9c491519%40googlegroups.com.


[tw5] Re: Filter comparison operators

2020-03-08 Thread David Allen
That worked, though I needed to add a list to make sure the count wasn't 
zero.

On Wednesday, March 4, 2020 at 12:01:40 AM UTC-6, Mat wrote:
>
> Comparison operators is/has been discussed 
> . Contribute or 
> merely express liking to it.
>
> For now, this more cumbersome approach might work:
>
> <$set name=amount
>   filter="[tag[mytag]get[modified]]
>   20180403221852352
>   +[sort[]allbefore[20180403221852352]count[]]">
> <$list filter="[tag[mytag]sort[modified]first]" >
>
> 
> 
>
> So, the idea is to extract all modified dates from the relevant tids. Then 
> add your magic cutoff date. Sort them and cut the sorted list before your 
> magic date. Count how many.
> Then sort all relevant tids by modified date and cut out as many as was 
> counted before.
>
> ...yeah, would be simpler with "less than"...
>
> <:-)
>

-- 
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/68cacef3-eafc-4f81-8a7d-eb5c464fd592%40googlegroups.com.


[tw5] Re: Filter to look for a string inside a tiddler field?

2020-03-08 Thread David Allen
I'm not sure about putting it into list-links, but a filter along these 
lines should work:

filter="[[bluegill]listed[fish]]"

On Sunday, March 8, 2020 at 12:43:04 PM UTC-5, Beckstrom wrote:
>
> Ah, so close...
>
> This works great:
> <>
>
> Now I'm trying to grab the title of a tiddler and insert it into that 
> filter (eg the tiddler is named "bluegill" and I want the filter to show me 
> every tiddler that has the field "fish" that contains the word "bluegill"
>
> I've tried:
>
> <>
>
> <>]]">>
>
> <]]">>
>
> and various attempts with <$var> and <$set> (I don't really understand 
> those yet)
>
> Any ideas? thanks!
>
> On Sunday, March 8, 2020 at 12:42:45 PM UTC-4, Mat wrote:
>>
>> I think this filter should work
>>
>> [all[tiddlers]search:fish[goldfish]]
>>
>> <:-)
>>
>>

-- 
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/4107461f-5c4b-46c0-8e60-61d301e160c9%40googlegroups.com.


[tw5] ARRESTATE L'AVVOCATO ASSASSINO DANIELE MINOTTI. ARRESTATE SUBITO L'AVVOCATO SATANISTA, NAZISTA, SATANAZISTA, PEDOFILO, ASSASSINO DANIELE MINOTTI DI CRIMINALE STUIDO LEGALE LISI: RAPISCE, INCULA,

2020-03-08 Thread 'LORENZO PIACENTINI LAZARD MILAN' via TiddlyWiki
ARRESTATE L'AVVOCATO ASSASSINO DANIELE MINOTTI. ARRESTATE SUBITO L'AVVOCATO 
SATANISTA, NAZISTA, SATANAZISTA, PEDOFILO, ASSASSINO DANIELE MINOTTI DI 
CRIMINALE STUIDO LEGALE LISI: RAPISCE, INCULA, AMMAZZA TANTI BAMBINI PER 
VENDERNE GLI ORGANI!

-- 
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/2ce7be67-090c-4b01-a0a5-c9ab679dccdc%40googlegroups.com.


[tw5] Re: Filter to look for a string inside a tiddler field?

2020-03-08 Thread TonyM
Mat,

The reason for single <> in filters is apparently from a reverse position. 
In Wiki text we use <
> Hehe. Yeah, not totally easy to learn the syntax but it'll come:
>
> <>
>
> I think one aim was to make filters syntactically pretty so brackets of 
> various kinds are scaled down to a minimum inside filters.
>
> <:-)
>

-- 
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/2fb95998-4089-4d3b-9f95-6167d21e7ad9%40googlegroups.com.


[tw5] Re: [TW5] JsonMangler v2.0.9 Release!

2020-03-08 Thread Joshua Fontany
Hi c pa,

Thanks! I have been planning on "overloading" the indexes[] operator, to 
offer better filtering and maybe a "depth" option. I have an open issue on 
my github to track this issue:

https://github.com/joshuafontany/TW5-JsonMangler/issues/9

Best,
Joshua F

On Saturday, March 7, 2020 at 9:06:19 PM UTC-8, c pa wrote:
>
> Joshua,
>
> I've been using the plugin for a couple of weeks. Excellent useful plugin. 
> I have one request. Is it possible to add an "attributes" operator or 
> something like that that would return the direct children of each item? 
> I've found that I have to manually maintain and index in the JSON so that I 
> can keep track.
>
> {
> "item one": {"one": "content", "two": "content", "indexes": "one two"},
> "item two": {"aye": "content", "bee": "content", "indexes": "aye bee"},
> "item three": "content",
> "indexes": "[[item one]] [[item two]] [[item three]]"
> }
>
> The indexes operator returns all children and I only need the direct 
> children.
>

-- 
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/7587f961-9003-496d-8502-42f791c30bdc%40googlegroups.com.


Re: [tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-08 Thread Reece Shaw
Floating the prefix left seems to do the trick, it even wraps the block 
text around the float which is visually appealing for these purposes.

I run up against a lot of CSS/HTML issues because of my wiki structure. I 
imagine being able to apply a class to a transclusion would be helpful for 
some of these problems, as previous forays with classes have caused  me 
headaches.

Thanks!

-Reece

On Sunday, March 8, 2020 at 2:12:24 PM UTC-4, Jeremy Ruston wrote:
>
> Hi Mat
>
> This, and Reeces other similar "block issues" caused from transclusion 
> blockmode, are interesting. Maybe the transclusionwidget should have a 
> class attribute?
>
>
> The transclude widget doesn’t generate any DOM elements itself, and so 
> there would be nowhere to attach the class.
>
>  

> But this is more of an HTML issue, I think: there’s no facility for 
> injecting content into a block other than float, as far as I know.
>
> Best wishes
>
> Jeremy.
>
>
>
> Reece, here's an alternative solution that might work IF you prefix is a 
> string that fulfills common css definition name rules.
>
> \define pff-display-xblock(field:"" class:"")
> <$list filter='[is[current]has[$field$]]'>
> 
> <$transclude field="$field$" mode="block" />
> 
> \end
>
> <>
>
> 
> .myclass { margin-left:2em;}
> .xxx::before {content:"xxx"; position:absolute; margin-left:-2em}
> 
>
> The prefix you use in the macrocall (i.e "xxx") has a corresponding 
> styledefinition (i.e ".xxx").
>
> <:-)
>
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/173911ac-375d-46a3-adad-9e69f39d1eb3%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/749f0bb3-0c10-4a4a-b555-9c89534a4432%40googlegroups.com.


[tw5] Re: (re-)Presenting: LeftBar - a menu type sidebar, on the left

2020-03-08 Thread Damon Pritchett
Hey Mat,

I love this plugin! So far it works very well with all of my custom TOCs, 
etc. I also love the way it can appear and hide from the left side. I was 
thinking that this same behavior would be extremely handy for the sidebar 
as well. I have no idea how to make that happen. I looked through your 
plugin and I'm just enough of a newbie to not be able to figure it out. I 
would love to be able to invoke your leftbar from the left side and the 
sidebar from the right side. Is this possible?

Many thanks,

Damon



On Tuesday, May 2, 2017 at 5:32:10 AM UTC-7, Mat wrote:
>
> Yes, TWaddle Conglomerates has made a total rework of the previously 
>  
> released LeftBar:
>
> LeftBar 
> - a menu type sidebar, on the left.
>
>
> *LeftBar* is a plugin to get a second sidebar, on the left side. It 
> behaves somewhat differently than the regular sidebar and is intended for 
> *public 
> sites and on mobile* devices.
>
>
> <:-)
>

-- 
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/a75f7e5d-1280-4746-b29f-79d084e7333c%40googlegroups.com.


Re: [tw5] Re: Covid & Tiddlywiki

2020-03-08 Thread TonyM
Steven,

Your time limited requirement here does suggest we should have a ready to 
publish read only edition for use. Perhaps I can throw one together.

Just hiding many of the toolbar buttons which some call a read only view, 
turning off autosave and changing the filter in $:/config/SaverFilter may 
go a long way to what you are looking for. see 
https://tiddlywiki.com/#SavingMechanism you can change this filter so the 
save icon which you hide never turns red.

If you think the infinite story confuses people consider using a different 
story view, provide menus and install $:/plugins/wikilabs/link-to-tabs to 
add tabs at the top so people can locate multiple tiddlers that are open

Also close the side bar before saving to publish, the trick is to have a 
save button available in the menus or a hidden tiddler so you can make the 
wiki wysiwyg before saving to publish.

I have a tiddler I set to designermode = no then use this to switch off 
items through out the wiki for publishing. 

Regards
Tony

On Monday, March 9, 2020 at 5:42:17 AM UTC+11, Steven Schneider wrote:
>
> Thanks, Mat. 
>
> I need a simple html web page [ though it can have javascript etc. 
> Tiddlywiki gets  cranky sometimes when user leaves the page and asks for a 
> save (probably an option i could turn off). it's ok for office hours, but 
> this is a highly visible and scrutinized effort, and must be flawless. I 
> guess I've needed a better "public facing web page interface only" theme, 
> but didn't get to getting it together. Perhaps that's the better way to go. 
>
> My immediate goal is to write in a tiddler <$appear show="How to find your 
> class online">This is how you find our class online, using the 
> <$appear> plugin, and then export-tiddler-as html, and have the 
> functionality present such that, you get that little functionality i see 
> all over the web. 
>
> I'm so spoiled by TW I have no idea how folks exist in the real world of 
> html. 
>
> //steve.
>
>
>
> On Sun, Mar 8, 2020 at 2:32 PM Mat > 
> wrote:
>
>> Hiya professor Steve. 
>> Sharing in what type of forum? e-mail? Any webpage? Official faculty 
>> website? A common drive storage? RSS?... And you say "I think I've got a 
>> way to live-publish" - what do you mean?
>>
>> <:-)
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/zwt6RjLOJpo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/fad0370d-fc2a-4b1e-abe1-7ca5ce2d97d3%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
>
> -- 
>
> Steven M. Schneider
>
> Interim Provost | Professor, Communications and Information Design
>
> SUNY Polytechnic Institute   | st...@sunypoly.edu 
> 
> 315.792.7200
> 100 Seymour Avenue
> Utica, NY 13502
>
> Pronouns : he/him/his
>

-- 
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/1f944732-2448-4ca4-86ae-37fef4333870%40googlegroups.com.


[tw5] Transcluding Tiddler Content to a Different Tiddler Type (Rendering XML Tiddlers as Plain Text)

2020-03-08 Thread Scott Simmons (Secret-HQ)
Here's another issue I'm trying to tackle and hoping someone will share 
some insight:

I have several tiddlers of type "text/html" that contain XML files.  I like 
having them render out in the ViewTemplate in an iframe.  But occasionally 
I want to transclude them into another tiddler and have them show up as 
monospaced code, *without* being rendered.

I thought I could make a template tiddler and do something like this:

*{{my XML tiddler||$:/xml-template}}*

... but what should $:/xml-template look like?

Having it specify a different type ("text/plain") alone isn't enough to do 
the trick.

I've tried building a string from the content of [[my XML tiddler]] and 
wrapping it in  and  with no luck,

I'm pretty sure I'm stumbling all around an obvious solution and hoping 
someone else will see it clearly.

-- 
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/9a0e58f3-9e84-4e63-8192-a42ffc1a2eee%40googlegroups.com.


[tw5] Re: Set Top of story? for menus and other top content?

2020-03-08 Thread TonyM
Thanks Mohammad,

Is that where the post here went I wonder, if there is not a simple 
solution to Set Top of story?

The GitHub issues seems to me to be a redevelopment of the page layout but 
surely we can introduce a little more customisation as a start?

I am somewhat dependant on others because reverse engineering the page 
layout is a little difficult.

Regards
Tony

On Sunday, March 8, 2020 at 5:07:49 PM UTC+11, Mohammad wrote:
>
> Tony!
>  Jeremy and Mat has recently started a thread in GitHub to see if an 
> overhaul the page layout is possible.
> I think these issues can be seen in that thread and hopefully we could 
> have more flexible layout. See
>
> https://github.com/Jermolene/TiddlyWiki5/issues/4473
>
> --Mohammad
>
>
> On Sunday, March 8, 2020 at 3:23:31 AM UTC+3:30, TonyM wrote:
>>
>> Folks,
>>
>> With the advent of the menu bar plugin and with the full knowledge of 
>> other mobile themes and menu systems available such as placing things in 
>> the topbar(s)
>>
>>- Is there an existing or designable way to set the top of the story 
>>so when you scroll the new position is where sticky titles stop?
>>- Similarly can we then set this top zone to a higher Z index or give 
>>it an opaque background?
>>
>> It would be nice if thESE were a config panel valueS.
>>
>> rEGARDS
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2f9e2363-972f-4f2d-92ef-bb97b753dc7f%40googlegroups.com.


[tw5] Re: Link with variable field to point URL in list tiddler ?

2020-03-08 Thread Sylvain Naudin
Yes sorry if it is not clear, I'll upload an example soon.

Just to complete, URL is static, so I'll not use !!url but !!user instead.

-- 
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/09295b6f-8e8a-43b2-918c-7f3131e81d02%40googlegroups.com.


Re: [tw5] Transclude widget and block mode

2020-03-08 Thread TonyM
Reece,

Your welcome, Your wiki structure is not so strange to me, I tend to build 
things into the view template such that the tiddler has less and less in 
it, only the essential raw information remains, loading the tiddler fields 
and not the text field is my approach. The use of templates as well is 
helpful.

Yes I am familiar with the edit current tiddler issue and while I have some 
solutions that allow it, I am yet to feel confident in teaching someone 
else how to do it. There are cognitive somersaults needed to make this 
work. I continue to endeavor to try and find a way to provide a method 
anyone can use.

Your work looks great.

Keep on coding!

Tony

On Sunday, March 8, 2020 at 5:37:52 PM UTC+11, Reece Shaw wrote:
>
> Aha! that does the trick. Didn't realize it was ul that I needed to 
> change. Thank you!
>
> On Saturday, March 7, 2020 at 9:23:07 PM UTC-5, Mark S. wrote:
>>
>> Have you tried:
>>
>> .row ul {
>> margin-top: 0 ;
>> margin-bottom: 0;
>> }
>>
>>
>>
> To your question Tony, I use an admittedly strange wiki structure that is 
> front end user oriented. A lot of the wiki is designed around UI tiddlers 
> that read "data tiddlers" that are system tiddlers with multiple fields and 
> a naming structure consistent to the type of tiddler. It's difficult to 
> explain, you can see a demonstration of this behavior here 
> http://statme-pf2.tiddlyspot.com/ if you're curious.
>
> If you use edit-text widgets on fields that are not the text field, they 
> behave (basically) the same way that the text field does, including the 
> ability to use ordered lists, call macros, etc. The one caveat is that the 
> transclusion MUST be in block mode otherwise the ordered list and block 
> quotes won't work. Its easy for my purposes. 
>
> See the alchemical golem on that demo and click "edit" to see that in 
> action. The $:/world/SRD/creature-template tiddler serves up the UI you see 
> there.
>
> Thank you all for your help!
>
>  It seems to me odd that you are including markup in the field 
>> `"*''tester''` 
>
> This not the only thing that is confusing me, why are you wrapping it in 
>> triple Quotes? 
>
>  
>
> To me unless you want to make use of specific features of wikitext and 
>> widgets in a field keep the data as clean as possible `tester`
>
>

-- 
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/14d4d405-8095-4cce-b4a6-f5134a97c7c9%40googlegroups.com.


[tw5] Re: Link with variable field to point URL in list tiddler ?

2020-03-08 Thread Mat
Your description is somewhat unclear but here's a guess:

\define mymacro() [[shortname|$(url)$]]

<$list .. >
<$vars url={{!!url}}><>


<:-)

-- 
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/087ea0b7-b58b-4222-a7a8-b76e3533a9ed%40googlegroups.com.


[tw5] Link with variable field to point URL in list tiddler ?

2020-03-08 Thread Sylvain Naudin
Hello,

I can't figure how to do this after many attempts, sorry if the title is 
not clear ^-^'

I'm working on a Contact TiddlyWiki, to store mail, phone, and other ID of 
people.
I'm store a login forum user in a field called forum, for example PrenomNom.
Then, in a html table, I list all tiddler by filter with a tag to view this 
field, but I want a direct link to profile user URL of the forum.
For now I store long URL in my fields, but wanted it shorter an try without 
success with a macro or template tiddler.


Cheers,
Sylvain

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


[tw5] Distinguishing Native Shadow Tiddlers from Overwritten Shadow Tiddlers (for Styling)

2020-03-08 Thread Scott Simmons (Secret-HQ)
This is a follow-up to another question about using CSS to affect the 
opacity of tiddlers 

 from 
a year ago.

In that thread, I managed to make shadow tiddlers translucent for easy 
identification when TiddlyWiking.  My follow-up ambition was to add 
similarly identifying styling to *former* shadow tiddlers (i.e., modified 
shadow tiddlers, now saved as full-fledged tiddlers).

However, it doesn't look like there's an obvious way to identify those for 
CSS.  I used to think they got the style "tc-tiddler-exists" added when 
they were saved, and it seems that *IS* true — the original shadow also has 
that same CSS class.  Best I can tell, the only difference between a 
"native shadow" (one that hasn't been modified since it was loaded) and an 
overwritten shadow is the addition of the "tc-tiddler-exists" class a 
second time:

NATIVE SHADOW:
tc-tiddler-frame tc-tiddler-view-frame tc-tiddler-exists tc-tiddler-shadow 
tc-tiddler-system 

OVERWRITTEN SHADOW:
tc-tiddler-frame tc-tiddler-view-frame tc-tiddler-exists *tc-tiddler-exists* 
tc-tiddler-shadow tc-tiddler-system 

... and I don't think styling 
.tc-tiddler-exists.tc-tiddler-exists.tc-tiddler-shadow differently from 
.tc-tiddler-exists.tc-tiddler-shadow is going to work.

Are there any ways to go about this with how TW identifies shadow tiddlers 
and overwritten shadow tiddlers?  Because the EditTemplate throws up 
different alerts when you're editing a native shadow and when you're 
editing an overwritten shadow, I assume there must be some TiddlyWay of 
knowing the difference.  Is it a way that can be leveraged by CSS?

-- 
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/c3a1f84f-8247-44bb-9538-01491d0c4f7f%40googlegroups.com.


[tw5] Re: Translucent Tiddlers

2020-03-08 Thread Scott Simmons (Secret-HQ)
In case anyone is curious, here's the result — translucent shadow tiddlers.

-- 
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/789a3b04-0b32-4f01-a905-6a5bb5112f76%40googlegroups.com.


$__stylesheets_secret-hq_translucent shadow tiddlers.tid
Description: Binary data


[tw5] Re: Filter to look for a string inside a tiddler field?

2020-03-08 Thread Beckstrom
Whoohoo, awesome! Thanks for your Tiddlywiki magic. Eventually I get the 
hang of all the brackets!

On Sunday, March 8, 2020 at 2:14:02 PM UTC-4, Mat wrote:
>
> Hehe. Yeah, not totally easy to learn the syntax but it'll come:
>
> <>
>
> I think one aim was to make filters syntactically pretty so brackets of 
> various kinds are scaled down to a minimum inside filters.
>
> <:-)
>

-- 
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/29b0391e-9b6f-4a87-8020-a2b4ad23dfd6%40googlegroups.com.


[tw5] Re: Translucent Tiddlers

2020-03-08 Thread Scott Simmons (Secret-HQ)
Thanks for the tips, Mat!  If you see this old topic bubble to the top, you 
may get a kick out of Riz's solution above.  I certainly did!  

-- 
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/35a0b829-efa9-4199-976a-ed988a379b86%40googlegroups.com.


[tw5] Re: Translucent Tiddlers

2020-03-08 Thread Scott Simmons (Secret-HQ)
D'oh!

I completely missed this last year, Riz, and went on a goose chase that 
involved me swapping color palettes for shadow tiddlers.  It was never as 
elegant and doesn't work for something I'm trying now, so I searched up 
this topic, which led me back to the *FAR* superior solution here.

And I guess that answers my original question, too:  The behavior is likely 
by design to prevent other, overreaching stylesheets from accidentally 
changing the opacity of tiddlers (while still leaving the ability to 
override available for those with eyes to see).

Thanks for your help!

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


Re: [tw5] Re: Covid & Tiddlywiki

2020-03-08 Thread Mat
I think someone very recently published or maybe just linked to some kind 
of public no-write edition. Hopefully someone will fill in what I'm 
referring to here.

I'm not really familiar with the appear-plugin but I'm interpreting it to 
be something that works in a static wiki/tiddler.

But, yeah, it sounds like a simple solution to have a single static tiddler 
that simply "grows" for each update. What would be the drawbacks with 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cae234e2-b646-4fa1-9bbf-4460f700e66f%40googlegroups.com.


Re: [tw5] Re: Covid & Tiddlywiki

2020-03-08 Thread Steven Schneider
Thanks, Mat.

I need a simple html web page [ though it can have javascript etc.
Tiddlywiki gets  cranky sometimes when user leaves the page and asks for a
save (probably an option i could turn off). it's ok for office hours, but
this is a highly visible and scrutinized effort, and must be flawless. I
guess I've needed a better "public facing web page interface only" theme,
but didn't get to getting it together. Perhaps that's the better way to go.

My immediate goal is to write in a tiddler <$appear show="How to find your
class online">This is how you find our class online, using the
<$appear> plugin, and then export-tiddler-as html, and have the
functionality present such that, you get that little functionality i see
all over the web.

I'm so spoiled by TW I have no idea how folks exist in the real world of
html.

//steve.



On Sun, Mar 8, 2020 at 2:32 PM Mat  wrote:

> Hiya professor Steve.
> Sharing in what type of forum? e-mail? Any webpage? Official faculty
> website? A common drive storage? RSS?... And you say "I think I've got a
> way to live-publish" - what do you mean?
>
> <:-)
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/zwt6RjLOJpo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/fad0370d-fc2a-4b1e-abe1-7ca5ce2d97d3%40googlegroups.com
> 
> .
>


-- 

-- 

Steven M. Schneider

Interim Provost | Professor, Communications and Information Design

SUNY Polytechnic Institute   | st...@sunypoly.edu
315.792.7200
100 Seymour Avenue
Utica, NY 13502

Pronouns : he/him/his

-- 
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/CAAsRerh3JFMpy1apiPmdgPtYUUQxE%2BrV89-t6tKm5DMxT17cpw%40mail.gmail.com.


[tw5] Re: Covid & Tiddlywiki

2020-03-08 Thread Mat
Hiya professor Steve. 
Sharing in what type of forum? e-mail? Any webpage? Official faculty 
website? A common drive storage? RSS?... And you say "I think I've got a 
way to live-publish" - what do you mean?

<:-)



-- 
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/fad0370d-fc2a-4b1e-abe1-7ca5ce2d97d3%40googlegroups.com.


Re: [tw5] How to see statistics for this group or for TiddlyWiki?

2020-03-08 Thread Jeremy Ruston
Hi MarkOn 7 Mar 2020, at 17:08, 'Mark S.' via TiddlyWiki  wrote:Isn't google analytics embedded in TiddlyWiki.com ? I can see it was there at vsn 5.1.14. Maybe subsequently removed?I removed Google Analytics when GDPR came in. I’d been running it since the early days but never really found anything useful from it (it’s fun to watch the real time stuff but it’s also a bit creepy).There are also some stats from GitHub about the repo (pasted below).Best wishesJeremy



-- 
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/F4B4701F-C28C-4506-A1A3-9477F431E32F%40gmail.com.


PastedGraphic-4.pdf
Description: Adobe PDF document




-- 
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/F4B4701F-C28C-4506-A1A3-9477F431E32F%40gmail.com.


[tw5] Covid & Tiddlywiki

2020-03-08 Thread Steven Schneider
Reintroducing myself to the group: I'm the college professor who's taught 
tiddlywiki in designwritestudio.com for a long time, and more recently as 
the Interim Provost used tiddlywiki to post faculty office hours 
.

Today, I"m focused on sharing an easy-to-update and consume guide for 
students and faculty outlining our response. It is changing rapidly 
(hourly, sometimes), and we keep adding things, etc. And the University is 
not well equipped with web-based technology; getting web pages posted is 
problematic. I think I've got a way to live-publish (you'd think it 
woulnd't be hard) (might just go to a blog)

I probably need to export single tiddlers as html. TW is a great tool for 
gathering multiple pieces of informatiron and transclusion. I'd really like 
to incorporate the <$reveal> functionality, which is probalby html5? this 
is pretty much out of my league. And I have a few hours...(I can always 
relaunch it monday...)

Thanks,

//steve.

-- 
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/725f801d-34d0-4f73-811b-e762ad9b28ba%40googlegroups.com.


[tw5] Re: Filter to look for a string inside a tiddler field?

2020-03-08 Thread Mat
Hehe. Yeah, not totally easy to learn the syntax but it'll come:

<>

I think one aim was to make filters syntactically pretty so brackets of 
various kinds are scaled down to a minimum inside filters.

<:-)

-- 
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/42c8d027-7da9-4758-addc-0277231d10c9%40googlegroups.com.


Re: [tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-08 Thread Jeremy Ruston
Hi Mat
> This, and Reeces other similar "block issues" caused from transclusion 
> blockmode, are interesting. Maybe the transclusionwidget should have a class 
> attribute?

The transclude widget doesn’t generate any DOM elements itself, and so there 
would be nowhere to attach the class.

But this is more of an HTML issue, I think: there’s no facility for injecting 
content into a block other than float, as far as I know.

Best wishes

Jeremy.

> 
> 
> Reece, here's an alternative solution that might work IF you prefix is a 
> string that fulfills common css definition name rules.
> 
> \define pff-display-xblock(field:"" class:"")
> <$list filter='[is[current]has[$field$]]'>
> 
> <$transclude field="$field$" mode="block" />
> 
> \end
> 
> <>
> 
> 
> .myclass { margin-left:2em;}
> .xxx::before {content:"xxx"; position:absolute; margin-left:-2em}
> 
> 
> The prefix you use in the macrocall (i.e "xxx") has a corresponding 
> styledefinition (i.e ".xxx").
> 
> <:-)
> 
> -- 
> 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/173911ac-375d-46a3-adad-9e69f39d1eb3%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/62167002-D6FF-41DD-A1BA-93C6C825F0FE%40gmail.com.


Re: [tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-08 Thread Mat
Jeremy Ruston wrote:
>
> It may be worth trying to use CSS float: left to position the prefix?
>

...and he'd have to move the transclusion to the right also, I'd think.
This, and Reeces other similar "block issues" caused from transclusion 
blockmode, are interesting. Maybe the transclusionwidget should have a 
class attribute?


Reece, here's an alternative solution that might work IF you prefix is a 
string that fulfills common css definition name rules.

\define pff-display-xblock(field:"" class:"")
<$list filter='[is[current]has[$field$]]'>

<$transclude field="$field$" mode="block" />

\end

<>


.myclass { margin-left:2em;}
.xxx::before {content:"xxx"; position:absolute; margin-left:-2em}


The prefix you use in the macrocall (i.e "xxx") has a corresponding 
styledefinition (i.e ".xxx").

<:-)

-- 
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/173911ac-375d-46a3-adad-9e69f39d1eb3%40googlegroups.com.


[tw5] Re: Filter to look for a string inside a tiddler field?

2020-03-08 Thread Beckstrom
Ah, so close...

This works great:
<>

Now I'm trying to grab the title of a tiddler and insert it into that 
filter (eg the tiddler is named "bluegill" and I want the filter to show me 
every tiddler that has the field "fish" that contains the word "bluegill"

I've tried:

<>

<>]]">>

<]]">>

and various attempts with <$var> and <$set> (I don't really understand 
those yet)

Any ideas? thanks!

On Sunday, March 8, 2020 at 12:42:45 PM UTC-4, Mat wrote:
>
> I think this filter should work
>
> [all[tiddlers]search:fish[goldfish]]
>
> <:-)
>
>

-- 
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/90c8e061-ee1f-4583-89ad-1c18ed64ec1b%40googlegroups.com.


Re: [tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-08 Thread Jeremy Ruston
Hi Reece

It may be worth trying to use CSS float: left to position the prefix?

Best wishes

Jeremy

> On 8 Mar 2020, at 03:31, Reece Shaw  wrote:
> 
> Hello all,
> 
> Currently I am using transclusions in block mode to create some text blocks 
> from a data tiddler. Ideally, to display the data from said data tiddler, I 
> would like to add a prefix to the rendered text that appears in line with the 
> text from the field.
> 
> Problem is that if I include text outside of the transclusion, it will render 
> above the text. I was testing with the below macro in a tiddler that has the 
> field "test".
> 
> 
> \define pff-display-xblock(field:"" prefix:"")
> <$list filter='[is[current]has[$field$]]'>
> $prefix$<$transclude field="$field$" mode="block" />
> 
> \end
> 
> <>
> 
> I can't use the inline mode because the fields may have text such as ordered 
> lists, which do not render correctly in inline mode. Any thoughts on how to 
> render this without the line break?
> 
> Included a screenshot to show the rendered text.
> 
> -Reece
> 
> -- 
> 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/6a943130-ccb4-4d24-ad07-017c8688a5b6%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/50B3E992-9435-492C-9F2E-503B9FEC6310%40gmail.com.


Re: [tw5] SVG animation with JavaScript

2020-03-08 Thread Jeremy Ruston
Hi Thomas

> On 8 Mar 2020, at 10:32, Thomas Elmiger  wrote:
> 
> Hi Diego,
> 
> The attached tid file contains my new splashscreen including an SVG graphic. 
> Basically, it seems to work on https://tid.li/tw5/apps/svg.html – but I still 
> have questions myself: 
> 
> - The animation is not visible in my browsers on the splash screen – would 
> there be a way?
> -- but: when I open the tiddler in the wiki and add html to the pragma rules, 
> the animation is visible

The complexity here stems from the way that tiddlers with the tag 
$:/tags/RawMarkupWikified/TopBody are processed. At the time the wiki is saved, 
they are are wikified, and then the text content is extracted and spliced into 
the HTML file.

So, if your tiddler contained Jeremy, then the HTML that would be 
spliced into the HTML file would be the string “Jeremy”, with no HTML tags.

In your example, using \rules only filteredtranscludeinline transcludeinline  
means that only transclusions will be wikified, and the HTML elements will be 
treated as plain text. That makes things work nicely when the wiki is reloaded, 
but as you note it means that viewing the tiddler directly in TW won’t work as 
expected.

Adding the “HTML” rule causes the HTML and SVG elements to be wikified, and 
thus displayed normally.

> - Macros can not be included (I tried to show the TW <>) – would 
> there be a way?

You’ll need to use \import to import any macros you need,

Best wishes

Jeremy.

> 
> All the best,
> Thomas
> 
> Am Donnerstag, 5. März 2020 17:10:21 UTC+1 schrieb Diego Mesa:
> Thanks all for their great work!
> 
> I want to ask again to see if anyone can provide instructions to get this to 
> work as a splash screen? 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/1ffe5c64-e778-4427-b4bb-e4b8a12830fa%40googlegroups.com
>  
> .
> <$__telmiger_splashscreen.tid>

-- 
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/1E3214E8-8F29-4217-8A8F-892A05F598D6%40gmail.com.


Re: [tw5] Tiddler Templates

2020-03-08 Thread Jeremy Ruston
> LOL! No-refresh bugs seem to be my thing lately! 

Thanks for digging them up, they can be quite mindbending to work on!

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/046E4716-EE30-48DA-8179-D376E280DC7B%40gmail.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-08 Thread Jeremy Ruston
Hi Donald

One way to achieve this would be to move your images folder into your wiki, and 
then create a tiddlywiki.files file to control how the image files are handled:

https://tiddlywiki.com/#tiddlywiki.files%20Files 


The example there is for importing a folder full of PDFs, but you should be 
able to adapt it for other image types.

Best wishes

Jeremy

> On 8 Mar 2020, at 04:04, Donald Coates  wrote:
> 
> I'm beating my head against a wall on this one.  I want to move a directory 
> of images into my wiki via the commandline.  I know I can download them then 
> drag and drop but I would rather just do it all on the nodejs server.
> 
> using the load command ends up with a title that includes the entire path 
> name.  Is there any way to get rid of that or some other way I'm just not 
> seeing?
> 
> Thank you in advance!
> 
> -- 
> 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/05e40971-35d4-42ca-9848-c1a0db326774%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/9E2AA659-181C-40A4-B6B7-56684DDC1736%40gmail.com.


Re: [tw5] Tiddler Templates

2020-03-08 Thread Mat
Jeremy Ruston wrote:
>
> You’ve found a subtle bug with the button widget that was causing it to 
> not refresh
>

LOL! No-refresh bugs seem to be my thing lately! 
Thanks for attending to it so quickly!

<:-)

-- 
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/dca53de4-0ade-4c1d-bc0b-6db749d5f0ae%40googlegroups.com.


Re: [tw5] How to disable lazy loading for specific tiddler

2020-03-08 Thread Jeremy Ruston
Hi Ilya

> I noticed a strange problem while developing a plugin. The plugin doesn't 
> work correctly on nodejs if plugin displays some content via PageTemplate 
> based on filter. Because the tiddlers of the plugin lazy loaded, Tiddlywiki 
> has no way of knowing that filter need to be executed. Is there a special tag 
> or something I can use to disable lazy loading for tiddlers of the plugin.

Up to v5.1.21, if the TW5 client running into the browser sees a tiddler 
without a text field then it will trigger a lazy load of that tiddler from the 
server.

So, the tiddler containing your plugin will not itself be lazily loaded because 
it has a text field. Neither will the constituent shadow tiddlers be lazily 
loaded.

Is it that the tiddlers selected by your filter are themselves subject to lazy 
loading?

Best wishes

Jeremy


> 
> Best regards,
> iilyak
> 
> 
> -- 
> 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/CAP2DrbTvk2sfWbDNMk6%3DPH78SkEG6vo7eAvRM3mOzLWv5qaUmA%40mail.gmail.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/80499BD8-F729-4D91-9DD6-6D7010EFD6EA%40gmail.com.


[tw5] Re: Filter to look for a string inside a tiddler field?

2020-03-08 Thread Beckstrom
yup that does the trick. thanks so much!

-- 
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/1dae72ab-1af8-4df9-8a0f-7ddaadb03a4c%40googlegroups.com.


Re: [tw5] Tiddler Templates

2020-03-08 Thread Jeremy Ruston
Hi Mat

You’ve found a subtle bug with the button widget that was causing it to not 
refresh when the “actions” attribute value changes. It’s fixed here:

https://github.com/Jermolene/TiddlyWiki5/commit/665b63ec38b75dfe62009d2f5514682de60e953f
 


The fixed version will be available at https://tiddlywiki.com/prerelease 
 in a few minutes,

Best wishes

Jeremy

> On 8 Mar 2020, at 16:30, Mat  wrote:
> 
> We're many who have experienced the pain you're in. It's worth it.
> 
> IMO your question should be simple to solve but having tried the 
> following I was surprised to see it doesn't work. Maybe someone can tell what 
> I'm doing wrong:
> 
> Create a template, i.e a regular tiddler, that has the content you want. Then 
> change the text in:
> 
> $:/core/ui/Actions/new-tiddler
> 
> into
> 
> <$action-sendmessage $message="tm-new-tiddler" $param="TITLEOFYOURTEMPLATE"/>
> 
> Nope. OK, as per this example 
>  change the text 
> intstead to:
> 
> <$action-sendmessage $message="tm-new-tiddler" text={{TITLEOFYOURTEMPLATE}} />
> 
> ...but nope again. 
> 
> So sorry. Hopefully someone else can help.
> 
> BTW regarding the shadow tiddler the $:/core/ui/Actions/new-tiddler: I note 
> that in the prerelease the macrocall in this tiddler has added a tags 
> parameter which is not existant in the current release. If you change this 
> tiddler then you should take in your next update to make sure you change it 
> accordingly.
> 
> <:-)
> 
> -- 
> 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/50c41c9a-804a-402b-89e3-bbf3d6cdf7dc%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/733E902D-F58A-47AF-AF14-129F56FEBED6%40gmail.com.


[tw5] Re: How to use a field value in a json string?

2020-03-08 Thread Beckstrom
after a whole lot of troubleshooting, I think i figured out what was causing 
this weirdness! my server was set to lazy-load all, including tiddlers, and 
that seems to have been messing with this plugin.

I disabled lazy-loading for tiddlers and this is now working great! thanks for 
your help!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/04e2e77e-ffb6-4fee-8daa-72bf44279f08%40googlegroups.com.


[tw5] Re: Filter to look for a string inside a tiddler field?

2020-03-08 Thread Mat
I think this filter should work

[all[tiddlers]search:fish[goldfish]]

<:-)

-- 
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/a29ccea7-a0e6-411b-8c97-6514f9d589ff%40googlegroups.com.


[tw5] Filter to look for a string inside a tiddler field?

2020-03-08 Thread Beckstrom
I’m creating some fishing-related tiddlers. For instance, a tiddler called “Big 
Lake” has a field called “point” that has a lat/long, and another field called 
“fish” whose value is a comma-separated list of fish that live in that lake

I can easily get a list of tiddlers that have the “fish” field:

<$list filter="[has[fish]]">
<>
{{!!fish}}



I’d like to be able to create a list of places where a specific fish lives. 
some pseudo-code:

[has[fish]and[fish[contains:goldfish]]]

which would show a list of tiddlers where they have the field “fish” and that 
field value contains the string “goldfish”

Is this possible?

-- 
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/dad819ef-0d08-46f1-87fe-6be84a94a543%40googlegroups.com.


[tw5] Re: Tiddler Templates

2020-03-08 Thread Mat
We're many who have experienced the pain you're in. It's worth it.

IMO your question should be simple to solve but having tried the 
following I was surprised to see it doesn't work. Maybe someone can tell 
what I'm doing wrong:

Create a template, i.e a regular tiddler, that has the content you want. 
Then change the text in:

$:/core/ui/Actions/new-tiddler

into

<$action-sendmessage $message="tm-new-tiddler" 
$param="TITLEOFYOURTEMPLATE"/>

Nope. OK, as per this example 
 change the 
text intstead to:

<$action-sendmessage $message="tm-new-tiddler" text={{TITLEOFYOURTEMPLATE}}
 />

...but nope again. 

So sorry. Hopefully someone else can help.

BTW regarding the shadow tiddler the $:/core/ui/Actions/new-tiddler: I note 
that in the prerelease the macrocall in this tiddler has added a tags 
parameter which is not existant in the current release. If you change this 
tiddler then you should take in your next update to make sure you change it 
accordingly.

<:-)

-- 
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/50c41c9a-804a-402b-89e3-bbf3d6cdf7dc%40googlegroups.com.


[tw5] How to disable lazy loading for specific tiddler

2020-03-08 Thread ILYA Khlopotov
I noticed a strange problem while developing a plugin. The plugin doesn't
work correctly on nodejs if plugin displays some content via PageTemplate
based on filter. Because the tiddlers of the plugin lazy loaded, Tiddlywiki
has no way of knowing that filter need to be executed. Is there a special
tag or something I can use to disable lazy loading for tiddlers of the
plugin.

Best regards,
iilyak

-- 
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/CAP2DrbTvk2sfWbDNMk6%3DPH78SkEG6vo7eAvRM3mOzLWv5qaUmA%40mail.gmail.com.


[tw5] Tiddler Templates

2020-03-08 Thread Gerardo Vélez
Hi all,

Before asking, would like to tell you that I have somehow managed to stick 
to TWC for quite a long time after the TW5 release. Made some attempts to 
migrate but TW5 seemed so overwhelmingly different that the learning curve 
always turned me down. Now I have gathered enough courage to face the storm 
and do the final transition and I can tell you it's being as painful as I 
thought it'd be. Or maybe more.

So far I'm getting info from here and there and solving my questions but 
this one is being haunting me for a while and I think it's so simple nobody 
asked for it.

I just want every single tiddler I create (no matter the tag) to have some 
text already in place before I start writing in the text box.

So when I click in New Tiddler, a new one pops up and the text box instead 
of empty has whatever text I want there. I don't need any other adjustment 
(at least not yet)

Any help from the amazing TW community would be greatly appreciated.

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/49e75c42-f2cc-471d-bfbb-bdbeb533b5a5%40googlegroups.com.


[tw5] Re: Set Top of story? for menus and other top content?

2020-03-08 Thread Julio Peña
Hello all,

Interesting thread over at Github. I shall follow attentively.
I am much in favor of an overhaul as long as it improves usability.
Thanks Mohammad for sharing it!

Regards,
Julio

-- 
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/dda4521a-3c7a-4216-90fb-e0442fd25efb%40googlegroups.com.


[tw5] Re: How modify this regexp?

2020-03-08 Thread TiddlyTweeter
 Mat wrote:
>
> TT - that does seem to work! Great!!!
>

It should work fine.

The two cases it will fail in are ...

-- When the problem is nested (I don't think that will happen for the OP).

-- When the item is the LAST in sequence. (That can be addressed but avoid 
it if it its not absolutely needed as it will make the regex very complex)

TT



 

>
> For anyone curious, I have this:
>
> A tiddler with this arbitrary text
>
> title:tid
> text: Welcome to TiddlyWiki < bar>>notebook 
> for. 
>
> And this is my testing code (at the moment):
>
> <$set name=re value='(<])*?)([<]{2})'>
> <$set name=txt filter='[[tid]get[text]]'>
> txt: <>
> list: <$list filter="[{tid}regexpsplitregexp]">
>
> 
> 
> <$set name=pre filter="[{tid}regexpsplitregexpfirst[]]">
> pre:<>
> 
> <$set name=target filter="[{tid}regexpsplitregexpnth[2]]">
> target: <>
> 
> <$set name=post filter="[{tid}regexpsplitregexprest[2]]">
> post: <>
> 
> 
> 
> 
> 
>
> To be clear, the application in EditorMagic is to be replace the 
> incomplete macro call with a complete one and to keep the surrounding text 
> (the pre and the post) intact. In the above setup, the "target" contains
>
>  < 
>  xx 
> ]]
>
> Other than the added square brackets that mess up the link 
> ([[non-linear]]) I'll have to split the real target, i.e < rest and prepend the rest to the "post" text. So ideally, the regexp would 
> cover that IF it says "< rather than include the blabla with it. I'm guessing this is too complex 
> for a regex and will have to be done manually. 
>
> <:-)
>
>
>

-- 
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/28785a0e-81bf-4f8b-86a3-f2d95c3a00dd%40googlegroups.com.


[tw5] Re: How modify this regexp?

2020-03-08 Thread Mat
Meanwhile, I added this request at gh:

Filter op to extract regexp from string 


which argues for a set of filter ops (or even a single filter op) that 
stems from the most basic use case I can think of. 

Do go there and express your agreement or disgust over 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/f3065ad8-ff39-479f-ba0c-483bba2b10d4%40googlegroups.com.


[tw5] Re: How modify this regexp?

2020-03-08 Thread Mat
TT - that does seem to work! Great!!!

For anyone curious, I have this:

A tiddler with this arbitrary text

title:tid
text: Welcome to TiddlyWiki <>notebook 
for. 

And this is my testing code (at the moment):

<$set name=re value='(<])*?)([<]{2})'>
<$set name=txt filter='[[tid]get[text]]'>
txt: <>
list: <$list filter="[{tid}regexpsplitregexp]">



<$set name=pre filter="[{tid}regexpsplitregexpfirst[]]">
pre:<>

<$set name=target filter="[{tid}regexpsplitregexpnth[2]]">
target: <>

<$set name=post filter="[{tid}regexpsplitregexprest[2]]">
post: <>






To be clear, the application in EditorMagic is to be replace the incomplete 
macro call with a complete one and to keep the surrounding text (the pre 
and the post) intact. In the above setup, the "target" contains

 
 xx 
]]

Other than the added square brackets that mess up the link ([[non-linear]]) 
I'll have to split the real target, i.e 

[tw5] Re: How modify this regexp?

2020-03-08 Thread TiddlyTweeter
On last notice it can't detect nested issues of your OP.

It could be done. Just would get baroque.

Probably not needed. 

TT


On Sunday, 8 March 2020 13:16:10 UTC+1, TiddlyTweeter wrote:

> (This is pretty difficult to get right.)
>
>
> Its a very interesting regex issue. Regex often looks counter intuitive. 
> Using negatives can get complicated.
>
> It IS possible to match the needed in one regex. But you would have to 
> chop off the suffix since we can't currently do that by silent 
> non-capturing, then reinstate it so that the "<<" becomes ">><<"
>
> (<])*?)([<]{2})
>
>
> That matches this ...
>
> [image: Annotation 2020-03-08 130948.jpg]
>
>
> --|match|--
>
> << suffix to replace
>
> TT
>
> Mat wrote:
>>
>> More compact:
>>
>> Find the *first* "<> ...that is not followed by ">>"   (where  signifies any number of 
>> characters, including none)
>> ...OR that IS followed by "<<"  or character/s that is forbidden 
>> inside a short form macro call.
>>
>>
>> (This is pretty difficult to get right.)
>>
>> <:-)
>>
>

-- 
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/4b7e91af-68a2-41e2-b707-41a4836bd190%40googlegroups.com.


[tw5] Re: How modify this regexp?

2020-03-08 Thread TiddlyTweeter

>
> (This is pretty difficult to get right.)


Its a very interesting regex issue. Regex often looks counter intuitive. 
Using negatives can get complicated.

It IS possible to match the needed in one regex. But you would have to chop 
off the suffix since we can't currently do that by silent non-capturing, 
then reinstate it so that the "<<" becomes ">><<"

(<])*?)([<]{2})


That matches this ...

[image: Annotation 2020-03-08 130948.jpg]


--|match|--

<< suffix to replace

TT

Mat wrote:
>
> More compact:
>
> Find the *first* "< ...that is not followed by ">>"   (where  signifies any number of 
> characters, including none)
> ...OR that IS followed by "<<"  or character/s that is forbidden 
> inside a short form macro call.
>
>
> (This is pretty difficult to get right.)
>
> <:-)
>

-- 
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/4dc95947-6f8b-4189-af66-0c5e18e379f4%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-08 Thread Beckstrom
yeah that’s a good question! use the “load multiple” widget and would love a 
way to change the titles before importing. right now I import and then open 
each imported tiddler to change the title

-- 
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/9f47b773-8b1f-45b4-8dac-088ce3f1aa44%40googlegroups.com.


[tw5] Re: A Tiddlers' foot

2020-03-08 Thread Thomas Elmiger
Hi Luis,

Thanks for sharing – I did not try it yet. Could you give us some more info 
please? What is a foot? Who could use this and with what effect? Is there a 
demo somewhare or could you provide a screenshot?

Have a great day!
Thomas

Am Donnerstag, 5. März 2020 13:57:49 UTC+1 schrieb Luis Gonzalez:
>
> This is my first plugi. Is a little foot for all tiddlers.
>

-- 
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/015ff451-b86f-42db-9cce-1d498c6e6720%40googlegroups.com.


[tw5] Re: SVG animation with JavaScript

2020-03-08 Thread Thomas Elmiger
Hi Diego,

The attached tid file contains my new splashscreen including an SVG 
graphic. Basically, it seems to work on https://tid.li/tw5/apps/svg.html – 
but I still have questions myself: 

- The animation is not visible in my browsers on the splash screen – would 
there be a way?
-- but: when I open the tiddler in the wiki and add *html* to the pragma 
rules, the animation is visible
- Macros can not be included (I tried to show the TW <>) – would 
there be a way?

All the best,
Thomas

Am Donnerstag, 5. März 2020 17:10:21 UTC+1 schrieb Diego Mesa:
>
> Thanks all for their great work!
>
> I want to ask again to see if anyone can provide instructions to get this 
> to work as a splash screen? 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1ffe5c64-e778-4427-b4bb-e4b8a12830fa%40googlegroups.com.


$__telmiger_splashscreen.tid
Description: Binary data


[tw5] Re: How modify this regexp?

2020-03-08 Thread TiddlyTweeter
Ciao Mat

I'd also test this with "<
> IMO you can _not_ detect this pattern in 1 run. You would have to find 
>> every appearance with: <> you have to see if  contains >> .. If yes -> OK ... If no problem.
>>
>
> OK, I don't think it is necessary with one step for EditorMagic 
> considering how it is the text of a single tiddler that is searched so it 
> should be pretty fast regardless. With < I'll see what I can come up 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/70fd5b77-b549-4fbb-b762-98c05b28980a%40googlegroups.com.


[tw5] Re: How modify this regexp?

2020-03-08 Thread TiddlyTweeter
PMario wrote:
>
> The best description about regexp I've ever found is: 
> https://www.regular-expressions.info/javascript.html 
>
> They describe it in a way that I actually could understand and modify by 
> myself. 
>

I agree. There is a depth of context in that site that is very helpful in 
understanding regex in TW.

(I personally also use the specialized commercial  tools (RegexBuddy, 
PowerGrep) that Jan Goyvaerts wrote.)

TT

-- 
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/cff8c904-7b4f-4355-86fc-84eb91abc72e%40googlegroups.com.


[tw5] Re: How modify this regexp?

2020-03-08 Thread TiddlyTweeter

>
> (Hm, why do my projects hit the outer limits so often?) 


I think at least two of your recent ones are related to the current lack of 
a way under the TW rexexp filter operator to be able return capture groups.
This limits what you can do with regex in filters and requires a kind of 
coding jujitsu to get around.

TT
 
Mat wrote:
>
> Mark S. wrote:
>>
>> PR 2963  
>>
>  
> i.e Returns text of input selection that matches regexpr 
>  - yes, that would be 
> needed here.
>
> I would also think #4452 Memory variable filter ops 
>  is relevant here 
> to enable doing this in a single step.
>
>
> (Hm, why do my projects hit the outer limits so often?)
>
> <:-)
>  
>

-- 
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/2c06acfc-3cfe-4705-a97a-8dafc0a9ec16%40googlegroups.com.


[tw5] Re: How modify this regexp?

2020-03-08 Thread Mat
Mark S. wrote:
>
> PR 2963  
>
 
i.e Returns text of input selection that matches regexpr 
 - yes, that would be 
needed here.

I would also think #4452 Memory variable filter ops 
 is relevant here to 
enable doing this in a single step.


(Hm, why do my projects hit the outer limits so often?)

<:-)
 

-- 
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/686608a7-5164-49ff-945a-3ba38593f2e3%40googlegroups.com.


[tw5] Re: How modify this regexp?

2020-03-08 Thread Mat

>
> IMO you can _not_ detect this pattern in 1 run. You would have to find 
> every appearance with: < you have to see if  contains >> .. If yes -> OK ... If no problem.
>

OK, I don't think it is necessary with one step for EditorMagic considering 
how it is the text of a single tiddler that is searched so it should be 
pretty fast regardless. With