Re: [tw5] Use TiddlyWiki on a dedicated Linux root server

2022-02-11 Thread 'Xavier Cazin' via TiddlyWiki
ll be asked for their credentials. But if an application is sniffing >>>> your network, it will see the password as you type it. >>>> >>>> The next step would thus be to add a key and a certificate so that >>>> rclone serves through HTTPS instea

Re: [tw5] Use TiddlyWiki on a dedicated Linux root server

2022-02-10 Thread 'Xavier Cazin' via TiddlyWiki
; >> rclone serve webdav ~/public_html/wikis --htpasswd ~/.myhtpasswd.txt >> --addr 0.0.0.0:8998 --cert ~/.tls/server.crt --key ~/.tls/key.pem >> >> This is more reasonable, although you'll notice that your browser >> complains that the certificate is self-signed. &g

Re: [tw5] Use TiddlyWiki on a dedicated Linux root server

2022-02-09 Thread 'Xavier Cazin' via TiddlyWiki
Hi Mark, Yes you can, provided that your gateway/router holds a rule that redirects access. Let's say your gateway's address is 185.199.111.153. Your internet provider makes it usually easy to add a NAT rule saying that for instance any access on port 8999 should be redirected to the host

Re: [tw5] Use TiddlyWiki on a dedicated Linux root server

2022-02-09 Thread Xavier Cazin
t approach, that is serving your wiki through NodeJS. See the two tiddlers at https://tiddlywiki.com/#WebServer:%5B%5BInstalling%20TiddlyWiki%20on%20Node.js%5D%5D%20WebServer Regards, -- Xavier Cazin. On Wed, Feb 9, 2022 at 11:07 AM 'heusmich' via TiddlyWiki < tiddlywiki@googlegroups.com> w

Re: [tw5] Re: Embedding images on Android

2021-12-01 Thread Xavier Cazin
Speaking of "local network host", there is an easy way to create one on Android, using the RCX app. See instructions at the end of https://talk.tiddlywiki.org/t/use-webdav-for-saving-a-single-file-wiki/441. This would allow you to make the directory where your wiki resides available to Chrome

Re: [tw5] Re: tw editions and docker questions

2021-09-19 Thread Xavier Cazin
rver edition. If you remove that before you --init a new wiki, you >> will get a more natural behaviour. If you confirm that it solves the >> problem, I'll propose a removal from the official edition. >> >> Cheers, >> -- Xavier Cazin. >> >> On Wed, Sep 15, 20

Re: [tw5] Re: tw editions and docker questions

2021-09-16 Thread Xavier Cazin
* parameter in the *tiddlywiki.info <http://tiddlywiki.info>* files. Cheers, -- Xavier Cazin. On Wed, Sep 15, 2021 at 8:55 PM Jean-Pierre Rivière < jn.pierre.rivi...@gmail.com> wrote: > Hi Xavier, > > Thanks for your telling. I found only one occurence > of default-tiddler-locati

Re: [tw5] Re: tw editions and docker questions

2021-09-15 Thread Xavier Cazin
l get a more natural behaviour. If you confirm that it solves the problem, I'll propose a removal from the official edition. Cheers, -- Xavier Cazin. On Wed, Sep 15, 2021 at 12:43 PM Jean-Pierre Rivière < jn.pierre.rivi...@gmail.com> wrote: > Hi @PMario and mauloop! > > I(ve taken my tim

Re: [tw5] Re: Error when using musicsheets widget

2021-08-19 Thread Xavier Cazin
Hi Simon, Let me just add my vote to such an update. ABC is a spectacular language for expressing scores of western traditional music, and your adaptation of abcjs is one of the most striking example of integration of an external Javascript library into a TiddlyWiki plugin. A great addition to

Re: [tw5] tw pub viewer - library

2021-05-24 Thread Xavier Cazin
Hi Pit.W, In order to read any ePubs with the TWPUB viewer, you have to go through 3 main steps: 1. Convert your ePubs to the TWPUB format. This format is very close to the usual TiddlyWiki plugin format. 2. Load the twpub-tools and dynannotate plugins into your Tiddlywiki 3. Load

Re: [tw5] Button that read tags from a field.

2021-01-02 Thread Xavier Cazin
Hi, Sorry I overlooked the need to interpret the currentTiddler variable. In this situation, you need to read your field as a filter rather than a list. Two main ways of doing that: 1. Either you put your button code in a macro so that the $(currentTiddler)$ construct is actually replaced

Re: [tw5] Button that read tags from a field.

2021-01-02 Thread Xavier Cazin
Hi, Since the tags field is of the list type, you need to retrieve its content either directly from another list-typed field (that is list or tags), or indirectly by transforming the string content into a list. In your example, you may achieve this by first setting a variable to a filter that

Re: [tw5] I want to create field with Russian letters

