[tw5] Re: Is there a way to create automatic links besides Camel Case?

2021-02-15 Thread Eric Shulman
On Monday, February 15, 2021 at 7:03:47 PM UTC-8 journe...@gmail.com wrote:

> For example, I am writing a story, and whenever I type a character's name, 
> such as John, if there is already a Tiddler with his name, it links to that 
> Tiddler every time. 


See the "Freelinks" plugin in the TiddlyWiki Official Plugin Library.

(go to $:/ControlPanel, Plugins tab... then press the "Get more plugins" 
button and scroll down to find "Freelinks")

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/2021f8cf-5cb2-4b0d-9e0a-893e48fd5b73n%40googlegroups.com.


Re: [tw5] Is there a way to create automatic links besides Camel Case?

2021-02-15 Thread Mohammad Rahmani
Use the official Freelink plugin.


Best wishes
Mohammad


On Tue, Feb 16, 2021 at 6:33 AM Jack S  wrote:

> For example, I am writing a story, and whenever I type a character's name,
> such as John, if there is already a Tiddler with his name, it links to that
> Tiddler every time.
>
> --
> 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/965feccf-dcb2-4777-94c7-84fa83d5c1ddn%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/CAAV1gMBoW7%3DbKU0xeAjoJmc%2BnUBPBb-r32frr6S2OCh7f6Epuw%40mail.gmail.com.


[tw5] Re: A voting/rating button on tiddler

2021-02-15 Thread Mohammad Rahmani
*TW-Vote plugin*

Vote plugin lets you rate tiddlers. Both voting and ranking of tiddlers can
be done.

*Code and demo*

For learning plugin features, syntax, tutorial and examples see the plugin
demo and code pages

Demo: https://kookma.github.io/TW-Vote/
Code: https://github.com/kookma/TW-Vote

Best wishes
Mohammad


On Mon, Feb 15, 2021 at 12:26 AM Mohammad Rahmani <
mohammad.rahm...@gmail.com> wrote:

> This is a rough idea for having a rating / voting button for tiddlers. It
> can be customized to be used even for tracking reading and so on!
>
> Drag and drop the attached tiddler into https://tiddlywiki.com/
> Note to the new buttons appeared before tiddler title
>
> People with good CSS knowledge can help to have a better look and feel.
> The code stores rating/voting in the same tiddler you rate, but it can be
> customized to store ratings in another tiddler(s)!
>
> - Please contribute
> - Customize and reshare!
> - do you think this is useful at all?
>
>
> Credits go to GitHub!
>
>
>
> Best wishes
> Mohammad
>

-- 
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/CAAV1gMATC9XfY7%2BF1Nt2jEiQOMSOCm7f64LYfZ0%2BR4n0C2gBYQ%40mail.gmail.com.


[tw5] Is there a way to create automatic links besides Camel Case?

2021-02-15 Thread Jack S
For example, I am writing a story, and whenever I type a character's name, 
such as John, if there is already a Tiddler with his name, it links to that 
Tiddler every time. 

-- 
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/965feccf-dcb2-4777-94c7-84fa83d5c1ddn%40googlegroups.com.


[tw5] Re: Seeking reviewers for an upcoming TiddlyWiki textbook (both experts and beginners)

2021-02-15 Thread Ray Vermey
Hi, as a (re)beginner (after 6 years or so) i am starting to enjoy TW5 
again and can use some info and exercises
So i would like to volunteer for proofreading your book.
Just drop me a line and tell me what to do ;-)
Great initiative!

Ray

Op zondag 14 februari 2021 om 14:46:45 UTC+1 schreef stan...@gmail.com:

