Re: [tw5] Reverse getindex?

2018-11-06 Thread Hubert
Jeremy, thank you so much for taking the time to address my question. Unfortunately, coming up with a solution that could be merged with the core is going to be beyond the scope of my ability in the foreseeable future. Best regards, Hubert On Tuesday, 6 November 2018 16:50:06 UTC, Jeremy

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread Rob Hoelz
Hi John, TiddlyWiki's node daemon defaults to listening on the 127.0.0.1 address only - if you want to access it from other devices, you'll need to tell the server to listen on a different address. However, I must caution you - I think that having a server open to other network clients on

Re: [tw5] Reverse getindex?

2018-11-06 Thread 'Mark S.' via TiddlyWiki
In the interim, this may be useful: \define myfilter() [title[data##$(index)$]regexp:title[$(term)$]] \define value() {{data##$(index)$}} <$set name="term" value="duck"> <$list filter="[title[data]indexes[]]" variable="index"> <$wikify name="title" text=<>> <$list filter="[titleregexp]" >

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread 'Mark S.' via TiddlyWiki
How are you launching node.js/TiddlyWiki ? You need to specify the full IP number in order to open it to the network. Something like: --server 8080 $:/core/save/all text/plain text/html "" "" 192.168.0.245 where 192.168.0.245 is the IP of your "server" device. Good luck! -- Mark On Tuesday,

Re: [tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread Jeremy Ruston
Alternatively, you can use 0.0.0.0 to listen on all available network addresses. Best wishes Jeremy. > On 6 Nov 2018, at 17:35, 'Mark S.' via TiddlyWiki > wrote: > > How are you launching node.js/TiddlyWiki ? You need to specify the full IP > number in order to open it to the network.

[tw5] Animation effects: On Opening Tiddlers

2018-11-06 Thread Riz
Are you looking for different type of animations while opening tiddlers? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com.

[tw5] Re: Wiki file disappearing with Firefox

2018-11-06 Thread Jon
Hi Mario, No problem - I'm glad you understand what's going on and if the problem can be fixed in future releases, then I'll have done some worthwhile testing. Regards Jon On Tuesday, 6 November 2018 11:41:34 UTC, PMario wrote: > > Hi, > > I did forget about 1 thing. ... All the backend /

Re: [tw5] Reverse getindex?

2018-11-06 Thread Jeremy Ruston
Hi Hubert > On 6 Nov 2018, at 15:05, Hubert wrote: > > We can get the value of an index in a data dictionary by searching for the > index using getindex. > > Is there a way to perform a reverse operation that would find index(es) that > have the specified value? > > The assumption is that

[tw5] Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread izzyballin77
So i've installed tiddlywiki via nodejs on my Android phone using Termux Runs well on my phone browser when connecting to http://127.0.0.1:8080/ However I can't see the tiddlywiki on any other device on the local network (my laptop and ipad). I'm using the local IP address provided on the

[tw5] Re: Compare two variables for equality and inequality

2018-11-06 Thread 'Mark S.' via TiddlyWiki
You mean like ...field:myfield... ? -- Mark On Tuesday, November 6, 2018 at 4:03:09 PM UTC-8, TonyM wrote: > > Folks, > > I am trying to make a simply comparison between two variables or one > variable and a fields content. > > eg; <> and {{!!wiki-owner}} > or <> and <> > > I simply want a

[tw5] Re: Compare two variables for equality and inequality

2018-11-06 Thread 'Mark S.' via TiddlyWiki
This turns it on it's head a bit, but the other approach is to subtract one variable from another in a filter: [title] -[title] Then the contents of "emptyMessage" become your output for when they do match (which can even be dynamically interpreted text), and the contents between <$list>...

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread 'Mark S.' via TiddlyWiki
As long as you're using node.js (plain), it won't solve the problem. The browser won't let a server serve up local files -- they have to be served up via a web-like address. You could, of course, have a local instance of TW, and then iframe (or _canonical_uri, or ) will allow you to use local

[tw5] Compare two variables for equality and inequality

2018-11-06 Thread TonyM
Folks, I am trying to make a simply comparison between two variables or one variable and a fields content. eg; <> and {{!!wiki-owner}} or <> and <> I simply want a simple test or filter that will be true if they are the same and that will be false if they are the same Ideally I would use

[tw5] Re: Compare two variables for equality and inequality

2018-11-06 Thread TonyM
Mark, Thanks, that may work, funny I have not used the field operator much yet. I have used fieldname[value] before as an elegant narrative way of building filters eg business-size[small] or display-code[yes] however it seems neither fieldname or value can be replaced with a variable or field

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread 'Mark S.' via TiddlyWiki
I'm not sure what you mean by "valid". Using iframes won't fix the node.js image/document server problem. One thing you can do with iframe (and probably "embed" as well) is to put it in a macro that specifies the first part of an object path. Then when you change to a different locale, where

[tw5] Re: Animation effects: On Opening Tiddlers

2018-11-06 Thread Mohammad
Hello Riz, Yes, I actually developed a small plugin to create tutorials (wlakthrough, and guided help). I wish to be able to use the animation effects! It seems the TW theme like vanilla and Snow white uses kind of animation! Mohammad -- You received this message because you are subscribed

Re: [tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread TonyM
John, As Jeremy says, use the special address 0.0.0.0 in launching tiddlywiki and then you can access the Wiki at the devices IP address on your local network. Do keep in mind that the IP address is usually obtained by using a DHCP server on the local network to issue the address. If your

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread 'Mark S.' via TiddlyWiki
TW isn't indexed like a database and doesn't scale up well. I try to keep it below 10M for compatibility with devices. 30-40 Megs is the upper range on my desk-top machine. The solution is to put images, PDF's, etc. into sub-directories. Unfortunately plain node.js won't serve up images, etc.

[tw5] Re: Compare two variables for equality and inequality

2018-11-06 Thread TonyM
Mark, Your answer should work when comparing a field with a variable, but not a variable with a variable The Question how to ask - if <> equals <> - if <> not equal <> Is still an open Question for me. Tony On Wednesday, November 7, 2018 at 11:37:25 AM UTC+11, Mark S. wrote: > >

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread TonyM
Sorry, let me clarify, Place the images elsewhere and display them on demand and or from an iframe - this means the images and the device need to be online, but they will be pulled into the device browser cache when needed and not before. Regards Tony On Wednesday, November 7, 2018 at

[tw5] Re: Compare two variables for equality and inequality

2018-11-06 Thread TonyM
Mark, Is it fair to call this filter="[] -[]" the "Not Same" test, if they are the same Empty Message, if they are not the same its true. Your suggestion did not work until I wikified the input variables a simple true or false icon return <$list filter="[is[current]get[wiki-owner]] -[]"

[tw5] Strange behavior for tooltips when exporting as static

2018-11-06 Thread David Gifford
Hi all Any idea why this tiddler http://giffmex.org/experiments/tooltips.html#TestingToolTips renders like the following http://giffmex.org/experiments/TestingToolTips.html when exported as a static html? That is, the first tooltip is pushed up a line and the tooltiptext is displayed

Re: [tw5] Re: edit-text-operation for Linkmanager in a Storyeditor

2018-11-06 Thread TonyM
Jan, I have worked on the principals behind doing this, as a result of discussions arising from the New Comments plugin in 5.1.18 and my desire to publish noteself Wikis online from which people can export and send any tiddlers they modify or create for subsequent inclusion in another Wiki. A

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread TonyM
Mark, Do you think using iframes is valid ? Regards Tony On Wednesday, November 7, 2018 at 11:33:47 AM UTC+11, Mark S. wrote: > > > TW isn't indexed like a database and doesn't scale up well. I try to keep > it below 10M for compatibility with devices. 30-40 Megs is the upper range > on my

Re: [tw5] Re: edit-text-operation for Linkmanager in a Storyeditor

2018-11-06 Thread TonyM
Post Script To stop duplicate tiddlers in the first place, if the wikis that users were adding to had a new Edit Button, that only showed when it was a tiddler for which they were the creator that may help. Then refuse to import any tiddler that will overwrite and existing one (using the

[tw5] Re: Compare two variables for equality and inequality

2018-11-06 Thread 'Mark S.' via TiddlyWiki
I knew there was something in the back of my mind. Here's a version of the prior method adapted to an example from the SetWidget tiddler: <$vars test1="abc" test2="abc"> <$set name="myVariable" filter="[] -[]" emptyValue="They match" value="They dont match"> <$text text=<>/> -- Mark On

[tw5] Re: Compare two variables for equality and inequality

2018-11-06 Thread Mohammad
Hello Tony! This is really interesting! I would appreciate if you could put it inside a wiki and give link for future references! By the way you said the variables cannot be the result of a macro call, why? -Mohammad -- You received this message because you are subscribed to the Google Groups

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread TonyM
Mark, Some thoughts on what you just said. - Turmux allows you to run nodeJS, On Top of NodeJS is TiddlyServer, although Arlen has packaged it so you do not need to install nodeJS, I believe you can install it into Node JS yourself, the same works for Bob. - If you cant get Termux

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread TonyM
I know this is off Topic, please forgive me Mark, You say " they have to be served up via a web-like address" and that is exactly where I am coming from. Personally I can dump images on the internet (my host) and reference them as URL's and load them as needed. However for local only wikis,

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread 'Mark S.' via TiddlyWiki
Yes, tiddlyserver does this -- that's one of the main reasons to use it instead of node.js. Do you happen to know it ts runs on Termux? Unfortunately, my 4.2 devices can't run termux. You can certainly use some a separate server to serve up images, etc. But if you do the addresses will not be

[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-06 Thread 'Mark S.' via TiddlyWiki
Not sure how much of an improvement it is, but incorporated some of your notes in PR3518 -- Mark On Sunday, November 4, 2018 at 10:21:29 PM UTC-8, S. S. wrote: > > *Below is a short excerpt of my notes from when I first started using >

[tw5] Re: 2017 was? 2018 hopes?

2018-11-06 Thread Mohammad
Hi Josiah, Don't want to ask this question for 2018? I think it is a good question to be raised for Dec 2018! -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

[tw5] Re: edit-text-operation for Linkmanager in a Storyeditor

2018-11-06 Thread TonyM
Jan, If the $:/status/UserName is set, it will populate hidden fields in each tiddler called creator and/or modifier see https://tiddlywiki.com/#TiddlerFields - You could then use normal filter operators to select the different users tiddlers via these fields - You could set these

Re: [tw5] Re: edit-text-operation for Linkmanager in a Storyeditor

2018-11-06 Thread Jan
Hi Tony the problem I want to solve by creating tiddlernames including the modifier is that this would prevent overwriting tiddlers. When my students write stories there is a strong probability that some have a tiddlers with matching names [[In the morning]] or [[later]] Importing both would

[tw5] Re: Problems connecting to my tiddlywiki on my Android phone installed with nodejs (Termux) using a different device on my local network

2018-11-06 Thread h0p3
It might be worth trying to keep certain kinds of content separate from or external to the wiki. My wife has a lot of pictures she uses in her wiki, but he keeps them in a directory next to her static html file and just links to them instead. This keeps her html file fairly small, and the

[tw5] Re: Extracting a specific row of text from a tiddler?

2018-11-06 Thread DemoniWaari
> *Mark S.* > So, your journal tiddler could have a field with a standard name (afm, > linux) where you note activities (e.g. afm: recalibrated the influx > manifold). Then you could have a tiddler "afm" with a view template that > lists all tiddler names and row contents for those actions.

[tw5] Wiki file disappearing with Firefox

2018-11-06 Thread TonyM
Jon, I have had this problem in the past. I think firefox assumes that you are only using regular websites and does not care to maintain open tiddlywikis. If I see an update message I imediatly check all wikis are saved, Close firefox, reopen and use help about firefox and force an update, and

[tw5] Re: Days Operator and Examples (documentation addition)

2018-11-06 Thread RA
Looked at it some more and I think "days" operator is not working properly anymore. Here is my test, I'm sure it worked 100% before. (To demo all the test cases, it needs 13 tiddlers with "due" field set to each day from today-6 to today+6.) ``` today: <> 4 days ago: <> <> last 5 days: <> next

[tw5] Re: Extracting a specific row of text from a tiddler?

2018-11-06 Thread TonyM
Fyi A quick test suggested if you transclude, the references do not get recognised. Thus I wanted to maintain that. I will build something, but not imediatly, my current line of thinking is a macro that wraps the snipit using an editor toolbar button eg <> Then in view mode you see an icon

[tw5] Re: Wiki file disappearing with Firefox

2018-11-06 Thread PMario
Hi, I did forget about 1 thing. ... All the backend / content-script connection stuff is not really important for "normal" sites, that contain read-only content. Because if something doesn't work, we just reload the page. ... BUT TW is able to modify itself. So we need to make sure, that

[tw5] Re: Wiki file disappearing with Firefox

2018-11-06 Thread PMario
Hi Jon, >On this occasion, I noticed that Firefox had updated (this might have been the case on the first occasion as well) and I think the problem might occur if you have left the file open in the browser tab and in my case, leave the laptop in hibernation mode by just closing the lid. I

[tw5] Re: What is the issue with list-tagged-draggable?

2018-11-06 Thread Mohammad
Matt, When I close the sidebar, the list-tagged-draggable works correctly! It is a strange behavior and I am not sure if the bug is from list-tagged-draggable! Mohammad -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw5] Reverse getindex?

2018-11-06 Thread Hubert
We can get the value of an index in a data dictionary by searching for the index using getindex. Is there a way to perform a reverse operation that would find index(es) that have the specified value? The assumption is that all indexes and their values are listed in a single data dictionary

[tw5] Animation effects: On Opening Tiddlers

2018-11-06 Thread Mohammad
I would appreciate if give advice or links / docs on the animation effects on opening tiddlers! Now, it seems there few effects on opening tiddler from links (inside tiddlers, story river, sidebar tabs) for Vanilla and Snow white theme. Mohammad -- You received this message because you are