[tw5] Re: TidBits: TW5 TIPS

2019-11-15 Thread Eric Shulman
On Friday, November 15, 2019 at 10:30:39 PM UTC-8, A Gloom wrote:
>
> Field names must be lowercase letters, digits or the characters - (dash), 
> _ (underscore) and . (period).
> I need to find the official info on character restrictions for tiddler 
> titles and tag names if any
>

The restrictions on field names is because of the way tiddlers are stored 
as HTML DIVs in a standalone file.

For example:


tiddler text content goes here


 
Except for the tiddler text content, all tiddler fields are stored using 
attributes of an HTML DIV, and those attribute names are limited to 
lowercase, digits, dash, underscore, and period.  Note that the tags field 
*value* is automatically pre-processed by the TW core to ensure that tags 
with spaces are enclosed by doubled square brackets, and any embedded 
quotes within a tag name are replaced with  so it doesn't interfere 
with the quote delimiters used to surround the HTML attribute value itself.

enjoy,
-e

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


[tw5] Re: TidBits: TW5 TIPS

2019-11-15 Thread A Gloom
this as well


Field names must be lowercase letters, digits or the characters - (dash), _ 
(underscore) and . (period).

I need to find the official info on character restrictions for tiddler 
titles and tag names if any

-- 
You received this message because you are subscribed to the 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/e00e6d5a-f6e6-452a-9ac9-4d1b382ed288%40googlegroups.com.


[tw5] Re: Computer freezes while saving with Firefox / Timimi

2019-11-15 Thread Birthe C
Hi Mal
I am using Firefox 70.0.1 on Linux Mint and Timimi version 2.03 also and 
having no problems. BUT my Tiddlywiki is not by far as big as yours. 


Birthe

-- 
You received this message because you are subscribed to the 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/dcb7915c-6e2e-4aef-8044-f647c629fad7%40googlegroups.com.


[tw5] Computer freezes while saving with Firefox / Timimi

2019-11-15 Thread Mal
Is anyone else having problems with saving using Timimi with Firefox?

I am getting slow saves and the computer freezing (no response from mouse 
or keyboard) for about 20 seconds or so on each save.  This is with 
relatively large tiddlywiki files (about 20-30 MB).  I am running Firefox 
version 70.0.1 on Ubuntu and MacOS and Timimi version 2.03.  There are no 
problems when using TiddlyServer.

It seems that this problem has appeared after the latest Firefox update.

Mal

-- 
You received this message because you are subscribed to the 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/f098d6e0-a91f-4d1b-864b-0014f0e6128e%40googlegroups.com.


[tw5] Re: TidBits: TW5 TIPS

2019-11-15 Thread A Gloom

>
> latour
>
Layout works

here's somethings that might be of use (from one of my cheatsheets)

data dictionaty tiddler `:` : use `` so it doesn't mark the separator 
between index & value
filtered list bullet no indent : <$list filter="" > 
<>
filtered list ordered ol numbered : <$list filter="" 
><>
filtered list unordered ul : <$list filter="" 
><>
filtered list table : <$list 
filter=""><$link><$view field=""/>
filtered list numbered table : #<$list 
filter="[tag[*html]]"><$link><$view 
field="title"/> (no nesting)
filtered list numbered table css style : .ragstablenumb {counter-reset: 
serial-number;  /* Set the serial number counter to 0 */}.ragstablenumb 
td:first-child:before {counter-increment: serial-number;  /* Increment the 
serial number counter */  content: counter(serial-number);  /* Display the 
counter */}
list toc div : <$list filter=""><$link><$view 
field="caption"/> / / <$view field="namesec"/><$list 
filter="[all[current]tagging[]]"><$link 
to={{!!title}}><$view field="caption"/> / / <$view 
field="namesec"/>
list links numbered ol : <>
caption or title : <$transclude field="caption"><$view 
field="title"/>
list link to title w other fields : <$link to={{!!title}}> 
<$link>
conditional view list : <$list filter="[all[current]tag[x]]">display 
content
reveal using variable : <$reveal type="nomatch" text="0" default=<> > no state param but default param
set variable by filter : <$set name="" filter="">
slide reveal : <$reveal type="nomatch" state="$:/state/" text="show"><$button 
set="$:/state/" setTo="show">Show<$reveal type="match" 
state="$:/state/" text="show"><$button set="$:/state/" 
setTo="hide">Hide
clear button : <$button class="tc-btn-rounded"  
style="margin-left:10px;"><$action-setfield $tiddler="$:/temp/kbshortsearch" 
searchterm="" />{{$:/core/images/close-button}}
table horizontal scroll : container div overflow-x auto
tooltip line break : press enter key (for new line)
tooltip svg title line break:  ()
tshoot edit-text lose focus : edit-text inside set using edit-text output
tshoot macro call fail : make previous parameters not used have " ", "non 
singular values"
tshoot tabs vert : <>
tshoot tabs transclusions currentTiddler : use tabs macro template "#tabsmacro 
current tiddler template"
tshoot temp, state tidd explorer : using / in tidd title causes sub directories 
for state temp tidds in More explorer