> @Soren, @Walt, you are both right about the need for an editable version 
> of GTW.  I was hoping to be able to have one on my iPad, but I ditched the 
> idea yesterday afternoon after reading both of your messages.  The nice 
> part about using the Chromebook is that I can have two copies, side by 
> side: The first I am reading (and doing the exercises) and the second I am 
> using for my editing suggestions.  The latter I will send back to @Soren.   
>
> Stan
> On Saturday, February 13, 2021 at 1:39:34 PM UTC-5 ludwa6 wrote:
>
>> Now that i've got some experience w/ the spaced-repetition dynamic of the 
>> Takeaway feature (since only night before last, i can see how it's helping 
>> my recall), i have to agree with Soren: a read-only version of this book is 
>> just not the same thing -not even close.  That being said: until i got the 
>> editable version working in Quine (as previously described), i still got a 
>> lot out of it in that mode.  But if i had a MacBook Air, @stan, i'd be 
>> sorely tempted to take it to bed, because i *so* hate typing on glass, and 
>> yet this book really inspires you to get weave some wiki.
>>
>> Speaking of which, @Soren, i have to ask: When the inevitable revision(s) 
>> to this book come out, how do we upgrade without losing our edits?  You 
>> mentioned something about this in another thread 
>> , 
>> but i'm still not clear from a user perspective how this is supposed to 
>> work.  Would appreciate if you could explain.
>>
>> /walt
>>
>>
>> On Saturday, February 13, 2021 at 4:59:11 PM UTC Soren Bjornstad wrote:
>>
>>> Stan, I've seen the same problem and unfortunately have not found a 
>>> solution (my phone is new enough, I just haven't downloaded Quine). It's 
>>> kind of bizarre that Apple doesn't have a way to open an HTML file on your 
>>> phone (except in preview, which doesn't work since it doesn't have JS), 
>>> even though you have both a browser and a file storage area.
>>>
>>> In any case, you're probably going to want to be able to save changes to 
>>> the book to track your progress on the takeaways, so I'm not sure direct 
>>> access through Firefox would work out well for this use case anyway.
>>>
>>>
>>> On Saturday, February 13, 2021 at 7:48:14 AM UTC-6 stan...@gmail.com 
>>> wrote:
>>>
 Is there some way to read the book on an old iPad? I have an *iPad 
 mini 4, iOS 12.5*, so Quine 2 is not an option.  I tried the 
 simplistic approach of downloading the book using Firefox, but for the 
 life 
 of me, could not figure out how to load it to read the book.  I also tried 
 Safari, Firefox Focus, Dolphin (in desperation!) and finally went to 
 sleep.  A tablet version sans Quine 2 would be attractive - I don't want 
 to 
 take my Chromebook or one of my MacBook Airs to bed. 

 On Thursday, February 11, 2021 at 4:39:24 AM UTC-5 ludwa6 wrote:

> @Soren : Amazing piece of work, mate!  I just downloaded it last night 
> on my iPad, fully expecting to nod-off in <15min (a nice fat eBook on 
> some 
> tech topic is my favourite form of sleeping pill :-)... But then the darn 
> thing kept me going *way* into the wee-hours, until i must either get up 
> and get working in TiddlyDesktop (had some trouble saving a local copy on 
> iPad via Quine2 [note1]), or else power-down somehow (which i finally 
> did... But it wasn't easy!). 
>
> So i think it's fair to say -at least for those like me that already 
> quite into TiddlyWiki, but also with serious gaps in know-how, begging to 
> be filled- this book is a great resource, even in current form.  To be 
> clear: this is no "5hi++y first draft" (as authors are advised these days 
> to call their first Request For Comments);  it's a very broad and deep 
> treatment of the subject, organised by a guy who really knows the tool 
> and 
> how to use it to max advantage.  Moreover: Soren brings some progressive 
> learning theory to the table, in the form of this "Takeways" feature 
> (i.e. 
> granular Q exercises in context) that really works.  
>
> Check it out!
>
> /walt
>
>
> On Tuesday, February 9, 2021 at 12:59:27 PM UTC PMario wrote:
>
>> Hi,
>> -as in my first post
>> My github profile contains an e-mail link
>> -m
>> On Tuesday, February 9, 2021 at 3:55:29 AM UTC+1 Soren Bjornstad 
>> wrote:
>>
>>> I have a draft just about ready for review, but it looks like the 
>>> group as configured doesn't allow me to see 

Re: [tw5] Re: Please help to refine this (working!) Google Drive backend

2021-02-15 Thread Måns Mårtensson
Hi Mat

This looks like real magic to me :-)

Some years ago I made tiddler templates for csv data in google sheets
collected from forms, to present the data better.

This example of yours is really close to be what I needed then - and my
head starts hurting when I think of how this might help me and my
colleagues today..

Very often we have to find our way in various spreadsheets and read several
lines of comments presented in single cells...

I need to think of ways to automate import from Google spreadsheets, and
get updates - into TW and have a way to write back to the spreadsheet from
the TW..

This seems to be quite possible with your example.

Thank you for reverse engineering the fabulous web shop - it looks very
promising :-)