2020-12-23 Thread Xavier Cazin
Hi Eric, Oh I see, thank you for the enlightenment! I realise that up to now I used extended field names only with wikis running on NodeJS, not ones saved in an HTML file. Cheers, Xavier Le mer. 23 déc. 2020 à 18:36, Eric Shulman a écrit : > On Wednesday, December 23, 2020 at 9:09:20 AM

Re: [tw5] I want to create field with Russian letters

2020-12-23 Thread Xavier Cazin
Hi Siniy-Kit, Jeremy, >From my experience, naming fields with any Unicode (utf-8) names hasn't brought any issues, as far as I don't use the EditTemplate (which explicitly refuses non-ascii characters for naming fields) but rather an action widget like *action-setfield*. For instance, <$button>

Re: [tw5] Re: glossary with diacritics

2020-10-27 Thread Xavier Cazin
Duh, sortan[] !!! Thanks for the reminder, Mark -- Xavier. On Mon, Oct 26, 2020 at 6:36 PM 'Mark S.' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > You can't insert a widget into the middle of a filter. But it doesn't > matter, you don't need it: > > <$set name="initial"

Re: [tw5] Re: glossary with diacritics

2020-10-24 Thread Xavier Cazin
Hi Jean-Pierre, If you don't mind using the TiddlyWiki prerelease, I suggest the brand new subsort filter operator as well as the newly parametrised trim operator: \define glossaryLetter() <$vars initial={{{ [lowercase[]] }}}> <$vars initial_regexp={{{ [compare:string:eq[e]]

Re: [tw5] Re: glossary with diacritics

2020-10-21 Thread Xavier Cazin
Hi Jean-Pierre, I was about to point you to dictionaries and suggest that you use getindex <>, but now I'm not sure if I understand your issue correctly. One sure thing however: you cannot insert a filter

Re: [tw5] Opening tiddlywiki always scrolls down to particular tiddler?

2020-09-28 Thread Xavier Cazin
ki.com/#StartupActions). Could this be? Cheers, -- Xavier Cazin On Mon, Sep 28, 2020 at 9:52 AM demon...@gmail.com wrote: > > This is starting to annoy me more than it should. So, after converting my > standard tiddlywiki to a nodejs server, every single time I open my > tiddlywiki it sc

Re: [tw5] New TiddlyTools time feature: **Interactive Calendar**

2020-09-05 Thread Xavier Cazin
also displays any additional text the user might have added for that day? Cheers! -- Xavier Cazin On Sat, Sep 5, 2020 at 4:49 AM Eric Shulman wrote: > Hi all, > > I'm pleased to announce two new additions to my TiddlyTools suite of > time-related tiddlers: *Interactive calendar disp

Re: [tw5] Android Browser

2020-08-31 Thread Xavier Cazin
Hi Jason, I use Firefox Nightly or Brave on any versions of tw5. Both fork quite well as we speak. Cheers, Xavier. Le lun. 31 août 2020 à 18:33, Jason Peterson a écrit : > All, > This weekend Firefox did an update for the mobile firefox app and now I > cannot open my tiddlywiki5 file anymore. I

Re: [tw5] For a reader, is TiddlyWiki better than reading a PDF, and why?

2020-07-21 Thread Xavier Cazin
(probably a special theme would do, though). Cheers, -- Xavier Cazin On Tue, Jul 21, 2020 at 12:21 PM Mat wrote: > Xavier wrote: >> >> [...] Amazon, Apple, Barnes & Noble, Google and Kobo have imposed ePub >> and Mobipocket to the publishing industry as the so

Re: [tw5] For a reader, is TiddlyWiki better than reading a PDF, and why?

2020-07-21 Thread Xavier Cazin
blem, so don't hold your breath! Cheers, -- Xavier Cazin On Mon, Jul 20, 2020 at 7:35 PM Mobil Home wrote: > I am thinking to publish "e-books" in TiddlyWiki format, but the problem > is that I cannot publish it via Amazon Kindle Self Publishing in > TiddlyWiki format. >

Re: [tw5] Re: Text based on field value (Plus ">" or "< " math operators)

2020-07-11 Thread Xavier Cazin
Hi Jake, You might want to look at the brand new *compare* operator: https://tiddlywiki.com/#compare%20Operator -- Xavier On Sun, Jun 28, 2020 at 12:54 AM 'Jake' via TiddlyWiki < tiddlywiki@googlegroups.com> wrote: > After a bit of trying I came to understanding, that for single value this >

Re: [tw5] Code simplification Challenge - a smart config values select

2020-07-05 Thread Xavier Cazin
nul> Select initial value: <$select tiddler=<> field="$fieldname$" default=<> > <$list filter='yes no show hide true false left right top bottom'> >><$view field='title'/> <$list filter="[[yes no]] [[show hide]] [[true false]] [[left r

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-06-29 Thread Xavier Cazin
to guess. because the WYSIWYG tools that helped producing the ePub are generally misleading. I spare you the table and images issues :-) Cheers, -- Xavier Cazin On Sat, Jun 27, 2020 at 6:43 PM TiddlyTweeter wrote: > Xavier > > There is interest in it growing. > > I think the very g

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-06-25 Thread Xavier Cazin
Hi Ed, Not yet ready because of some pressing redesign, but it will eventually be released as a normal plugin, hopefully via some Community Plugin Library that TW5 greatest minds have given thought to recently. Cheers, -- Xavier Cazin On Thu, Jun 25, 2020 at 6:44 PM Ed Heil wrote