-- 
You received this message because you are subscribed to the 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/7adf9657-4526-4790-bf93-81551bf104ab%40googlegroups.com.


[tw5] Re: My second Tiddly Wiki: Intertwingularity Slice'n Dice

2019-11-15 Thread A Gloom

>
> So I initially planned on simultaneously maintaining structured content 
> using Google Sites, but I quickly got frustrated with that just like I got 
> frustrated trying to maintain my French-Acadian language lexicon with 
> Google Sites.

 
cool, I actually use your Acadian wiki-- incorporated Acadia, its history, 
people in my work.

I can understand the desire to preserve-- the culture I married into is 
also disappearing-- much of it is already gone 

I am so much happier and having an absolute blast using TiddlyWiki (it 
> seems to match exactly how I think!  Good?  Bad?  Maybe. 
> 
> )
>

no holding back now!1! just beware of Intertwingulitis...

look out, got stdetracked again-- a tree visual plotter for TW, wonder if 
railroad plugin could be modified for vertical vs horizontal?

-- 
You received this message because you are subscribed to the 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/5bac8491-50fa-46d2-8290-65756a6f36de%40googlegroups.com.


[tw5] My second Tiddly Wiki: Intertwingularity Slice'n Dice

2019-11-15 Thread CJ Veniot


I started blogging about "intertwingularity" last June, a way for me to do 
a brain-dump about this passion I have for dealing with complexity (the 
challenge of understanding "it" and communicating "it".)

Right out of the gate, I knew I'd have a hard time sticking to just a 
blog.  A chronological smattering of content just does not float this kid's 
boat.

So I initially planned on simultaneously maintaining structured content 
using Google Sites, but I quickly got frustrated with that just like I got 
frustrated trying to maintain my French-Acadian language lexicon with 
Google Sites.

Since I've really been enjoying TiddlyWiki to put together Le P'tit Aurèle 
, I figured I should do a reboot of a 
structured content site about intertwingularity using TiddlyWiki.  Although 
early going putting together Intertwingularity Slice'n Dice - Wiki 
, I am so much happier 
and having an absolute blast using TiddlyWiki (it seems to match exactly 
how I think!  Good?  Bad?  Maybe. 

)



All of that just to, yet again, express a whole lot of love for TiddlyWiki 
and send out a huge thank-you to all involved in making such an 
oh-so-awesome dish of goodness.

Cheers !

-- 
You received this message because you are subscribed to the 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/c059fef1-a4c1-4754-b222-67f714b3408c%40googlegroups.com.


[tw5] Re: ICal's ".ics" File: Conversion of Standards-Based Data Objects to Tiddlers

2019-11-15 Thread TonyM
Mario

The call app is that just the tel: protocol like mailto:

click to dial? 

The protocol opens the app to handle it tiddlywiki just considers it a link.

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/f935d0f2-30bd-4955-bb57-896b2e369998%40googlegroups.com.


[tw5] Re: Substring filter?

2019-11-15 Thread TonyM
Hubert

Using add/remove prefix and suffix addresses some cases and those commonly 
faced manipulating titles. 

Regex is also a friend in string manipulation.

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/a123de82-089f-48ec-8054-70b6b73d5314%40googlegroups.com.


[tw5] Re: TagCloud plugin

2019-11-15 Thread FFT
Clicking on the tags takes me to an empty tiddler. Is it possible to show 
me how to change this code so that it links to the Titles under each tag?