Cheers Måns

ons. 10. feb. 2021 kl. 12.48 skrev Mat :

> I deleted previous post that contained the attached file because I have
> now updated it - try out the attached file here. Now it is basically a
> normal TW but it has leftover tiddlers from Siniy-Kits (incredible) shop.
>
> This could enable many things: community voting, teachers could make tests
> and have the results in TW, a common plugin distribution system, present
> stock quotes in TW, and loads and loads more. Google does the horse work,
> TW just extracts the finished data and presents it.
>
> On Tuesday, February 9, 2021 at 8:26:02 PM UTC+1 Mark S. wrote:
>
>> All I see in the code he shows is making a single, empty tiddler. I'm
>> missing how the data comes in.
>>
>> On Tuesday, February 9, 2021 at 10:36:59 AM UTC-8 Mat wrote:
>>
>>> @Mark , thanks for your input! I don't know how Siniy-Kits solution
>>> works other than vaguely understanding what he explains
>>> .
>>> But it is worth noting that "all that is needed" is some mechanism in TW
>>> that can "pull in" a JSON webpage: Here
>>> 
>>> is the regular Google sheet and here
>>> is
>>> its automatically generated JSON version.
>>>
>>> About a "ban list"; maybe the shop blocks people who have misbehaved?
>>>
>>> <:-)
>>>
>>>
>>> On Tuesday, February 9, 2021 at 6:24:04 PM UTC+1 Mark S. wrote:
>>>
 In my experience, most programmers would rather rewrite something
 rather than reverse engineer an existing product.

 When I follow the code, I see that there is some type of call back. I'm
 guessing Google calls back to a function inside TW with the requested data.
 But, the only place I see where the results could manifest is in *function
 ok* -- but all that function does is check a ban list.  Which is also
 confusing. If the data in the spreadsheet is your own, why would your email
 be on a ban list ?? In any event, I don't see that the data is handed off
 anywhere to the rest of the tiddlywiki machinery. Do you know ?

  Have fun!

 On Monday, February 8, 2021 at 8:59:37 AM UTC-8 Mat wrote:

> I want to bring attention to a post I made here in the dev group
>  (because
> it goes beyond direct TW matters).
>
> Briefly, it is possible to use the Google "Excel" spreadsheets as
> tiddlers.
> So your empty (or half empty) TW fetches tiddlers from the spreadsheet.
>
> This would open up for very useful stuff - both for individuals
> (assuming they have a google account) but also for the community at large.
>
> For example, I think that if *anyone* puts up a public wiki with this
> functionality, then *you* can make that wiki show your spreadsheet
> tiddlers (by providing it with your spreadsheet-URL). This means that we
> can "publish" plugins etc by piggybacking on other public wikis (if they
> have this Google Drive solution installed)
>
> Or you can, yourself, use e.g Google Forms to make questionnaires and
> have all the results appear in your own wiki. (This is foremost thanks to
> Googles automated "questionnaire-to-single-spreadsheet" feature.)
>
> The incredible part is that fellow tiddleur *Siniy-Kit has already
> created this*! But he has it baked into a bigger project. So I need
> help to pick out the critical js parts and refine it. See the dev
> group discussion
>  for
> further details.
>
> <:-)
>
 --
> 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/c2270d4b-1223-4b85-92d1-48885713ba64n%40googlegroups.com
> 

Re: [tw5] Re: Installing plugins without drag-and-drop