Re: [tw5] Webserver: PUT request failing with error

2020-05-31 Thread Xavier Cazin
Hi Riz, You need to add -H "X-Requested-With: TiddlyWiki" in your command (see https://tiddlywiki.com/#WebServer%20Parameter%3A%20csrf-disable) Regards, -- Xavier. On Tue, May 26, 2020 at 3:53 AM Riz wrote: > I created an empty server wiki and added a tiddler with title "New". GET > request

Re: [tw5] Force only one tiddler open at once

2020-05-29 Thread Xavier Cazin
Hi Kalcifer, Jeremy and al. have been working for a while on a new storyview mode that will address some of the issues left with zoomin, but there are a few questions remaining, so this PR has not been merged yet : https://github.com/Jermolene/TiddlyWiki5/pull/3412. Regards, -- Xavier On Fri,

Re: [tw5] Help with a filter: Return a list of all tiddlers with a particular tag, excluding any that are tagged with the title of any other entry in the list?

2020-05-24 Thread Xavier Cazin
Hi si, That would be "[tag[website]] -[tag[website]tagging[]]". Cheers, -- Xavier. On Tue, May 19, 2020 at 7:28 PM si wrote: > This is really awkward to explain but hopefully this example will make it > clear what I'm trying to do. > > Say I have the following tiddlers, *all* of which are

Re: [tw5] Re: Making recursive + if-then-else based macro code simpler ?

2020-05-20 Thread Xavier Cazin
Hi Eric, One TW5 feature that helps a lot with recursions is the *emptyMessage* attribute of the $list widget. If you put your default values there, you often can manage to put your recursive calls inside a single list. Another feature that helps you keep a compact code while computing

Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-05-03 Thread Xavier Cazin
Hi Flibbles, Oh now I see, thank you for your explanation! Your quote of the MDN documentation is very telling indeed :-( After all, writing templates dedicated to retrieving data deeply hidden in an XML file is normally a one-time task: once written, a given path should apply to any instance of

Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-05-03 Thread Xavier Cazin
expression doesn't return anything. The most important is that your plugin is already wonderfully useful at this stage! So thank you again! Cheers, -- Xavier Cazin On Sat, May 2, 2020 at 11:36 PM Flibbles wrote: > > Okay. I think I found the proper solution. I have examples and short > docu

Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-05-02 Thread Xavier Cazin
Hi Flibbles, Indeed, without a way to switch between namespaces, we're left with the name() or local-name()-based expressions that can quickly become ridiculous. Nonetheless, handling namespaces would be a very useful feature, not only to ease the expression of paths, but also to handle the cases

Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-05-01 Thread Xavier Cazin
had to use " /*[name()='ONIXMessage']/@release" and that's only the first level of nesting :-) So having a way to change the current namespace from within the widget would be useful. Cheers! -- Xavier Cazin On Fri, May 1, 2020 at 3:43 PM Flibbles wrote: > Huh. Wrapping it in <$t

Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-05-01 Thread Xavier Cazin
Hi Flibbles, Thanks a lot for sharing! Having dealt with much XSLT in a previous life, I planned to make useful comments, but now that I've seen your approach, I've only this one: this is brilliant! If you eventually make a filter (I vote for [xpath[]]) then, would the current behaviour of <$xsl

Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-04-28 Thread Xavier Cazin
Hi Flibbles, I'd certainly use such a plugin! The perspective of retrieving data and document chunks from XML with such powerful xpath-like filters is quite exciting. Also I don't forget that XHTML is an XML instance... Don't hesitate to ask if you want early feeback! Cheers, Xavier. Le mar. 28

Re: [tw5] TiddlyWiki Questions for Second Brain/Bullet Journal/Roam-A-Like Use (crosspost from reddit)

2020-04-22 Thread Xavier Cazin
Hi Neve F, Let me address one of your questions: > >- > >Lastly, I'd like to know how much mobile integration I can get. I'm >very much leaning towards storing and running all of this on desktop, as I >don't want my files in the cloud un-encrypted, and this MUST be able to run >

Re: [tw5] Tutorial: How to use TiddlyWiki as a static website generator

2020-04-22 Thread Xavier Cazin
ess a user is explicitly allowed to save, changes by visitors always happen on a copy of the source TiddlyWiki). Santé ! -- Xavier Cazin On Wed, Apr 22, 2020 at 4:53 AM Anne-Laure Le Cunff wrote: > Hi everyone — here > <https://nesslabs.com/tiddlywiki-static-website-generator> is a s

Re: [tw5] How do I get a list of tiddlers from a filter and then manipulate the fields / tags on each in a loop?

2020-04-16 Thread Xavier Cazin
Hi Andrew, Action widgets can only be triggered by a user action, like clicking on a button, dropping a tiddler, or loading the wiki. They can't be triggered by, say, the $list widget, eventhough you may use a $list to produce some of the action strings. \define done() <$action-listops

Re: [tw5] Help with actions on select please

2020-03-23 Thread Xavier Cazin
Hi Tony, The *currentTiddler* on which you rely in your *<$action-setfield>* widgets is changed by the <$list> widget. So I guess you need to set explicitly either the $tiddler attribute in your <$action-setfield>s or the variable attribute in the <$list>s. Cheers, -- Xavier. On Mon, Mar 23,

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-15 Thread Xavier Cazin
Hallo Thomas, Thank you for your kind words! > By the way: If you delete "Einen" then the text would fit on the button > shown below also in German. And it would not harm the meaning in any way. > (In Switzerland we always assume French would take up most space.) > > [image: Bildschirmfoto

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-13 Thread Xavier Cazin
> I'll have a closer look about the battery load. ... But nothing special > for now. > > Again. Nice work! > Thanks Mario! There are almost 60K books in German that you can test here: https://www.7switch.com/de/list/drmfree/lang-ger/new/territory-FR/page/1/price :-) Cheers, -- Xavier. -- You

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-13 Thread Xavier Cazin
Thank you Mario for your feedback. Your CPU load increase is indeed worrisome. Could you tell us which book(s) you are using for testing? Cheers, -- Xavier On Fri, Mar 13, 2020 at 4:54 PM PMario wrote: > Hi Xavier, > > That's an interesting approach. Well done! > > - > >

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-13 Thread Xavier Cazin
. For anyone out there who is willing to publish such a book independently, it may be more difficult. I'm not sure, but maybe we can create a dedicated imprint to gather such efforts... Best regards, -- Xavier Cazin On Fri, Mar 13, 2020 at 8:28 AM Joshua Fontany wrote: > Xavier, Jeremy, JD, >

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-12 Thread Xavier Cazin
Hi Morgaine, Thank you! I'd love to showcase a novel that uses TW5 features natively to beef up characters and story... Cheers, -- Xavier -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-12 Thread Xavier Cazin
Hi Josiah, On Thu, Mar 12, 2020 at 12:20 PM TiddlyTweeter wrote: > Xavier Cazin wrote: >> >> >> https://www.7switch.com/fr/ebook/9783962558772/great-expectations-serapis-classics, >> click on "Read an extract" and play with it. Then come back if you'd like &

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-12 Thread Xavier Cazin
Hi Sylvain, As I said in the previous thread, congrats to you, Jeremy and JD for this > beauty ! > > Just play again with it, really like the search result, it's focus on > direct sentence and not like standard in title or content, more efficient > with your version I think. > Thank you, I agree

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-12 Thread Xavier Cazin
1, 2020 at 9:33:57 PM UTC+11, Xavier Cazin wrote: >> >> Hi everyone, >> >> TL;DR: Go to >> https://www.7switch.com/fr/ebook/9783962558772/great-expectations-serapis-classics, >> click on "Read an extract" and play with it. Then come back if you'd like &g

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-11 Thread Xavier Cazin
> Many thanks for sharing. This valuable edition deserves to have its own > announcement thread. > Thank you Mohammad! > One question and two suggestions > Q1. Is there any tutorial for who likes write a book, for example "Applied > Numerical Methods for Engineers", how he/she can do this with

Re: [tw5] Re: Announcement: TW5-powered ebooks

2020-03-11 Thread Xavier Cazin
Hi Mat! On Wed, Mar 11, 2020 at 12:31 PM Mat wrote: > Xavier Cazin wrote: >> >> >> TL;DR: Go to ... click on "Read an extract" >> >> [image: tabort.png] > > (just cliarifying, to make sure you don't get the two sites mixed up which >

[tw5] Announcement: TW5-powered ebooks

2020-03-11 Thread Xavier Cazin
Hi everyone, TL;DR: Go to https://www.7switch.com/fr/ebook/9783962558772/great-expectations-serapis-classics, click on "Read an extract" and play with it. Then come back if you'd like to know more. I have been working in the publishing industry for the past 25 years, including the last 10

[tw5] Re: Announcement: TW5-powered ebooks

2020-03-11 Thread Xavier Cazin
Hi everyone, Thank you Mohammad, Julio and Sylvain for your early reactions. Sylvain made me realise that I posted this inside a previous thread by HC! I'll repost it separately (sorry in advance for the inconvenience). -- Xavier On Tue, Mar 10, 2020 at 6:18 PM Xavier Cazin wrote: >

[tw5] Announcement: TW5-powered ebooks

2020-03-10 Thread Xavier Cazin
Hi everyone, TL;DR: Go to https://www.7switch.com/fr/ebook/9783962558772/great-expectations-serapis-classics, click on "Read an extract" and play with it. Then come back if you'd like to know more. I have been working in the publishing industry for the past 25 years, including the last 10 years

Re: [tw5] Re: publishing a wiki. store.php working? github better?

2020-03-09 Thread Xavier Cazin
Hi HC, If you're using the original version of store.php, it is not compatible with recent versions of PHP. Replacing split() with explode() throughout the file should be enough to make store.php work with PHP7. Cheers, -- Xavier On Mon, Mar 9, 2020 at 10:21 AM HC Haase wrote: > thank you

Re: [tw5] Re: What does "wikify" mean?

2020-02-02 Thread Xavier Cazin
selected class]get[text]else[tc-view-field-name]] }}}/>'' to the current caption Admittedly, this is a rather dumb example: it merely shows that you can compute new wikitext (for later reuse) by retrieving the string that is build in the <> macro, instead of displaying it. Chee