On Saturday, April 13, 2019 at 7:13:30 PM UTC-7, Eric Shulman wrote:
>
> On Saturday, April 13, 2019 at 5:35:14 PM UTC-7, S. S. wrote:
>>
>> Is this TW CLassic plugin available for TW5 ?
>> http://www.tiddlytools.com/#TagCloudPlugin
>> Here is an big example: 
>> https://karlarao.github.io/karlaraowiki/index.html#TagCloud 
>> 
>>
>
> In TiddlyWiki5, you can actually generate a tag cloud without using any 
> plugins!
>
> Try this:
>
> \define calcFontSize() font-size:calc(0.5em + (0.2em * ($(count)$ / 5) ) 
> );
>
> <$list filter="[tags[]]" variable="thistag">
><$vars count={{{ [tagging[]count[]] }}}>
>   >>
>  <$link to=<> tooltip=<>>
> <$text text=<> />
>  
>   
>
> 
>
> What it does:
> 1) The <$list> widget gets the names of all the tags in the document, 
> assigning each name, in turn, to the "thistag" variable
> 2) The <$vars> widget gets the number of items for the current tag
> 3) The  uses the "calcFontSize" macro to generate a style attribute 
> that sets the font-size of the tag text to be displayed, based on the 
> number of items with that tag
> 4) The <$link> widget creates a link to the tag tiddler itself, with the 
> mouse-over tooltip text showing the number of items with that tag
> 5) The <$text> widget displays the tag text
>
> The calcFontSize macro uses a base size of 0.5em, and then adds an 
> increment of 0.2em for every 5 tagged items.  Thus, the resulting font 
> sizes are:
> 1-5 items= 0.5em
> 6-10 items  = 0.7em
> 11-15 items = 0.9em
> 16-20 items = 1.1em
> 21-25 items = 1.3em
> etc.
>
> Of course, you can adjust all the numbers in the calculation to suit your 
> own tastes.
>
> Let me know how it goes...
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
> InsideTiddlyWiki: The Missing Manuals
>

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


[tw5] Re: TidBits: TW5 TIPS

2019-11-15 Thread @TiddlyTweeter
For those on email, a needed repeat post ...

On Friday, 15 November 2019 19:31:07 UTC+1, @TiddlyTweeter wrote:
>
> (This post has an experimental layout. If broken, please let me know.)
>
> "TW Tips" I like to collect. 
> Short notes like those below. 
>
> *? Do you have any I can add ?*
>
> TIDDLYWIKI TIPS
>
> *COPY TIDDLERS BETWEEN TW USING A TAG* — To copy a set of Tiddlers that 
> are tagged, drag & drop a tag-pill for the wanted items from a source TW to 
> a target TW. All tagged items will be copied over. 
> #tip #tag #export
>
> COPY TIDDLERS BETWEEN TW USING BROWSER BOOKMARKLETS 
>  
> — Enables you to save Tiddlers to a browser bookmark & insert them into 
> another wiki. Link provides the macro code & basic instructions. 
> #tip #bookmarklet #export #macro
>
> *CHANGE STYLESHEET ORDER* — Click on any "$:/tags/Stylesheet" tag-pill & 
> in the dropdown select & drag a stylesheet to change its position in the 
> CSS cascade. The order of loading is from top to bottom. 
> #tip #css
>
> *SWITCH OFF WIKITEXT LISTS* — Useful when you don’t want "#" as the first 
> character in a line to become a list item, but remain literal text. Add 
> "\rules 
> except list" as the first line of a Tiddler that needs it. 
> #tip #rules #wikitext
>
> READ RELEASE NOTES  — Reading the main 
> TiddlyWiki release notes gives a good, quick, overview of TiddlyWiki 
> evolution over time. And sometimes changes are mentioned that are not 
> otherwise documented. 
> #tip #releases #docs
>
> written in TiddlyWiki 
> format via Markdown Here 
> 15th November 2019
>
> ​
>

-- 
You received this message because you are subscribed to the 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/25e1529d-a2e6-4318-9cd3-fa53c1f662a8%40googlegroups.com.


[tw5] Re: Unable to enter text in main text box of tiddler

2019-11-15 Thread 'Mark S.' via TiddlyWiki
That sounds really odd.

I'm sure the people who might help you will be interested in knowing your 
browser and vsn, operating system, node version, and maybe a snapshot of 
how you are invoking TW.

Good luck!