2021-02-15 Thread Ray Vermey
Hi Birthe

problem was i used an older version of TW5, now when i upgraded it worked.
Thanks!

Ray

Op ma 15 feb. 2021 om 20:40 schreef strikke...@gmail.com <
strikkeglad...@gmail.com>:

> Hi Ray,
> I just tried dragging the tagpill into my wiki. It worked well. I am using
> Firefox on Linux Mint and saving locally using timimi.
> If you see no tiddlers in the $:/import tiddler, I do not think it is of
> any importance how you save, as you got nothing to save. I have experienced
> problems at times, showing no tiddlers to import. I think I might have
> overwritten the core tiddler at some point. Deleting it helps. If you get
> the import working you have to save you wiki and refresh the tiddlers to
> work. There are plugin tiddlers among them. (Are  you sure, you dragged the
> right tagpill?)
>
> Good luck!
>
> Birthe.
>
> mandag den 15. februar 2021 kl. 17.22.05 UTC+1 skrev rayv...@gmail.com:
>
>> Hi all
>>
>> re-newby here
>> I used TW 6 years ago and now picking it up again.
>> I wanted to use Stroll so i dragged the yellow tag pill from one tab in
>> my browser to
>> my own TW and it showed a green line with the "Drop here" message and
>> when i do that
>> there are no tiddlers to inport so i guess the plugin is not installed?
>> I use de Google Drive function for saving on browser Chromium at my Arch
>> Linux system.
>>
>> Anyone an idea how to fix this?
>>
>> Thanks!
>>
>> Ray
>>
>> Op woensdag 3 februari 2021 om 14:15:59 UTC+1 schreef TiddlyTweeter:
>>
>>> Ciao Nico Petton
>>>
>>> Nicolas Petton wrote:
>>>
 Projectify doesn't have any dependencies, so simply installing the
 plugin will work.

 Installing Relink is advised though for convenience when renaming
 project/todo tiddlers.
>>>
>>>
>>> It is a really good example of where offering *much *bites your ass.
>>>
>>> I agree that the RELINK plugin is good. BUT, on the other hand, for
>>> beginners to TW, I doubt they have any concept of what it is for.
>>>
>>> Just a comment about *"advertise as little as possible"* :-)
>>>
>>> TT
>>>
>> --
> 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/HYPXCBFm81A/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/c8360267-0499-4861-a8d3-debcf8d0ee73n%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/CAAF_p9D2Ca%2BYgODiPf%2BG47B%3DRBOr%3D47jWqyWC6j55ZbfQcG7Mg%40mail.gmail.com.


Re: [tw5] Re: Installing plugins without drag-and-drop

2021-02-15 Thread strikke...@gmail.com
Hi Ray,
I just tried dragging the tagpill into my wiki. It worked well. I am using 
Firefox on Linux Mint and saving locally using timimi.
If you see no tiddlers in the $:/import tiddler, I do not think it is of 
any importance how you save, as you got nothing to save. I have experienced 
problems at times, showing no tiddlers to import. I think I might have 
overwritten the core tiddler at some point. Deleting it helps. If you get 
the import working you have to save you wiki and refresh the tiddlers to 
work. There are plugin tiddlers among them. (Are  you sure, you dragged the 
right tagpill?)

Good luck!

Birthe.

mandag den 15. februar 2021 kl. 17.22.05 UTC+1 skrev rayv...@gmail.com:

> Hi all
>
> re-newby here
> I used TW 6 years ago and now picking it up again.
> I wanted to use Stroll so i dragged the yellow tag pill from one tab in my 
> browser to
> my own TW and it showed a green line with the "Drop here" message and when 
> i do that
> there are no tiddlers to inport so i guess the plugin is not installed?
> I use de Google Drive function for saving on browser Chromium at my Arch 
> Linux system.
>
> Anyone an idea how to fix this?
>
> Thanks!
>
> Ray
>
> Op woensdag 3 februari 2021 om 14:15:59 UTC+1 schreef TiddlyTweeter:
>
>> Ciao Nico Petton
>>
>> Nicolas Petton wrote:
>>
>>> Projectify doesn't have any dependencies, so simply installing the 
>>> plugin will work. 
>>>
>>> Installing Relink is advised though for convenience when renaming 
>>> project/todo tiddlers. 
>>
>>
>> It is a really good example of where offering *much *bites your ass. 
>>
>> I agree that the RELINK plugin is good. BUT, on the other hand, for 
>> beginners to TW, I doubt they have any concept of what it is for.
>>
>> Just a comment about *"advertise as little as possible"* :-) 
>>
>> 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/c8360267-0499-4861-a8d3-debcf8d0ee73n%40googlegroups.com.