Re: [tw5] focus=yes in edit widget causes input to be selected

2020-01-27 Thread Xavier Cazin
Hi Jeremy, Thank you for your answer: it lead me to switch to a more idiomatic code for the UI, which wouldn't trigger the edit-text refresh! Cheers, -- Xavier Cazin On Mon, Jan 27, 2020 at 7:08 PM Jeremy Ruston wrote: > Hi Xavier > > I think this is the venerable problem of

[tw5] focus=yes in edit widget causes input to be selected

2020-01-27 Thread Xavier Cazin
ious one. Tested on 5.1.21 and 5.1.22-prerelease, on Firefox and Chrome. How would you solve this? Thanks in advance for your help! -- Xavier Cazin -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group an

Re: [tw5] Re: Demo: SVG live editor

2020-01-18 Thread Xavier Cazin
Hi Thomas, > I don’t know what your link example should do but the link did not work > for me (= nothing happend after copying your example to the editor and > clicking the link in the preview). > Well, it is actually a permaview link, which in effect should at least add the FollowMe tiddler in

Re: [tw5] Re: Demo: SVG live editor

2020-01-16 Thread Xavier Cazin
Hi Thomas, Also, mixing some TW5 widgets like <$list> could give us inspirations for dynamically generated drawings :-) Cheers, -- Xavier Cazin On Thu, Jan 16, 2020 at 7:49 PM Xavier Cazin wrote: > Hi Thomas, > > Thanks for the WikiText example! Another thing that would