On Friday, November 15, 2019 at 9:43:46 AM UTC-8, tt wrote:
>
> Hi,
>
> I am trying out TW on node.js. Installation went smoothly. I can create 
> tiddlers and type to give them names, assign tags, and create fields with 
> values, but when I try to type body text in the "Type the text for this 
> tiddler" textarea nothing appears. Clicking edit buttons e.g. for bold does 
> enter text in to this area, but typing does not.
>
> So I can type in to any box except the main body. Does anybody have any 
> ideas why?
>
> Thanks,
> Tim
>
> p.s. Regular non-node.js TWs are working fine, i.e. in those I can enter 
> body text.
>

-- 
You received this message because you are subscribed to the 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/96f70a20-c260-4256-9310-d7b772401296%40googlegroups.com.


[tw5] Unable to enter text in main text box of tiddler

2019-11-15 Thread tt
Hi,

I am trying out TW on node.js. Installation went smoothly. I can create 
tiddlers and type to give them names, assign tags, and create fields with 
values, but when I try to type body text in the "Type the text for this 
tiddler" textarea nothing appears. Clicking edit buttons e.g. for bold does 
enter text in to this area, but typing does not.

So I can type in to any box except the main body. Does anybody have any 
ideas why?

Thanks,
Tim

p.s. Regular non-node.js TWs are working fine, i.e. in those I can enter 
body text.

-- 
You received this message because you are subscribed to the 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/870bf0d5-eb83-4825-98f6-a2ca36f93138%40googlegroups.com.


[tw5] Re: Main CSS classes

2019-11-15 Thread PMario
hi, fixed link: 

open https://tiddlywiki.com/#%24%3A% 

2Fthemes%2Ftiddlywiki% 

2Fvanilla%2Fbase 
 in 
edit mode and you'll find a lot of them, which are used for styling at the 
moment. 

-m

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


[tw5] Re: Main CSS classes

2019-11-15 Thread PMario
On Friday, November 15, 2019 at 12:12:53 PM UTC+1, Luis Gonzalez wrote:
>
> I am studying the css classes Tiddlywiki use to format its elements. I 
> made a little mindmap but I think I forgot many important classes.
>

Interesting. There are many classes, which are applied to TW elements, but 
can't really used for styling eg: tc-reveal 

open http://localhost:8080/#%24%3A%2Fthemes%2Ftiddlywiki%2Fvanilla%2Fbase 
in edit mode and you'll find a lot of them, which are used for styling at 
the moment. 

-mario

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


[tw5] Re: Is there a way to detect whether a wiki is launched as permalink ... and modify the startup-behaviour in that case?

2019-11-15 Thread PMario
On Friday, November 15, 2019 at 3:35:51 PM UTC+1, PMario wrote:
>
> On Friday, November 15, 2019 at 3:19:05 PM UTC+1, PMario wrote:
>>
>> TW contains some info tiddlers: 
>> https://tiddlywiki.com/prerelease/#InfoMechanism
>> It should be possible to add the 
>> https://developer.mozilla.org/en-US/docs/Web/API/URL/hash info. 
>>
>> Some experiments will be needed. Especially if and how we can use it in a 
>> TW-way 
>>
>
> From my experiments, it's possible to get the "initial" hash. So it should 
> be possible to compare it with reveal-match and do all sorts of things. 
>
> GitHub PR will follow soon. 
>

see: https://github.com/Jermolene/TiddlyWiki5/pull/4374

-- 
You received this message because you are subscribed to the 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/85fbf47b-7ece-4cf9-95e0-803269e69706%40googlegroups.com.


[tw5] Re: Is there a way to detect whether a wiki is launched as permalink ... and modify the startup-behaviour in that case?

2019-11-15 Thread PMario
On Friday, November 15, 2019 at 3:19:05 PM UTC+1, PMario wrote:
>
> TW contains some info tiddlers: 
> https://tiddlywiki.com/prerelease/#InfoMechanism
> It should be possible to add the 
> https://developer.mozilla.org/en-US/docs/Web/API/URL/hash info. 
>
> Some experiments will be needed. Especially if and how we can use it in a 
> TW-way 
>

>From my experiments, it's possible to get the "initial" hash. So it should 
be possible to compare it with reveal-match and do all sorts of things. 

GitHub PR will follow soon. 

-m

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


[tw5] Re: Is there a way to detect whether a wiki is launched as permalink ... and modify the startup-behaviour in that case?

2019-11-15 Thread PMario
Hi Jan,