Re: [tw5] Re: Installing plugins without drag-and-drop

2021-02-15 Thread Ray Vermey
Hi all

re-newby here
I used TW 6 years ago and now picking it up again.
I wanted to use Stroll so i dragged the yellow tag pill from one tab in my 
browser to
my own TW and it showed a green line with the "Drop here" message and when 
i do that
there are no tiddlers to inport so i guess the plugin is not installed?
I use de Google Drive function for saving on browser Chromium at my Arch 
Linux system.

Anyone an idea how to fix this?

Thanks!

Ray

Op woensdag 3 februari 2021 om 14:15:59 UTC+1 schreef TiddlyTweeter:

> Ciao Nico Petton
>
> Nicolas Petton wrote:
>
>> Projectify doesn't have any dependencies, so simply installing the 
>> plugin will work. 
>>
>> Installing Relink is advised though for convenience when renaming 
>> project/todo tiddlers. 
>
>
> It is a really good example of where offering *much *bites your ass. 
>
> I agree that the RELINK plugin is good. BUT, on the other hand, for 
> beginners to TW, I doubt they have any concept of what it is for.
>
> Just a comment about *"advertise as little as possible"* :-) 
>
> 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/ae30e87c-4ea5-419f-9143-3fbaa7b9585an%40googlegroups.com.


[tw5] Re: Tricky Filter Question

2021-02-15 Thread Charlie Veniot
Just using pseudocode to understand the process:

bCount = the number of entries in B
aCount = the number of entries in A *minus 1* (i.e. minus the last entry 
which the process always leaves as is, so the last one is ignored)
aLastEntry = the last entry 
Result will be the final list

LoopRangeEnd = aCount


Loop, setting nIndex from 1 to LoopRangeEnd *(in steps of 1)*
If item nIndex from A exists in B
  Then add item nIndex from A to Result
Otherwise 
 If nIndex > bCount
   Then add the last item from A to Result
 Otherwise
Then add item nIndex from B to result

<-- after the main process, tack on the last entry from A -->
Finally, add the last item from A to result

Let me know if that makes sense.  If it does, I think I can do that.
On Monday, February 15, 2021 at 5:11:56 AM UTC-4 scourfie...@gmail.com 
wrote:

> Ideally "Alternative" would just be overriden by Delta, since it doesn't 
> appear in List B
> On Monday, 15 February 2021 at 03:26:34 UTC cj.v...@gmail.com wrote:
>
>> Silly question:  If A was : Alpha Beta Alternative Delta, and B was still 
>> "Alpha Gamma", what should the final result be?
>>
>> On Sunday, February 14, 2021 at 8:25:57 AM UTC-4 scourfie...@gmail.com 
>> wrote:
>>
>>> Hey all
>>>
>>> I've got a situation where I have two lists. List A and List B. I've 
>>> specified some dummy info below:
>>>
>>> *A: *Alpha Beta Gamma Delta
>>> *B **(this will change by user input, but for this example:) *Alpha 
>>> Gamma
>>>
>>> I want to write a filter to apply to List A where if any item does not 
>>> also appear on List B (i.e. in this case Beta and Delta are missing), it is 
>>> overwritten by the immediately subsequent value in List A, except the very 
>>> last item in List A which is remains in place to act as a default value if 
>>> no subsequent value can be found.
>>>
>>> So in this example the filtered version of List A would output as: *Alpha 
>>> Gamma Gamma Delta*, because Beta was not present in List B so it is 
>>> replaced by the next value of Gamma, and Delta remains because it is at the 
>>> very end.
>>>
>>> My question is, is there a way to do this with a static filter 
>>> expression? I'm sure I could make something with action-listops widgets 
>>> that would do the job when they were activated, but ideally I want 
>>> something that updates automatically whenever the user changes List B.
>>>
>>> Any help anyone could provide would be much appreciated.
>>>
>>> Thanks
>>> Joseph
>>>
>>