Re: [tw5] Re: Demo: SVG live editor

2020-01-16 Thread Xavier Cazin
Hi Thomas, Thanks for the WikiText example! Another thing that would be particularly relevant: links to other tiddlers, including those that hold a story filter. I'm not 100% sure of the actual syntax but this seems to work: Add a contact information tiddler Cheers, -- Xavier Cazin On Thu

Re: [tw5] Re: Demo: SVG live editor

2020-01-14 Thread Xavier Cazin
Hallo Thomas, A propos loading examples directly: I am not sure, this would be an > improvement for beginners. (I did not try yet, but ...) I suppose checking > what examples are available in the select could lead to overwriting work a > user did before. So until now I see the push of an extra

Re: [tw5] Re: Demo: SVG live editor

2020-01-13 Thread Xavier Cazin
ot; setTo={{{ [get[text]] }}}> Load --- with --- Examples: <$select tiddler="selectTid" default="S:/examples/Open Paths" actions="""<$action-setfield $tiddler="$:/telmiger/svg/icon/path" $value={{{ [[selectTid]get[text]get[text]] }}} />&qu

Re: [tw5] Using a variabvle to transclude tagged tiddlers - assistence please

2020-01-05 Thread Xavier Cazin
[subfilter] }}}) <$list filter="[subfiltertagging[]]"> hi <> <$transclude mode=block /> (inside the list widget, ''<$text text="[subfilter]"/>'' gives {{{ [subfilter] }}}) Because the currentTiddler value changes when entering the list widget, so does the value of

Re: [tw5] The-book in Tiddlywiki format

2019-12-17 Thread Xavier Cazin
. Cheers, -- Xavier Cazin On Tue, Dec 17, 2019 at 10:53 AM Luis Gonzalez wrote: > In order to collaborate, I'm converting The-Book from pdf to a Tiddlywiki. > > This are the first 4 chapters. Do you think this is a readable wiki?. It > is not yet complete. In this way we can all collabo

Re: [tw5] Re: Filter operators: THEN ELSE ~(ELSE)

2019-12-04 Thread Xavier Cazin
Hi Mohammad, A good concrete example could be a followup to your recent template question. Here, we used the ~[...] construct to *compute* a tiddler title (or a list thereof): <$list variable=template filter="[tag[a]] ~[tag[b]] ~[[tid3]]"> <$transclude mode=block tiddler=<> /> The computation

Re: [tw5] Re: Select among three tiddlers with priority

2019-12-04 Thread Xavier Cazin
Hi Mohammad, For your use case, here is a typical use of the ~ operator (aka "else") on filter runs : <$list variable=template filter="[tag[a]] ~[tag[b]] ~[[tid3]]"> <$transclude mode=block tiddler=<> /> Best regards, Xavier. On Wed, Dec 4, 2019 at 8:02 AM Mohammad wrote: > Yes, seems your

Re: [tw5] Is there a way to generate a set of dynamical variables?

2019-10-30 Thread Xavier Cazin
\define subject-filter() [[My form]get[subject]else] Subject : <$text text={{{ [subfilter] }}}/> Does it sound usable for your use case? Cheers, -- Xavier Cazin On Wed, Oct 30, 2019 at 10:04 AM Stephan Hradek wrote: > Background of my question: For a colleague who often needs

[tw5] Re: [tw] Re: Hide title and show caption

2019-10-09 Thread Xavier Cazin
Sorry everyone. Got caught by the reopening of the thread after 3 years :-) -- Xavier On Wed, Oct 9, 2019 at 7:18 PM Xavier Cazin wrote: > Hi Danielo, > > I'm not sure that we fully understand your constraints about not using > tags nor global styles. I was about to sug

[tw5] Re: [tw] Re: Hide title and show caption

2019-10-09 Thread Xavier Cazin
constructs: [data-tags*="example-test"] .tc-titlebar h2 { display:none; } or [data-tiddler-title*="a sure match"] .tc-titlebar h2 { display:none; } Cheers, -- Xavier Cazin On Sun, Aug 28, 2016 at 7:07 PM Danielo Rodríguez wrote: > > > Hello, > > Than

Re: [tw5] Are "all tids" the default input to filter?

2019-08-02 Thread Xavier Cazin
s the output of [all[tiddlers]] <https://tiddlywiki.com/#all%20Operator> as its input. Cheers, -- Xavier Cazin On Fri, Aug 2, 2019 at 12:20 PM Mat wrote: > I feel I should know this already but have to ask: Is it correct to say > that "the original input to a filter are 'all tidd

Re: [tw5] Filtering on "subtags"

2019-07-09 Thread Xavier Cazin
Hi Steve, What about using the *tagging* operator like so: [tag[Canis]tagging[]] ? Cheers, -- Xavier Cazin On Mon, Jul 8, 2019 at 8:55 PM Steven Schneider wrote: > Hi everyone, I sense that others' have asked but I can't quickly find in > the group: > > How would I filter on a t

Re: [tw5] Apply a multi part filter to a list - how?

2019-07-09 Thread Xavier Cazin
rry +[ subfilter]"> <$list> <$list> Cheers -- Xavier Cazin On Mon, Jul 8, 2019 at 11:20 PM Mat wrote: > *Beyond my control*, the user defines a filter like > > [suffix[berry]] [tag[tasty]] (could be many more, and more complex) > > This is to be applied to my li

Re: [tw5] Did I find a bug? Or am I using it wrong?

2019-07-02 Thread Xavier Cazin
Hi Stephan, In order to "flatten" the titles retrieved from the filter, you need to use the *select* attribute of your <$set> widget like so: <$set name="left" filter="[splitbefore[ -- ]removesuffix[ -- ]]" select=0> Cheers, -- Xavier Cazin On Tue, Ju

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

2019-06-29 Thread Xavier Cazin
Hi Ankit, In order to get a tiddler title instead of a flat string, you usually want to retrieve it from a filter. You can use Mark's construct to build the tiddler title manually, but the <$set> widget does have a handy filter attribute that you can use directly, like so: <$set name=foo

Re: [tw5] Any examples of using the drop zone widget

2019-05-19 Thread Xavier Cazin
text="yes"> __Note__ : had the drag and drop been issued within //Firefox//, the video title would have been retrieved at the same time as its ~YouTube ID!. <$reveal type="nomatch" state="!!yt" text="" style="width: 40%; text-align: center;

Re: [tw5] Save directly Tiddlywiki 5 file to GitHub

2019-04-09 Thread Xavier Cazin
Hi Mohammad, I think you need to create a first version of the file on GitHub before being able to push subsequent versions from your wiki. Cheers, -- Xavier Cazin On Tue, Apr 9, 2019 at 1:29 PM Mohammad wrote: > Many thanks Jeremy! > > >1. I opened the https://tiddlywiki.co

Re: [tw5] Save directly Tiddlywiki 5 file to GitHub

2019-04-09 Thread Xavier Cazin
Hi Jeremy, Wonderful, thank you for the additional tips. Cheers, -- Xavier Cazin On Tue, Apr 9, 2019 at 9:30 AM Jeremy Ruston wrote: > Hi Xavier > > I think this saver will prove immensely useful, thank you! > > > I’m just embarrassed that it took me

Re: [tw5] Save directly Tiddlywiki 5 file to GitHub

2019-04-09 Thread Xavier Cazin
would sync all tiddlers but those not yet ready for public release. Cheers, -- Xavier Cazin On Mon, Apr 8, 2019 at 11:00 PM Jeremy Ruston wrote: > I’ve made a first cut at a saver to save directly to GitHub: > > > https://github.com/Jermolene/TiddlyWiki5/commit/aa5eaa98fcb8658dbc

Re: [tw5] Re: Announcing the new "Browser-Storage" plugin

2019-02-08 Thread Xavier Cazin
Hi Jeremy, I’m torn as to whether we should enable it on tiddlywiki.com; I think not, > because of the dangers we’ve been discussing, and yet I’d love to have an > easily accessible up to date wiki with it. For the moment that is: > > >

Re: [tw5] Re: Program flow: how to store a variable in a field without user intervention?

2019-01-04 Thread Xavier Cazin
Hi bimlas, FWIW, the event of loading the wiki is one of the possible triggers for actions : https://tiddlywiki.com/#StartupActions Xavier. Le ven. 4 janv. 2019 à 12:28, bimlas a écrit : > TonyM, > > Okay, I'll explain the problem more clearly: > > I would like to write a TableOfContents

Re: [tw5] is it possible to configure TiddlyWiki on Node.js to store tiddler files in the same directory as the wikifolder?

2018-10-13 Thread Xavier Cazin
"path": "../../tiddlers2", "isTiddlerFile": "true" } ] } This almost works as you wanted, but it still misses the ability to delete tiddlers in the alternate directory. You'll probably find that more frustrating than useful, sorry ;-)

Re: [tw5] How list NOT tagged with any category

2018-10-13 Thread Xavier Cazin
Hi Mat, Are your items and categories recognisable as such? Like they have been tagged *item* and *category*? If so, my favorite approach would be: <> -- Xavier Cazin On Sat, Oct 13, 2018 at 6:20 PM Mat wrote: > How list all tids that are *not* tagged with any of the *arbitrary*(

Re: [tw5] is it possible to configure TiddlyWiki on Node.js to store tiddler files in the same directory as the wikifolder?

2018-10-07 Thread Xavier Cazin
Hi ch, I meant *to "."*, not to "..", sorry. -- Xavier On Sun, Oct 7, 2018 at 12:12 PM Xavier Cazin wrote: > Hello ch, > > Maybe you can try to set a *default-tiddler-location* configuration > option to ".." in the tiddlywiki.info file *(*see

Re: [tw5] is it possible to configure TiddlyWiki on Node.js to store tiddler files in the same directory as the wikifolder?

2018-10-07 Thread Xavier Cazin
Hello ch, Maybe you can try to set a *default-tiddler-location* configuration option to ".." in the tiddlywiki.info file *(*see https://tiddlywiki.com//#tiddlywiki.info%20Files) ? Regards, -- Xavier Cazin On Thu, Oct 4, 2018 at 6:33 PM ch wrote: > hi, > > this is a

Re: [tw5] Re: [TW5] Announcing Bob version 1.0.0 Sourdough (formerly MultiUser)

2018-05-13 Thread Xavier Cazin
of the tiddlers directory. - I don't seem to be able to run scripts that write files (which is kind of useful to tell whether they actually run!). An scripts entry like "test" : "echo 'Hi' >$HOME/hitest.txt" produces no results, or at least I can't find them. Cheers, X

Re: [tw5] [TW5] Announcing Bob version 1.0.0 Sourdough (formerly MultiUser)

2018-05-13 Thread Xavier Cazin
value took control back. Cheers, X. -- Xavier Cazin On Sat, May 12, 2018 at 10:06 PM, Jed Carty <inmyso...@gmail.com> wrote: > Bob version 1.0.0 is now available. > > It is the renamed version of the MultiUser plugin. For people who aren't > familiar with the old MultiUse

Re: [tw5] Re: [TW5] Updates to the MultiUser plugin and the Single Executable version

2018-05-12 Thread Xavier Cazin
command. Cheers, Xavier. -- Xavier Cazin On Fri, May 11, 2018 at 10:59 PM, Jed Carty <inmyso...@gmail.com> wrote: > The single executable versions are updated. > > I added an armv7 executable, I have no idea if it worked or not. Compiling > it resulted in a lot of warnings. >

Re: [tw5] Re: [TW5] Updates to the MultiUser plugin and the Single Executable version

2018-05-11 Thread Xavier Cazin
Hi Jed, AFAICT, this works perfectly, both in the main wiki and in a sub-wiki (they used to behave differently regarding this issue). So as a result, I can just drop an entire standalone TW5 file onto a fresh Bob-powered TW, and it is ingested without a burp! So neat. Cheers, Xavier. -- Xavier

Re: [tw5] Re: [TW5] Updates to the MultiUser plugin and the Single Executable version

2018-05-11 Thread Xavier Cazin
ot;)! ​Second on my wishlist: If you manage to make an arm executable, I'd love to test it ​on Termux. Also a very minor thing: Instead of the somewhat misleading "Node settings", I would prefer that the Control Panel tab which holds the settings was just called* Bob* or *MultiUser*

Re: [tw5] [TW5]

2018-05-04 Thread Xavier Cazin
our breath: merging this addition into the core would not be a simple move... Best, -- Xavier Cazin -- 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

Re: [tw5] [TW5]

2018-05-03 Thread Xavier Cazin
ler=bar sourcetiddler=foo> <> <> <> Cheers, Xavier. -- Xavier Cazin On Thu, May 3, 2018 at 3:52 PM, Xavier Cazin <caz...@gmail.com> wrote: > Hi Tony, > > Most often, this the action widget itself that needs to be wrapped in a > macro, so that it can reference v

Re: [tw5] [TW5]

2018-05-03 Thread Xavier Cazin
platetags}} text={{$(sourcetiddler)$!!text}} /> Copy \end <$vars sourcetiddler=foo newtiddler=bar> <> Regards, Xavier. -- Xavier Cazin On Thu, May 3, 2018 at 1:59 PM, TonyM <anthony.mus...@gmail.com> wrote: > Folks, > > I have a button to create tiddlers whi

Re: [tw] Re: [TW5] Single executable version of multi-user tiddlywiki, release candidate

2018-03-28 Thread Xavier Cazin
://192.168.x.x:8080). Best, Xavier. -- Xavier Cazin On Tue, Mar 27, 2018 at 10:30 PM, Thomas Elmiger <thomas.elmi...@gmail.com> wrote: > Hi Jed, it seems the 0.0.0.0 setting is not saved (although the checkmark > is dark gray, not red). > > Am Dienstag, 27. März 2018 21:4

Re: [tw] Re: [TW5] Single executable version of multi-user tiddlywiki, release candidate

2018-03-21 Thread Xavier Cazin
ike I was in a Parisian café. So here is a feature request: add a parameter to <$action-websocketmessage that allows a script to stay in the foreground so that the next scripts have to wait for it to terminate. Hope it makes sense... Thank you for the great work! Xavier. -- Xavier Cazin On Tue, Mar

Re: [tw] Re: [TW5] Single executable version of multi-user tiddlywiki, release candidate

2018-03-20 Thread Xavier Cazin
Jed, Wow, indeed, this was enough for it too launch immediately! Very impressive. I'll explore and tell you how it goes. Thanks, Xavier. -- Xavier Cazin On Tue, Mar 20, 2018 at 4:08 PM, Jed Carty <inmyso...@gmail.com> wrote: > Oh, it looks like this is a problem caused by me

Re: [tw] Re: TW equivalents of some simple expressions in common programming langauges

2018-03-19 Thread Xavier Cazin
oach: http://evanbalster.com/tiddlywiki/formulas.html#%24%3A%2Fplugins%2Febalster%2Fcondition Cheers, Xavier. -- Xavier Cazin On Mon, Mar 19, 2018 at 11:36 AM, Joe Armstrong <joea...@gmail.com> wrote: > I should explain my question a little more. > > What I wanted to in pseud

Re: [tw] Re: Getting the input and output of a tiddler

2018-03-12 Thread Xavier Cazin
quot;block"/> --- which is is rendered as --- <$transclude mode=block/> --- Or perform all transclusions first in a tiddler, then view the result as html, using the View widget. Xavier. -- Xavier Cazin On Mon, Mar 12, 2018 at 4:03 PM, Jed Carty <inmyso...@gmail.com> wrote:

Re: [tw] SelectWidget and tm-remove-tag/tm-add-tag actions

2018-03-11 Thread Xavier Cazin
oblem, what about applying custom styles by tag? https://tiddlywiki.com/#How%20to%20apply%20custom%20styles%20by%20tag -- Xavier Cazin On Sat, Mar 10, 2018 at 10:10 PM, Michael Wiktowy <mwikt...@gmail.com> wrote: > Hi, > > I either have a fundamental misunderstanding about tm-* ac

Re: [tw] A few questions about macros/widgets/functions

2018-03-10 Thread Xavier Cazin
? Because if a tiddler is created afterward that matches the filter, then the list widget immediately processes it, as if it was just waiting for your new tiddler to enter the game. Cheers, Xavier. -- Xavier Cazin On Sat, Mar 10, 2018 at 11:12 PM, Joe Armstrong <joea...@gmail.com> wrote: > W

Re: [tw] A few questions about macros/widgets/functions

2018-03-10 Thread Xavier Cazin
s tab. You will find there https://tiddlywiki.com/#%24%3A%2Fcore%2Fmacros%2Flist, which contains the definition of the list-links macro. Cheers, Xavier. -- Xavier Cazin On Sat, Mar 10, 2018 at 7:25 PM, Joe Armstrong <joea...@gmail.com> wrote: > TW seems to have three types of code: JS

  1   2   3   >