TW contains some info tiddlers: 
https://tiddlywiki.com/prerelease/#InfoMechanism

It should be possible to add the 
https://developer.mozilla.org/en-US/docs/Web/API/URL/hash info. 

Some experiments will be needed. Especially if and how we can use it in a 
TW-way 

-m

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


[tw5] Re: ICal's ".ics" File: Conversion of Standards-Based Data Objects to Tiddlers

2019-11-15 Thread PMario
On Friday, November 15, 2019 at 12:53:05 AM UTC+1, Brian Litman wrote:
>
> First, I am absolutely new to this world.  But, the modularization of data 
> has long been my Holy Grail.
>

I think, that was a reason, for may of us to get / be interested in TW. 
 

> Given the age of TWK, I suspected that experienced hands might have 
> tackled common data representation problems long ago.
>

There is a possibility to import .CSV file content into tiddlers, which 
probably solved many "batch import" problems. 
The .tid and tiddlywiki .json format is easy enough to be created by many 
systems. ... So I think batch processing was solved that way. 

Your desire is a bit different. 
 

> Of course, time and events are core to our lives. I envisaged that maybe 
> there was a handle .ics to (favorable Tiddler format) already created by a 
> kind coder.
>

I don't think so. .. but there are several "calendar" projects. 

see: https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM#q=calendar
 

> I even surmised that there was a Tiddler or some coding of fields that 
> could render a Calendar (block or linear).
>

see: link above. 
 

> I should probably clam up until I learn about the various Data Tiddlers 
> that seem to exist.
>

We (I) don't want to "calm you down", if that is what you wanted to write. 
It's always good to see ideas and problems, that new users have. 
So just keep posting ;)
 

> That said CONTACT representation (.vcf conversion) is of far greater 
> gravity.  And TonyM has been most kind in giving direction there.
>

Yea, we could have had the same discussion at your other thread. IMO vCARD 
and iCAL formats are similar enough to be parsed by the same code. ... The 
usecases are different. 


As you wrote in your OP:

TiddlyWiki is my new attempt to liberate myself from the tyranny of Apple, 
> Google and Microsoft-readable data (in the areas their AI knows to look!)
>

...made me think, that you need a lot more and different functionality from 
TW, that it actually has. eg: Activate the call-app from within a TW 
contact. 

Also exchanging vCards with other systems ... Which basically means, that 
we need a proper UI in TW to deal with that kind of info. ... and so on. 

have fun!
mario



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


[tw5] Re: Substring filter?

2019-11-15 Thread Hubert
Wow! This is great. Thank you Jed for these solutions.

Regards,
Hubert

On Friday, 15 November 2019 12:47:46 UTC, Jed Carty wrote:
>
> It just occurred to me that the subfilter operator may make this usable 
> like this:
>
> \define substr() [split[]butfirstfirstjoin[]]
>
> <$vars start=2 len=4>
> <$list filter='[[some string thing]subfilter]'>
>
> 
> 
>
> you would have to calculate len (end-start) outside the main filter like 
> in the previous example, or know what it is ahead of time, but this may be 
> usable.
>

-- 
You received this message because you are subscribed to the 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/693a10f4-5be5-417a-b76a-811097fac48d%40googlegroups.com.


[tw5] Re: Substring filter?

2019-11-15 Thread Jed Carty
It just occurred to me that the subfilter operator may make this usable 
like this:

\define substr() [split[]butfirstfirstjoin[]]

<$vars start=2 len=4>
<$list filter='[[some string thing]subfilter]'>




you would have to calculate len (end-start) outside the main filter like in 
the previous example, or know what it is ahead of time, but this may be 
usable.

-- 
You received this message because you are subscribed to the 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/7457de70-35d2-49c8-83e9-23885f6ef725%40googlegroups.com.


[tw5] Re: Substring filter?

2019-11-15 Thread Jed Carty
I don't think that we have a core substring filter, the only way that I 
know of to do it is by some creative usage of the split, butfirst, first 
and join operators.

Which is probably not a practical usage, but it is possible.

\define subStr(input, start, end)
<$set name=len filter='[<__end__>subtract<__start__>]'>
<$list filter='[<__input__>split[]butfirst<__start__>firstjoin[]]'>



\end

<>

it contains the character at the index given for start and not the 
character given for end. And uses 0-based indexing.

Probably not useful, but I believe that is the current state of substrings 
in the core.