-- 
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/79e4098f-9095-4cae-9689-7b87c8e1252dn%40googlegroups.com.


Re: [tw5] TW5: Paywall plugin

2021-02-15 Thread Jan Johannpeter

Hi,
DanielO has made an EncryptTiddler Plugin, which also can Batch encrypt 
all encrpted Tiddlers.

Perhaps this could point a way.
Another way could be to use external Tiddlers which rely on external 
Tids that are behind a paywall.
But I thing you will have to do some Coding to make this work in a way 
that makes this an easy to perform action for the customers of your 
client.


Yours

Am Mo, 15. Feb, 2021 um 3:15 NACHMITTAGS schrieb Dr. Bob Jansen 
:
Anyone know of a paywall plugin for TW5? I have an interested 
potential client but he wants a paywall feature around parts of the 
wiki.


bobj

--

Dr Bob Jansen
122 Cameron St, Rockdale NSW 2216, Australia
Ph (Korea): +82 10-4494-0328
Ph (Australia) +61 414 297 448
Resume: 
Skype: bobjtls
KakaoTalk: bobjtls
http://cultconv.com 

In line with the Australian anti-spam legislation, if you wish to 
receive no further email from me, please send me an email with the 
subject "No Spam"


--
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 
.


--
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/6DNKOQ.L4XAAO9OIEXW1%40gmail.com.


[tw5] Re: List [all[current]tags[]sort[title]has[m]] as a tag with the value from field "m" behind it

2021-02-15 Thread vinvi...@gmail.com
This works. Oh, my.. Seems like I'm starting to understand?  :)) lol

<$list filter="[all[current]tags[]sort[title]has[m]]">
{{||$:/core/ui/TagTemplate}} {{!!m}}


Op maandag 15 februari 2021 om 10:04:06 UTC+1 schreef vinvi...@gmail.com:

> Hello,
>
> Out of all tiddlers where currentTiddler is tagged to: Only list the 
> tiddler that have a field called "m".
>
> Show the title of that tiddler as a tagpill, and behind it the value of 
> field "m".
>
> The code below works but does not show the content of field "m" behind the 
> tagpill.
>
> <$list filter="[all[current]tags[]sort[title]has[m]]" 
> template="$:/core/ui/TagTemplate" storyview="pop">
> {{!!m}}
> 
>
> How do I do that?
>
> Thank you,
>

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


[tw5] Re: How to get TiddlyWiki running behind Nginx

2021-02-15 Thread Petri M.
Hi,

I think your "host" command might be wrong when starting the wiki. See here 
https://tiddlywiki.com/static/WebServer%2520Parameter%253A%2520host.html. 
For instance, I have a Docker + Caddy setup and I am starting the wiki with 
"host=0.0.0.0" command.

-Petri
On Sunday, February 14, 2021 at 2:42:45 AM UTC+2 eirich...@gmail.com wrote:

> I'm trying to run TiddlyWiki in node.js, behind Nginx such that I can spin 
> up various wikis, all accessible by appending the name of the wiki to the 
> end of the URL.
>
>- My test install is using Debian 10.8, Nginx 1.14.2-2+deb10u3, 
>TiddlyWiki 5.1.23.
>- I'm running my testwiki from /var/www/html, as www-data:www-data.
>- I've created a unit file for it to run from systemd.
>   - It is basically set to start as follows:  node 
>   /usr/local/bin/tiddlywiki testwiki --listen host=192.168.1.212 port=8080
>
> I've used the following links for information:
>
>- https://www.npmjs.com/package/tiddlywiki
>- http://www.brool.com/post/setting-up-tiddlywiki-behind-nginx/
>- https://ssine.ink/posts/tiddlywiki-setup/
>- https://blog.joshsullivan.io/2019/02/20/creating-online-tiddlywiki/
>
> I've even tried looking at different posts in this group but either my 
> setup is not like what I'm reading about, or the fixes for others are just 
> not working for me.
>
> I seem to have no problem running the wiki on it's own.  It is accessible 
> via port 8080, and works as expected.  However, when I try to put it behind 
> Nginx, I can access it over port 80, but I immediately get 3 errors from 
> syncer-browser-tiddlyweb:
>
>- XMLHttpRequest error code: 404
>- Error retrieving skinny tiddler list: XMLHttpRequest error code: 404
>- Sync error while processing save of '$:/StoryList': XMLHttpRequest 
>error code: 404
>
> Right now, my Nginx site file looks like this:
>
> server {
>listen 80;
>listen [::]:80;
>
>server_name _;
>
>root /var/www/html;
>index index.html;
>
>location /testwiki/ {
>try_files $uri $uri/ @proxy =404;
>proxy_pass "http://192.168.1.212:8080/;;
>proxy_set_header  Host  $host;
>proxy_set_header  X-Real-IP  $remote_addr;
>proxy_set_header  X-Forwarded-For  
> $proxy_add_x_forwarded_for;
>proxy_set_header  X-Forwarded-Proto  $scheme;
>}
> }
>
> I've changed this often while troubleshooting. I've just stuck with this 
> configuration because I'm not longer seeing errors in the Nginx logs, so 
> I'm starting to think Nginx is not the problem, but maybe the way I'm 
> running the tw.
>
> Any help would be greatly appreciated.
>

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


[tw5] Re: Tricky Filter Question

2021-02-15 Thread scourfie...@gmail.com
Ideally "Alternative" would just be overriden by Delta, since it doesn't 
appear in List B
On Monday, 15 February 2021 at 03:26:34 UTC cj.v...@gmail.com wrote:

> Silly question:  If A was : Alpha Beta Alternative Delta, and B was still 
> "Alpha Gamma", what should the final result be?
>
> On Sunday, February 14, 2021 at 8:25:57 AM UTC-4 scourfie...@gmail.com 
> wrote:
>
>> Hey all
>>
>> I've got a situation where I have two lists. List A and List B. I've 
>> specified some dummy info below:
>>
>> *A: *Alpha Beta Gamma Delta
>> *B **(this will change by user input, but for this example:) *Alpha Gamma
>>
>> I want to write a filter to apply to List A where if any item does not 
>> also appear on List B (i.e. in this case Beta and Delta are missing), it is 
>> overwritten by the immediately subsequent value in List A, except the very 
>> last item in List A which is remains in place to act as a default value if 
>> no subsequent value can be found.
>>
>> So in this example the filtered version of List A would output as: *Alpha 
>> Gamma Gamma Delta*, because Beta was not present in List B so it is 
>> replaced by the next value of Gamma, and Delta remains because it is at the 
>> very end.
>>
>> My question is, is there a way to do this with a static filter 
>> expression? I'm sure I could make something with action-listops widgets 
>> that would do the job when they were activated, but ideally I want 
>> something that updates automatically whenever the user changes List B.
>>
>> Any help anyone could provide would be much appreciated.
>>
>> Thanks
>> Joseph
>>
>

-- 
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/1a9d0297-c320-4dee-a770-01baed366da6n%40googlegroups.com.


[tw5] List [all[current]tags[]sort[title]has[m]] as a tag with the value from field "m" behind it

2021-02-15 Thread vinvi...@gmail.com
Hello,

Out of all tiddlers where currentTiddler is tagged to: Only list the 
tiddler that have a field called "m".

Show the title of that tiddler as a tagpill, and behind it the value of 
field "m".

The code below works but does not show the content of field "m" behind the 
tagpill.

<$list filter="[all[current]tags[]sort[title]has[m]]" 
template="$:/core/ui/TagTemplate" storyview="pop">
{{!!m}}


How do I do that?

Thank you,

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