-- 
You received this message because you are subscribed to the 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/606d688b-adf7-4313-9388-f7a9e011d37f%40googlegroups.com.


[tw5] Re: GGrexit did not happen. SO, make the best of GG. #1

2019-11-15 Thread bimlas
Many times, it seems as if my answers to the topics are not being received 
by those who only use mail instead of Google Groups. As a test, I ask that 
those who received this message in the form of a letter respond.

If Google Groups is "malfunctioning" then I think only TiddlyTweeter will 
get 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/572135ee-1fa2-4b19-a588-dbb88515dfcf%40googlegroups.com.


[tw5] Re: Is there a way to detect whether a wiki is launched as permalink ... and modify the startup-behaviour in that case?

2019-11-15 Thread Jed Carty
I did some experiments a while ago and made wikis that would use the url to 
affect how the wiki booted as part of my earlier work with twederation. It 
is very possible and if I remember correctly not too terribly difficult to 
code, but it requires changing some of the wiki boot process which always 
runs the risk of breaking everything.

There is probably a better way using hooks to change the behaviour based on 
the url but I don't think I have the time to play with that right now.

I don't know if there is any reason to use the start-up actions that I made 
rather than the core version. If I remember correctly the core version is 
coded significantly better and is more stable than mine.

-- 
You received this message because you are subscribed to the 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/8565e1fc-0934-499d-970a-c0dd698a2c58%40googlegroups.com.


[tw5] Re: Main CSS classes

2019-11-15 Thread A Gloom
After I get back up, I'll have to find the list I made of all the class 
names from Vanila theme

-- 
You received this message because you are subscribed to the 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/bc2cbabc-51cd-456a-9e98-cc77e9675be4%40googlegroups.com.


[tw5] Substring filter?

2019-11-15 Thread Hubert
Hello,

Does a substring filter exist in the core? I couldn't find anything in the list 
of operators  that 
would extract a string of text beginning and ending at a specific location 
within the string (expressed in integers).

I'm aware that this can be solved with Evan's excellent formula plugin (and 
I'm using it, among others, for this purpose) but I wanted to know where we 
stand in case of core capabilities regarding substrings.

Many thanks,
Hubert

-- 
You received this message because you are subscribed to the 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/77b32fdc-b787-4c41-a971-e0ac7ab7db3c%40googlegroups.com.


Re: [tw5] Re: Is there a way to detect whether a wiki is launched as permalink ... and modify the startup-behaviour in that case?

2019-11-15 Thread TonyM
Is there a reason you are not using default tiddlers to load the kanban? Then 
permalink bypasses it. 

Tiddly wiki loads a different tiddler normally. You can also put sophisticated 
filters in default tiddlers if that helps.

You put the action in that's defeating the default action so can you change it?

Look for the $:/info tiddlers

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/698ffced-42d1-4234-b385-9d47c7c057be%40googlegroups.com.


Re: [tw5] Re: Is there a way to detect whether a wiki is launched as permalink ... and modify the startup-behaviour in that case?

2019-11-15 Thread Jan

Hi Tony,
the Kanban is my own, the initial view is triggered by a startup-action 
which is setting a tiddler called "$:/ 
state/stage" to 
"Kanban".
I would like to stop *that* startupaction if the url is a permalink 
pointing to a specific tiddler.
Thanks for reminding me of Jed's startup-actions. I had forgotten them 
because of the core feature.


Ahoi ! Jan





Am 15.11.2019 um 04:58 schrieb TonyM:

Jen

How is your Kanban view loading?, Is it in a tiddler in the default 
tiddlers? Are you using a particular plugin for kanban?


Here is a permalink for tiddlywiki.com 
https://tiddlywiki.com/#InfoMechanism . It will open only the 
specified tiddler by default.


More sophisticated startup actions than the default see Jeds Startup 
actions.


https://ooktech.com/jed/ExampleWikis/StartupActions/

Regards
Tony


On Friday, November 15, 2019 at 10:02:29 AM UTC+11, Jan wrote:

Hi everybody.
My wiki is starting in a sort of Kanban-View by default.
Is it possible to disable the triggering of the ViewTemplate in the
startup-actions when the wiki started with a permalink?

Ahoi! 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 tiddlywiki+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d23380db-f553-478b-9208-43cccd0d2aeb%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/5DCE657B.6060007%40googlemail.com.