[tw5] Re: [TW5] Edit Tiddly Wiki files straight on Google Drive

2023-01-27 Thread joshua...@gmail.com
Sad news, I'm afraid.

https://github.com/tiddlydrive/tiddlydrive.github.io/blob/master/eol_notice.md

On Saturday, January 28, 2023 at 2:09:03 AM UTC+2 FFT wrote:

> Is the developer still working on this project? Thankfully it still works 
> well, except for not displaying the favicon. The problem is if it stops 
> working, I'm toast. Are there other google drive implementations similar in 
> function to TiddlyDrive?
>
> On Tuesday, September 11, 2018 at 7:06:46 PM UTC-7 Justin Morgan wrote:
>
>> Hi Joshua,
>>
>> Do you know if it's possible to display a favicon when using TiddlyDrive? 
>> The favicon I have set will display when I open my wiki locally but when I 
>> open it in GoogleDrive, all I see is the default favicon. It's not exactly 
>> a huge deal but it would be nice to be able to identify my wiki tab more 
>> easily (even if it's just the TW logo). BTW, this is an awesome project and 
>> your work on it is much appreciated.
>>
>> Thanks!
>>
>> On Saturday, October 21, 2017 at 11:35:10 AM UTC-4, Joshua Stubbs wrote:
>>
>>> Hi, all.
>>>
>>> I made an app that lets one edit TiddlyWiki files saved in your Google 
>>> drive and then saving them back automagically. The page is here 
>>> https://chrome.google.com/webstore/detail/tiddly-drive/oaphhjhbbabdjnpjpiliepphpmnioolo
>>>  
>>> but I think you need to add it from the Google Drive web interface.
>>>
>>> I even added an optional ability to save with ctrl + s hotkeys.
>>>
>>> I hope you all find it useful. It's open source so all feedback and 
>>> contributions are welcome. I still have to set up some contribution 
>>> guidelines but we'll get there!
>>>
>>> Kind regards. Joshua.
>>>
>>>

-- 
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/ce0fc1ca-1725-40d9-8645-8f22ace852dan%40googlegroups.com.


[tw5] Re: 20+ tiddlers overwritten by node with lazy loading

2022-04-27 Thread Joshua Fontany
This definitely seems like a bug, I would have to investigate more. Very 
few people in the online community seem to use lazy loading, so I apologize 
if this caused you to loose data. I hope you found a recent backup.

I have linked that bug back to this thread. I would not use lazy loading 
unless you are really seeing a large performance benefit with it turned on 
atm.

On Tuesday, April 19, 2022 at 5:39:43 PM UTC-7 kswk...@gmail.com wrote:

> It looks like it's related to this bug
> https://github.com/Jermolene/TiddlyWiki5/issues/4767
>
> Is there any intention to fix this. If not can it be noted in the 
> documentation?
>
> On Tuesday, April 19, 2022 at 6:55:38 PM UTC-5 Khalfani Wadlington wrote:
>
>> tiddlywiki --version 5.1.23
>> OS=node is running ubuntu 16. Accessed in chrome on windows 10
>>
>> On Tuesday, April 19, 2022 at 6:52:13 PM UTC-5 Khalfani Wadlington wrote:
>>
>>> A bunch of files with the same tag appear overwritten. They won't load 
>>> when I select them and the contents (except meta data) is empty in the node 
>>> files. 
>>>
>>> All the files affected have the same tiddler tag. I set the tiddler to 
>>> be a system tiddler so it would autoload in the side bar.
>>>
>>> Markdown files that are now empty have a meta file that says _is_skinny 
>>> at the top.
>>> All the tiddler files that have been over written say _is_skinny: at the 
>>> top for example example:
>>> _is_skinny:
>>> created: 20220331194245560
>>> creator: khalfani
>>> modified: 20220419190910674
>>> modifier: khalfani
>>> tags: $:/Bookmark
>>> title: Notes
>>> type: text/vnd.tiddlywiki
>>>
>>>
>>> Is it supposed to work like this or should I try to recover these using 
>>> my backup?
>>>
>>> Also Is there another way to make a sidebar tiddler autoload without 
>>> making it a system tiddler?
>>>
>>

-- 
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/4e09e850-e63e-48f5-a926-35491877dba9n%40googlegroups.com.


[tw5] Re: [TW5] Esperanto Translation (Alpha)

2022-03-28 Thread joshua...@gmail.com
Thanks, Jeremy.

I'm not sure that I'm qualified to say when it's suitable. Bar a few minor 
changes I know need fixing, I don't know how acceptable the translations 
are.

If it were up to me, I would include it basically as it is, slap a "(Beta)" 
after the name and include a link to where people who find issues can 
contribute.

I'm taking my queue from the rest of ye.

Warm regards.
On Saturday, March 26, 2022 at 4:12:38 PM UTC+2 jeremy...@gmail.com wrote:

> Great stuff Joshua – I hope you'll consider contributing your work to the 
> core when you get to a suitable point – we already have a plugin for 
> Interlingua, but it would be fitting to also have one for the original 
> conlang.
>
> Best wishes
>
> Jeremy
>
> On Saturday, March 26, 2022 at 7:37:17 AM UTC joshua...@gmail.com wrote:
>
>> Thank you for your replies and feedback. It's a good question.
>>
>> I'm not sure if other languages translate it, but there are several 
>> things worth considering: 
>>
>> *Brand name localisation isn't unheard of.*
>>
>> I gave the example of Wikipedia in the post. I've also heard that 
>> Salvation Army shops are actually branded as Salvos in Australia because 
>> that's what the locals call it.
>>
>> In both cases, the original brand name is still accessible (and not 
>> un-recognisably different either).
>> *Even if no other language translated TiddlyWiki, the fact that there is 
>> a word for Wiki already makes TiddlyWiki feel a lot more stilted.*
>>
>> TiddlyWiki is a brand, yes, but this is an opportunity to make the brand 
>> more living and dynamic.
>>
>> *It may look strange to non-Esperantists but the great thing is that 
>> non-Esperantists will never have to see it. The only people who will see it 
>> are the people who recognise it.*
>>
>> (All the urls, macros and code will still be the same)
>>
>> *There is a kind of symmetry that is lost if you have a sentence taking 
>> about "TiddlyWiki" and then "Vikio".*
>>
>>
>> All that being said, if the Esperantujo ends up preferring against it, we 
>> can remove that localisation. I don't feel expectationally passionate about 
>> it but I do think it's a nice flair.
>>
>>
>> On Friday, March 25, 2022 at 10:19:03 PM UTC+2 PMario wrote:
>>
>>> On Friday, March 25, 2022 at 5:33:38 PM UTC+1 Mark S. wrote:
>>>
>>> Do other languages attempt to translate "TiddlyWiki" ? I would have 
>>>> thought that that was a special term that would stay itself in most 
>>>> languages.
>>>>
>>>
>>> I'm with Mark here. TiddlyWiki is a "brand" name and shouldn't be 
>>> translated.
>>> -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/1356112e-16fa-4689-b740-798c221c71b9n%40googlegroups.com.


[tw5] Re: [TW5] Esperanto Translation (Alpha)

2022-03-26 Thread joshua...@gmail.com


Thank you for your replies and feedback. It's a good question.

I'm not sure if other languages translate it, but there are several things 
worth considering: 

*Brand name localisation isn't unheard of.*

I gave the example of Wikipedia in the post. I've also heard that Salvation 
Army shops are actually branded as Salvos in Australia because that's what 
the locals call it.

In both cases, the original brand name is still accessible (and not 
un-recognisably different either).
*Even if no other language translated TiddlyWiki, the fact that there is a 
word for Wiki already makes TiddlyWiki feel a lot more stilted.*

TiddlyWiki is a brand, yes, but this is an opportunity to make the brand 
more living and dynamic.

*It may look strange to non-Esperantists but the great thing is that 
non-Esperantists will never have to see it. The only people who will see it 
are the people who recognise it.*

(All the urls, macros and code will still be the same)

*There is a kind of symmetry that is lost if you have a sentence taking 
about "TiddlyWiki" and then "Vikio".*


All that being said, if the Esperantujo ends up preferring against it, we 
can remove that localisation. I don't feel expectationally passionate about 
it but I do think it's a nice flair.


On Friday, March 25, 2022 at 10:19:03 PM UTC+2 PMario wrote:

> On Friday, March 25, 2022 at 5:33:38 PM UTC+1 Mark S. wrote:
>
> Do other languages attempt to translate "TiddlyWiki" ? I would have 
>> thought that that was a special term that would stay itself in most 
>> languages.
>>
>
> I'm with Mark here. TiddlyWiki is a "brand" name and shouldn't be 
> translated.
> -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/4ba5d9c5-6617-4030-a3c3-86d351430ef9n%40googlegroups.com.


[tw5] [TW5] Esperanto Translation (Alpha)

2022-03-25 Thread joshua...@gmail.com
So, for the past year or so I have been hacking away at an amateur 
Esperanto translation.

I'm not a professional translator so I'm sure there are many things wrong 
with it. However, for the most part, I think it could be a significant 
building block for a proper translation™.

It's almost 700 tiddlers (of the 1000). I think at some point the 
TiddlyWiki I was working in got updated which may result in some missing 
translations etc. but the gist is there.

For the most part, I am happy for people to make merge requests to add new 
translations or make fixes. However, I think that most changes should be 
discussed to get a consensus first. That way 1. we can be sure it's a 
helpful change 2. we can update all instances of that change throughout the 
language plug-in at once for consistency.

Change suggestions and discussions can be facilitated by creating an issue 
.

If you notice anything really obviously wrong, feel free to make a merge 
request fixing it. An example of something like that would be vestigial 
English text accidentally left behind along side the Esperanto text.

Although this MVP leaves a lot wanting, there are elements which I feel 
strongly about to varying degrees.

Actions should be imperatives. To date, many Esperanto UI translations, 
translate actions in the infinitive form. This is likely because it's the 
lexical form in many languages.

However, take a tab called "Open". Either it's short for "Tiddlers that are 
currently open" (adjective) or "Open the Tiddlers" (imperative -- telling 
the computer what to do) or "The Open ones" (substantive). Why would you 
translate it as "to open"? Context will tell which one of the three former 
options it is.

*Note*: As an aside, while we are talking about context in this specific 
example, I didn't have much context while translating. This is because the 
language snippets are basically just a list of context-less phrases. So I 
had to guess which form a word should translate to.
"Open" is an example where I picked wrong. If it isn't fixed by the time 
you see this, you will notice that I accidentally translated it as 
"Malfermu" (imperative) rather than "Malferma(j)" (adjective) or 
"Malfermo(j)" (substantive). But the one thing that it shouldn't be 
corrected to is infinitive.

As a stylistic choice, I translated stand-alone nouns or noun phrases in 
the nominative e.g. "Informo"  rather than "Informon". I find it neater 
even though traditionally many stand-alone nouns are translated in the 
accusative.
To reconcile this idea, consider what the ending suggests about the elided 
part of the sentence. It's not suggesting something wrong per se -- just 
something different.

I have tried to keep proper nouns and acronyms the same. The same goes for 
tiddly-specific jargon like the word "tiddler". As a general rule of thumb, 
if say,  "tiddler", is being used as a subject, it doesn't get an ending 
and will be rendered as "tiddler". If it is doing something else in the 
sentence, I will do something like this "tiddler-on" or "tiddler-ojn".

One exception to not changing proper nouns was "Wiki". Since it already has 
an Esperanto translation, "Wiki" becomes "Vikio" and "TiddlyWiki" becomes 
"TiddlyVikio" in the same way "Wikipedia" is "Vikipedio 
".

At the end of the day though, I couldn't help thinking with every decision 
that someone somewhere would be upset with me. Alas, "traduttore, 
traditore".

Any, for now:

The generated Tiddler is here 


And to see the project or to propose changes you need to go to the repo 
.

Warm regards.


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


[tw5] Re: Embedding images on Android

2021-11-30 Thread Joshua Fontany
Chrome on Android cannot access local file 
paths: https://blog.chromium.org/2008/12/security-in-depth-local-web-pages.html

This is an instance where having the images AS 
base64-encoded-image-tiddlers will work out "easiest". Otherwise, you'll 
have to host those images online or on a local network host, and make sure 
the _canonical_uris are pointing to the correct paths.

Best,
Joshua Fontany

On Tuesday, November 30, 2021 at 1:29:53 PM UTC-8 alvi...@gmail.com wrote:

> Hey guys, 
>
> I'm new here. I've been having this issue where local images won't load on 
> android (Chrome) where they would on my laptop. I'm using the single html 
> file TiddlyWiki. I've tried having the image in the same directory as well 
> as in a sub directory. I first tried the [img[(file path]] syntax as well 
> as the _canonical_uri. Again they work fine on my pc but on android it just 
> shows this image icon.
>
> Does anyone know what's going on? 
>
> Thank you,
> Alvin
>
>
>

-- 
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/5c903670-f1a0-4009-9880-00683d790410n%40googlegroups.com.


Re: [tw5] "I moved to Discourse" - add your name too?

2021-08-21 Thread Joshua Fontany
Definitely moving over to the Discourse community. See you all there!

Best,
Joshua Fontany
On Saturday, August 21, 2021 at 3:42:18 PM UTC-7 Scott Simmons (Secret-HQ) 
wrote:

> I've created a profile on Talk.TiddlyWiki.org and am delighted with the 
> interface there.  I'll try to ask questions and create new threads there 
> rather than here, though I guess I'll be drawn back to Google Groups is 
> that's where the conversation flows.  (For my part, I'm hoping it moves to 
> Talk.TW)
>
> https://talk.tiddlywiki.org/u/secret-hq/
>

-- 
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/e860af7e-8f3c-457c-976e-b41c2d06cdc5n%40googlegroups.com.


[tw5] Re: How can I prevent TW from trimming leading space in field transclusion?

2021-08-18 Thread Joshua Fontany
Stéphane,

Some-one on GitHub in the bug report (link) mentioned that you can "view" 
the raw text of a field with the View Widget.

So, where as {{foo!!bar}} is a shortcut for 

<$tiddler tiddler="foo"><$translcude tiddler=<> 
field="bar"/>

You can create a macro that uses the View Widget like so:

```
\define viewField(tiddler,field)
<$tiddler tiddler=$tiddler$><$view field=$field format="text"/>
\end

<> <>
```
You could even use the View Widget directly if the defaults would do fine:

```
<$tiddler  tiddler="tiddler a">
<$view  field="foo"/><$view field="bar"/>

```

If you had wikitext in the field that needed to be proccessed, you could 
use a different "format" value: https://tiddlywiki.com/#ViewWidget

Best,
Joshua Fontany

On Wednesday, August 18, 2021 at 2:20:51 PM UTC-7 Misterel85 wrote:

> Thank you for your very interesting and useful examples, Tones. I didn't 
> know about `sentencecase`! I'll keep that post as a reference. 
> And thank you very much for proposing your help.
>
> Sorry for not replying sooner. I've spent the last two days thinking those 
> field connexion rules over for my project and I can say they are not that 
> obvious to define. Anyway, here is something that would correspond to my 
> needs, but it needs 'conditional transclusion'. So I gladly accept your 
> offer.
>
> So, in order to manage my sources, I have a 'reference' field for general 
> information and a 'details' field for any additional information, that I 
> must transclude in that order: `reference` + `details`.
>
> Here's how I see things:
>
> * the value in 'details' may start with `p. ` (for page) or `pp. ` (for 
> pages).
> Then I would connect 'reference' and 'details' with `, ` (comma + 
> whitespace).
> For instance:
> Doe, John. //My Great Exercise Book// (2019), pp. 28-32.
>
> * the value in 'details' may start with a word in lowercase: `exercise 2`, 
> `chapter 4`, etc.
> Then I would connect 'reference' and 'details' with ` — ` (whitespace + 
> dash + whitespace).
> For instance:
> Doe, John. //My Great Exercise Book// (2019) — chapter 6 exercise 5 p. 
> 61.
> 
> * the value in details may start with the first word having a capital 
> letter (uppercase), to start a short sentence.
> Then I would connect 'reference' and 'details' with `. ` (period + 
> whitespace).
> For instance:
> August 2018 training session with John Doe. See short video for this 
> exercise on YouTube.
>
> * if the `details` field is empty, then I would need to end the 
> transclusion of `reference` with `.` (period).
>
> I'm not too sure what I should do if the value in `details` field starts 
> with a character that is not a letter, which may happen in very rare cases. 
> And I can still alter the value accordingly:
> For instance:
> [[Comprehensive Exercise Website|www.to.the.link.com]] — "Exercises" 
> tab, bottom of page.
> might be replaced with:
> [[Comprehensive Exercise Website|www.to.the.link.com]]. See 
> "Exercises" tab, bottom of page.
>
> I hope the goals I have set are clearly explained and above all doable.
>
> I suppose that making liberal use of list filters and operators such as 
> 'split', 'join', 'append', 'match', it could be possible to build those 
> 'conditional field transclusions', but I don't think I could do that alone!
>
> Regards,
>
> -Stéphane
>
> Le lundi 16 août 2021 à 14:45:29 UTC+2, TW Tones a écrit :
>
>> Misterel,
>>
>> Perhaps my writing is not so helpful, but my advice is intended to make 
>> it simpler for you. I would be happy to write the code to resolve the 
>> concatenation of various text snippets into sentence like text. All I would 
>> need is samples of the text you whish to join (without presentation related 
>> hacks eg leading spaces etc...
>>
>> The first examples would be foo="This is foo"  bar="and this is bar." 
>> please join as a sentence.
>>
>> Feel free to be pragmatic and decline my offer but also feel free to ask.
>>
>> Here are some examples to look at, paste into a tiddler on tiddlywiki.com, 
>> add the foo and bar fields as before. 
>> See how alice and bob values are independent of the order in which they 
>> will be presented, used?
>>
>> \define full() {{!!foo}} {{!!bar}}
>> \define full2() $(foo)$ $(bar)$
>> \define full3() $(alice)$ and $(bob)$.
>>
&g

[tw5] Re: Should we prohibit leading and trailing whitespace in field names in 5.2.0?

2021-08-18 Thread Joshua Fontany
I am in favor of stripping out leading and trailing whitespace in field 
Names during field creation and tiddler import.

Best,
Joshua F

On Wednesday, August 18, 2021 at 1:38:29 PM UTC-7 Soren Bjornstad wrote:

> I'll preface this by saying this probably belongs in a GitHub issue, and 
> I'll be happy to create one over there if we want one. But wanted to get 
> people's thoughts first, and ASAP because now is our last chance to do this 
> without breaking backwards compatibility (once 5.2.0 is released, it would 
> be pretty hard to change).
>
> Would it make sense to *prohibit leading and trailing whitespace in field 
> names*, even though we now allow whitespace elsewhere? In the prerelease, 
> it's not possible to add such fields within the GUI, but you can import 
> tiddlers that contain such fields, or create them with an action or 
> $edit-text widget. Fields with leading or trailing whitespace are almost 
> impossible to distinguish within the GUI, since there is already whitespace 
> before and after the name when it's displayed.
>
> In addition, if we continue to prohibit leading and trailing whitespace, I 
> think we would be able to allow whitespace in between filter steps, which 
> is a common annoyance for new users (but maybe I'm missing something there).
>
> I can't think of any situation in which someone would *want* leading or 
> trailing whitespace in a field name, except maybe to integrate with another 
> system which allowed it for some reason – as evidenced by the fact that the 
> GUI doesn't even let you create such a field. At any rate, it seems much 
> more confusing than helpful. Unix filenames have suffered enormously 
> <https://dwheeler.com/essays/fixing-unix-linux-filenames.html> from being 
> overly permissive in what characters they allow, including leading and 
> trailing whitespace; my instinct tells me this is likely to be a continuing 
> irritation.
>
> On the minus side, someone would of course have to implement checks to 
> prevent these fields from being added.
>

-- 
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/ab3945f3-ec40-46e3-ac77-0bd4af00c977n%40googlegroups.com.


[tw5] Re: Import tiddlers w/ json including custom fields

2021-08-18 Thread Joshua Fontany
The "Deserializer" for "application/json" files that are Objects (with 
minimum "title" field), or Arrays of such objects, does include a check to 
see if the value is a string:
```
if(typeof incomingFields[f] === "string") { fields[f] = incomingFields[f]; }
```
This is stripping out your other data.

I have a set of JSON tools that helps around this issue: 
https://chronicles.wiki/TW5-JsonMangler/

The worflow would be to drag& drop the JSON file into a wiki with the 
plugin installed, and use the Import tools in the JSON tiddler's toolbar to 
import each object as its own tiddler.

You can even map json field names to tiddler field names, and there's some 
other options.

Best,

Joshua Fontany
On Wednesday, August 18, 2021 at 12:45:50 PM UTC-7 springer wrote:

> JKM, 
>
> After putting quotes around your numbers (and fixing where a So-called 
> "smart" quote had crept in during my editing, sorry about my earlier post, 
> now deleted), both records import fine for me.
>
> I have found that raw numbers for field content (as in your kbarating 
> field) will not work; only data enclosed in quote marks seems to work.
>
> Note the field data (beyond title and text) doesn't show in the import 
> preview tiddler. But the data should be in there, as you can confirm by 
> entering edit mode for the tiddlers once imported.
>
> -Springer
>
> On Wednesday, August 18, 2021 at 2:22:26 PM UTC-4 jkm...@gmail.com wrote:
>
>> New member here.  Windows, TiddlyDesktop v0.0.14, TW 5.1.23
>>
>> I'm able to import tiddlers from json with the title and text fields.  
>> But when I try to do it with a custom field the import tiddler shows no 
>> items to import.  All my custom fields begin with *kba* and some 
>> additional alphanumeric characters.  The json is valid according to 
>> jsonchecker.com.  Is this permitted?  Do I need to enable a feature or 
>> preconfigure a system component?  I've done a few searches in the group but 
>> didn't see anything that applied.  All help is appreciated.
>>
>> Imports:
>> [
>>   {
>> "title": "19464",
>> "text": "How to change the default root password"
>>   },
>>   {
>> "title": "20508",
>> "text": "Best Practices"
>>   }
>> ]
>>
>> Doesn't import:
>> [
>>   {
>> "title": "19464",
>> "text": "How to change the default root password",
>> "kbalink": " https://www.someplace.net/ 19464",
>> "kbarating": 3,
>> "kbasev": 0,
>> "kbasource": "LKBA",
>> "kbastale": 0,
>> "kbatweak": "",
>> "kbatype": "How To"
>>   },
>>   {
>> "title": "20508",
>> "text": "Best Practices",
>> "kbalink": "https://www.someplace.net/20508";,
>> "kbarating": 5,
>> "kbasev": 0,
>> "kbasource": "LKBA",
>> "kbastale": 0,
>> "kbatweak": "",
>> "kbatype": "Info"
>>   }
>> ]
>>
>

-- 
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/0defbb9d-fd65-40c3-baa1-33e091f36f3en%40googlegroups.com.


[tw5] Re: I Think I Hacked TiddlyWiki

2021-08-18 Thread Joshua Fontany
I agree that there are a lot of possible open "attack vectors", and keeping 
track of every one is not feasable.

Good conversation so far. I think the primarily concern is that TW will run 
obfuscated javascript without a refresh required. That should have an 
option to "Sandbox" that behaviour somehow, and let superusers unlock it.

Thanks for the discussion!

Best,
Joshua Fontany

On Wednesday, August 18, 2021 at 9:44:03 AM UTC-7 Mark S. wrote:

> Really, it gets back to trust and reputation.
>
> A TW coder could write a tiddler that contains no javascript tiddlers, but 
> that, when run, creates a javascript  tiddler that will later get run. So 
> you would never see javascript code during import. The core TW is already 
> pretty huge. Adding patch after patch for each imagined scenario eventually 
> renders TW less and less useful.
>
> Also, it hasn't been demonstrated what harm could be done even if your 
> standalone code was infiltrated. Could keystrokes be sent back to a server? 
> Could file blocks be written anywhere other than the download directory? Of 
> course on node or especially on any multi-user platform things become more 
> hazardous.  In theory any server-based solution (e.g. node) could write to 
> your file system and possibly invoke code. In practice, I found it very 
> difficult to set up even when I wanted something like that.
>
>
>  
>
>
> On Wednesday, August 18, 2021 at 9:22:27 AM UTC-7 R² wrote:
>
>> Excellent points John. Most users will indeed not review the full text of 
>> every single tiddler they import. I'm now thinking that pointing out which 
>> ones should indeed be reviewed more explicitly would be both easy and 
>> worthwhile.
>>
>> At the tm-import-tiddlers widget level, any JS that's being imported 
>> could be flagged, with a simple highlight inviting the user to review the 
>> code before confirming the import when standard declared JS is detected, 
>> and a more insistent alert when the code is hidden or obfuscated (as in 
>> Finn's Base64 example). A simple exhaustive filter search should be able to 
>> cover all or most cases, including content-type=application/javascript, 
>> 

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread Joshua Fontany
As Saq mentioned, I am very close to a public beta of a real-time "live 
multiplayer" syncer build on top of TiddlyWeb/TiddlyWiki5 Server + 
Websockets + Yjs (Conflict Free Replicated Datatype library).

I took a lot of inspiration from Jed Carty's Bob Server setup, but so many 
of the internal changed during the Yjs integration that it has become its 
own thing. I need to get to a stable point in the refactoring to start 
sharing my progress.

Aside: I also noticed that if you "Close" an open draft tiddler with the 
`X` button, that it deletes the draft from the wiki, and this really 
disturbs drafts from other users that are being edited live note to 
self to file a bug report on that.

Best,
Joshua Fontany

On Tuesday, August 17, 2021 at 2:52:06 PM UTC-7 cj.v...@gmail.com wrote:

> I had not noticed cycled refreshing.  Thanks!  I must watch those 
> TiddlyWikis again.
>
> On Tuesday, August 17, 2021 at 5:07:31 PM UTC-3 saq.i...@gmail.com wrote:
>
>> Hi Charlie,
>>
>> On Tuesday, August 17, 2021 at 8:18:27 PM UTC+2 cj.v...@gmail.com wrote:
>>
>>> Say I have a TiddlyWiki running on node.js, and two people currently 
>>> viewing the same TiddlyWiki in their browsers.
>>>
>>> Say User 1 is editing a tiddler.  I'm thinking it would be cool if  User 
>>> 2 could know that User 1 is editing the tiddler (or that anybody is editing 
>>> the tiddler.)
>>>
>>
>> I think most of the basics for this are in place and just needs some 
>> cobbling together.
>>
>> Note that the nodejs server does synchronize tiddlers from client to 
>> server,  and from server to client. I believe the default refresh interval 
>> to get new changes from the server is about a minute if my memory serves me 
>> well.
>>
>>  If User 1 is editing a tiddler, that creates a Draft tiddler that will 
>> get sync'ed to User 2's wiki. This would appear as a red draft indicator at 
>> the bottom of the screen, though it could easily be used to display a 
>> message on the tiddler in question as well.
>>  
>>
>>> And/or, it would be cool if User 2 can get a notification that a 
>>> particular tiddler has changed (because of User 1's editing), and that User 
>>> 2 should refresh the browser to get that change if he/she wants it.
>>>
>>
>> The new tiddler should automatically get sync'ed from the server to User 
>> 2's wiki without need for a reload.
>>
>> Note that there is work underway on making the server to client sync 
>> instantaneous:
>> - https://github.com/Jermolene/TiddlyWiki5/pull/5279
>> - https://github.com/Jermolene/TiddlyWiki5/pull/5882
>>
>> Also, Joshua is doing some interesting work on implementing a real time 
>> multi-user feature.
>>
>> Regards,
>> Saq
>>
>

-- 
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/010763c6-d5f2-49e6-aa38-ffae0c856c81n%40googlegroups.com.


[tw5] Re: I Think I Hacked TiddlyWiki

2021-08-17 Thread Joshua Fontany
I am currently playing with "real-time multiplayer" capabilities for TW5, 
so this is an interesting security vulnerability to be aware of.

My primary concern was "what if a malicious user connected a MIS-IDENTIFIED 
wiki to a real-time server. It has a bunch of malicious tiddlers, and it 
DOES NOT have a bunch of tiddlers that exist in the server copy."

The real-time sync, once authenticated and authorized, would just 
absoloutely wreck the server-copy of the wiki in this instance.

Similarly, being able to some-how sync malicious javascript code, hidden in 
a data-uri to the server, which will sync it to all connected users is a 
concern...

Best,
Joshua Fontany

On Tuesday, August 17, 2021 at 10:12:13 AM UTC-7 TiddlyTweeter wrote:

>  Mark S. wrote:
>
>> That was one of the concerns with TWederation. You could import from 
>> someone you trusted who imported from someone they trusted who ... actually 
>> couldn't be trusted. It's kind of a hard problem.
>>
>
> *Right! *It IS an interesting issue. But *maybe as much an 
> anthropological issue as a technical one. *
> Suddenly tech switches into *"HOW CAN I TRUST?" *mode. 
> Despite the fact most everyone, well everyone, here (you, reading this) is 
> completely trust-worthy. 
> I think its a basic sociological fact that much of the internet is NOW 
> premised on the idea you can't trust anyone.
> It has led to a kind of "authentication gymnastics" that makes doing some 
> things very convoluted.
>
> Just rambles
> TT
>
>>
>> On Tuesday, August 17, 2021 at 8:13:42 AM UTC-7 saq.i...@gmail.com wrote:
>>
>>>
>>>> I'd be more concerned about people being tricked into importing a 
>>>> tiddler that contained code like this.
>>>>
>>>
>>> From my perspective this is the only practical concern, and once again 
>>> emphasizes the need to be careful when importing content from others. 
>>>
>>

-- 
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/cc9f0a92-b213-40eb-92fd-4dbf60246723n%40googlegroups.com.


[tw5] Re: TiddlyWikis on node.js: includeWikis: configuration BEFORE includes

2021-08-17 Thread Joshua Fontany
I also really dig the `includeWikis` setting, there's a lot possible with 
this type of "whole wiki transclusion".

One thing to note is that this feature was originally developed to allow 
Jeremy to have 2 different folders for specific editions.

For example, the `tw5.com` and `tw5.com-server` editions. The `-server` 
edition is setup as:

```
{
"description": "Server configuration of the tw5.com edition",
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight",
"tiddlywiki/mobiledragdrop",
"tiddlywiki/internals"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],
"includeWikis": [
"../tw5.com"
],
"config": {
"default-tiddler-location": "../tw5.com/tiddlers"
}
}
```

That "default-tiddler-location" setting is important, and it also interacts 
with the `*retain-original-tiddler-path*` setting in the `tw5.com` 
tiddlywiki.info file:

```
...
   ,
"config": {
"retain-original-tiddler-path": true
}
...
```

See 
: 
https://tiddlywiki.com/#tiddlywiki.info%20Files:%5B%5BCustomising%20Tiddler%20File%20Naming%5D%5D%20%5B%5Btiddlywiki.info%20Files%5D%5D%20HelloThere%20GettingStarted%20Community

Best,
Joshua Fontany

On Tuesday, August 17, 2021 at 6:25:03 AM UTC-7 cj.v...@gmail.com wrote:

> Boys o' boys, I really like the includeWikis 
> <https://tiddlywiki.com/static/tiddlywiki.info%2520Files.html> thing for 
> node.js TiddlyWikis.  I am an organization fiend, and includeWikis rocks.
>
> The only problem I've found is a need for a wee heads-up in the 
> documentation.  Maybe a conversation here can fill the gap.
>
> Scenario: 
>
>- TiddlyWiki A is meant to be included in other TiddlyWikis
>- TiddlyWiki B is setup to include TiddlyWiki A
>
> When I first started up and visited TiddlyWiki B after configuring its 
> tiddlywiki.info to include TiddlyWiki A, I immediately noticed that 
> TiddlyWiki B had the title for TiddlyWiki A.
>
> Changing the title for TiddlyWiki B wound up changing the title for 
> TiddlyWiki A, because TiddlyWiki B is including all the tiddlers from 
> TiddlyWiki A.
>
> So I:
>
>- reverted the title on TiddlyWiki A
>- modified TiddlyWiki B's tiddlywiki.info to not include TiddlyWiki A
>- started up, visited, and altered TiddlyWiki B's title
>- modified TiddlyWiki B's tiddlywiki.info to again include TiddlyWiki A
>- stopped, restarted, and visited TiddlyWiki B, and all was well 
>title-wise
>
> When setting up a TiddlyWiki on node.js, configure everything that will be 
> unique to that tiddlywiki before including other TiddlyWikis.
>
> If any configuration of TiddlyWiki B needs to happen after having included 
> TiddlyWiki A, best to follow the steps in the bulleted list above.
>
> Please note: there is no problem here.  Nothing that needs to be fixed.  I 
> believe all of that is A-1.  It is just an "admin" process, and folk should 
> have an awareness of 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/60ac5a57-ef8c-495f-95ba-77b23d69e739n%40googlegroups.com.


[tw5] Re: How can I prevent TW from trimming leading space in field transclusion?

2021-08-15 Thread Joshua Fontany
We've found a bug!

The wikitext parser object always tries to read Pragmas from the beginning 
to parse a text, and this _always_ trims whitespace from the text (moves 
the parser position past any leading whitespace).

The $:/core/modules/parsers/wikiparser/wikiparser.js module needs to 
updated.

The Parser's `this.skipWhiteSpace =` method needs to check the 
`this.configTrimWhiteSpace` value before moving the parser position, or 
reset the parser position if no pragmas are read, etc.

This type of change should definitely have Jeremy's eye on it.

I am terribly busy at work, so I will come back and file a Bug/Issue on 
GitHub if no-one else can.

Best,
Joshua Fontany

On Sunday, August 15, 2021 at 10:34:41 AM UTC-7 Misterel85 wrote:

> Yay, it works!!! Thank you very much for your quick reply and your simple 
> and straightforward solution, Eric!
> After a bit of trial and error, I could adapt it to my TiddlyWiki.
> No need for an   anymore indeed.
> Thanks again to all of you for your help, solutions, explanations and 
> suggestions.
>
> Best,
> -Stéphane
>
> Le dimanche 15 août 2021 à 18:01:55 UTC+2, Eric Shulman a écrit :
>
>> On Sunday, August 15, 2021 at 7:10:39 AM UTC-7 Misterel85 wrote:
>>
>>> I first thought there would have been a more straightforward solution to 
>>> that issue, but actually I come to think that it should be possible to 
>>> inspect the first character in the contents of field 2:
>>> If value of field2 starts with space, then insert ` ` between the 
>>> transclusions, else just proceed with both transclusions.
>>>
>>
>> Try this:
>> <$transclude field="field1"/><$text text={{{ 
>> [{!!field2}split[]first[]match[ ]] }}}/><$transclude field="field2"/>
>>
>> Notes:
>> * The {{{ [...] }}} is a "filtered transclusion"
>> * The filter starts by getting the value of the desired field, using 
>> {!!field2}
>> * It then splits that value into separate characters, using split[]
>> * Next, it gets just the first character, using first[]
>> * and compares it with a space, using match[ ]
>> * The result of the filter is either nothing, or an actual space 
>> character (not an  )
>> * The <$text> widget then converts the output to plain text (instead of 
>> displaying a link to a space!)
>>
>> 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/c0b2ac10-6318-4699-9110-37f7a580e5f7n%40googlegroups.com.


[tw5] Re: How can I prevent TW from trimming leading space in field transclusion?

2021-08-14 Thread Joshua Fontany
Hi Misterel85,

This behaviour is found 
in https://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fwidgets%2Ftransclude.js


```
/*\
title: $:/core/modules/widgets/transclude.js
type: application/javascript
module-type: widget

Transclude widget \*/
...
var parser = this.wiki.parseTextReference( this.transcludeTitle, 
this.transcludeField, this.transcludeIndex, { parseAsInline: parseAsInline, 
subTiddler: this.transcludeSubTiddler })
...
```

And we can lookup the `wiki.parseTextReference` method 
here: https://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Fwiki.js

and see that it uses the `parseText' method. This means we actually need to 
look at the *$:/core/modules/parsers/wikiparser/wikiparser.js* module, 
where we find:

```
/*
Push a text widget onto an array, respecting the configTrimWhiteSpace 
setting
*/
WikiParser.prototype.pushTextWidget = function(array,text) {
if(this.configTrimWhiteSpace) {
text = $tw.utils.trim(text);
}
if(text) {
array.push({type: "text", text: text}); 
}
};
```
Now we are getting somewhere. Searching the system tiddler for 
*configTrimWhiteSpace* gives us 
*$:/core/modules/parsers/wikiparser/rules/whitespace.js*

Where we see the 2 pragma defined as:
```
\whitespace trim
\whitespace notrim
```

AHA!

Now we know that if we put the "pragma" of `\whitespace notrim` at the very 
beginning of any Tiddler's text field, then all parsers in that tiddler 
will not trim whitespace when parsing text.

Try *\whitespace notrim* before your other wikitext.

Best,
Joshua Fontany

On Saturday, August 14, 2021 at 1:28:56 PM UTC-7 Misterel85 wrote:

> How can I prevent TW from trimming leading space in field transclusion?
>
> When transcludings two fields one after the other, for instance:
>
> `<$transclude field="foo" /><$transclude field="bar" />`
>
> if the value of field "bar" starts with a space, that space is 
> automatically removed in the transclusion.
>
> In this example the successive transclusions of:
>
> "foo"=> "This is foo"
> "bar"=> " and this is bar."
>
> render as:
>
> "This is fooand this is bar."
>
> Inserting a trailing space in "foo" or a ` ` between the two 
> transclusions is not an option for me.
> Placing a ` ` at the beginning of the value in the second transcluded 
> field works, but that's a bit of a hassle with multiple transclusions.
>
> Why does TW behave so and what is needed to achieve the result I am 
> looking for (a kind of 'untrim' operator)? 
>
> Sorry if that question seems trivial or was already asked before.
>
> -Stéphane L.
>

-- 
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/a77cfb02-7841-438f-89fa-463643fe2a8bn%40googlegroups.com.


Re: [tw5] Re: Better indexes through semantic modeling

2021-08-14 Thread Joshua Fontany
Good discussion. I have been experimenting with dynamically generating 
Indexes from individual Tiddlers in my Martial-Arts wiki.

https://silat.chronicles.wiki/#Glossary

I had to set that aside for my real-time multiplayer experiments, but hope 
to get back to UI work soon.

Best,
Joshua Fontany

On Friday, August 13, 2021 at 9:21:46 AM UTC-7 springer wrote:

> Ah, I believe that techniques like "extracting introductions" might even 
> have developed in tandem with a need I had, way back -- to have a list of 
> "quick definitions" that displayed only the title and first line of each 
> definition-tagged tiddler while dropping any further content of text field 
> (examples, discussion). That technique started back in TW Classic days, 
> though, before we *had* such powerful use of fields!
>
> Mostly I'm leaning toward using fields now for any kind of structured info 
> (such as summary), and transcluding those fields (or using distinctive 
> ViewTemplate sections) as needed. 
>
> Still, there's something to be said for the writing practice of crafting 
> the first line of an entry to serve as a helpful summary (often revised 
> after writing out the actual content). For certain use-cases, that kind of 
> discipline helps both readers and writers, and of course it's especially 
> compatible with off-the-shelf search behavior.
>
> -Springer
> On Friday, August 13, 2021 at 12:08:24 PM UTC-4 Mohammad wrote:
>
>> Hi Springer!
>> The conditional summary needs a summary field! This is what Soren 
>> explained and is a good approach!
>>
>> I mean Extracting Introduction From Tiddlers: 
>> https://tobibeer.github.io/tb5/#Extracting%20Introductions%20From%20Tiddlers
>> It lets you use the same standard searchbox!
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Fri, Aug 13, 2021 at 8:31 PM springer  wrote:
>>
>>> Mohammad, By "Tobias Beer's method" do you mean the one here:
>>> https://tobibeer.github.io/tb5/#Conditional%20Summary
>>> ?
>>>
>>> That's quite similar to what I use. In fact, I like to create visually 
>>> distinctive ViewTemplate sections for various fields, iff the fields are 
>>> populated. Since I often use tiddlers to hold excerpts, and want to put 
>>> nothing in the text there field apart from the excerpt itself, a 
>>> conditional view template for the "notes" field --  displaying in a 
>>> contrasting box below the text content if and only if I've added notes -- 
>>> was the first such field-based auto-include that I found indispensable. 
>>>
>>> -Springer
>>>
>>> On Friday, August 13, 2021 at 7:43:09 AM UTC-4 Mohammad wrote:
>>>
>>>> Springer
>>>>
>>>>
>>>> On Thu, Aug 12, 2021 at 4:01 AM springer  wrote:
>>>>
>>>>> Soren,
>>>>>
>>>>> In your "better indexes" essay you write:
>>>>> If we do have the full text included in each locus, we may want to 
>>>>> write a summary anyway and store it along with the full text: this way, 
>>>>> we’ll be able to create an outline later and more easily see what parts 
>>>>> of 
>>>>> the document we’re hopping between.
>>>>>
>>>>> And it reminds me how certain enlightenment texts were printed with a 
>>>>> running outer-margin summary distilling key points (and of course the 
>>>>> cognitive work of spelling out those side-notes is considerable!). For 
>>>>> example, see the side-notes starting at p 49 (pdf-pagination) on this 
>>>>> Adam 
>>>>> Smith manuscript: 
>>>>> https://oll-resources.s3.us-east-2.amazonaws.com/oll3/store/titles/237/0206-01_Bk.pdf
>>>>>
>>>>> For some tiddlywiki projects, I've started to employ a super-condensed 
>>>>> summary field (call it, say, the tldr field) that can be displayed for 
>>>>> certain purposes. Unlike the main body of the tiddler, the tldr is 
>>>>> text-only, maximum of a single sentence. (And if I can't summarize the 
>>>>> tiddler in one sentence, then it needs to be more than one tiddler. ;) ) 
>>>>> Of 
>>>>> course, the fact that tw's standard search interface doesn't peek beyond 
>>>>> title and text field means this solution requires some building-around to 
>>>>> be useful. 
>>>>>
>>>>
>>>> I would recommend Tobias Beer method for creating 

[tw5] Re: 3D file preview?

2021-08-11 Thread Joshua Fontany
Including 3d files in a wiki is a really neat idea. Man, I wish I had more 
time. Replaying so I can find the thread later. ;)

Best,

Joshua Fontany

On Wednesday, August 11, 2021 at 3:58:15 AM UTC-7 Ste wrote:

> There is also this as part of the plugin:
>
>
> http://rboue.tiddlyspot.com/#%24%3A%2Fplugins%2Frboue%2FThree.js%2FLib%2FLoaders%2FSTLLoader.js
>
> On Tuesday, 10 August 2021 at 21:15:56 UTC+1 Alex Davies wrote:
>
>> There there needs to be what, a display widget and and a parser?
>>
>> On Tuesday, August 10, 2021 at 1:57:39 PM UTC-3 Ste wrote:
>>
>>> There is this :
>>> http://rboue.tiddlyspot.com/#Three.js%2Fintroduction 
>>>
>>> Which has, I think, the ability to display STL files. 
>>> It's been on my to do list to look at and have a go but... 
>>>
>>>
>>>
>>> On Tuesday, 10 August 2021 at 16:30:00 UTC+1 Alex Davies wrote:
>>>
>>>> I'd really like to be able to include STL files in my tiddlywiki, but 
>>>> actually supporting a new file type is a bit beyond me. It seems like it 
>>>> would be entirely doable using threejs, but a bit more challenging to make 
>>>> it happen "automatically" so that tiddlywiki doesn't try to show me 
>>>> several 
>>>> MB text files.
>>>>
>>>> Any thoughts on how that could be accomplished? Something to do with 
>>>> mime type detection?
>>>>
>>>

-- 
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/84bc201e-d918-470d-be27-bd5d49139219n%40googlegroups.com.


Re: [tw5] Re: Dreaming of "TidEdit", an in-browser TiddlyWiki WikiText editor

2021-08-08 Thread Joshua Fontany
If you want to skip loading a TW into memory, and just work on TID files, I 
would actually suggest VSCode and my TW5 Syntax plugin:

https://marketplace.visualstudio.com/items?itemName=joshua-fontany.tw5-syntax

This has hot-key shortcuts that allow you to create the block of metadata 
(created/creator, etc), or update a modified timestamp with a hotkey.

The workflow is literally: New file -> .tid, hotkey for meta-data -> tab 
between titlke, creator, etc, tab to go to Text field.

Best,
Joshua Fontany
On Saturday, August 7, 2021 at 11:36:17 PM UTC-7 cj.v...@gmail.com wrote:

> Nah, Chromebook.  Half-a-dozen TiddlyWikis.  All on Google Drive and 
> accessed with TiddlyDrive.  I don't really want to have all of them open 
> all day for whenever I might have a thought.
>
> I much prefer throw notes in quickly loaded small/distraction-free apps, 
> so it is just a quick trip to the computer while I put chores/whatever on 
> hold for just a second.  Later when I can sit down, I can do the TiddlyWiki 
> work.
>
> Skrifa 
> <https://chrome.google.com/webstore/detail/skrifa-chrome/pfdkhjakblfafmapniifbpkjblgolipd?hl=en>
>  seems 
> like the right tool for the job for quick-note taking, when I want a little 
> formatting to quickly organize more complicated notes.  Otherwise Google 
> Keep or Gmail or Google Calendar for short/simple text notes.
>
> The Skrifa notes, the HTML for them can be copied into TiddlyWiki as-is.  
> Not as convenient as having a "TidEdit" app, but it is quick and TW handles 
> the HTML natively (i.e. don't need a plugin like I would if I was pasting 
> markdown text into my tiddlers.)
>
>
>
> On Sun, Aug 8, 2021 at 3:16 AM maki aea  wrote:
>
>>
>> hi i'm guessing you're on android? i'm on an old iphone and i basically 
>> have tiddlywiki open all day using quine2. been using saq's streams lately 
>> with a tweaked shortcut to save tiddler+stream, shift+z. works really well 
>> for quick notetaking on ios. have customised the layout quite a bit ( 
>> http://makiaea.org ) for mobile but the heavy lifting is from streams 
>> and shift+z. hope you can find something that works for you
>> On Saturday, August 7, 2021 at 6:47:34 PM UTC+1 cj.v...@gmail.com wrote:
>>
>>> I just found a better reference (i.e. in-browser simple text editor):  
>>> https://browserpad.org/
>>>
>>> That one knows filename when opening a file, and remembers that filename 
>>> on "save" ("save/export", in my mind.)
>>>
>>> If that thing had TW formatting buttons and a preview pane, it would be 
>>> exactly what I'm looking for. (Well, I wouldn't want the spell-checking 
>>> check box, nor that github button in the bottom-right.) 
>>>
>>>
>>>
>>> On Saturday, August 7, 2021 at 1:41:35 PM UTC-3 Charlie Veniot wrote:
>>>
>>>> In regards to open and save *(just for 
>>>> reference:  https://www.outpan.com/app/e7d5b37405/mytextarea 
>>>> <https://www.outpan.com/app/e7d5b37405/mytextarea>)* ...
>>>>
>>>> I'm thinking an open button like the one in that editor, and an 
>>>> export/save button that works exactly like the tiddler export button in 
>>>> TiddlyWiki, with just the TID option or with more/all options.
>>>>
>>>> So no save mechanisms.  Just enter WikiText-à-la-TiddlyWiki, preview, 
>>>> and click export as TID.
>>>>
>>>>
>>>> Whenever I just want to take down a quick note, TiddlyWiki is rarely my 
>>>> first choice.  Using my Chromebook, I typically go to Gmail or Google 
>>>> Keep, 
>>>> or even Google Calendar, first.
>>>>
>>>> Having a small HTML page, i.e. TidEdit app, available to me, I could 
>>>> see myself going there first when I want to take down a note that is 
>>>> slightly more substantial organization-wise, but not so substantial that I 
>>>> want to open a TiddlyWiki (which I keep on Google Drive, using the 
>>>> TiddlyDrive add-on app.)  So a bit like a simple text editor, but a little 
>>>> bit StackEdit-like, with a way to get the content into a TID.
>>>>
>>>> With something like that, I might actually use my small+old smartphone 
>>>> for more than just phone and text-messaging...
>>>>
>>>> On Saturday, August 7, 2021 at 1:01:22 PM UTC-3 Charlie Veniot wrote:
>>>>
>>>>> Define backward.
>>>>>
>>>>> To me, it is like the difference between a small text editor and a 
>

Re: [tw5] Re: A Crazy Idea I had for a Plugin!

2021-08-07 Thread Joshua Fontany
This is a really neat idea. I am terribly busy at work, and also with my 
TW5 "multiplayer" experiments, but this seems worth following. I may be 
able to help in a few weeks.

Best,
Joshua Fontany

On Tuesday, August 3, 2021 at 3:40:23 PM UTC-7 TW Tones wrote:

> Flanc...
>
> I will join up but the area you need help in is not my own. 
>
> I have intentionally focused on understanding tiddlywiki as a designer or 
> superuser without recourse to Javascript to solve problems. I am keen on 
> promoting democratisation of software through tiddlywiki and relying on 
> Javascript solutions, is not part of a totally open platform, although its 
> presence is important.
>
> Not withstanding this, I can help in many ways, I am sure.
>
> The key is for you to learn how to create macros or widgets that "export" 
> the functionality within javascript code into tiddlywiki in a way that it 
> honour's TiddlyWiki mechanism's, which is where all the magic happens.
>
> Checkout https://tiddlywiki.com/dev/ if you have not yet, and Javascript 
> development questions may be best put here 
> https://github.com/Jermolene/TiddlyWiki5/discussions
>
> Regards
> Tones
>
>
> On Wednesday, 4 August 2021 at 00:54:06 UTC+10 flanc...@gmail.com wrote:
>
>> @TW Tones, It would be great to have your help! 
>>
>> As stated, you need not have much programming experience, I am just 
>> looking for someone more familiar with TW and specific TW syntax for making 
>> the plugin. From what I have seen, plugins use a specific form of JS (
>> https://tiddlywiki.com/dev/static/How%2520to%2520create%2520plugins%2520in%2520the%2520browser.html).
>>  
>> I can cover the logic portion of the JS code myself, as long as someone can 
>> make that vanilla JS actually run in TW5.
>>
>> In the meantime, I will add you to the repo as a contributor with full 
>> privileges. 
>>
>> Thanks so much!
>>
>> On Tue, Aug 3, 2021 at 8:29 AM TW Tones  wrote:
>>
>>> I would love to help but may not have the skills, 
>>>
>>>- however I recently found the google speech to text is excellent 
>>>and the Microsoft desktop one unusable. 
>>>- So it is trivial to used other apps or tiddlywiki on my android 
>>>phone to dictate into tiddlywiki. Great for English, but perhaps useless 
>>>for wiki code.
>>>- Of course it would be great if it can be deeply integrated with 
>>>tiddlywiki, however I question if the effort would be better applied to 
>>>improving a workflow between android and ones desktop tiddlywiki's.
>>>- I am sure there must be browser plugins, or applications that can 
>>>operate on top of the browser so you do not have to maintain a separate 
>>>solution. Just document it well for users. Then the solution would have 
>>>even broader applicability.
>>>
>>> Regards
>>> Tones (AnthonyMuscio on GitHub) *AnthonyMuscio.github.io 
>>> <https://AnthonyMuscio.github.io>*
>>> On Tuesday, 3 August 2021 at 22:13:44 UTC+10 flanc...@gmail.com wrote:
>>>
>>>> Good Day to You All:
>>>>
>>>> Yesterday, I had my first day of school after the Summer Break, and 
>>>> quickly grew bored of taking notes while my professors talked. I had the 
>>>> bright idea of creating a quick script to DO the notes FOR ME, which is 
>>>> now 
>>>> open-sourced at https://github.com/flancast90/NoMoreNotes, leveraging 
>>>> the free Google Speech-To-Text API (no key needed, somehow).
>>>>
>>>> All of that got me thinking: What other uses could I find for this 
>>>> technology, particularly in Web-Dev (my main area of interest)? This 
>>>> morning, I then thought: What would Speech-To-Text look like in TW5?
>>>>
>>>> I have now taken the liberty of making a repo on github to make this 
>>>> idea a reality, at https://github.com/flancast90/Speech-To-Text-in-TW5/, 
>>>> but I do not have the TW-plugin syntax to do this. 
>>>>
>>>> I would really appreciate it if anyone in this group would lend their 
>>>> expertise whom I could as a collaborator on the repo, where they could 
>>>> cover the plugin UI (buttons on sidebar, etc.), while I could add the 
>>>> logic 
>>>> for the speech to text behind them. 
>>>>
>>>> Anyone interested in this, please feel free to leave your Github 
>>>> username (so I can add you), and I will elaborate more on the idea in the 
>

Re: [tw5] Re: Picture based tiddlers

2021-07-31 Thread Joshua Fontany
There is work in progress to handle a "file upload plugin" that can be used 
with various backends (Node.js TW, and TiddlyWiki-onFission being the first 
2).

Discussion thread 
here: 
https://talk.fission.codes/t/tiddlywiki-file-upload-plugin-webnative-ipfs-funded/1926

Best,
Joshua Fontany

On Saturday, July 31, 2021 at 1:38:06 PM UTC-7 ludwa6 wrote:

> +1 the Imgur idea- my goto site for image hosting.  Easy upload via 
> mobile, easy to link your choice of output formats… And a RESTful API 
> <https://api.imgur.com/>that should be easy enough to integrate, right? 
>  If it’s beta testers you want, count me in!
>
> /walt
>
> On Saturday, July 31, 2021 at 7:39:42 PM UTC+1 flanc...@gmail.com wrote:
>
>> Great Ideas so far. From a developer standpoint, I can recommend the 
>> Imgur API for integration. Not only does it give flexibility and a high 
>> number of photo uploads per day, but it is also relatively easy to use and 
>> combine with existing technologies (ie tiddlywiki in this case.) 
>> I would love to build a JS plug-in or tool for TW with this, if any of 
>> you are interested. 
>>
>> On Sat, Jul 31, 2021 at 9:45 AM 'Mark S.' via TiddlyWiki <
>> tiddl...@googlegroups.com> wrote:
>>
>>> TW isn't really suited for dealing with photos on a regular basis.
>>>
>>> The problem is that even a single high-res photo will bog down your TW 
>>> experience, especially saving and loading. Which means you need to 
>>> externalized your images. Externalizing your images means exporting your 
>>> images to some place accessible by TW, and then re-importing as URLs. There 
>>> isn't any smooth, automated way to do all this. I've been looking and 
>>> experimenting for awhile, but with only mixed results. The ideal solution 
>>> wouldn't require a user to do more than click on an "archive" button to 
>>> convert a tiddler to an external image. And I guess there would need to be 
>>> a reverse button, since AFAIK you can only draw on an embedded image. 
>>>
>>> On Saturday, July 31, 2021 at 5:00:16 AM UTC-7 TiddlyTweeter wrote:
>>>
>>>> VERY interesting post.
>>>>
>>>> TW is well suited for it with a bit of tweaking ... 
>>>>
>>>> Much of the issue is how you have your OS setup??? I do screen capture 
>>>> vis OS on Android, Chromebook and PC desktop no problem.
>>>> And then import.
>>>>
>>>> WHERE TW gets interesting to me in the OP is engaging PEN input into 
>>>> the editor or into image tiddlers after capture.
>>>> ALL I do is scale the box full screen --- as for pen accuracy, you need 
>>>> a decent sized canvas.
>>>>
>>>> Ask if you want particulars.
>>>>
>>>> Best
>>>> TT 
>>>>
>>>> On Saturday, 31 July 2021 at 11:58:05 UTC+2 e.arnol...@gmail.com wrote:
>>>>
>>>>> Hi all
>>>>>
>>>>> I'm interested in using TW5 for my daily note taking. I very often 
>>>>> takes notes with images. Sometimes the image is the only note.
>>>>> Picture taking should be well integrated.
>>>>>
>>>>> Is TW5 well suited for this task?
>>>>> Are there plugins for quick picture taking?
>>>>> How well would performance be with several hundred pictures?
>>>>>
>>>>> Thank you for your answer in advance.
>>>>>
>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/56d23046-449c-4db2-905b-1bd2188e62d0n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/56d23046-449c-4db2-905b-1bd2188e62d0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/b8944039-1871-46b6-abeb-a919db9642afn%40googlegroups.com.


Re: [tw5] Re: Just the UI of tiddlywiki

2021-07-18 Thread Joshua Fontany
I am getting very close to a "multiplayer" solution. It's definitely one of 
the "Hard Problems": https://gigaom.com/2009/05/10/why-sync-is-so-difficult/

Best,
Joshua Fontany

On Friday, July 16, 2021 at 5:59:57 AM UTC-7 ludwa6 wrote:

> @PMario: just to say thanks (again!) for sharing another treasure of the 
> TW world -TiddlyWeb API Explorer 
> <https://tank.peermore.com/tanks/tiddlyweb/explorer> in this case. 
> As per my post to this other thread 
> <https://groups.google.com/g/tiddlywiki/c/1TtXjYSGbPw>,  it opened my 
> eyes to the possibility of an OpenAPI Explorer in TW -and i'd love to know 
> what you think about that, either in that other thread or via DM (this 
> one's really not about that).
>
> On this topic, i can only say: i share Xavier's interest in the idea of 
> connecting TW as front end to a backend server with muli-user / multi-edit 
> capability.  Of course that old problem of edit conflict avoidance/ 
> resolution would need to be solved, but i have trouble accepting that as a 
> real stopper in this day&age -although from what i gather (from email 
> exchange with dev Chris Dent), TiddlyWeb is not likely to be the place 
> where such functionality will emerge.   If there be some other place to 
> look for solutions, it'd be great if someone could share info about that 
> here!
>
> /walt
>
>
> On Wednesday, July 14, 2021 at 1:51:49 PM UTC+1 PMario wrote:
>
>> On Wednesday, July 14, 2021 at 1:38:46 PM UTC+2 somen...@gmail.com wrote:
>> ...
>>
>>> I will look into the code but it's a pitty to be TW2. Perhaps someone 
>>> could point to me where is the code of the UI in the code of official 
>>> tiddlywiki5. 
>>>
>>
>> Hi Xavier,
>>
>> I think there is a bit of a misunderstanding how TiddlyWiki works. ... 
>> TiddlyWiki is a self-contained single file wiki. ... No server is needed 
>> other than for serving a 
>> single file resource. 
>>
>> TLDR;
>> I think it would be good, if you explain a bit closer what you want to 
>> do. 
>>
>> --
>>
>> If you open tiddlywiki.com it's served from a github page as a single 
>> 6MByte index.html file. ... Since github does server side compression only 
>> about 2Mbyte are sent to the client. 
>>
>> Everything you see UI wise is rendered on the client. ... It would be the 
>> same experience if I would send you myWiki.hmtl by e-mail. 
>>
>> If I "permalink" to eg: https://tiddlywiki.com/#HelloThere  the browser 
>> will open the HelloThere tiddler, because the whole content is already in 
>> the client. No server is involved, the core code "catches" the URI fragment 
>> and displays the tiddler.
>>
>> -
>>
>> A TiddlyWeb server will also "only" create a single resource if you 
>> request https: //your-uri/index.html ... It will build the html file server 
>> side and send it as 1 file, that contains code, UI and data to the client. 
>>
>> The advantage of TiddlyWeb is, that you also have some API routes that 
>> will let you request recipes, bags and single tiddlers, without any TW UI 
>> as text or JSON. There is a query language with which you can do server 
>> side search. 
>>
>> The TW UI is about 2100 elements. If you download empty.html form 
>> tiddlywiki.com you can open the *$:/ControlPanel : Info : Basic* : tab 
>> and have a look a the "*Number of shadow tiddlers*": 2088 ... Most of 
>> them are responsible for the TW js core and UI. The whole TW UI is built 
>> using TW wikitext and tiddlers. 
>>
>> -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/27e9644f-2955-4b9e-9669-c39204a8d5a5n%40googlegroups.com.


[tw5] Re: OpenAPI Explorer in TW

2021-07-18 Thread Joshua Fontany
Hi walt,

A french ebook company worked with Jeremy to develop plugins that allow you 
to dynamically render only the text that is "onscreen", and also allows you 
to highlight a section of text & leave annotations attached to that 
highlight.

See: https://groups.google.com/g/tiddlywiki/c/_VLufc4Svp8/m/jALzYZ09BAAJ

Have fun.
Best,
Joshua F

On Thursday, July 15, 2021 at 9:10:22 AM UTC-7 ludwa6 wrote:

> Catching up on TW news (busy times down here on the farm!), i was rewarded 
> by yet another serendipitous find in this little gem from Mario 
> <https://groups.google.com/g/tiddlywiki/c/ODEleDkUOss/m/pW7AmKJmBwAJ>, 
> with an embedded link to the TiddlyWeb API Explorer 
> <https://tank.peermore.com/tanks/tiddlyweb/explorer> -what looks on the 
> face of it like just the solution to the biggest problem i've got sitting 
> on my desk right now. 
>
> The problem is: the farmOS system <https://farmos.org/> i use for 
> operational record-keeping is undergoing a major upgrade to version 2.0; 
> this presents a data migration challenge for me & the agronomist i'm 
> working with that would be greatly facilitated by an API Explorer.  Good 
> news is: farmOS has an OpenAPI that can be easily explored using this 
> open-source farmOS.py library <https://github.com/farmOS/farmOS.py> -by 
> anyone with adequate python chops, that is.  If only that were me!  But 
> really: wouldn't it be so much nicer to explore the API using something 
> like that TiddlyWeb API Explorer -a python project, as it happens.
>
> So following Mario's pointer, i reached out to developer Chris Dent, who 
> confirmed: not only is interface written in TW Classic, it is moreover >7 
> years old now, and he has had nothing to do w/ it (or TW, for that matter) 
> in the years since (typical story of funding having run out).  Finally: 
> code being targeted to the TiddlyWeb API itself -which uses the same 
> OpenAPI standard, but is a very different data model- it's a project that 
> the developer has no capacity to take on right now. Still: source code is 
> online <https://github.com/tiddlyweb> and available for anyone to run 
> with. 
>
> All that being said: i'm just captivated by the notion of using TW5 as the 
> ultimate OpenAPI Explorer.  In such a front end, one might not only browse, 
> but also mark-up and annotate such a typically complex document, writing & 
> sharing comments & scripts in a most digestible & reusable form. 
>
> So while i believe the developer that this would be no trivial 
> undertaking, i am sufficiently intrigued by the possibility that i have to 
> tap this collected wisdom here just to ask: Do you think like me that TW5 
> would make a very good OpenAPI Explorer? Whether using any of this code or 
> some other language, i'd just like to know if this is a likely prospect, or 
> just my wishful thinking, over-estimating the synergy between these 
> softwares.  ?
>
> /walt
>

-- 
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/437e3b48-9c6e-4ee6-beb0-c479943ad062n%40googlegroups.com.


Re: [tw5] An interactive questionnaire in TiddlyWiki

2021-07-14 Thread Joshua Fontany
Wow, that is an impressive set of new tools/techniques and a good cause. 
Thanks for sharing!

Best,
Joshua F

On Wednesday, July 14, 2021 at 4:37:19 AM UTC-7 jeremy...@gmail.com wrote:

> Thanks Tones!
>
>
> On 14 Jul 2021, at 12:30, TW Tones  wrote:
>
> Did you take any steps to insert page breaks in the generated document, or 
> do you leave this to the user once the document is created?
>
>
> No, I didn’t try anything like that, it would be interesting to experiment 
> more to discover how much HTML is actually understood by Microsoft Word.
>
> Best wishes
>
> Jeremy
>

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


[tw5] Re: [ Streams ] Version number changes

2021-07-11 Thread Joshua Fontany
That looks fantastic and may prevent me from typing "stash this" a bunch of 
times in my commit messages. ;) Thanks.

Best.
Joshua F

On Friday, July 9, 2021 at 2:07:16 PM UTC-7 saq.i...@gmail.com wrote:

> @pmario I can relate.. if I had to manually craft change logs from scratch 
> that would likely take up all the time I have for TW tinkering.
>
> If you use the Conventional Commits spec for your commit messages, there 
> are a lot of tools that can help generate changelogs:
>
>
> https://www.conventionalcommits.org/en/v1.0.0/#tooling-for-conventional-commits
>
> I am using Standard version 
> <https://github.com/conventional-changelog/standard-version>, though I 
> use it only to bump the version files, and generate the changelog. You can 
> configure which steps you want it to skip. I commit the changes and create 
> the git tag myself. This also allows me to review and hand massage the 
> changelog if needed. What is great is that the tool is smart enough not to 
> clobber your manual changes when you create the changelog for the next 
> version.
>
> Standard version uses the underlying conventional changelog library which 
> also has a lower level CLI: 
> https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-cli
>
> Personally I think the Conventional Commits spec works well for TW 
> plugins. It forces you to try to write a user friendly first line for your 
> commit message, and technical details can go in later lines (the body). 
> Each commit message starts with a type, eg fix, feat, docs. And you can 
> specify those yourself and also decide which ones end up in the changelog.
>
> Some of the other tools from conventional-changelog may be of interest as 
> well:https://github.com/conventional-changelog
>
> There may be better tools out there but I've been using these for some 
> time on other projects so I am very used to them and have found them 
> reliable.
>
> Cheers,
> Saq
>
> On Friday, July 9, 2021 at 10:41:53 PM UTC+2 PMario wrote:
>
>> Hi Saq, 
>> Didn't know about Conventional Commits. Looks good. 
>>
>> How did you create your changelog? 
>>
>> I'd be interested in a similar workflow for my own plugins. 
>> At the moment I'm manually creating my change logs, which is a lot of 
>> "boring" work
>> -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/82e173c5-a3a1-4816-bfe7-d34ab4eeacefn%40googlegroups.com.


Re: [tw5] Re: Filter question: how to convert current tiddler title into a title list format

2021-06-23 Thread Joshua Fontany
Hi mehequeda,

You will want to read up on the 
"ListOps": https://tiddlywiki.com/#ActionListopsWidget

Best,
Joshua Fontany

On Tuesday, June 22, 2021 at 10:49:45 PM UTC-7 mehequeda...@gmail.com wrote:

> Thanks Saq, Tones and Jeremy, it was hidden in plain sight.
>
> The reason I need this is a design decision of some zettlekasten-like 
> features I'm implementing in my wiki. For example, tiddlers tagged with 
> Source are the books, articles, or other sources of concepts I want to 
> track and I've modified the view template to show some fields and 
> references to related things in a footer:
> [image: image.png]
> Now, I'm introducing buttons to create related tiddlers that have the kind 
> of relationship of the corresponding tab. Sometimes that means copying 
> current title in the author field. But in some case I need to set current 
> title in title list format because of the meaning of the field. For 
> example, a concept might have two authors.
>
> BTW, this is pretty much inspired by the amazing Soren's zettlekasten. 
> Thanks Soren!
>
> --
> Sebastián
>
>
> On Wed, Jun 23, 2021 at 2:20 AM TW Tones  wrote:
>
>> mehequeda,
>>
>> I am curious why you need to do this. Since titles are the key to all 
>> tiddler there handling as titles is innate to TiddlyWiki and the need to 
>> generate a title with the delimiters [[ and ]] is rare. An example would be 
>> using the listops functions and operators where this is handled 
>> automatically. Tiddlywiki finds or adds delimiters automatically in many 
>> cases for title handling, consider  else{!!title} used in a filter, the 
>> output will not split a tiddler title containing spaces into separate words.
>>
>> Regrads
>> Tones
>>
>> On Wednesday, 23 June 2021 at 07:10:04 UTC+10 mehequeda...@gmail.com 
>> wrote:
>>
>>> Hello wise tiddlywiki users,
>>>
>>> Let's say I want to convert the current tiddler title into list format. 
>>> For example:
>>>
>>>- For a tiddler named CamelCased, this is either CamelCased or 
>>>[[CamelCased]] (I prefer the format but I can settle with the latter)
>>>- For a tiddler named Name with spaces it must be [[Name with 
>>>spaces]]
>>>
>>> I'm stuck with trying to add squared brackets conditionally 
>>> [all[current]regexp[\s]addprefix[[[]addsuffix[]]]else{!!title}] because 
>>> that's not the right syntax for adding the brackets and also because this 
>>> feels common enough that it should be some easier way to "escape" a string 
>>> to a title list format.
>>>
>>> Do you know how to get it?
>>>
>>> -- 
>> 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/S5LM0L5ZVRo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/e971bff9-cdf0-407a-bc6b-e8b47580c36an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/e971bff9-cdf0-407a-bc6b-e8b47580c36an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/36b67124-16aa-49ba-9da1-80e99e863a2an%40googlegroups.com.


[tw5] Re: Locked Tiddlers in Bob

2021-06-15 Thread Joshua Fontany
Delete the `$:/state/Bob/EditingTiddlers` tid.

Best,
Joshua Fontany
On Tuesday, June 15, 2021 at 10:59:50 AM UTC-7 Ed Heil wrote:

>
> Another Bob-related question --
>
> I've had it more than once that I've lost a browser tab for one reason or 
> another while it was editing a tiddler in a Bob-served wiki. At that point, 
> it's locked, since the tab that was editing it is gone, and it's liable to 
> stay locked for a long time unless I ssh in to the server and restart it.
>
> I'm wondering if there's any way to "steal" a tiddler away from the 
> now-nonexistent editing session, or indeed do anything short of restarting 
> the server to free it up again?
>
>
>

-- 
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/8bc4ca9e-a16e-447e-9105-cc81fe46ff6fn%40googlegroups.com.


[tw5] Re: Force re-save of tiddlers whose file system path has changed

2021-06-14 Thread Joshua Fontany
Hi Soren,

I wrote most of the recent Node file-handling logic.

I found the easiest way to "touch" a batch of tiddlers in order to force a 
re-save is to $action-deletefield a NON-EXISTANT field from within a $list 
(triggered by a $button).

This forces the tw core to re-save a tiddler over the existing one (even 
tho its the same) & this triggers the Sync mechanism.

(You can also use this to "unpack" shadow tiddlers from within plugins, 
forcing a "normal" tiddler that is the same as the shadow-copy.)

Best,
Joshua F

On Monday, June 14, 2021 at 3:53:42 PM UTC-7 Soren Bjornstad wrote:

> Some time ago I tweaked the $:/config/FileSystemPaths in one of my wikis 
> to place tiddlers into some different folders based on tags, as described 
> here <https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming>. 
> However, I haven't modified all of these tiddlers yet, so months later some 
> of them are still in the default location, making the division not all that 
> helpful since it's difficult to know which location each item is in.
>
> Is there a way I can get TiddlyWiki to re-save all my tiddlers into the 
> location they would be placed today, in bulk (ideally without updating 
> their timestamps)? I could rig up a shell script, but that feels like it 
> could be a lot of work.
>

-- 
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/392c08ae-a709-4e4b-a9da-a18ee8eb61c9n%40googlegroups.com.


[tw5] Re: Popout Tiddlers/View?

2021-05-27 Thread Joshua Fontany
Thank you Ste. Yes, definitely want the Mentat plugin for that view. I also 
am using TW to build a Worldbuilding Application (GMGuild), and updating 
Mentat is one of the primary UI priorities. I would recommend using the 
older versions of TW to use Mentat. I am still working on the back-end 
collaberative stuff, but it is awesome to see more 
Worldbuilding/Campaign-Management interest in the TW community recently.

Have you joined the TW Discord server? We have a channel dedicated to 
tw-for-gaming stuff.

Best,
Joshua Fontany
On Wednesday, May 26, 2021 at 6:50:00 PM UTC-7 iamdar...@gmail.com wrote:

> You are still epic, however, it looks like something breaks in newer 
> TiddlyWiki versions. At least that is how it looks to me regarding trying 
> to delete drafts and saving edits to existing Tiddlers. Not sure what is 
> the major difference between the two TiddlyWiki versions so that has me a 
> little worried, however, things seems to be ok otherwise.
>
> On Wednesday, May 26, 2021 at 7:22:17 PM UTC-4 Darth Mole wrote:
>
>> YOU ARE EPIC! To you I offer AWESOMESAUCE for the rest of your life! ZOMG!
>>
>> -cough- ahem, excuse me.
>>
>> Oh who am I kidding?! YOU ROCK!!!
>>
>> On Wednesday, May 26, 2021 at 6:32:46 PM UTC-4 Ste wrote:
>>
>>> How about https://thesherwood.github.io/Mentat/
>>>
>>>
>>> On Wednesday, 26 May 2021 at 23:22:35 UTC+1 iamdar...@gmail.com wrote:
>>>
>>>> Hello all,
>>>>
>>>> It's me again. I wanted to thank those that helped on my previous post 
>>>> regarding conditional templates! I have what I think is another strange 
>>>> question, though I'm not sure if it is unique. I came across some vaguely 
>>>> similar concepts but didn't hit anything true.
>>>>
>>>> I would also like to preface this post with: I may be making things 
>>>> harder on myself. I have been trying to create a world building 
>>>> application 
>>>> that is considered not only open source but can be opened no matter what 
>>>> in 
>>>> the future since TiddlyWiki is simply an HTML file. Unless browsers go the 
>>>> way of the dodo TiddlyWikis will always be viewable and even if they do 
>>>> you 
>>>> can look at the code to at least see the content. Anyway, back to my 
>>>> question.
>>>>
>>>> Whenever I start working in TiddlyWiki my mind begins to branch out 
>>>> from a particular Tiddler and kind creates a "view" that I'm unfortunately 
>>>> unable to follow in TiddlyWiki's default format. Even with using 
>>>> TiddlyStroll (I also added TiddlyMap to the TiddlyStroll template) I still 
>>>> can't seem to feel comfortable with things.
>>>>
>>>> When I try to conceptualize the situation two "views" appear in my head.
>>>>
>>>> 1) The Tiddlers, when loaded, become floating popouts that can be moved 
>>>> around the computer screen just like regular app windows. That way as new 
>>>> Tiddlers are opened based on the users train of thought they just layer on 
>>>> the screen. I guess kind of like if you had 15 Word documents open in 15 
>>>> Word app instances so you could see the title and bits and pieces of each 
>>>> one.
>>>>
>>>> 2) The Tiddlers, when loaded, start to fill in the page similar to a 
>>>> tiling windows manager in Linux. Even if the boxes get progressively 
>>>> smaller as they resize during tiling or if once they hit a certain number 
>>>> of boxes the whole view simply shrinks percentage wise I guess it doesn't 
>>>> matter.
>>>>
>>>> Anyway, any thoughts or solutions? Thanks again for all your help! Once 
>>>> I feel comfortable with the solution I've put together I'm going to post 
>>>> for anyone to use as a world building option, and also use it myself for 
>>>> my 
>>>> writing. 
>>>>
>>>

-- 
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/5cade30c-6e2d-4b74-8dd4-36d9a249853cn%40googlegroups.com.


Re: [tw5] [RFC] Sponsored development of tiddlywiki tools and solutions?

2021-05-23 Thread Joshua Fontany
For example, here is Boris donating money to the TW Open Collective to get 
a feature funded:

https://talk.fission.codes/t/tiddlywiki-file-upload-plugin-webnative-ipfs-funded/1926

Best,
Joshua Fontany

On Sunday, May 23, 2021 at 4:09:26 PM UTC-7 Joshua Fontany wrote:

> On Friday, May 21, 2021 at 12:41:44 AM UTC-7 Ste wrote:
> The tiddlywiki open collective which started up/ is linked with? 
> Tiddlywiki on fission. 
> https://opencollective.com/tiddlywiki-on-fission
>
> I wanted to mention this as well. The OpenCollective model looks really 
> good for managing this type of "community pays community for projects" 
> work. 
>
> Best,
> Joshua Fontany
>

-- 
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/1a231047-81ce-4e8f-ad4d-dc65018986e4n%40googlegroups.com.


Re: [tw5] [RFC] Sponsored development of tiddlywiki tools and solutions?

2021-05-23 Thread Joshua Fontany
On Friday, May 21, 2021 at 12:41:44 AM UTC-7 Ste wrote:
The tiddlywiki open collective which started up/ is linked with? Tiddlywiki 
on fission. 
https://opencollective.com/tiddlywiki-on-fission

I wanted to mention this as well. The OpenCollective model looks really 
good for managing this type of "community pays community for projects" 
work. 

Best,
Joshua Fontany

-- 
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/431abf7a-8f90-433a-9d61-439dafa16e93n%40googlegroups.com.


[tw5] Re: What's not good with many viewtemplates?

2021-05-23 Thread Joshua Fontany
That's some really cool visualization, nicely done.

Best,
Joshua Fontany

On Thursday, May 20, 2021 at 5:28:26 AM UTC-7 PMario wrote:

> Just to get a feeling: This is my post here at the group. GG also has a 
> nesting level of 24
>
> [image: hello-there-dom-post.gif]
>
> On the left, there is the "Nav sidebar" ... The last element is my earlier 
> post. 
>
> 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/083ddf16-84f4-42d5-a030-8e9a55cf94a0n%40googlegroups.com.


[tw5] Re: $tw.wiki.renderTiddler("text/html", tiddler); & templates

2021-05-16 Thread Joshua Fontany
When the TW parser unpacks {{banana}} it renders the same widget nodes as:
```
<$tiddler tiddler="banana">
<$transclude tiddler=<> field="text"/>

```

In order for your widget to invoke the same widget nodes, it has to set the 
<> variable to the same tiddler you are transcluding.

Best,
Joshua Fontany

On Sunday, May 16, 2021 at 3:11:48 PM UTC-7 james.w@gmail.com wrote:

> yeah the attached example is a minimal tiddlwyiki with a custom midget 
> showing the problem. Surely some other widgets out there are doing custom 
> transclusions. 
>
> basically in wiki text {{banana}} works within another tiddler
>
> But the js / widget code i have is not right, it does seem to be picking 
> up the template that banana is using, but not the values from within banana 
> that normally populate that template. It is using a DOM node i created from 
> the document, 
>
> Sounds like it might be the variables thing you mentioned. How do i get a 
> variables hashmap from a given tiddler?
>
> On Sunday, 16 May 2021 at 23:01:14 UTC+1 saq.i...@gmail.com wrote:
>
>> Also if you want to transclude a tiddler literally and not as a template, 
>> try passing a variables hashmap as part of options to makeTranscludeWidget, 
>> setting the value of currentTiddler.
>>
>> On Sunday, May 16, 2021 at 11:49:13 PM UTC+2 Saq Imtiaz wrote:
>>
>>> I assume card is a DOM node. Did you create it? If so, have you attached 
>>> it to the document somewhere?
>>>
>>> A good approach, both for debugging and for asking for assistance, is to 
>>> create a minimal test case that illustrates the problem you are facing.
>>>
>>> On Sunday, May 16, 2021 at 8:54:21 PM UTC+2 james.w@gmail.com wrote:
>>>
>>>> Actually, this is still not quite right it seems:
>>>>
>>>> I have attached an example of this still not working.
>>>>
>>>> I have a template tiddler:
>>>>
>>>> ```
>>>> created: 20210502165510840
>>>> modified: 20210502165528840
>>>> title: template_example
>>>>
>>>> | !transcluded title|  <$list filter="[list[!!title]]"><$view 
>>>> field="title"/>  |
>>>> ```
>>>>
>>>> and a tiddler referencing this:
>>>>
>>>> ```
>>>> created: 20210502165510840
>>>> modified: 20210502165528840
>>>> twsr_interval: 20210504165528840
>>>> tags: fruit
>>>> title: banana
>>>>
>>>> {{||template_example}}
>>>> ```
>>>>
>>>> then in my widget i try to render the "banana" tiddler into a div i 
>>>> have created called card:
>>>>
>>>> ```
>>>>
>>>> var t = $tw.wiki.makeTranscludeWidget(tiddler, {document:document, 
>>>> mode:"block", recursionMarker:"yes" });
>>>> card.innerHTML = "";
>>>> t.render(card,null);
>>>> ```
>>>>
>>>> but it seems the transclusion is incorrect somehow, any ideas? 
>>>>
>>>> [image: キャプチャ.PNG]
>>>>
>>>>
>>>> On Monday, 10 May 2021 at 21:45:46 UTC+1 James Anderson wrote:
>>>>
>>>>> thanks again.
>>>>>
>>>>> For future google searchers:
>>>>>
>>>>> ```
>>>>> var target = _this.document.createElement("div");
>>>>> var tiddler = "the name of the tiddler you want to transclude";
>>>>> ..
>>>>> var t = $tw.wiki.makeTranscludeWidget(tiddler, {document:document});
>>>>> target.innerHTML = "";
>>>>> t.render( target, null);
>>>>> ```
>>>>>
>>>>> On Monday, 10 May 2021 at 21:35:09 UTC+1 saq.i...@gmail.com wrote:
>>>>>
>>>>>> I recommend looking at the source code for that method, as well as 
>>>>>> how it is used other places in the core. Either use grep on the command 
>>>>>> line, or the github search is actually pretty good: 
>>>>>> https://github.com/Jermolene/TiddlyWiki5/search?q=makeTranscludeWidget
>>>>>>
>>>>>>  If you get stuck and still can't figure it out, please post the code 
>>>>>> for your widget.
>>>>>>
>>>>>>
>>>>>> On Monday, May 10, 2021 at 10:27:17 PM UTC+2 james.w@gmail.com 
>&g

Re: [tw5] First edition of Grok TiddlyWiki (TW textbook) is live

2021-05-16 Thread Joshua Fontany
Well done! Love the sci-fi nod, Tiddlywiki is definitely something that 
requires much meditation to "grok".
(For the audience: https://en.wikipedia.org/wiki/Grok)

Devouring now. Mahalo (thanks),

Joshua Fontany

On Sunday, May 16, 2021 at 9:37:10 AM UTC-7 Mohammad wrote:

> Hi Soren,
>
>  Well done! You did a really great job!
>
>  A well organized book with interactive contents! It is kind of unique!
>
>  I absolutely recommend reading it not only for beginners but also for 
> advanced users!
>
>
> Best wishes
> Mohammad
>
>
> On Sun, May 16, 2021 at 7:13 PM Soren Bjornstad  
> wrote:
>
>> I'm excited to announce that the first public edition of my TiddlyWiki 
>> textbook, *Grok TiddlyWiki*, is live at https://groktiddlywiki.com/read. 
>> *Grok 
>> TiddlyWiki* is (from the book) “a textbook that helps you build a deep, 
>> lasting understanding of and proficiency with TiddlyWiki through a 
>> combination of detailed explanations, practical exercises, 
>> and spaced-repetition reviews of prompts called *takeaways*.”
>>
>> I am hoping this book will fill in many of the gaps in TiddlyWiki's 
>> documentation / learning ecosystem – right now we have lots of beginner 
>> tutorials, and mostly good documentation for experts (with a few gaps), but 
>> almost nothing for people in between. GTW is what I wished I had when I was 
>> in that position: complete lessons on the features and idioms of TiddlyWiki 
>> needed to bring someone from beginner to expert.
>>
>> The book is free to read and CC BY-NC-ND licensed (you can redistribute 
>> it for noncommercial purposes). I am accepting donations 
>> <https://groktiddlywiki.com/donate/> to support my continued work on GTW 
>> and other TiddlyWiki learning resources. I would also appreciate your help 
>> spreading the word about the book, e.g., on TW links sites, notes-related 
>> resources, or social media.
>>
>> A huge thanks to everyone from this community who provided feedback on 
>> the prerelease (see the acknowledgments section for details). Barring me 
>> getting run over by a bus, there will be updated editions in the future, so 
>> please keep the feedback and suggestions coming. 
>>
>> -- 
>>
> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/f6b21644-9b9e-45eb-b5a4-eec4e929a00bn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/f6b21644-9b9e-45eb-b5a4-eec4e929a00bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/9ee634c2-ff57-4e63-a841-9a3a5041d03an%40googlegroups.com.


[tw5] Re: automatically update field

2021-05-15 Thread Joshua Fontany
You could setup your UI as 2 lists, one list to filter the Urgent ones 
first (with different CSS styling), then another list for non-Urgent 
tiddlers. You cannot change data in fields automatically, data updates 
require user interaction (a button with actions, a drag-and-drop, etc).

Best,
Joshua Fontany

On Friday, May 14, 2021 at 4:37:50 PM UTC-7 mohamed...@hotmail.com wrote:

> Hi Soren,
> .
>
> ok .all i am really after , is to have a field automatically populate a 
> value "urgent"  once a  previously entered date value  in field B  is 3 
> days away.
>
> so i am trying to flag task tiddlers that are due, hope this makes sense
>
> On Thursday, May 13, 2021 at 3:11:50 PM UTC+2 PMario wrote:
>
>> Hi,
>> If you need spreadsheet-like calculations you may have a closer look at: 
>> https://chronicles.wiki/TiddlyWikiFormula  Especially the "Spreadsheet 
>> Prototype" tiddler
>> -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/94c4c725-953d-4086-8e6b-308e9bc5eba9n%40googlegroups.com.


[tw5] Re: SyncMechanism Not On Root?

2021-05-15 Thread Joshua Fontany
Hi Kevin,

This should point you in the right 
direction: 
https://tiddlywiki.com/#Using%20a%20custom%20path%20prefix%20with%20the%20client-server%20edition

Best,
Joshua Fontany

On Thursday, May 13, 2021 at 4:10:16 PM UTC-7 kleinfelt...@gmail.com wrote:

> How can I configure the SyncMechanism to work with a path other than the 
> root?
>
> e.g. 
>
>- My index.html is hosted at http://example.com/foo/bar/index.html
>- I ran Fiddler and observed the first request from TW to be for 
>http://example.com/status
>- I need that status request to be for http://example.com/foo/bar
>/status
>
> Thanks!
> Kevin
>

-- 
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/59331062-e522-417e-872c-0fb80e2272adn%40googlegroups.com.


[tw5] Re: bug? getindex failing retrieve json with $:/temp/... named tiddlers

2021-05-05 Thread Joshua Fontany
I could not recreate this in my JsonMangler demo wiki. If  
`$:/temp/project` is being created with an action/programatcially, then 
most likely the `type` field is not being set to `application/json`.

Best,
Joshua Fontany
On Wednesday, May 5, 2021 at 1:41:21 AM UTC-7 jn.pierr...@gmail.com wrote:

> Be a tiddler of json type whose content is
>
> { "pleiade": { "name": "Pléiade v2", "project": "pleiade", "url": "
> https://pleiade.test.acmeserver.com"; } }
>
> and now put it in two tiddlers. one is "project" and the othes is 
> "$:/temp/project".
>
> create a tw5 tiddler with this code:
>
> $:/temp/project: {{{ [[$:/temp/project]getindex[/pleiade]] }}}
>
> project: {{{ [[project]getindex[/pleiade]] }}}
>
> and see its outupt:
> -
> $:/temp/project:
>
> project: { "name": "Pléiade v2", "project": "pleiade", "url": 
> "https://pleiade.test.acmeserver.com"; }
>
> --
>
> The same void output happpens witg a name like "$:/temp/project".
>

-- 
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/dc7e53db-cce5-437b-b0cf-7105a7cf9684n%40googlegroups.com.


Re: [tw5] Streams 0.21 is now available

2021-05-04 Thread Joshua Fontany
I like the idea that Streams would store its relational data NOT on the 
parent tiddler, but in some other (system prefixed?). That is worth 
exploring. :)

Best,
Joshua Fontany

On Tuesday, May 4, 2021 at 2:48:09 PM UTC-7 si wrote:

> @Tones - I like your idea. You could have a tag like 
> $:/tags/streams/ViewTemplate that would transclude its text field onto 
> every node. One obvious use-case could be adding a checkbox to mark tasks 
> as done.
>
> Did you manage to get anything working?
>
> @Saq - Totally unrelated question. Is there a way to save and exit a node 
> while on mobile? I.e. the equivalent of Ctrl+Enter on a normal keyboard.
> On Monday, 3 May 2021 at 08:09:59 UTC+1 TW Tones wrote:
>
>> Saq,
>>
>> Thanks I realised the  Context Menu  has some customisation. However it 
>> assumes a button/action where I may just want to display something 
>> conditionally. 
>> I could use a popup to contain something a bit like the rename, but more 
>> info, but I am interested in placing a tag pill or button after the dot 
>> point. I continue to try and see how to hack it.
>>
>> Regards
>> Tony
>>
>>
>> On Monday, 3 May 2021 at 15:02:15 UTC+10 Saq Imtiaz wrote:
>>
>>> @Tones https://saqimtiaz.github.io/streams/#FAQs
>>>
>>> On Monday, May 3, 2021 at 5:20:06 AM UTC+2 TW Tones wrote:
>>>
>>>> Saq,
>>>>
>>>> With each item in a stream, the bullet has its own menu and drag. 
>>>> Perhaps a simple way for the user to extend this would be being able to 
>>>> add 
>>>> an item to the stream item, or menu, just like how we add content to 
>>>> tiddlers with the view template, would permit many additional requirements 
>>>> to be added by the user. For example a button to tag the stream entry as a 
>>>> todo, or set a field aa a priority. Another space where users can display 
>>>> something per stream item would be similar.
>>>>
>>>> Tones
>>>>
>>>> On Friday, 30 April 2021 at 22:42:41 UTC+10 Saq Imtiaz wrote:
>>>>
>>>>> Hi Mohammad,
>>>>>   
>>>>>
>>>>>> Lovely! This is one of my favorite use case! At the end I normally 
>>>>>> merge the notes!
>>>>>>
>>>>>
>>>>> I need to develop my workflow further but so far I've been dragging 
>>>>> and dropping to an actions items tiddler or other tiddlers that are 
>>>>> relevant to the topic. At the end there are no nodes left in the original 
>>>>> conference call notes.
>>>>>  
>>>>>
>>>>>> I use this solution! Assume I want to put note or discuss a slide or 
>>>>>> report in an online meeting!
>>>>>> Say tiddler is $:/kookma/courses/CHE403/rk45
>>>>>>
>>>>>> Yes your way of doing things is one option.
>>>>>
>>>>> What I am considering is this: imagine that you want to take notes 
>>>>> using Streams on $:/kookma/courses/CHE403/rk45
>>>>> If you add nodes, directly streams will edit this tiddler's 
>>>>> stream-list field. This is a problem if you want to maybe synchronize 
>>>>> this tiddler with another wiki later, you will get a merge conflict.
>>>>>
>>>>> So there should be a way to use Streams to take notes on a tiddler 
>>>>> without having to modify it.
>>>>> So the idea is, instead of saving the list of nodes in the stream-list 
>>>>> field of the tiddler $:/kookma/courses/CHE403/rk45, we can save them 
>>>>> in a config tiddler called something like 
>>>>> $:/streams/sidecar/$:/kookma/courses/CHE403/rk45
>>>>>
>>>>> Streams can then read the list of nodes from this tiddler, instead of 
>>>>> from the stream-list field in the $:/kookma/courses/CHE403/rk45 
>>>>> tiddler.
>>>>>
>>>>> We would not need to do this for every node, just the stream root 
>>>>> tiddler.
>>>>>
>>>>

-- 
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/14c4aeb8-4e24-476b-8e4f-440da6641089n%40googlegroups.com.


[tw5] Re: "Filter Expression" doc

2021-05-04 Thread Joshua Fontany
Ooops, that should have been  `./path/to/TiddlyWiki5/bin/serve.sh`.

Best,
Joshua Fontany

On Tuesday, May 4, 2021 at 4:13:42 PM UTC-7 Joshua Fontany wrote:

> Fork the TW5 repository to your own GitHub user account, and then clone it 
> locally. 
>
> Then checkout the "tiddlywiki-com" branch via git command line. (This 
> branch can live push updates to the website, and not wait until the next 
> Version release).
>
> Then, run the node command given in the `bin` scripts folder:
> `./path/to/TiddlyWiki5/bin.serve.sh`
>
> This launches the "tiddlywiki-com-server" Edition (from the 
> 'TiddlyWiki5/editions' folder) as a node process.
>
> Navigate a browser to 127.0.0.1:8080. Make changes to documentation 
> tiddlers. Push your changes back to your fork.
>
> From GitHub, create a Pull Request from your fork of the "tiddlywiki-com" 
> branch to the official repository's "tiddlywiki-com" branch. Describe your 
> changes in your PR.
>
> The community can then review those changes, and Jeremy can merge if it 
> all looks good.
>
> Best,
> Joshua Fontany
>
>
>
> On Tuesday, May 4, 2021 at 1:50:32 PM UTC-7 jn.pierr...@gmail.com wrote:
>
>> Fine. How may I help then? It's also that bit that I find lacking in the 
>> doc (just poke at it but got no interesting stuff for this).
>>
>> Le mardi 4 mai 2021 à 21:59:46 UTC+2, saq.i...@gmail.com a écrit :
>>
>>> I don't disagree. Contributions to the documentation are very welcome.
>>>
>>> On Tuesday, May 4, 2021 at 9:46:02 PM UTC+2 jn.pierr...@gmail.com wrote:
>>>
>>>> right. not very user friendly. could be noted earlier at ~
>>>>
>>>> the same for the others. when there is so much to read, being kind on 
>>>> the reader is not undue.
>>>>
>>>> Le mardi 4 mai 2021 à 21:30:54 UTC+2, saq.i...@gmail.com a écrit :
>>>>
>>>>> As the table indicates, :else is equivalent to the ~ filter run prefix 
>>>>> which is explained earlier in the same tiddler.
>>>>>
>>>>> On Tuesday, May 4, 2021 at 9:09:23 PM UTC+2 jn.pierr...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> In the "Filter Expression" tiddler the :enter prefix is not listed in 
>>>>>> the first part, only given in a subsequent table.
>>>>>>
>>>>>> As such, :else lacks a proper explanation of what it does.
>>>>>>
>>>>>

-- 
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/59da2002-de75-482a-a878-a074c9846a8dn%40googlegroups.com.


[tw5] Re: "Filter Expression" doc

2021-05-04 Thread Joshua Fontany
Fork the TW5 repository to your own GitHub user account, and then clone it 
locally. 

Then checkout the "tiddlywiki-com" branch via git command line. (This 
branch can live push updates to the website, and not wait until the next 
Version release).

Then, run the node command given in the `bin` scripts folder:
`./path/to/TiddlyWiki5/bin.serve.sh`

This launches the "tiddlywiki-com-server" Edition (from the 
'TiddlyWiki5/editions' folder) as a node process.

Navigate a browser to 127.0.0.1:8080. Make changes to documentation 
tiddlers. Push your changes back to your fork.

>From GitHub, create a Pull Request from your fork of the "tiddlywiki-com" 
branch to the official repository's "tiddlywiki-com" branch. Describe your 
changes in your PR.

The community can then review those changes, and Jeremy can merge if it all 
looks good.

Best,
Joshua Fontany



On Tuesday, May 4, 2021 at 1:50:32 PM UTC-7 jn.pierr...@gmail.com wrote:

> Fine. How may I help then? It's also that bit that I find lacking in the 
> doc (just poke at it but got no interesting stuff for this).
>
> Le mardi 4 mai 2021 à 21:59:46 UTC+2, saq.i...@gmail.com a écrit :
>
>> I don't disagree. Contributions to the documentation are very welcome.
>>
>> On Tuesday, May 4, 2021 at 9:46:02 PM UTC+2 jn.pierr...@gmail.com wrote:
>>
>>> right. not very user friendly. could be noted earlier at ~
>>>
>>> the same for the others. when there is so much to read, being kind on 
>>> the reader is not undue.
>>>
>>> Le mardi 4 mai 2021 à 21:30:54 UTC+2, saq.i...@gmail.com a écrit :
>>>
>>>> As the table indicates, :else is equivalent to the ~ filter run prefix 
>>>> which is explained earlier in the same tiddler.
>>>>
>>>> On Tuesday, May 4, 2021 at 9:09:23 PM UTC+2 jn.pierr...@gmail.com 
>>>> wrote:
>>>>
>>>>> In the "Filter Expression" tiddler the :enter prefix is not listed in 
>>>>> the first part, only given in a subsequent table.
>>>>>
>>>>> As such, :else lacks a proper explanation of what it does.
>>>>>
>>>>

-- 
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/3aaf0911-87b3-4ee5-9b44-0f530f398639n%40googlegroups.com.


Re: [tw5] Re: Ten Ways to Drag and Drop Tiddlers to Tiddlywiki

2021-05-04 Thread Joshua Fontany
Drag and Drop a whole wiki into another wiki (a more recent TW version) to 
automatically import all user-created tiddlers into the new wiki.

On Tuesday, May 4, 2021 at 2:00:09 AM UTC-7 Mohammad wrote:

> Thank you Tones! Lovely!
>
>
>
> Best wishes
> Mohammad
>
>
> On Tue, May 4, 2021 at 12:40 PM TW Tones  wrote:
>
>>
>>1. Drag a tiddler from one wiki to another
>>2. Export a tiddler as a tid file and drag and drop the tid file on 
>>any wiki
>>3. Any title can be dropped on the text field in edit mode to add it 
>>to the text
>>4. Export a set of tiddlers as a JSON file and drag and drop the JSON 
>>file on any wiki
>>5. Drag and drop multiple tiddlers on a wiki, the $:/import tiddler 
>>is opened, rename the $:./import tiddler and remove its fields. You now 
>>have a JSON tiddler containing all the tiddlers that were in the import.
>>6. Drag and drop plugins (of course) to install.
>>7. add Mohammads items
>>8. Drop tiddlers or text on suitably configured buttons
>>9. ...
>>
>>
>> On Tuesday, 4 May 2021 at 17:50:01 UTC+10 Mohammad wrote:
>>
>>> Drag and drop contents into Tiddlywiki for importing and exporting 
>>> contents is one of the amazing features of Tiddlywiki, it is not known as 
>>> it deserved.
>>>
>>> To bring the power into attention I asked the above question and I am 
>>> looking forward to see how others use this feature!
>>>
>>>
>>>
>>> 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+...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/6bfb5cf6-ed5c-4c66-9d2d-6b60016d3936n%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/cd209600-f9df-4c44-91b2-39c7738146e8n%40googlegroups.com.


[tw5] Re: Change the title of a tiddler from the tiddler itself?

2021-04-28 Thread Joshua Fontany
@PMario,

That is a great way to explain what happens behind the curtains. :)

Best,
Joshua F

On Wednesday, April 28, 2021 at 4:17:05 PM UTC-7 PMario wrote:

> On Wednesday, April 28, 2021 at 9:26:25 PM UTC+2 si wrote:
>
>> Thank you very much Mario!
>
>
> You are welcome. 
>
> I think a button may make more sense anyway, but am I right to assume that 
>> it is not (easily) possible to have the title automatically update as I 
>> type?
>>
>
> Right. .. In TiddlyWiki the tiddlers are "immutable" [1]. They can't be 
> changed, after they have been created. There actually is _no_ function in 
> TW that says: Edit existing tiddler. 
>
> The only function to write to a tiddler is: $tw.wiki.addTiddler(...) 
> Adding a tiddler with the same title, will overwrite the existing one. 
> That's the only way to change a tiddler. 
>
> Let's say you have "New Tiddler" and you want to change it to "Faust - 
> Goethe". As soon as you start typing F .. you add tiddler F, then Fa, Fau, 
> Faus ... and so on.
>
>  - go to https://tiddlywiki.com
>  - create a new tiddler
>  - Copy this into a new tiddler: <$edit-text tiddler=<> 
> field=title />
>  - Save
>  - open the right sidebar : Recent tab   <- important
>  - start typing
>
> Nice - right?
>
> have fun!
> mario
> [1] https://en.wikipedia.org/wiki/Immutable_object
>
>
>

-- 
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/ddf9277b-120f-494b-9cbf-509d4faedd8dn%40googlegroups.com.


[tw5] Re: json access when not in action mode?

2021-04-28 Thread Joshua Fontany
Yes. This is exactly why I wrote JsonMangler (the "Manger" part came from 
one of the core features that has been downplayed, the ability to compress 
multi-level Json into a 1 level deep object with "path":"value" pairs. The 
path syntax is "/" to be consistent with the "system tiddler" naming 
convention in TW.

The current demo wiki/docs are located 
here: https://chronicles.wiki/TW5-JsonMangler/

You can use "index-path syntax" in any existing filter or widget. (Note: 
Stable on 5.1.23, I have not tested against the recent pre-release).

Mahalo (thanks) for trying my plugin!

Best,
Joshua Fontany
On Wednesday, April 28, 2021 at 8:42:01 AM UTC-7 Mark S. wrote:

> <$list filter="[[mydata]getindex[0/age]]"/>
>
> (assuming JSON mangler)
>
> On Wednesday, April 28, 2021 at 8:02:14 AM UTC-7 jn.pierr...@gmail.com 
> wrote:
>
>> How can I access json data in a smart way when my code is not in the 
>> context of a button-started action (which I call action mode)?
>>
>> say this simple text of my "data" tiddler:
>> -
>> [
>>   { "captain": "Hook", "age": "42" },
>>   { "captain": "Planet", "age": "37" }
>> ]
>>
>> the indexes filter returns 0 and 1.
>>
>> with get[0] I would get { "captain": "Hook", "age": "42" }
>>
>> I can't get[0/name] to get "Hook".
>>
>> IS there a plugin or any other mean to get:
>> - the names of the fileds within any json objects?
>> - getting any values from json with a syntax like that I give, or even a 
>> more ambitious xpath query?
>>
>> I have installed json mangler. but I have no docs about it, not even 
>> knowing what it really does besides providing a bar for json tiddlers?
>>
>> regards.
>>
>> -- 
>> Jean-Pierre
>>
>

-- 
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/f8b3dfc9-451f-454b-b42e-d8bf74f88481n%40googlegroups.com.


[tw5] Re: Transcluding Base64 Image as Tiddler Background

2021-04-27 Thread Joshua Fontany
One thing to note: When using WikiText within CSS tiddlers (tiddlers tagged 
`$:/tags/Stylesheet`), you do NOT want to set the tiddler-type to 
`text/css`. This would disable parsing of the wikitext. Leave it blank or 
set it to `text/vnd.tiddlywiki5`.

Best,
Joshua F

On Monday, April 26, 2021 at 7:07:18 AM UTC-7 Scott Simmons (Secret-HQ) 
wrote:

> A-ha!  It occurred to me that the core must be doing this somehow with 
> background images, so I went looking and found TiddlyWiki's 
> native <> macro.
>
> This is how to do what I was trying to do:
>
> .tc-story-river .tc-tiddler-view-frame {
>   background:url('<>') !important;
> }
>
> Some days it seems there's nothing Jeremy and the TiddlyWiki community 
> *haven't* thought of.
>
> *edited and reposted to remove typo*
>
> On Monday, April 26, 2021 at 9:36:29 AM UTC-4 Scott Simmons (Secret-HQ) 
> wrote:
>
>> Hi, all —
>>
>> In my ongoing quest for translucent tiddlers, I've started using images 
>> of varying color and opacity as the background for my tiddlers.
>>
>> However, it occurs to me that, instead of pointing to these images 
>> elsewhere, I could embed them in my TWs and reference them without having 
>> another resource to keep track of.
>>
>> My current stylesheets look something like this:
>>
>> .tc-story-river .tc-tiddler-view-frame {
>>   background:url('images/backgrounds/92-percent-opacity-white.png') 
>> !important;
>> }
>>
>> But if I move that PNG into a tiddler ($:/backgrounds/92%white.png), can 
>> I transclude it into my stylesheet?
>>
>> I'm including transcludeinline among my stylesheet tiddler's pragma:
>>
>> \rules only filteredtranscludeinline transcludeinline macrodef 
>> macrocallinline html
>>
>> but I'm not pulling in the content (the image) from the tiddler.
>>
>

-- 
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/99c07676-ceb4-45d8-9873-be4b081da4fdn%40googlegroups.com.


Re: [tw5] [LFF] [Discussion] Using the layout switching mecanism to host a landingpage on the tiddlywiki website.

2021-04-25 Thread Joshua Fontany
Really good work. I think that as we are now able to manage the Layout 
dynamically, each layout should be aware of the $:/Storylist and render its 
own story river, however that should look depending on the active layout.

For example, an implementation of the Muuri view as a Layout would render 
the Storylist out as a grid.

An implementation of the Mentat "virtual HUD" plugin would have its own 
drag-able window that renders the Storylist according the the current 
setting (as a regular Storylist view, as a Muuri grid, etc).

An implementation of the Landing Page layout would allow the storyview to 
be collapsed sticky-notes, etc.

Best,
Joshua Fontany

On Sunday, April 25, 2021 at 8:20:36 AM UTC-7 jeremy...@gmail.com wrote:

> Hi Odin
>
> The use of TailWind might be a distraction. It’s a great framework, but if 
> we went with this landing page approach I would want to take our usual 
> approach to CSS. I don’t think that’s a problem, what matters is that it’s 
> great to have a concrete, tangible prototype to play with.
>
> Best wishes
>
> Jeremy.
>
>
> On 24 Apr 2021, at 14:01, Odin  wrote:
>
> Hi Alvaro,
>
> Thanks for replying! 
> TailwindCSS includes a script that purges all unused CSS from the CSS 
> file, which is really handy. So the extra CSS for this landing page is 
> about 11kb. All in all, it adds 0,3MB to the TiddlyWiki website file. Which 
> isn't that bad I think.
>
> "...   you add a lof of noise in html. You need add too many classes for 
> each element, and it is very similar to use inline styles but with 
> shortcuts. (I know it, I am sometime too purist/perfectionist)"
>
> This is off-topic, but I think it is just a difference in design 
> philosophy. After a while, it is easy to read the classes, and this way you 
> don't have to ever see the CSS file. (google object/component-orientated 
> CSS vs utility-first CSS).
>
>
>>>>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/5cac5806-c119-4a07-a6e9-8fb73c908e36n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/5cac5806-c119-4a07-a6e9-8fb73c908e36n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/d4d00536-a4cb-4055-a9e7-2cb48202c1a4n%40googlegroups.com.


[tw5] Re: Keep original filenames in node.js

2021-04-25 Thread Joshua Fontany
This seems really odd...

If you do not have a `$:/config/FileSystemPaths` tiddler that has a filter 
that includes `addprefix[wiki/]`..

then the only possible other location it could be reading that from is the 
`$:/config/OriginalTiddlerPaths` tiddler...

But then that would mean that was where those files were loaded from... & 
that doesn't make sense.

I did find and fix a few bugs in the filesystem adaptor since the last 
release. Can you attempt to re-create this in the Pre-Release version on 
Node?

Best,
Joshua Fontany

On Wednesday, April 21, 2021 at 12:52:45 PM UTC-7 Florian wrote:

> My wiki is set up at server root and I dont have a FileSystemPaths tiddler
>
> saq.i...@gmail.com schrieb am Mittwoch, 21. April 2021 um 19:50:47 UTC+2:
>
>> Do you have tiddler with the title:
>> $:/config/FileSystemPaths
>>
>> If so, what are its contents?
>>
>> Also is your wiki set up at the server root or at a different path?
>> As in 127.0.0.1 or 127.0.0.1/wiki ?
>> On Wednesday, April 21, 2021 at 6:27:18 PM UTC+2 Florian wrote:
>>
>>>
>>> Hi, I have been using tiddlywiki with node.js for a while now and 
>>> decided to update from an older version. Now whenever I save a tiddler 
>>> through the wiki it changes the filename to "wiki/.tid" previously 
>>> the file structure was preserved. Its quite annoying, because I often use 
>>> an IDE to edit wiki files and have made a complex folder structure for my 
>>> tiddlers.
>>>
>>> Is there an easy way to disable the renaming of tiddlers on save?
>>>
>>

-- 
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/f258d26f-ba0a-497a-84f2-989d192021a0n%40googlegroups.com.


Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Joshua Fontany
If it is a javascript tiddler, you could check the Modules filter:

https://tiddlywiki.com/#modules%20Operator

On Monday, April 19, 2021 at 1:13:19 PM UTC-7 saq.i...@gmail.com wrote:

> @Mohammad the problem with this filter is that it doesn't exclude the 
> following situations:
> - plugin installed but disabled when the wiki loaded, but later enabled 
> (but still not active).
> - plugin freshly installed but wiki has not been saved and reloaded.
>
> On Monday, April 19, 2021 at 10:01:05 PM UTC+2 Mohammad wrote:
>
>> On Mon, Apr 19, 2021 at 11:15 PM Saq Imtiaz  wrote:
>>
>>> I am wondering if anyone has a better solution for detecting in wikitext 
>>> whether a plugin is installed and available.
>>>
>>> For example, for detecting if the codemirror editor is available, I am 
>>> using the following filter:
>>>
>>> [[$:/plugins/tiddlywiki/codemirror]!is[missing]] 
>>> :filter[lookup:no[$:/config/Plugins/Disabled/]match[no]]
>>>
>>>- This checks if the plugin tiddler is present as long as it has not 
>>>been renamed.
>>>
>>>
>> In Commander, I use the first part to see if Relink is installed or not! 
>> but your solution here addresses the disabled status also!
>>
>>>
>>>- It checks whether the plugin has been disabled.
>>>- However, if the plugin was disabled when the TW loaded and later 
>>>enabled, this filter will still indicate that codemirror is available 
>>> even 
>>>though the editor will not work until the wiki is saved and reloaded.
>>>
>>> Any alternative approaches that might work?
>>> Regards,
>>>
>>> Saq
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/afa146d8-5308-49b4-8668-f360d86f6dban%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/00702212-03f6-4f7a-a0af-7a8f2d2eddaan%40googlegroups.com.


Re: [tw5] Re: Tooltips, Infotips and Tiddlywiki: handling of position and issue with off screen flow

2021-04-15 Thread Joshua Fontany
Hi guys,

There is code in the Mentat plugin (the virtual desktop conversion), which 
hacks the core to handle popups going offscreen. The author even has notes 
in his plugin about possibly merging it into the core. This would very much 
be worth doing, in my opinion.

https://thesherwood.github.io/Mentat/

Repopup 
<https://thesherwood.github.io/Mentat/#%24%3A%2Fplugins%2Fadmls%2Frepopup>
   
   - A quick hack of a plugin that attempts to reposition tiddlywiki popups 
   so that they don't run off the screen. It's not perfect and it doesn't seem 
   to do much to normal dropdowns. But it's an okay fix until the popup 
   mechanism can get a comprehensive overhaul. This plugin has been designed 
   with the Volant, Engine, and Mentat Plugins in mind. So if you use it for 
   something else, your mileage may vary.

https://github.com/theSherwood/Mentat

https://github.com/theSherwood/Mentat/blob/master/src/tiddlers/system/plugins/admls/repopup/startup/repopup.js

I hope to wrap up my server experiments soon, and come back to this. Let me 
know if this is useful.

Best,
Joshua Fontany

On Thursday, April 15, 2021 at 6:42:27 AM UTC-7 Mohammad wrote:

> Hi Mario,
>
> The issue with tooltip in TW is
>
> When tooltips are used at the edge of the screen, they go off screen 
> simply. As TW has a responsive layout one cannot determine where a text 
> with tooltip will appear!
> The problem is more when you use this with mobile browser (e.g Chrome on 
> Android)
>
> One use case for me is the Refnotes plugin where it uses tooltips/infotips 
> for notes, citations, etc.
>
> I did some googling and I see JS code needs to detect the position of the 
> element with tooltip and then decide how to display the tooltip preventing 
> off screen overflow.
> I saw popper.js is common!
>
> I also found a very small solution here 
> https://medium.com/carwow-product-engineering/building-a-simple-tooltip-component-that-never-goes-off-screen-c7039dcab5f9
> but I did not know how to use it with TW.
>
>
>
>
> Best wishes
> Mohammad
>
>
> On Thu, Apr 15, 2021 at 5:43 PM PMario  wrote:
>
>> On Thursday, April 15, 2021 at 1:13:08 PM UTC+2 Mohammad wrote:
>>
>>> Is there any good tool for using tooltip and infotip in Tiddlywiki!
>>> It seems popper is among the common tools but  I cannot find any 
>>> Tiddlywiki integration!
>>>
>>> url: https://github.com/popperjs/popper-core
>>>
>>
>> Hi, 
>> There is no TW integration. 
>>
>> It is 20kByte of minified javascript code, just to create a tooltip? I 
>> personally don't want to carry this as a dependency in the core. 
>> It may be a 3rd-party plugin.
>>
>> If you would describe the problems you have with the TW tooltips in more 
>> detail, we may be able to fix this.
>>
>> -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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/8ca93a54-86af-4193-be30-cfb2a2db89d1n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/8ca93a54-86af-4193-be30-cfb2a2db89d1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/377d355e-97bb-47b0-862f-3c3a6d028d7bn%40googlegroups.com.


Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-04-13 Thread Joshua Fontany
Great work on this so far!

Best,
Joshua Fontany

On Tuesday, April 13, 2021 at 1:51:07 PM UTC-7 moros...@gmail.com wrote:

> A new version of *"TW Icons"* is available !!!
>
> *v1.5 *(https://morosanuae.github.io/tw-icons). Now with a total of *~38000 
> icons* *(15 libraries)*. 
>
> *Features*: 
>
>- *2 new* libraries added: *"Jam"*, *"Zwicon"*.
>- The selected icons can now be exported/imported by drag'n'dropping 
>the export buttons into the target wiki. The download functionality 
> remains 
>(by clicking). *(requested by Mat)*.
>
> For more info, please checkout the "version history". 
>
>
> On Tuesday, April 13, 2021 at 7:27:00 PM UTC+3 Mat wrote:
>
>> @morosanue - wonderful!
>> @Saq - thanks!
>>
>> <:-)
>> On Tuesday, April 13, 2021 at 1:28:27 PM UTC+2 moros...@gmail.com wrote:
>>
>>> @Saq Thanks! What a simple solution! I never used it so it didn't pop in 
>>> to my eyes when I searched the docs. 
>>> @Mat I've already implemented this functionality. It will be published 
>>> soon.
>>>
>>> On Tuesday, April 13, 2021 at 1:50:42 PM UTC+3 saq.i...@gmail.com wrote:
>>>
>>>> Both the Button widget and the Draggable widget can be used to drag and 
>>>> drop tiddlers, as assigned by a filter. The advantage is that you don't 
>>>> need to tag tiddlers just to be able to drag and drop.
>>>>
>>>> Assuming the Export button is created with a Button Widget, it can be 
>>>> assigned a dragFilter and be used for drag and drop.
>>>> On Tuesday, April 13, 2021 at 12:41:36 PM UTC+2 moros...@gmail.com 
>>>> wrote:
>>>>
>>>>> @Mat Hey, I didn't know that tags can be used with drag'n'drop 
>>>>> functionality! I really didn't know it! Now that I know this let me try 
>>>>> again.  
>>>>>
>>>>> On Tuesday, April 13, 2021 at 12:55:40 PM UTC+3 Mat wrote:
>>>>>
>>>>>> @morosanue - Thanks for update 
>>>>>>
>>>>>> @Mat I couldn't find a simple (wikitext based) solution for importing 
>>>>>>> a batch of icons by drag'n'drop. Sorry.
>>>>>>>
>>>>>>
>>>>>> Thanks for trying. Could you formulate the specific problem with it 
>>>>>> in technical terms so maybe someone can help out? I'd think many people 
>>>>>> would find direct DnD very useful, instead of having to download etc. 
>>>>>> One 
>>>>>> idea might be to apply a temporary (how?) tag to the selected tiddlers 
>>>>>> and 
>>>>>> have this tag presented in the left column, i.e since tags are directly 
>>>>>> draggable. Maybe the drop mechanism could then remove the tag. 
>>>>>> (Personally, 
>>>>>> it the simplicyt with DnD would even outweigh the drawback of a tag that 
>>>>>> was not removed automatically.)
>>>>>>
>>>>>> <:-)
>>>>>>
>>>>>

-- 
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/1394b92e-702f-44c9-9a64-80267d58034dn%40googlegroups.com.


Re: [tw5] Re: video embedded in modal - how to call with link instead of button?

2021-04-12 Thread Joshua Fontany
The $details widget is not part of the core, so it would take a lot of 
debugging to see what is going on there...

Maybe check with the plugin author?

https://github.com/rimi/tw5-telmiger-plugins/issues

Best,

Joshua Fontany
On Sunday, April 11, 2021 at 3:36:43 AM UTC-7 Sapphireslinger wrote:

> That DetailsWidget list calls for 36 video Detailwidgets, each 
> approximately 45 minutes. The first detailwidget I open, it is blank for 7 
> seconds, then a black rectangle appears and finally the player controls 
> appear *24 seconds* later. I timed it with a timer. However, every video 
> I click after that is* instantly* available :)
>
> If it is a tiddler with* just one video DetailsWidget* in it, the video 
> loads instantly as well. But calling for *a bunch of video DetailWidgets 
> in a list *makes the first video load for 24 seconds or more. (A list 
> filter of video-modal links seems to have the same problem.)
>
> This is a relatively new Tiddlywiki with not much in it yet, since I'm 
> fixing it up for a blog. It's not my note-taking Tiddlywiki with thousands 
> of notes.
>
> Should I just accept it and try to put a splash screen in the 
> DetailsWidget somehow? 
>
> I tried putting 20 of the video DetailWidgets together in a list as 
> separate DetailWidgets lined up (see below). It's weird. Sometimes clicking 
> on that first video loads almost instantly. Other times it takes 3 seconds 
> for something to appear, 7 seconds to load completely. 
>
> <$details summary="TITLE 1">
>
> {{VIDEO TIDDLER 1||VideoTemplate}}
>
> 
> <$details summary="TITLE 2">
>
> {{VIDEO TIDDLER 2||VideoTemplate}}
>
> 
> etc, etc, etc.
>
> But when I tried transcluding that tiddler into another tiddler, it was 
> even worse, loading for almost 30 seconds.
>
> On Sunday, April 11, 2021 at 8:22:09 AM UTC+8 joshua@gmail.com wrote:
>
>> Thanks for the assist, Eric! Glad this worked out, and even I learned a 
>> few things about syntax.
>>
>> Best,
>> Joshua F
>>
>> On Saturday, April 10, 2021 at 7:35:49 AM UTC-7 Sapphireslinger wrote:
>>
>>> Thank you!!
>>>
>>> On Saturday, April 10, 2021 at 9:29:12 PM UTC+8 Eric Shulman wrote:
>>>
>>>> On Saturday, April 10, 2021 at 5:23:35 AM UTC-7 Sapphireslinger wrote:
>>>>
>>>>> I tried this. The DetailsWidget drops down, but empty again just like 
>>>>> the modal was.
>>>>>
>>>>> <$list filter="[tag[video]sort[title]]">
>>>>> <$details summary={{!!caption}}>
>>>>> {{||VideoTemplate}}
>>>>> 
>>>>> 
>>>>>
>>>>
>>>> 1) Except in filters, references to <> use *doubled* 
>>>> angle brackets.
>>>> 2) You can't use <> within the {{...}} transclusion 
>>>> syntax
>>>> 3) If you omit the currentTiddler syntax from the transclusion it will 
>>>> use the default (which is currentTiddler anyway), like this:
>>>>
>>>> {{||VideoTemplate}}
>>>>
>>>> -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/90577b39-fb67-4b41-8834-f527fa3c320cn%40googlegroups.com.


[tw5] Re: TW5 Data Entry Form

2021-04-12 Thread Joshua Fontany
Yes, see below. This will work as long as your State tiddler only holds 
data (that can then be re-entered using the Form tiddler).

Good work exploring TW UI! :)

```
\define newEntry()
<$action-createtiddler $basetitle="entry" $template="$:/state/basic-form"/>
<$action-deletetiddler $tiddler="$:/state/basic-form"/>
\end

<$button actions=<> >
Create Tiddler

```

If you want to clear selective fields, while leaving others intact, use the 
$action-deletefield (which is identical to using the $action-setfield 
widget with NO value).

References:
https://tiddlywiki.com/#ActionDeleteTiddlerWidget
https://tiddlywiki.com/#ActionDeleteFieldWidget

Best,
Joshua Fontany
On Monday, April 12, 2021 at 7:28:48 AM UTC-7 Reaktorblue wrote:

> I'm trying to learn how to use TW5 as a way to document some things via a 
> data entry form
>
> I have these two tiddlers created
>
>- Basic Form
>- $:/state/basic-form
>
> In the Basic Form tiddler, I'm using a button to create a new tiddler 
> based on the data in the form
>
> \define newEntry()
> <$action-createtiddler $basetitle="entry" $template="$:/state/basic-form"/>
> \end
>
> <$button actions=<> >
> Create Tiddler
> 
>
> Is there a way to also clear the form once I have clicked the button?
>
>
>

-- 
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/69176289-07a5-4fce-9514-1b06afb23fbbn%40googlegroups.com.


[tw5] Re: The case against in TW?

2021-04-12 Thread Joshua Fontany

>From a technical standpoint, that HTML entity may be removed from the DOM 
at any time (during the TW refresh cycle, if it is inside a block that gets 
refreshed to no longer include it, i.e. a user closes the Tiddler in the 
river, or "hides" it by a "slider"/$reveal. Any code references to that 
specific HTML entity in the DOM are now broken.

TW uses Widgets (which survive the refresh process, handles all code 
references i.e. persisting variables or data, and then build HTML to insert 
into the DOM if the widget is actively displayed).

I would read the Dev Wiki on tiddlywiki.com to get a sense of how the 
update/refresh procces works, and then the $edit-textwidget docs, and then 
the CODE inside the "simple engine" that the $edit-text widget spawns for 
simple 1 line textboxes:

https://tiddlywiki.com/dev/#WikiText:WikiText%20Widgets%20Introduction%20HelloThere

https://tiddlywiki.com/#EditTextWidget

https://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Feditor%2Fengines%2Fsimple.js


There is also this similar plugin: http://kixam.github.io/TW5-datePicker/

Best,
Joshua Fontany

On Monday, April 12, 2021 at 5:56:59 AM UTC-7 PMario wrote:

> Hi Hubert,
>
> I think it's mainly because of UI consistency. We need browser and OS 
> consistency. So it's much easier to create your own UI and be consistent, 
> instead of documenting a 100 different OS and browser combinations. 
>
>- Date and Time pickers imo are always used in a very specific 
>context. ... You mentioned Projectify, which is a task-management context
>- On a holiday-booking size you may need a "from - to" context and you 
>probably need 2 pickers in 1 "popup". 
>- In a calendar context you will probably need additional fields for 
>"week" and "time" ... 
>- ... .and so on ... 
>
> All of this makes it "easier" to make it on your own!
>
> *On the other hand* date-calculations are extremely complex, since they 
> have to deal with country and / or region specific differences. ... That's 
> the reason, why many 3rd party libraries are huge in terms of byte-size. 
>
> So TW only provides the most basic possibilities. ... Even if they would 
> profit hugely from some "love", since the browsers have made a lot of 
> progress since TW5 and the date-functions have been created. 
>
> Just my thoughts!
> 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/c0402277-38e7-4dd5-952b-32d64c648839n%40googlegroups.com.


Re: [tw5] Re: video embedded in modal - how to call with link instead of button?

2021-04-10 Thread Joshua Fontany
Thanks for the assist, Eric! Glad this worked out, and even I learned a few 
things about syntax.

Best,
Joshua F

On Saturday, April 10, 2021 at 7:35:49 AM UTC-7 Sapphireslinger wrote:

> Thank you!!
>
> On Saturday, April 10, 2021 at 9:29:12 PM UTC+8 Eric Shulman wrote:
>
>> On Saturday, April 10, 2021 at 5:23:35 AM UTC-7 Sapphireslinger wrote:
>>
>>> I tried this. The DetailsWidget drops down, but empty again just like 
>>> the modal was.
>>>
>>> <$list filter="[tag[video]sort[title]]">
>>> <$details summary={{!!caption}}>
>>> {{||VideoTemplate}}
>>> 
>>> 
>>>
>>
>> 1) Except in filters, references to <> use *doubled* 
>> angle brackets.
>> 2) You can't use <> within the {{...}} transclusion syntax
>> 3) If you omit the currentTiddler syntax from the transclusion it will 
>> use the default (which is currentTiddler anyway), like this:
>>
>> {{||VideoTemplate}}
>>
>> -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/5e42e400-491e-408a-87b8-c7b280245832n%40googlegroups.com.


[tw5] Re: video embedded in modal - how to call with link instead of button?

2021-04-07 Thread Joshua Fontany

UI elements tagged with `$:/tags/ViewTemplate` are only rendered for 
Tiddlers appearing in the Story River. It is part of the ViewTemplate 
passed to the list widget that renders the Story River.

Transcluding it into a modal fails to trigger that rendering - because TW 
considers all Modals to be "outside" of the Story River (which CSS renders 
as "on top of").

In this case, you can call the ViewTempalte section directly AS the Modal, 
and then pass it a new `currentTiddler` value to use inside the Modal. Note 
the $ on the `$param=` attribute, and the lack of one on the 
`currentTiddler=` attribute.
```
<$list filter="[tag[FooVideo]sort[title]]">
   <$button class="tc-btn-invisible tc-tiddlylink" message="tm-modal" 
$param="VIEWTEMPLATETIDDLER" currentTiddler=<>>
  <$text text={{!!caption}}/>
   

```
Ref: https://tiddlywiki.com/#WidgetMessage%3A%20tm-modal

Best,
Joshua Fontany
On Tuesday, April 6, 2021 at 6:07:51 AM UTC-7 Sapphireslinger wrote:

> Dear Eric,
>
> Your code works great.
>
> But it only works for me if each of my tiddlers tagged with FooVideo has 
> this pasted directly in it: 
>
>  frameborder="0" allowfullscreen class="video">
>
> *The moment I try to automate that* by putting 
>
> <$list filter="[tag[video]]">
>  frameborder="0" allowfullscreen class="video">
> 
>
>  in a tiddler tagged $:/tags/ViewTemplate ... then every tiddler (tagged 
> with both FooVideo and video, by the way) still  has the correct video 
> displayed, but when I click on the list of contents your code gives me, *the 
> modals pop up empty now*.
>
> May I ask if you would happen to know why?
> On Sunday, April 4, 2021 at 5:30:33 PM UTC+8 Sapphireslinger wrote:
>
>> Thank you very much!
>>
>> On Tuesday, March 30, 2021 at 3:09:04 PM UTC+8 Eric Shulman wrote:
>>
>>> On Monday, March 29, 2021 at 11:47:06 PM UTC-7 Sapphireslinger wrote:
>>>
>>>> *Problem 1: How to get "1. Introduction" to display as a link not a 
>>>> button?*
>>>> *Problem 2: How to call all FooVideos with a list filter where clicking 
>>>> a link (of the caption) opens it in the tm-modal? *
>>>>
>>>  
>>> <$list filter="[tag[FooVideo]sort[title]]">
>>><$button class="tc-btn-invisible tc-tiddlylink" message="tm-modal" 
>>> param=<>>
>>>   <$text text={{!!caption}}/>
>>>
>>> 
>>>
>>> Notes:
>>> 1) Removed trailing / from <$list> widget (use matching /$list widget 
>>> instead)
>>> 2) Use class=" tc-btn-invisible tc-tiddlylink" to make the button 
>>> appear as clickable link instead of a button
>>> 3) Variables used as parameter values need doubled angled brackets 
>>> (i.e., <>)
>>> 4) Use $text widget to display caption (avoids unwanted links if there 
>>> is any CamelCase in caption text)
>>>
>>> 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/f5a67030-9da5-4fb8-8ee3-d24f233ebef3n%40googlegroups.com.


[tw5] Re: Wikitext img failing under node.js (5.1.23)

2021-04-03 Thread Joshua Fontany
This is very cool stuff Saq. Mahalo for sharing your experiments.

Best,
Joshua Fontany

On Friday, April 2, 2021 at 10:28:28 AM UTC-7 saq.i...@gmail.com wrote:

> That's good to hear Mark. I wasn't looking forward to having to debug this 
> if it was still an issue with the newer code.
>
> I'm still actively working on this, in fact I put in a little time on it 
> even today, so there isn't any documentation as things are apt to change as 
> I explore different implementation approaches.
>
> One caveat to be aware of: The way the code now works is that it saves the 
> imported image as a normal base 64 tiddler in the wiki tiddler store in 
> memory, while uploading it to the files folder in the background. Once it 
> has been uploaded and successfully saved to the files folder, the base 64 
> image tiddler is converted into a _canonical_uri tiddler. All of this 
> happens without any user interaction and doesn't seem to disrupt normal 
> usage in any manner. This workflow guards against losing data because of 
> any issues writing the file to the files folder, and also works around the 
> fact that import process in TW is designed to be synchronous. 
>
> Working on a local node.js server it is all almost instantaneous and you 
> don't notice that the tiddler is first saved as base 64, but just a heads 
> up that this is what happens in the background. On a remote server over a 
> slow connection, or with very large media files, this could be an issue as 
> the normal sync mechanism may start saving the base 64 tiddler while the 
> file is uploading to the files folder. However, best dealing with that may 
> require some core modifications and support in the file saving adaptor. The 
> long term goal is to identify what changes would be needed and hopefully 
> get support for saving to the files folder in the core. 
>
> Not present in the version I uploaded for you this morning but now 
> implemented, is a toolbar button and a tm-externalise-tiddler message that 
> can be used to convert an existing base 64 image into a _canonical_uri 
> tiddler with the actual image saved in the files folder. If that's 
> something you need, I can publish that.
>
> Saq
>
> On Friday, April 2, 2021 at 7:09:06 PM UTC+2 Mark S. wrote:
>
>> Ok! That seems to fix it -- it creates zero byte stub files! (Linux, 
>> Chromium).
>>
>> Thank you!
>> On Friday, April 2, 2021 at 12:11:47 AM UTC-7 saq.i...@gmail.com wrote:
>>
>>> Hi Mark,
>>>
>>> Very peculiar! This suggests that there is something about my 
>>> environment that makes this work, whereas it otherwise fails. I've been 
>>> using this as part of a highly customized TW, where the image import is via 
>>> a custom UI and part of a larger workflow, so it is possible that there is 
>>> some other part of it that is needed for this to work properly.
>>>
>>> However, I did realize that when I was testing yesterday to recreate 
>>> your problem in a fresh wiki, I made the mistake of using the version of 
>>> the plugin that I have been working on the last week. Since this is the 
>>> code base I will be working on going forwards, it would be very helpful to 
>>> know if this version still gives you the same issue on 5.1.23, before I try 
>>> to do a deeper dive and identify and resolve the issue.
>>>
>>> https://saqimtiaz.github.io/sq-tw/temp/import-to-external-file.html
>>>
>>> Thanks again for the feedback and time invested in testing this.
>>> Regards,
>>>
>>> Saq
>>>
>>> On Friday, April 2, 2021 at 4:00:40 AM UTC+2 Mark S. wrote:
>>>
>>>> I just booted into Windows 10 and experienced the same error. In the 
>>>> case of one of the image files, it corrected itself after I temporarily 
>>>> changed the text in the canonical_uri tiddler. But the other two images 
>>>> that I imported continued to have a non-zero byte file (1kib) in the 
>>>> tiddlers directory. In addition, there was an oddity that the imported 
>>>> image files have no mod dates, and so don't appear in the "recent" list.
>>>>
>>>> So I've tried it now on 3 file systems, 3 operating systems and two 
>>>> different physical machines. 
>>>>
>>>> Thanks! 
>>>>
>>>> On Thursday, April 1, 2021 at 2:49:14 PM UTC-7 saq.i...@gmail.com 
>>>> wrote:
>>>>
>>>>> Hi Mark, appreciate the additional testing and feedback. It at least 
>>>>> helps rule out some potential causes.
>>>>>
>&g

[tw5] Re: [Semi off topic] How best create screencasts (about TW)?

2021-04-02 Thread Joshua Fontany
I have been considering using the Vimeo Chrome Record plugin:
https://chrome.google.com/webstore/detail/vimeo-record-screen-webca/ejfmffkmeigkphomnpabpdabfddeadcb?hl=en

Best,
Joshua Fontany

On Friday, April 2, 2021 at 12:52:32 AM UTC-7 Mat wrote:

> In another thread, fellow tiddleur Mohammad suggested I make screencasts 
> to demo some stuff. I agree and it's one of those "ought to do" things I've 
> been thinking of forever.
>
> Actually, if there's a very simple workflow we could encourage more people 
> to do this overall. I think it would benefit the TW project.
>
> So how can I do this "very easily"? It must be super simple. I don't want 
> to have to study a lot of stuff about editing and special software and yet 
> I want the following:
>
> Toggle live between recording:
>  - only the screen (preferably a specific browser tab)
>  - the screen plus also a small frame with my face in a corner
>  - only my face
> Add a premade intro or end segment to the result.
> Put up on youtube easily.
>
> Suggestions?
>
> <:-)
>

-- 
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/82e96c24-cd73-49bf-a5f9-6ec7604b6c95n%40googlegroups.com.


[tw5] Re: [Plugin idea] Dropzone for tabs

2021-04-01 Thread Joshua Fontany
 Who-oa!

;)

Best,
Joshua F

On Thursday, April 1, 2021 at 6:46:41 AM UTC-7 David Gifford wrote:

> Imagine that the tabs macro included a dropzone, so that you could drag a 
> tiddler link on top of a series of tabs, have a colored outline or bar 
> appear, and add the tiddler as a tab in that area by dropping the link in 
> that area.
>
> Okay, now go back to your day tying to forget this idea, something you had 
> no idea you needed so much.
>
> Dave
>
>
>

-- 
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/9b2af368-84f8-4cc8-822c-8fe1f8558339n%40googlegroups.com.


[tw5] Re: CSS help

2021-03-31 Thread Joshua Fontany
Hi Rika,

First, I would move the style tag into its own CSS tiddler (you are 
currently actually generating a  tag for EVERY result of your $list 
filter).

Copy just the internal CSS (not the <style> tags) into a tiddler (any title 
is fine), and tag it with $:/tags/Stylesheet. When TW refreshes (instantly 
upon tiddler save), it places all CSS with that tag in the page header.

(There are ways to make the CSS dynamic with wiki-text, but that should be 
explored later.)

Then, once, you have the List and the CSS in separate tiddlers, you can 
edit each seperately, and use the browser's Dev Tools to target your CSS 
updates.

Best,
Joshua F

On Wednesday, March 31, 2021 at 4:11:54 PM UTC-7 rika.s...@gmail.com wrote:

> I'm using the Public Sidebar plugin (<a  rel="nofollow" href="http://publicsidebar.tiddlyspot.com/">http://publicsidebar.tiddlyspot.com/</a>) 
> which is fantastic, but I can't get the margins right. 
>
> Can someone please so kindly take a look at my website and help with the 
> margins? I'd also like to fix the issue with text expanding past the 
> screen. Much appreciated!!
>
> Here's the code I currently have:
> <$set name="loc" value=<<location 'hostname'>>>
> <$list filter="[<loc>]+[prefix[www.rikasukenik.com]]">
> <style>
> .tc-sidebar-scrollable{visibility:visible;}
> .tc-page-controls {display:none;}
> .tc-sidebar-lists{visibility:hidden; display:inline; height: 100px;}
> .tc-search{visibility:visible;}
> .tc-search-results{visibility:visible;}
> .public {visibility:visible;}
>
> 
> 
>  
>

-- 
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/c612e0c5-610f-4fc8-91f9-49c948cf0221n%40googlegroups.com.


[tw5] Re: How to create a shared TiddlyWiki accessible from multiple machines?

2021-03-31 Thread Joshua Fontany

At this point, Tiddlywiki-on-Fission is the easiest way to have a 
"single-file wiki" sync to multiple machines and be editable/saveable back 
tot he "same space".

(Behind the scenes, Fission actually generates a unique ID for each version 
of the document, and updates the "file location" to point to the most 
recent unique ID, and your private folders are encrypted, while you public 
folders are publicly available at your 
NAME.files.fission.name/p/PATH/TO/INDEX/html).

https://tiddlywiki.fission.app/

Your first AUTH will help you setup your account. Go back to 
the https://tiddlywiki.fission.app/ address if it doesn't spin you back 
there after creating your account, and re-authorize. This is NEW STUFF. :)

Best,
Joshua F

On Wednesday, March 31, 2021 at 1:30:07 PM UTC-7 Mat wrote:

> Maybe Bob?
>
> https://github.com/OokTech/TW5-Bob
>
> <:-)
>
> On Wednesday, March 31, 2021 at 4:11:32 PM UTC+2 matthew...@gmail.com 
> wrote:
>
>> I want to create a wiki that I can use from work and at home. Because it 
>> will have work stuff on, it needs to be stored somewhere private.
>>
>> I don't want to use Dropbox because it's not technically approved by my 
>> employer for work use. And I don't want to use Google Drive because I have 
>> a different Google account for work, so don't want to have to switch 
>> accounts.
>>
>> I thought a private GitHub repo would be the answer, but I can't figure 
>> out how that works across multiple machines - do I check out the repo on 
>> each machine and work on the local file, pulling the latest version at the 
>> start of each day?
>>
>> What is the current best method for a private, secure page I can use on 
>> multiple machines?
>>
>

-- 
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/320eb748-0614-4178-bdd7-fd5150e85197n%40googlegroups.com.


[tw5] Re: --Load / plugins / tiddlywiki.info

2021-03-28 Thread Joshua Fontany
If those plugins exist in the single-file TW instance that you are Loading, 
then yes - In fact, I don't think you even need a tiddlywiki.info file at 
all, Unless you are unpacking that wiki into a foler-style / individial 
*.tid(s).

Timing wise, you are getting the `Warning: Cannot find plugin ` errors AS 
the TW core is loading your wiki-folder, therefore BEFORE the command is 
initiated.

Once the single-file tiddlers are loaded, those plugins should appear in 
the normal `tiddlers/` directory.

Best,
Joshua Fontany

On Sunday, March 28, 2021 at 2:08:45 PM UTC-7 james.w@gmail.com wrote:

> Hello,
>
> I have a TW called notes.hta that contains the following plugins:
>
> "welford/twstaticblog/helper",
> "welford/twstaticblog/export",
> "welford/twyt",
> "welford/twspimg"
>
> however when I call this
>
> ```
> call tiddlywiki .\tw --load .\notes.hta --output .\blog --build posts
> ```
>
> I am getting the error messages:
>
> ```
> Warning: Cannot find plugin 'welford/twstaticblog/helper'
> Warning: Cannot find plugin 'welford/twstaticblog/export'
> Warning: Cannot find plugin 'welford/twyt'
> Warning: Cannot find plugin 'welford/twspimg'
> ```
>
> Presumably getting these because I have these plugins listed in my 
> tiddlwyiki.info
>
> Maybe I am just misremembering, but i thought having the plugins in the 
> file you load is ok. Is that not the case?  do they need to be in the 
> Node.js instance of TW? Is there any way around this?
>
> Thanks,
> James
>
>

-- 
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/3e4f427f-dd3b-46df-8285-9589094735d5n%40googlegroups.com.


[tw5] Re: [Plugin] TW5-CodeMirror-Plus - with better formatting and autocompletion

2021-03-28 Thread Joshua Fontany
Excellent! Mahalo (thanks) for sharing!

-Joshua Fontany

On Sunday, March 28, 2021 at 1:59:11 PM UTC-7 bmad...@gmail.com wrote:

> Hi Everyone,
>
> I first released TW5-CodeMirror-plus six months or so back but didnt get 
> time to work on it since then. This is a major update with some nice 
> additions.
>
> Checkout it out here: 
> https://adithya-badidey.github.io/TW5-codemirror-plus/
>
> Cheers
> Adithya
>

-- 
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/94870273-6851-4905-b696-3b58fced4225n%40googlegroups.com.


[tw5] Re: Announcing the TiddlyWiki Community Links Aggregator

2021-03-21 Thread Joshua Fontany
This is a FANTASTIC idea. Bravo. Will be digesting alongside the 
Tiddlywiki-on-Fission work being done.

Are we starting to approach a 'standard' "Link Tiddler" format? That's also 
cool to see, as I intend to have a few different wikis to curate links for 
various topics. Setting one up for Tiddlywiki-focused bookmarks only will 
be easy. :)

Best,
Joshua Fontany

On Sunday, March 21, 2021 at 12:09:43 PM UTC-7 Mat wrote:

> Well, it should come as no surprise what I think of this:
>
> HOOORAYYY
>
> Thank you Jeremy! I'll sign up as soon as I figure out a good wiki for it.
> Two notes:
>
> 1) The links at TiddlyWikiLinks currently don't seem to work. E.g clicking 
> on federatial.com doesn't lead to that site.
> 2) There's something about Motovun Jack... and I cracked it ;-)
>
> <:-)
>
> On Sunday, March 21, 2021 at 6:00:23 PM UTC+1 Jeremy Ruston wrote:
>
>> One of the obstacles we face as a community is that we don’t have a good 
>> place for us to curate and share bookmarks to useful resources. Dave 
>> Gifford has shown what's possible with his ToolMap, an invaluable community 
>> resource. But it’s a huge challenge for any one person to keep an 
>> undertaking like that up to date, let alone complete.
>>
>> So, I’m pleased to announce TiddlyWikiLinks, a community links aggregator 
>> that allows us to collectively curate bookmarks:
>>
>> https://links.tiddlywiki.com
>>
>> The way it works is that multiple contributing editors each maintain 
>> their own TiddlyWiki containing their bookmarks. These wikis are registered 
>> with the system on GitHub, and then at intervals a script retrieves all the 
>> links and aggregates them together into a new wiki.
>>
>> The above links are to a static rendering to help Google find things, but 
>> the information is also available in TiddlyWiki format:
>>
>> https://links.tiddlywiki.com/wiki.html
>>
>> It’s easy to set up to be a contributing editor.  The main requirement is 
>> that bookmarks be kept as tiddlers tagged "$:/tags/Link" with an “url” 
>> field containing the URL. So, for example, I’m “jermolene”, and all my 
>> links are to be found at:
>>
>> https://links.tiddlywiki.com/contributors/jermolene/
>>
>> My bookmarking wiki is here:
>>
>> https://jermolene-links.tiddlyhost.com
>>
>> If enough people volunteer to be contributing editors, we can spread the 
>> workload and make something much more valuable than any of us could do 
>> individually. I’d be happy if we had a handful of contributing link editors 
>> making high quality bookmarks, but I think this system could be scaled to 
>> at least a few hundred.
>>
>> If you’re interested, please reply here with the URL of your bookmarking 
>> wiki and your choice of username.
>>
>> As ever, there’s a lot to do on the development side to take this forward:
>>
>> * Improving the styling (consider the current colour scheme and styling 
>> to be a placeholder!)
>> * Adding JavaScript-based interactivity (particularly search)
>> * Adding support for multiple languages
>> * Adding an RSS/Atom feed
>>
>> The development has required setting up another GitHub organisation in 
>> order to get another GitHub Pages site:
>>
>> https://github.com/TiddlyWikiLinks/TiddlyWikiLinks
>>
>> (For those with long memories, this is, of course, a variation of the 
>> "TWederation" archiecture we have discussed as a community for a long time).
>>
>> I’ve been able to put this together in a few days thanks to all that I’ve 
>> learned on my recent client projects. My personal goal for 2021 remains to 
>> get a Community Plugin Library up and running for TiddlyWiki. The link 
>> aggregator is a simpler proposition that should give us some valuable 
>> experience for that initiative.
>>
>> Questions and thoughts welcome,
>>
>> Best wishes
>>
>> Jeremy.
>>
>>

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


[tw5] Re: [Presenting] (finally) the Customizer Plugin

2021-03-17 Thread Joshua Fontany

This looks really cool. Good to see your concepts evolve. Well done. :)

Best,
Joshua F

On Wednesday, March 17, 2021 at 5:52:11 AM UTC-7 David Gifford wrote:

> @Jeronimo: if you are able to specify exactly what changes you made, that 
> would be helpful to me. Especially if you see it happen in Customizer. You 
> should not need to delete any tiddlers to use Cutsomizer. It adds and 
> removes tags from a few core tiddlers, but actually in many cases I have 
> transcluded core tiddlers into my own system tiddlers, so most of the core 
> tiddlers are unchanged by my tagging.
>
> @ArchiMark and @Tones, Mohammad uses Iranian placenames for his plugins. 
> Maybe I should do the same, and use Mexico placenames in Nahuatl, like the 
> AtzcapotzalcoPlugin, the TequisquiapanPlugin, the IxtlixochitlPlugin and of 
> course, the TequexquinahuacriveraDelBosquePlugin  (Google maps 
> <https://www.google.com/maps/place/Tequexquinahuacrivera+del+Bosque,+Tlalnepantla+de+Baz,+State+of+Mexico/@19.5601173,-99.2138897,15z/data=!3m1!4b1!4m27!1m21!4m20!1m11!1m2!1s0x85ce01a19ef35c29:0x233b873226209b50!2sCannes,+Coapa,+Acoxpa,+14300+Ciudad+de+M%C3%A9xico,+CDMX,+Mexico!2m2!1d-99.1260374!2d19.2969741!3m4!1m2!1d-99.1958108!2d19.6451114!3s0x85d21e222c716843:0x427078f879e58b85!1m6!1m2!1s0x85d39c03771045ab:0x3fc392933ab17fff!2sTequisquiapan,+Qro.!2m2!1d-99.8850586!2d20.5187326!3e0!3m4!1s0x85d21d71dcde0545:0xd072f547333eb9cf!8m2!3d19.5601945!4d-99.2044455>
> )
>
> The third one is pronounced more or less like "eastly SO cheetle". 
> On Tuesday, March 16, 2021 at 10:01:30 PM UTC-6 jero...@gmail.com wrote:
>
>> 2x wow! Just today I discovered "Toggle!" and now this! great work! 
>> looks impressive! Thanks a lot again!
>>
>> I had imported Toggle! into a couple of wikis, and it worked like a 
>> charm. 
>> Just in a big wiki with several plugins, after I did some customizations 
>> all toggles became unresponsive and I had to disable the Toggle! plugin.
>>
>> Now I would like to give the new Customizer a go. 
>> Besides of having disabled the "Toggle!" plugin - Should I delete some 
>> tiddlers  before I import the new Customizer Plugin?
>>
>>
>>
>>
>> On Wednesday, March 17, 2021 at 11:24:45 AM UTC+9 David Gifford wrote:
>>
>>> Thanks for the feedback, Tones!
>>>
>>> Simple bulleted list (too bad Google Groups doesn't let us edit posts 
>>> anymore):
>>>
>>>- Viewtoolbar buttons invisible until hovering
>>>- A button with a two-tab dropdown that provides the following 
>>>features: 
>>>   - Customize what elements are visible on tiddlers in view mode 
>>>   and in edit mode
>>>   - Customize what elements are visible in the sidebar
>>>   - A reimagination of how the sidebar should work
>>>   - Numerous add-on custom view template elements
>>>   - Numerous add-on sidebar elements
>>>   - In these add-ons there are more natural / logical groupings of 
>>>   tabs that are separated in the default TW ui 
>>>   - Instructions on how users can make their own custom elements
>>>
>>> As for the name, I think I will leave it as is:
>>>
>>>- It wasn't taken and I got there first :-)
>>>- I already announced it here and on Twitter, after several previous 
>>>incantations with different names. I hate to change it yet again
>>>- It is short and concise.
>>>- Though it is generic and broad, it describes what the plugin does 
>>>- fast customization of quite a bit of TiddlyWiki's UI in one place 
>>>
>>> Thanks again and blessings!
>>>
>>>
>>> On Tuesday, March 16, 2021 at 7:56:49 PM UTC-6 TW Tones wrote:
>>>
>>>> David,
>>>>
>>>> Thanks so much for building and sharing this. What you have done is 
>>>> important to many users because it provides additional configurations and 
>>>> tiddlers views to a wiki. When using tiddlywiki to get things done such 
>>>> customisations can improve ones workflow or the presentation of the 
>>>> result. 
>>>> Bravo for your effort and publishing to the community.
>>>>
>>>> Some friendly feedback.
>>>>
>>>>
>>>>- I think a simple bulleted list of the main features would be 
>>>>helpful in this thread. \
>>>>- The name "customizer" is a little too generic, perhaps something 
>>>>like "Side bar and tiddler view customizer" or a rand

[tw5] Re: How to Backup and Restore TiddlyWiki on Nodejs?

2021-03-13 Thread Joshua Fontany
If you are starting tiddlywiki on node with `tiddlywiki 
/home/username.wiki/ --listen <>` then yes, this seems like a good 
"quick" backup strategy. Because of the way TW modularly loads itself in 
node & the browser, you should have everything you need from the 
"/home/username.wiki/" ZIP files. Bare monimum you would need is the 
"tiddlywiki.info" file (a JSON describing the TW startup options for that 
wiki) and the contained "tiddlers/" folder inside the wiki folder.

You can simply unzip an archive anywhere, and replace that directory in the 
command to start the TW server.

Alternately, you can use the `tiddlywiki ~/Path/To/MyWiki --rendertiddler 
$:/core/save/all index.html text/plain` to render the folder-style wiki 
into a single "index.html" file (or change the 2nd parameter in the 
command), which will be placed in a newly created "output/" folder in the 
wiki directory.

Reference: 
https://tiddlywiki.com/#How%20to%20build%20a%20TiddlyWiki5%20from%20individual%20tiddlers:%5B%5BHow%20to%20build%20a%20TiddlyWiki5%20from%20individual%20tiddlers%5D%5D%20Commands%20HelloThere%20GettingStarted%20Community

Best,
Joshua Fontany

On Saturday, March 13, 2021 at 2:23:17 PM UTC-8  wrote:

> I've setup TiddlyWiki on an Ubuntu server. It's running on Nodejs. I've 
> got a shell script that zips up my /home/username/wiki/ directory. The 
> shell script then runs a PHP script that renames the zip file to 
> DAYOFMONTH_wiki.zip. For example, if today is March 13th, then it renames 
> the zip file to:
>
> 13_wiki.zip
>
> The idea here is that it backs up the files on a monthly rotation, so 
> there shouldn't be more than about 30 backup files (for 30 days in the 
> month) since when the new month rolls around it will replace 1_wiki.zip, 
> then 2_wiki.zip and so on.
>
> This PHP script then uploads the renamed zip file to my Amazon S3 bucket 
> each day and also when the server reboots (it's a cron job).
>
> Anyways, could someone please confirm that if I backup the 
> /home/username/wiki/ directory, then is this a sufficient backup for my 
> TiddlyWiki? I would just hate to find out that I'm not backing up enough 
> files or doing it incorrectly if my server breaks for some reason.
>
> Also, what would be the process for restoring the backup on a new server, 
> if I ever have to do a restore?
>

-- 
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/d863382b-eaec-40e6-a33b-2ce8b698d4f9n%40googlegroups.com.


[tw5] Re: Curiouse discovery, not tiddlyverse but tidyverse

2021-03-12 Thread Joshua Fontany
I have been able to call R packages from a quick node.js app I wrote. I can 
see the appeal of a workflow where youb could trigger an R job from a node 
TW instance. Interesting...

Best,
Joshua F

On Thursday, March 11, 2021 at 8:29:07 AM UTC-8 Stobot wrote:

> Hi Tony - you actually hit on (Tidyverse) something I'm familiar with as 
> my day job is in Data Analytics / Data Science and R is one of the key 
> languages (along with Python). I suspect it'd be very difficult to 
> integrate as it's not Javascript based like most of the other things that I 
> see integrated, but if it *could* somehow be integrated that would be 
> AMAZING. 
>
> On Wednesday, March 10, 2021 at 7:45:48 PM UTC-5 TW Tones wrote:
>
>> Folks,
>>
>> I stumbled apon tidyverse.org which caught my eye. It is "R packages for 
>> data science". I do not know how easy it would be to intergrate it with 
>> tiddlywiki but many of its packages would be useful for displaying or 
>> interogating data in tiddlers.
>>
>> Just sharing for those that may be intereted or have the skills to dig 
>> deeper.
>>
>> Tones
>>
>

-- 
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/00d4da43-7d48-4d4b-83c0-085712a60143n%40googlegroups.com.


[tw5] Re: FLOSS Weekly interview with Jeremy

2021-03-10 Thread Joshua Fontany
Awesome. Thanks for sharing!

Best,
Joshua Fontany

On Wednesday, March 10, 2021 at 3:09:07 PM UTC-8 jeremy...@gmail.com wrote:

> I've just recorded an interview with Doc Searls' FLOSS Weekly podcast:
>
> https://twit.tv/shows/floss-weekly/episodes/620?autostart=false
>
> Doc and I have worked together years ago, but the other host Jonathan 
> Bennet hadn't come across TiddlyWiki before, and had some nicely framed 
> questions so we spent most of the time talking about TiddlyWiki stuff. It's 
> probably all the same things that you may have heard me say in other 
> interviewers, but I really enjoyed it, and hope it is interesting for 
> others.
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermolene.com
> https://jermolene.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/5ce6a93d-8107-4dee-8182-a04f9d653e56n%40googlegroups.com.


[tw5] Re: Some more thoughts on linking in TW (aliases, display text, and relationship types: Oh My!)

2021-03-03 Thread Joshua Fontany
If we did add a relationship type to links, it helps to unpack the WikiText 
version of Links into their <$link> widget equivalent.

[[LinkText|CurrentTiddler]] unpacks to the following "parse tree" json in 
the internal javascript
```
{ type: "link", attributes: { to: {type: "string", value: link} }, 
children: [{ type: "text", text: text }
```
which is the equivalent to typing:
```
<$link to="CurrentTiddler"><$text text="LinkText"/>
```

Now, as we want "typed" links to other tiddlers, and probably not to 
external resources (hey, make a tiddler that points there), then we can 
re-use the pattern fro the "extended external link" WikiText, and the 
"extended image" WikiText. It would look something like:

```
[type:relationship[LinkText|CurrentTiddler]]
```
which would then render as
```
{ type: "link", attributes: { to: {type: "string", value: link}, type: 
{type: "string", value: type} }, children: [{ type: "text", text: text }
```
and be the equivalent of typing
```
<$link to="CurrentTiddler" type="relationship"><$text 
text="LinkText"/>
```

So, you could not use referenced (transcluded, macro, variable) data for 
the type in the WikiText version, but you could in the full Widget version.

Something to think about

Best,
Joshua Fontany

On Wednesday, March 3, 2021 at 12:46:09 PM UTC-8 dieg...@gmail.com wrote:

> Hello all,
>
> I thought again about one of my previous posts, and I thought I'd try 
> reposting it and editing it to encourage more conversation/ideas around 
> this topic.
>
> In my mind, *linking* is one of the two major pillars of TW 
> (searching/filtering being the other - why I think a lot and comment a lot 
> about search). If I want to link to a tiddler there are *four* (used to 
> be three) issues of concern:
>
> 1. what I want to type
>
>- Aliases provided by the un-link plugin are magical here! A tiddler 
>with "long title of method" can save me many keystrokes (and potential 
>typos!) if I just type the name of the alias.
>- Critically, this is decoupled from where I want the *link to go*, 
>and what I want it to *render as*. I don't ever want to type "a very 
>long title", or if the core also supports uniqueIDs, I don't want to type 
>timestamps. 
>- Something that I think should be incorporated into the core () 
>(or at least with uni-link) is the Edit-Comptext dropdown plugin 
><https://snowgoon88.github.io/TW5-extendedit/>. This plugin already 
>lets you define custom dropdown templates, so its natural to incorporate 
>the filters uni-link provides. 
>
>
> 2. where I want the link to go
>
>- If we're not just focusing on aliases for a second, this isn't as 
>straightforward as I initially thought - frequently I want a link to go to 
>a tiddler with a specific title (this is the obvious case).
>- Sometimes I want a link to go to a specific tiddler, *regardless of 
>its title**. *For example, my TW is constantly evolving as my system 
>of knowledge is evolving - I rename things, reorganize, etc 
>*frequently.* If I rename a method, or person, etc. all of my links to 
>this tiddler no longer work 
>- (there have been previous discussions of renaming tiddlers 
>   triggering a search/replace). 
>   - * The recently introduced relink plugin solves this particular 
>   problem! *
>   - I am more interested in being able to link to a tiddler by some 
>kind of unique ID (for example, created timestamp, or another field) - 
> *that 
>way, renaming a tiddler's title does not trigger massive textual changes 
> in 
>the rest of my tiddlers*
>   - I use version control, so it's a bit annoying when I rename one 
>   tiddler, my commit object contains changes to 20 other tiddlers whose 
> links 
>   to this one tiddler also had to change. 
>   - Uni-link address this issue, by introducing a (hopefully) unique 
>   field: *aliases*.
>   - So now I can link to [[coolMethod|?]] *regardless of the actual 
>   title of that tiddler!* This is a wonderful feature!
>
>
> 3. what I want the link to render/display as in view mode
>
>- TW already supports some version of this, as sometimes it's 
>appropriate to render a tiddler's title, other times its caption. I just 
>want to extend this so that the user has more fine-grained control over 
>this. 
>
>
> 4. What kind of relationship I want the link to represent
>
>- Thanks to the illuminating typed links thread 
&

[tw5] Re: Idea: typed links

2021-03-03 Thread Joshua Fontany
That is a really good option.

```
title: !mentioned

<$link to={{!!title}}><$text text={{!!title}}/> <$transclude 
field="mentioned"/>
```

```
title: Alice
mentioned: says HI!

Alice is from Alter-space.
```

```
title: Bob

Bob says hi to Alice, so "{{Alice||!mentioned}}"
```


Unfortunately, this does not generate a "backlink" reference because we are 
using a {{transclusion||template}} to generate the final link widget...

https://tiddlywiki.com/#Hard%20and%20Soft%20Links

A link is soft if it is:

   ...


   - generated by a link widget whose to attribute is a transclusion, macro 
   or variable


Best,
Joshua Fontany
On Wednesday, March 3, 2021 at 10:07:35 AM UTC-8 si wrote:

> @Tones I am struggling to understand exactly what you are suggesting. Are 
> you saying that to imitate Soren's example of [[Alice!mention]], you would 
> create a link to a totally unique tiddler, say [[1234]], then tag that 
> tiddler with "mention", then link from that tiddler to [[Alice]]? So you 
> would have a kind of proxy tiddler that represents the "type" of link?
> On Tuesday, 2 March 2021 at 20:42:33 UTC TW Tones wrote:
>
>> Soren,
>>
>> A Quick answer is to create tiddler for the relationship between two 
>> tiddlers, link to that relationship, which subsequently links to the 
>> related tiddler. Once the relationship tiddler exists exists it is simply a 
>> matter of tagging it with Mention or "relationship". The relationship 
>> tiddler can be numerically named. 
>>
>> Alternatively to making generic relationships and tagging them "mention" 
>> you could make specific relationships tiddlers eg mentions.
>>
>> Regards
>> Tones
>>
>> On Sunday, 28 February 2021 at 06:32:13 UTC+11 Soren Bjornstad wrote:
>>
>>> Occasionally I find myself wishing I could include additional 
>>> information with a link, often describing the exact relationship expressed 
>>> by the link. A basic example would be, in a journal tiddler, I might link 
>>> to a person and want to keep track of whether the person actually 
>>> *participated* in the events being described, or was just *mentioned *in 
>>> them.
>>>
>>> I imagine a syntax something like this:
>>>
>>> Mentioning [[Alice!mention]].
>>> Or [[a person|Alice!mention]].
>>>
>>> Another sensible choice could be to expose this functionality only 
>>> through the <$link> widget, so that no new syntax would need to be 
>>> introduced.
>>>
>>> You would then be able to filter on this metadata through a suffix of 
>>> the links[] or backlinks[] operator, e.g., the filter 
>>> "[[Alice]backlinks:mention[]]" could return only those links to Alice that 
>>> are of the *mention* type. Perhaps something like 
>>> "[linktype[LinkingTiddler],[Alice]]" to retrieve the type value as well 
>>> (could have multiple values if there are multiple links of different types).
>>>
>>> I don't think there is anything you would be able to do with this that 
>>> you can't do with fields, but I think in quite a few cases this would be a 
>>> more convenient syntax. Another advantage in some cases is that the 
>>> metadata would automatically come along with excisions and copy-paste.
>>>
>>> Does this sound interesting to anyone else? Practical?
>>>
>>

-- 
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/c1572893-77c3-4f0d-aebb-2f6c84a6f938n%40googlegroups.com.


[tw5] Re: Two requests for Toggle!

2021-03-03 Thread Joshua Fontany
On the CSS z-index targeting, you want to target the div that is `position: 
sticky`, which looks like it is `.hovercontrols`, so:

.hovercontrols {
z-index: 1000;
}

Should do the trick. Tested in my DevTools in Chrome on your demo wiki and 
it seems to work.

Best,
Joshua Fontany

On Wednesday, March 3, 2021 at 4:44:12 PM UTC-8 Joshua Fontany wrote:

> Hi,
>
> I really like how this is looking, very customizable. I answered point one 
> in the other thread, but wanted to expand here.
>
> On the controls-overlapping bug, you wan to explicitly set a `z-index` for 
> the element in question.
>
> https://www.w3schools.com/cssref/pr_pos_z-index.asp
> *Note:* z-index only works on *positioned elements* (position: absolute, 
> position: relative, position: fixed, or *position: sticky*).
>
> I would use a rather large value, like 1000, as this allows "room" for 
> plugin authors to play with z-indexes and you can be fairly confident your 
> controls will come out on top.
>
> For the 3-value logic problem with the Gaps stylesheets, I would use the 
> new "cycle" filter operator, which acks as a multi-value toggle:
>
> https://tiddlywiki.com/#cycle%20Operator
>
> Best,
> Joshua Fontany
>
> On Tuesday, March 2, 2021 at 3:59:43 PM UTC-8 David Gifford wrote:
>
>>
>> Hi everyone
>>
>> There are still two nagging things I want fixed for my Toggle! plugin, 
>> but I don't know how to do either.
>>
>> 1. I made progress on adding the viewtoolbars even when there is no 
>> visible sidebar. Thanks to a suggestion from Birthe, I used the 
>> sidecontrols plugin and modified it in a number of ways. You can see the 
>> results here: https://giffmex.org/experiments/toggleplus.html
>>
>> However, if you click on the more menu of the top tiddler, you will see 
>> that the dropdown is in front of that tiddler, but behind the other 
>> tiddlers. I am wondering how I can fix that. Then the viewtoolbars part 
>> will be complete.
>>
>> 2. I have a section in the Toggle! tab: 
>>
>> *Gaps btwn tiddlers:* Thin ♦ Hide.  
>>
>> Both 'Thin' and 'Hide' are individual on/off buttons. But they create 
>> confusion, because if either one is on, the other can't be applied. If 
>> 'Thin' gaps is applied, you can't turn on 'Hide' gaps.
>>
>> I would like to have a chooser similar in look to the Fixed/fluid, with 
>> three options: default gap size between tiddlers, thin gap size between 
>> tiddlers, hide gaps between tiddlers. Default would remove the 
>> $:/tags/Stylesheet tag from the two stylesheets. Thin would add the tag to 
>> the thin stylesheet and remove it from hide stylesheet. Hide would add the 
>> tag to the hide stylesheet, and remove it from the thin stylesheet.
>>
>> Any love I can get on either of these will make me very grateful. This 
>> will make this plugin much better. Thanks in advance, Dave
>>
>

-- 
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/ec11c237-606e-4bbb-a126-fd32dd00b75bn%40googlegroups.com.


Re: [tw5] Re: [Plugin announcement]: Toggle! (formerly CleanTids)

2021-03-03 Thread Joshua Fontany
Hi David. I'll expand on this in the other thread.

Best,
Joshua F

On Wednesday, March 3, 2021 at 4:46:42 PM UTC-8 David Gifford wrote:

> Hi Joshua
>
> I couldn't interpret your comments, and since I don't know all the ins and 
> outs of TiddlyWiki CSS, I am flying half-blind. But I even tried 
> .tc-drop-down {position:absolute;z-index:+10;} and it did not fix the 
> problem!
>
>
>
> On Wed, Mar 3, 2021 at 6:32 PM Joshua Fontany  
> wrote:
>
>> The catch: the more menu appears under the other tiddlers! Click the top 
>> tiddler's more menu to see what I mean.
>>
>> The class appears to be .tc-drop-down. Anybody have any ideas on how to 
>> fix that?
>>
>> https://www.w3schools.com/cssref/pr_pos_z-index.asp
>>
>> *Note:* z-index only works on *positioned elements* (position: absolute, 
>> position: relative, position: fixed, or position: sticky).
>> Best,
>> Joshua F
>> On Tuesday, March 2, 2021 at 6:58:44 AM UTC-8 David Gifford wrote:
>>
>>> Okay, I am so close I can taste it!
>>>
>>> https://giffmex.org/experiments/toggleplus.html
>>>
>>> Thanks to Birthe, I used the sidecontrols plugin. But I have made some 
>>> adjustments and will have to rename it and include it in the plugin later.
>>>
>>> The hovering toolbars look great, and appear on hovering anywhere on top.
>>>
>>> The catch: the more menu appears under the other tiddlers! Click the top 
>>> tiddler's more menu to see what I mean.
>>>
>>> The class appears to be .tc-drop-down. Anybody have any ideas on how to 
>>> fix that?
>>>
>>> On Sunday, February 28, 2021 at 11:23:48 PM UTC-6 David Gifford wrote:
>>>
>>>>
>>>> Hi all
>>>>
>>>> Yes, you read that right, I finally got off my bum and learned Tinka 
>>>> and created my very first plugin.
>>>>
>>>> The Toggle! plugin is a sidebar tab that allows you to toggle 
>>>> viewtemplate, edittemplate, sidebar and other visual elements. 
>>>>
>>>> It has the ability to reduce your tiddlers down to mere boxes of text, 
>>>> with thinner margins, smaller titles, and even reducing or removing the 
>>>> gap 
>>>> between tiddlers. 
>>>>
>>>> It also has two ways to view backlinks. Don't tell that Stroll guy. Oh 
>>>> wait, that's me.
>>>>
>>>> Demo and download: https://giffmex.org/gifts/Toggle/toggle.html 
>>>>
>>>> If you followed my CleanTids experiment, please note: there are some 
>>>> major changes. Also, I totally re-wrote the introductory tiddlers, since I 
>>>> had changed so much. (which are not part of the plugin).
>>>>
>>>> If you are using CleanTids and want Toggle! instead, first delete the 
>>>> tiddlers listed below from your file. Then add the new Toggle! plugin to 
>>>> your file.
>>>>
>>>>- $:/.giffmex/sidebartabs/Toggle
>>>>- $:/.giffmex/ViewTemplate/Backlinks
>>>>- $:/.giffmex/ViewTemplate/Transclude
>>>>- $:/.giffmex/Stylesheet/CleanTids
>>>>- $:/.giffmex/Stylesheet/CleanTidsNoMargin
>>>>- $:/.giffmex/Stylesheet/ToggleTab
>>>>- $:/core/ui/ListItemTemplate2
>>>>
>>>> Let me know if you find any glitches. Enjoy. - Dave
>>>>
>>>> -- 
>> 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/JCPS54RfWeM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/e8274943-2a7e-4f2a-86f5-c49d64caef33n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/e8274943-2a7e-4f2a-86f5-c49d64caef33n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/c9d9e4e6-4310-4ae6-8662-e36f158f0030n%40googlegroups.com.


[tw5] Re: Two requests for Toggle!

2021-03-03 Thread Joshua Fontany
Hi,

I really like how this is looking, very customizable. I answered point one 
in the other thread, but wanted to expand here.

On the controls-overlapping bug, you wan to explicitly set a `z-index` for 
the element in question.

https://www.w3schools.com/cssref/pr_pos_z-index.asp
*Note:* z-index only works on *positioned elements* (position: absolute, 
position: relative, position: fixed, or *position: sticky*).

I would use a rather large value, like 1000, as this allows "room" for 
plugin authors to play with z-indexes and you can be fairly confident your 
controls will come out on top.

For the 3-value logic problem with the Gaps stylesheets, I would use the 
new "cycle" filter operator, which acks as a multi-value toggle:

https://tiddlywiki.com/#cycle%20Operator

Best,
Joshua Fontany

On Tuesday, March 2, 2021 at 3:59:43 PM UTC-8 David Gifford wrote:

>
> Hi everyone
>
> There are still two nagging things I want fixed for my Toggle! plugin, but 
> I don't know how to do either.
>
> 1. I made progress on adding the viewtoolbars even when there is no 
> visible sidebar. Thanks to a suggestion from Birthe, I used the 
> sidecontrols plugin and modified it in a number of ways. You can see the 
> results here: https://giffmex.org/experiments/toggleplus.html
>
> However, if you click on the more menu of the top tiddler, you will see 
> that the dropdown is in front of that tiddler, but behind the other 
> tiddlers. I am wondering how I can fix that. Then the viewtoolbars part 
> will be complete.
>
> 2. I have a section in the Toggle! tab: 
>
> *Gaps btwn tiddlers:* Thin ♦ Hide.  
>
> Both 'Thin' and 'Hide' are individual on/off buttons. But they create 
> confusion, because if either one is on, the other can't be applied. If 
> 'Thin' gaps is applied, you can't turn on 'Hide' gaps.
>
> I would like to have a chooser similar in look to the Fixed/fluid, with 
> three options: default gap size between tiddlers, thin gap size between 
> tiddlers, hide gaps between tiddlers. Default would remove the 
> $:/tags/Stylesheet tag from the two stylesheets. Thin would add the tag to 
> the thin stylesheet and remove it from hide stylesheet. Hide would add the 
> tag to the hide stylesheet, and remove it from the thin stylesheet.
>
> Any love I can get on either of these will make me very grateful. This 
> will make this plugin much better. Thanks in advance, Dave
>

-- 
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/78ccf7bd-cafc-4b69-bab9-a1d43d4073e0n%40googlegroups.com.


[tw5] Re: [Plugin announcement]: Toggle! (formerly CleanTids)

2021-03-03 Thread Joshua Fontany
The catch: the more menu appears under the other tiddlers! Click the top 
tiddler's more menu to see what I mean.

The class appears to be .tc-drop-down. Anybody have any ideas on how to fix 
that?

https://www.w3schools.com/cssref/pr_pos_z-index.asp

*Note:* z-index only works on *positioned elements* (position: absolute, 
position: relative, position: fixed, or position: sticky).
Best,
Joshua F
On Tuesday, March 2, 2021 at 6:58:44 AM UTC-8 David Gifford wrote:

> Okay, I am so close I can taste it!
>
> https://giffmex.org/experiments/toggleplus.html
>
> Thanks to Birthe, I used the sidecontrols plugin. But I have made some 
> adjustments and will have to rename it and include it in the plugin later.
>
> The hovering toolbars look great, and appear on hovering anywhere on top.
>
> The catch: the more menu appears under the other tiddlers! Click the top 
> tiddler's more menu to see what I mean.
>
> The class appears to be .tc-drop-down. Anybody have any ideas on how to 
> fix that?
>
> On Sunday, February 28, 2021 at 11:23:48 PM UTC-6 David Gifford wrote:
>
>>
>> Hi all
>>
>> Yes, you read that right, I finally got off my bum and learned Tinka and 
>> created my very first plugin.
>>
>> The Toggle! plugin is a sidebar tab that allows you to toggle 
>> viewtemplate, edittemplate, sidebar and other visual elements. 
>>
>> It has the ability to reduce your tiddlers down to mere boxes of text, 
>> with thinner margins, smaller titles, and even reducing or removing the gap 
>> between tiddlers. 
>>
>> It also has two ways to view backlinks. Don't tell that Stroll guy. Oh 
>> wait, that's me.
>>
>> Demo and download: https://giffmex.org/gifts/Toggle/toggle.html 
>>
>> If you followed my CleanTids experiment, please note: there are some 
>> major changes. Also, I totally re-wrote the introductory tiddlers, since I 
>> had changed so much. (which are not part of the plugin).
>>
>> If you are using CleanTids and want Toggle! instead, first delete the 
>> tiddlers listed below from your file. Then add the new Toggle! plugin to 
>> your file.
>>
>>- $:/.giffmex/sidebartabs/Toggle
>>- $:/.giffmex/ViewTemplate/Backlinks
>>- $:/.giffmex/ViewTemplate/Transclude
>>- $:/.giffmex/Stylesheet/CleanTids
>>- $:/.giffmex/Stylesheet/CleanTidsNoMargin
>>- $:/.giffmex/Stylesheet/ToggleTab
>>- $:/core/ui/ListItemTemplate2
>>
>> Let me know if you find any glitches. Enjoy. - Dave
>>
>>

-- 
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/e8274943-2a7e-4f2a-86f5-c49d64caef33n%40googlegroups.com.


Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-02-20 Thread Joshua Fontany
Awesome, thank you for the example data file.

I have meta-data available for a few of the libraries I was experimenting 
with. For example, for GameIcons.net (which I think you have imported), 
their website-catalog has tags for all the icons. I used Node and an 'R' 
script to manually download and partse each web-page, extract the meta-data 
(tags, etc), and then append that to the final Tiddler data. 
(Repo: https://github.com/joshuafontany/TW5-SVG-Scripts).

This allowed me to extract, for example, the below block of the

```
caption: police-badge
description: Symbol of law enforcement. The best moment to show it, it's to 
shout "FBI" and break the door with a kick.
name: andymeneely/police-badge
tags: $:/tags/Icon police shield symbol
title: $:/icons/gameicons/andymeneely/police-badge
type: 
```

I have that for the whole library. The FontAwesome5 svg files also have a 
separate meta-data YAML file that I parsed for the meta-data.

I will clone your repo and see how I can integrate the meta-data I have 
available!

Best,
Joshua Fontany
On Thursday, February 18, 2021 at 5:39:14 AM UTC-8 moros...@gmail.com wrote:

> @Joshua As I said before, I've processed the original SVG files with some 
> scripts made in Windows 10 Powershell. All operations are done with 
> PowerShell: creating files, replacing content, creating the TiddlyWiki 
> formal structure and adding content. The final output is a JSON file which 
> includes an array of JS objects (every object is an icon). You can see 
> below an example:
>
> {
> "title":"$:/images/google-material-design/action/filled/18px/star-rate",
> "tags":"$:/tags/Image Icons Images SVG",
> "caption":"star-rate",
> "collection":"filled",
> "category":"Action",
> "library":"Google Material Design",
> "library_version":"5.9.55",
> "text":" tc-image-button\" viewBox=\"0 0 18 18\" width=\"18\"> 2.7-1.42-4.36L15 7h-4.55L9 2.5 7.55 7H3l3.71 2.64L5.29 14z\"/> 0h18v18H0z\" fill=\"none\"/>"
> }
> On Thursday, February 18, 2021 at 3:25:32 PM UTC+2 moros...@gmail.com 
> wrote:
>
>> @Joshua Thanks! Can you explain in more detail what you have in mind? I 
>> didn't understand very well. I need aliases for icons. I found this kind of 
>> metadata for some of the libraries but I didn't include it yet.
>>
>> On Thursday, February 18, 2021 at 1:35:47 AM UTC+2 joshua@gmail.com 
>> wrote:
>>
>>> Super impressed with how this has come together. I'll have to review how 
>>> you are preparing the tiddler files, and add in some of the libraries that 
>>> I have scraped meta-data for. Thanks!
>>>
>>> On Wednesday, February 17, 2021 at 2:26:45 PM UTC-8 moros...@gmail.com 
>>> wrote:
>>>
>>>> @Birthe You're welcome!
>>>>
>>>> On Thursday, February 18, 2021 at 12:22:08 AM UTC+2 
>>>> strikke...@gmail.com wrote:
>>>>
>>>>> Thank you so much for this wonderful resource. Also for reminding us, 
>>>>> to save a local copy. 29.2mb to be precise.
>>>>>
>>>>>
>>>>> Birthe
>>>>> onsdag den 17. februar 2021 kl. 22.48.32 UTC+1 skrev 
>>>>> moros...@gmail.com:
>>>>>
>>>>>> @TiddlyTweeter Thank you very much! It means a lot! :)
>>>>>>
>>>>>> My suggestion for you all is to make personal copies of the site 
>>>>>> versions as backup in case I will not be able to ensure the availability 
>>>>>> of 
>>>>>> the site (and the content) in the future, so one can restore it to 
>>>>>> another 
>>>>>> public location. Now it is a free and open community resource, so anyone 
>>>>>> can do that. Also you can use it as an offline version in case of 
>>>>>> internet 
>>>>>> connection failure. It's only about 30 MB. 
>>>>>>
>>>>>> On Wednesday, February 17, 2021 at 9:12:31 PM UTC+2 TiddlyTweeter 
>>>>>> wrote:
>>>>>>
>>>>>>> moros...@gmail.com wrote:
>>>>>>>
>>>>>>>> A new version of *"TW Icons"* is available !!!
>>>>>>>>
>>>>>>>> *v1.1 *(https://morosanuae.github.io/tw-icons) now with a total of 
>>>>>>>> *~25000 
>>>>>>>> icons*. 
>>>>>>>>
>>>&

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

2021-02-20 Thread Joshua Fontany
Are you serving a single-file *.html wiki, or are you serving a folder with 
a `tiddlywiki.info` wiki-definition file, and a "tiddlers/" folder full of 
plain-text tiddlers ("node version")?

Best,
Joshua Fontany

On Friday, February 19, 2021 at 7:03:46 AM UTC-8 eirich...@gmail.com wrote:

> Yep, the 212 IP belongs to the server where I have Nginx and TiddlyWiki 
> installed, so that's why I set the same IP in the host parameter.  The 
> server is headless, so with this configuration I can access the web page 
> from any other computer on the same network.  As for the "try_files $uri 
> $uri/ @proxy =404;" line, I think I picked this up from one of the various 
> pages I used to research the configuration.  According to the default nginx 
> file the, concerning "try_files" line:  First attempt to serve request as 
> file, then as directory, then fall back to displaying a 404.  @proxy was a 
> later addition.  
>
> On Fri, Feb 19, 2021 at 3:25 AM Petri M.  wrote:
>
>> This 192.168.1.212 is the IP of the server where the nginx and TW are 
>> running? The thing is that the docs say that the "host" parameter is "...
>> *host* is the IP address on which the server listens" and " *n.n.n.n* - 
>> listens for connections on the network interface with the specified IP 
>> address". Afaik usually this is just 127.0.0.1 if you are connecting from 
>> the same computer and it should be the same 127.0.0.1 in nginx as well. 
>> Though I don't know, I guess it does not make a difference. 
>>
>> Though I am curious about the try_files $uri $uri/ @proxy =404; command 
>> you have there. I do not know about nginx but are you sure you need this? 
>> What is this @proxy? You might want to take a peek at how that works. 
>>
>> -Petri
>> On Friday, February 19, 2021 at 12:24:34 AM UTC+2 eirich...@gmail.com 
>> wrote:
>>
>>> I'm not sure what you mean by initialised.  I did re-install nodejs from 
>>> the Node.js repository and am now running node v15.9.0/npm v7.5.4, and I 
>>> installed Tiddlywiki via the directions given at tiddlywiki.com, with 
>>> the global flag.  tiddlywiki is installed in /usr/bin.  My testwiki is 
>>> still installed in /var/www/html and is owned by, and runs as 
>>> www-data:www-data.  I have it configured to start with the host IP:8080, so 
>>> that it's not open to everywhere, and Nginx is running on the same server.  
>>> It doesn't seem like the host should need to be set to 0.0.0.0.  I am able 
>>> access the wiki at the host IP:8080, and it seems to work fine.  It's only 
>>> when I try to access it through Nginx where it throws all the 400s.
>>>
>>> On Thursday, February 18, 2021 at 12:00:59 AM UTC-8 Petri M. wrote:
>>>
>>>> Hi,
>>>>
>>>> Is your tiddlywiki initialised in the /usr/local/bin/tiddlywiki/ folder 
>>>> OR is it at /usr/local/bin/tiddlywik/testwiki/? The first case is not 
>>>> correct, so check this. Also you should double check that the wiki 
>>>> actually 
>>>> works from local network before trying to get nginx in the mix. If it is 
>>>> running on a vps or somewhere where you do not have local connection to 
>>>> then use the host=0.0.0.0 command so you can connect to it via vps_ip:port 
>>>> from your own computer. 
>>>>
>>>> -Petri
>>>>
>>>> On Thursday, February 18, 2021 at 2:00:00 AM UTC+2 joshua@gmail.com 
>>>> wrote:
>>>>
>>>>> The TiddlyWeb syncadaptor plugin calls those URLs to interact with the 
>>>>> node server. The node server loads tiddlers marked as "module-type: 
>>>>> route" 
>>>>> and maps them as handlers to those urls. The browser should be calling 
>>>>> "/var/www/html/recipes/*default*/tiddlers.json" in order to get 
>>>>> handled. If your wiki is loading, but the calls to "/status", etc are not 
>>>>> getting back to the node server, then I'm not sure where the block would 
>>>>> be.
>>>>>
>>>>> Hope that helps,
>>>>> Joshua Fontany
>>>>>
>>>>> On Wednesday, February 17, 2021 at 2:28:25 PM UTC-8 
>>>>> eirich...@gmail.com wrote:
>>>>>
>>>>>> Also, in the Nginx logs I see the following:
>>>>>>
>>>>>> 2021/02/17 14:22:32 [error] 4740#4740: *9 open() 
>>>>>> "/var/www/html/status" fail

Re: [tw5] TiddlyWIki on Fission, new saver & host - live video chat tomorrow

2021-02-20 Thread Joshua Fontany
This is really cool, really exciting technology. Great zoom talk. I see 
that Jeremy is working on a "saver" for the Fission "back-end", and this 
will allow saving & persisting single-file wikis. Can't wait to see the 
repo. :)

Best,
Joshua F

On Thursday, February 18, 2021 at 4:26:09 AM UTC-8 TiddlyTweeter wrote:

> bo...@fission.codes wrote...
> ... The TiddlyWiki forum on the Fission Discourse 
> <https://talk.fission.codes/c/apps/tiddlywiki/57> is where we’re going to 
> be discussing features and functions, plus I’ll be here in the Google Group 
> as well.
>
> jeremy...@gmail.com replied...
>
>> My thanks to Boris for the chance to work together on this project. It 
>> combines many areas interest for me, and I hope the results will be 
>> valuable for the community as a whole.
>>
>
>  I'm no programmer but the aim of Fission looks cool!
>
> I did want to *comment* that the video interview *by @fission *with 
> Jeremy Ruston at https://vimeo.com/479941422 is the *best*, informative 
> overview of the *how and what *of TiddlyWiki I have seen. 
> It also shows how software development and a life-story intermix in a very 
> productive way.
>
> A comment
> 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/7a80332a-47b0-4309-b364-0035f1dd159en%40googlegroups.com.


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

2021-02-17 Thread Joshua Fontany
The TiddlyWeb syncadaptor plugin calls those URLs to interact with the node 
server. The node server loads tiddlers marked as "module-type: route" and 
maps them as handlers to those urls. The browser should be calling 
"/var/www/html/recipes/*default*/tiddlers.json" in order to get handled. If 
your wiki is loading, but the calls to "/status", etc are not getting back 
to the node server, then I'm not sure where the block would be.

Hope that helps,
Joshua Fontany

On Wednesday, February 17, 2021 at 2:28:25 PM UTC-8 eirich...@gmail.com 
wrote:

> Also, in the Nginx logs I see the following:
>
> 2021/02/17 14:22:32 [error] 4740#4740: *9 open() "/var/www/html/status" 
> failed (2: No such file or directory)
> 2021/02/17 14:22:32 [error] 4740#4740: *13 open() 
> "/var/www/html/recipes/undefined/tiddlers.json" failed (2: No such file or 
> directory)
>
> I can definitely say there are no "status" or "recipies" directories or 
> files in /var/www/html, so this seems like the obvious reason for the 400 
> errors, but why are they being looked for?
>
> On Wednesday, February 17, 2021 at 2:19:40 PM UTC-8 Charles Anderson wrote:
>
>> Honestly, I didn't know 0.0.0.0 could be used.  I did try changing my 
>> startup command, but it didn't change the errors I get.  Thanks for the 
>> info, though.
>>
>> On Monday, February 15, 2021 at 1:19:20 AM UTC-8 Petri M. wrote:
>>
>>> 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/546d3574-4d0b-4249-acad-d4aaa37a373dn%40googlegroups.com.


Re: [tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-02-17 Thread Joshua Fontany
Super impressed with how this has come together. I'll have to review how 
you are preparing the tiddler files, and add in some of the libraries that 
I have scraped meta-data for. Thanks!

On Wednesday, February 17, 2021 at 2:26:45 PM UTC-8 moros...@gmail.com 
wrote:

> @Birthe You're welcome!
>
> On Thursday, February 18, 2021 at 12:22:08 AM UTC+2 strikke...@gmail.com 
> wrote:
>
>> Thank you so much for this wonderful resource. Also for reminding us, to 
>> save a local copy. 29.2mb to be precise.
>>
>>
>> Birthe
>> onsdag den 17. februar 2021 kl. 22.48.32 UTC+1 skrev moros...@gmail.com:
>>
>>> @TiddlyTweeter Thank you very much! It means a lot! :)
>>>
>>> My suggestion for you all is to make personal copies of the site 
>>> versions as backup in case I will not be able to ensure the availability of 
>>> the site (and the content) in the future, so one can restore it to another 
>>> public location. Now it is a free and open community resource, so anyone 
>>> can do that. Also you can use it as an offline version in case of internet 
>>> connection failure. It's only about 30 MB. 
>>>
>>> On Wednesday, February 17, 2021 at 9:12:31 PM UTC+2 TiddlyTweeter wrote:
>>>
 moros...@gmail.com wrote:

> A new version of *"TW Icons"* is available !!!
>
> *v1.1 *(https://morosanuae.github.io/tw-icons) now with a total of 
> *~25000 
> icons*. 
>
> *Features*: 
>
>-  The *"Google Material Design"* library was added. More 
>libraries are on the way, so stay tuned! :
>
> WHOAH !!! That is now a super useful resource! Way better, actually, 
 than most any SVG online libraries.
 And the fact you prepared, via scripts, all the icons to be immediately 
 usable in TW is illustrative of your skill in programming.

 I think it is a major achievement! 

 And, given the vast scale of it now, I'm amazed at its GOOD performance.
 So it is also concrete testament that with good data design TW can be 
 well performative at scale. 

 All hats off. Best wishes,
 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/6401b8f0-2d7b-45dc-bdb5-e6b303632e02n%40googlegroups.com.


Re: [tw5] TiddlyWIki on Fission, new saver & host - live video chat tomorrow

2021-02-17 Thread Joshua Fontany
This looks like a really interesting project! I'll try to catch the stream 
tomorrow Mahalo (thanks)!

Best,
Joshua Fontany

On Wednesday, February 17, 2021 at 12:57:10 PM UTC-8 jeremy...@gmail.com 
wrote:

> My thanks to Boris for the chance to work together on this project. It 
> combines many areas interest for me, and I hope the results will be 
> valuable for the community as a whole.
>
> Boris is much better at explaining Fission than me, but from 1,000 feet 
> it’s a user friendly Dropbox-like service for storing files in the cloud, 
> with the twist that it is based on the IPFS protocol, a fascinating way to 
> use the techniques behind earlier tools like BitTorrent to build a 
> distributed cloud filing system. IPFS is quite mature but its adoption has 
> been slowed by the need to use a special browser, and unavailability on 
> mobile. Fission adds a front-end to IPFS to make it much easier to use, and 
> allowing ordinary browsers to participate, while retaining advantages of 
> IPFS.
>
> Fission really comes into its own with their application marketplace. 
> There’s a catalogue of apps that users can choose to authorise, and then 
> the apps work like ordinary web apps but they have access to a sandbox 
> within the users filing system.
>
> The first part of this project it to be able to use Fission as a host for 
> working with TiddlyWikis, saving changes directly back to the Fission 
> filing system. The deeper motivation is to enable TiddlyWiki developers to 
> deploy their own TiddlyWiki on Fission apps as a simple way to publish them 
> and make them available to users without the usual download and 
> configuration.
>
> The TiddlyWiki on Fission app is actually itself a TiddlyWiki with 
> extended capabilities to interact with the Fission filing system. We're 
> using these capabilities to present a TiddlyDesktop-like user interface for 
> configuring the wikis to be edited. Anybody will be able to use the same 
> capabilities to build a new class of TiddlyWiki-based apps that can 
> interact directly with user data.
>
> The technicalities of the saver for this project are quite interesting. 
> Most importantly, it’s not at all Fission specific, but a new generic 
> component that will be useful for other new saving mechanisms. The editor 
> part of the Fission app uses an  element to host the TiddlyWiki 
> document. The core includes a new saver which uses 
> window.parent.postMessage() to send data to be saved out of the iframe to 
> the Fission app which then saves the data to the filing system.
>
> I hope some TiddlyWiki people will be able to join the call tomorrow to 
> see a demo and discus things further.
>
> Best wishes
>
> Jeremy.
>
> On 17 Feb 2021, at 19:31, Boris Mann  wrote:
>
> Hi everyone!
>
> I wanted to introduce myself. I’m the founder of Fission, which is an app 
> publishing platform that is open source and “serverless”, where we make 
> everything work in the browser. I’ve also used and tinkered with TiddlyWiki 
> for many years.
>
> I’m working with Jeremy to add support for our webnative SDK to 
> TiddlyWiki, so that people can use it as a saver that should work anywhere 
> that you have access to a browser, including on mobile.
>
> We also want to talk to anyone that wants to host / run customized 
> TiddlyWikis or Editions. Our goal with Fission is to empower digital 
> creators to run their own apps, including selling them to people, without 
> having to build an entire SaaS platform.
>
> The TiddlyWiki forum on the Fission Discourse 
> <https://talk.fission.codes/c/apps/tiddlywiki/57> is where we’re going to 
> be discussing features and functions, plus I’ll be here in the Google Group 
> as well.
>
> I’d like to invite you all to come to a live video chat tomorrow, Feb 
> 18th, at 9am PST / 12pm EST / 1800 CET. You can sign up here to attend 
> Fission 
> Demo Day Feb 2021 - Zoom <https://lu.ma/vhtwkxva>
>
> P.S. If you stop by the forum, say hello to Flag Cat 
> <https://talk.fission.codes/t/introducing-flag-cat-tiddlywiki-on-fission-mascot/1578>,
>  
> the first mascot for TiddlyWiki + Fission.
>
> -- 
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/333e972b-3796-4595-bc09-af5f7dc659d4n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/333e972b-3796-4595-bc09-af5f7dc659d4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 

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

2021-02-17 Thread Joshua Fontany

Really interesting work here so far guys. I am most just scanning this 
thread, but I think you are doing some interesting "browser" work. It would 
be a lot "simpler" (ha) to have a TW node.js server doing the fetching and 
serving of the Google data. I am looking at the various online-hosted 
configs and going over the pros/cons to decide on one... I'll keep the 
Google Services backend in mind...

Keep going!

Best,
Joshua F
On Tuesday, February 16, 2021 at 11:58:30 AM UTC-8 Mat wrote:

> @Måns
>
> Great that you also see the potential in this. Google has really powerful 
> stuff, and most of us are forced to use it anyhow, and this will piggyback 
> on that.
>
> 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..
>>
>
> Yes, half the thing is the fetching and the other half is the pushing back 
> to sheets. We're currently working on the former. 
>
> <:-)
>

-- 
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/22b7e091-4427-4a76-8062-df01f8393ee3n%40googlegroups.com.


[tw5] Re: [Announcement] "TW Icons" - A large collection of icons for TiddlyWiki

2021-02-07 Thread Joshua Fontany
Really cool, and really well done. Thanks!

On Sunday, February 7, 2021 at 1:41:37 PM UTC-8 moros...@gmail.com wrote:

> *TW Icons* - *A large collection of icons for TiddlyWiki*
>
> Link: https://morosanuae.github.io/tw-icons

-- 
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/8ba41310-8bc1-42f6-90bc-f7fe692d6b30n%40googlegroups.com.


[tw5] Re: external files not saved back to original location

2021-02-07 Thread Joshua Fontany
I have opened a Bug report for these concerns 
here: https://github.com/Jermolene/TiddlyWiki5/issues/5483



On Sunday, February 7, 2021 at 6:14:14 PM UTC-8 RA wrote:

> Not sure if the current implementation allows this, but it would be nice 
> if `*.meta` for external files could be stored inside wiki directory (next 
> to *.tid files or in their own subdirectory).
>
> On Sunday, February 7, 2021 at 6:05:10 PM UTC-8 RA wrote:
>
>> I am running the latest from GitHub, so I volunteer to test the fix when 
>> it comes out :).
>> I was also wondering if I needed to add something to the build section of 
>> `tiddlywiki.info` for this. 
>> I have "externalimages" section in there, but in the latest code only 
>> empty edition has it. Is it not needed in client-server anymore? 
>>
>> On Sunday, February 7, 2021 at 5:15:23 PM UTC-8 joshua@gmail.com 
>> wrote:
>>
>>> Ah, we did finally settle on using the  $:/config/FileSystem* filters, 
>>> possibly to set custom extensions. so you appear to have everything 
>>> setup correclty.
>>>
>>> But it also looks like we do have a bug with the current behavior. Any 
>>> tiddlers loaded from OUTSIDE the Wiki directory will try to write back to 
>>> that location, and the last check for this always encoded those file-paths 
>>> and writes the file to the `tiddlers/` folder instead.
>>>
>>> There is a security concern this has uncovered, but I will write up a 
>>> bug report and we will try to get a fix in by the 5.1.24 release.
>>>
>>> For now, I can suggest moving the source-directory into your Wiki 
>>> directory (it can be parallel to your `tiddlers/` directory).
>>>
>>> Best,
>>> Joshua Fontany
>>>
>>> On Sunday, February 7, 2021 at 3:44:04 PM UTC-8 Joshua Fontany wrote:
>>>
>>>> Thank you for your config/setup. When we were updating the 
>>>> `tiddlywiki.files` behavior for 5.1.23 we were still experimenting with 
>>>> how 
>>>> it would interact with the $:/config/FileSystem* tiddlers.
>>>>
>>>> I believe that the final implementation was that as long as your 
>>>> `tiddlywiki.files` config is setup correctly, you do not need to mess with 
>>>> any $:/config/FileSystem* filters.
>>>>
>>>> The `isEditableFile: true` flag should cause TW to save the 
>>>> location-on-disk for that tiddler and write it back to that location 
>>>> automatically. Changes to non *.tid files will cause a *.meta file to be 
>>>> generated storing the non-text-body "metadata" (all other fields).
>>>>
>>>> I will attempt to recreate your setup to see if we have a bug or what 
>>>> else is going on.
>>>>
>>>> Thanks!
>>>> Best,
>>>> Joshua Fontany
>>>>
>>>> On Sunday, February 7, 2021 at 2:50:25 PM UTC-8 RA wrote:
>>>>
>>>>> The example of $:/config/FileSystemPaths in 
>>>>> https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming does 
>>>>> not include a filter matching the external notes, so I am questioning 
>>>>> whether your recommendation is correct.
>>>>>
>>>>> On Sunday, February 7, 2021 at 1:51:09 PM UTC-8 RA wrote:
>>>>>
>>>>>> Added a matching filter to $:/config/FileSystemPaths, same result. 
>>>>>> Tried both absolute and relative path. I know the filter is correct 
>>>>>> because 
>>>>>> it generates a filename with the correct absolute path encoded (all 
>>>>>> slashes 
>>>>>> replaced by %2F).
>>>>>>
>>>>>> Added $:/config/FileSystemExtensions as well, the extension part is 
>>>>>> now ok. Here's a universal filter that will keep the extension as is: 
>>>>>> [split[.]last[]addprefix[.]] 
>>>>>>
>>>>>>
>>>>>> On Saturday, February 6, 2021 at 7:14:11 PM UTC-8 Mark S. wrote:
>>>>>>
>>>>>>> I'm not an expert on this, but I don't see anything in your 
>>>>>>> $:/config/FileSystemPaths that would match the files you imported. It 
>>>>>>> looks 
>>>>>>> to me like you need one that starts [tag[external]... or that matches 
>>>>>>> prefix scripts/t-sql/ . Also, if you read further here 
>>>>>>> <https://tiddlywiki.com/#Customising%20Tidd

[tw5] Re: external files not saved back to original location

2021-02-07 Thread Joshua Fontany
Ah, we did finally settle on using the  $:/config/FileSystem* filters, 
possibly to set custom extensions. so you appear to have everything 
setup correclty.

But it also looks like we do have a bug with the current behavior. Any 
tiddlers loaded from OUTSIDE the Wiki directory will try to write back to 
that location, and the last check for this always encoded those file-paths 
and writes the file to the `tiddlers/` folder instead.

There is a security concern this has uncovered, but I will write up a bug 
report and we will try to get a fix in by the 5.1.24 release.

For now, I can suggest moving the source-directory into your Wiki directory 
(it can be parallel to your `tiddlers/` directory).

Best,
Joshua Fontany

On Sunday, February 7, 2021 at 3:44:04 PM UTC-8 Joshua Fontany wrote:

> Thank you for your config/setup. When we were updating the 
> `tiddlywiki.files` behavior for 5.1.23 we were still experimenting with how 
> it would interact with the $:/config/FileSystem* tiddlers.
>
> I believe that the final implementation was that as long as your 
> `tiddlywiki.files` config is setup correctly, you do not need to mess with 
> any $:/config/FileSystem* filters.
>
> The `isEditableFile: true` flag should cause TW to save the 
> location-on-disk for that tiddler and write it back to that location 
> automatically. Changes to non *.tid files will cause a *.meta file to be 
> generated storing the non-text-body "metadata" (all other fields).
>
> I will attempt to recreate your setup to see if we have a bug or what else 
> is going on.
>
> Thanks!
> Best,
> Joshua Fontany
>
> On Sunday, February 7, 2021 at 2:50:25 PM UTC-8 RA wrote:
>
>> The example of $:/config/FileSystemPaths in 
>> https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming does not 
>> include a filter matching the external notes, so I am questioning whether 
>> your recommendation is correct.
>>
>> On Sunday, February 7, 2021 at 1:51:09 PM UTC-8 RA wrote:
>>
>>> Added a matching filter to $:/config/FileSystemPaths, same result. 
>>> Tried both absolute and relative path. I know the filter is correct because 
>>> it generates a filename with the correct absolute path encoded (all slashes 
>>> replaced by %2F).
>>>
>>> Added $:/config/FileSystemExtensions as well, the extension part is now 
>>> ok. Here's a universal filter that will keep the extension as is: 
>>> [split[.]last[]addprefix[.]] 
>>>
>>>
>>> On Saturday, February 6, 2021 at 7:14:11 PM UTC-8 Mark S. wrote:
>>>
>>>> I'm not an expert on this, but I don't see anything in your 
>>>> $:/config/FileSystemPaths that would match the files you imported. It 
>>>> looks 
>>>> to me like you need one that starts [tag[external]... or that matches 
>>>> prefix scripts/t-sql/ . Also, if you read further here 
>>>> <https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming> , you 
>>>> need to specify the text extension in $:/config/FileSystemExtensions 
>>>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FFileSystemExtensions> with 
>>>> something like:
>>>>
>>>> [tag[external]then[.sql]] (or whatever your matching/extension logic 
>>>> is).
>>>>
>>>>
>>>>
>>>> On Saturday, February 6, 2021 at 4:33:39 PM UTC-8 RA wrote:
>>>>
>>>>> In the wiki, the external tiddler's name is `scripts/t-sql/detach.sql`, 
>>>>> and I like it exactly that way.
>>>>>
>>>>> On Saturday, February 6, 2021 at 4:14:59 PM UTC-8 RA wrote:
>>>>>
>>>>>> I am using `tiddlywiki.files` method.
>>>>>>
>>>>>> tiddlywiki.files:
>>>>>>
>>>>>> {
>>>>>> "directories": [
>>>>>> {
>>>>>> "path": "/srv/git/scripts/t-sql",
>>>>>> "isTiddlerFile" :false,
>>>>>> "isEditableFile": true,
>>>>>> "fields": {
>>>>>> "title": {"source": "filename", "prefix": 
>>>>>> "scripts/t-sql/"},
>>>>>> "created": {"source": "created"},
>>>>>> "modified": {"source": "modified"},
>>>>>> "type": "text/plain",
>>>>&g

[tw5] Re: external files not saved back to original location

2021-02-07 Thread Joshua Fontany
Thank you for your config/setup. When we were updating the 
`tiddlywiki.files` behavior for 5.1.23 we were still experimenting with how 
it would interact with the $:/config/FileSystem* tiddlers.

I believe that the final implementation was that as long as your 
`tiddlywiki.files` config is setup correctly, you do not need to mess with 
any $:/config/FileSystem* filters.

The `isEditableFile: true` flag should cause TW to save the 
location-on-disk for that tiddler and write it back to that location 
automatically. Changes to non *.tid files will cause a *.meta file to be 
generated storing the non-text-body "metadata" (all other fields).

I will attempt to recreate your setup to see if we have a bug or what else 
is going on.

Thanks!
Best,
Joshua Fontany

On Sunday, February 7, 2021 at 2:50:25 PM UTC-8 RA wrote:

> The example of $:/config/FileSystemPaths in 
> https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming does not 
> include a filter matching the external notes, so I am questioning whether 
> your recommendation is correct.
>
> On Sunday, February 7, 2021 at 1:51:09 PM UTC-8 RA wrote:
>
>> Added a matching filter to $:/config/FileSystemPaths, same result. Tried 
>> both absolute and relative path. I know the filter is correct because it 
>> generates a filename with the correct absolute path encoded (all slashes 
>> replaced by %2F).
>>
>> Added $:/config/FileSystemExtensions as well, the extension part is now 
>> ok. Here's a universal filter that will keep the extension as is: 
>> [split[.]last[]addprefix[.]] 
>>
>>
>> On Saturday, February 6, 2021 at 7:14:11 PM UTC-8 Mark S. wrote:
>>
>>> I'm not an expert on this, but I don't see anything in your 
>>> $:/config/FileSystemPaths that would match the files you imported. It looks 
>>> to me like you need one that starts [tag[external]... or that matches 
>>> prefix scripts/t-sql/ . Also, if you read further here 
>>> <https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming> , you 
>>> need to specify the text extension in $:/config/FileSystemExtensions 
>>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FFileSystemExtensions> with 
>>> something like:
>>>
>>> [tag[external]then[.sql]] (or whatever your matching/extension logic is).
>>>
>>>
>>>
>>> On Saturday, February 6, 2021 at 4:33:39 PM UTC-8 RA wrote:
>>>
>>>> In the wiki, the external tiddler's name is `scripts/t-sql/detach.sql`, 
>>>> and I like it exactly that way.
>>>>
>>>> On Saturday, February 6, 2021 at 4:14:59 PM UTC-8 RA wrote:
>>>>
>>>>> I am using `tiddlywiki.files` method.
>>>>>
>>>>> tiddlywiki.files:
>>>>>
>>>>> {
>>>>> "directories": [
>>>>> {
>>>>> "path": "/srv/git/scripts/t-sql",
>>>>> "isTiddlerFile" :false,
>>>>> "isEditableFile": true,
>>>>> "fields": {
>>>>> "title": {"source": "filename", "prefix": 
>>>>> "scripts/t-sql/"},
>>>>> "created": {"source": "created"},
>>>>> "modified": {"source": "modified"},
>>>>> "type": "text/plain",
>>>>> "tags": ["t-sql", "external"],
>>>>> "linux-path":  {"source": "filename", "prefix":
>>>>> "/srv/git/scripts/t-sql/"},
>>>>> "win-path": {"source": "filename", "prefix": 
>>>>> "c:\\vm\\srv\\git\\scripts\\t-sql\\"}
>>>>> }
>>>>> }
>>>>> ]
>>>>> }iddler
>>>>>
>>>>> $:/config/FileSystemPaths:
>>>>>
>>>>> [is[system]!has[draft.of]removeprefix[$:/]addprefix[_system/]]
>>>>> [is[draft]search-replace:g:regexp[/|\\],[_]addprefix[drafts/]]
>>>>> [tag[task]addprefix[mytasks/]]
>>>>> [!tag[external]]   -- Tried without this filter, same result. (This 
>>>>> comment is for the posting, it's not in the tiddler.)
>>>>>
>>>>> Wiki directory structure:
>>>>&g

[tw5] Re: external files not saved back to original location

2021-02-06 Thread Joshua Fontany
To clarify, what method are you using to load/import these scripts with the 
Node.js Tiddlywiki server?

Best,
Joshua F

On Saturday, February 6, 2021 at 1:16:01 PM UTC-8 RA wrote:

> Forgot to mention I'm running it on Node.js.
>
> On Saturday, February 6, 2021 at 12:17:36 PM UTC-8 RA wrote:
>
>>
>> I got my collection of scripts to show up in my wiki as plain text 
>> tiddlers. ( I am using an absolute path, and the scripts have various 
>> extensions like ".sql",".ps" etc.). When I edit them, however, they get 
>> saved not at the original location, but along with regular tiddlers. Their 
>> extensions are stripped and replaced with ".txt", and the absolute path 
>> added to the name with slashes encoded as "%2F". I'd like the scripts to be 
>> saved back to the original location with the name and extension unchanged. 
>> Is that possible?
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/851c1430-6217-4029-9b44-f254ca2a3a5fn%40googlegroups.com.


Re: [tw5] Setting to define additional system prefix?

2021-02-01 Thread Joshua Fontany
I like the idea of customizing the System prefixes... The Story "Tiddler 
ViewTemplate" also has some logic in the UI to recolor the `$:/` section of 
tiddler Titles. That may need to be changed as well, if you want the same 
2-tone title for all system tiddlers.

Best,
Joshua F

On Monday, February 1, 2021 at 2:14:26 AM UTC-8 jeremy...@gmail.com wrote:

> I think it would be feasible to have some kind of hidden setting for 
> customising the criteria of what constitutes a system tiddler, and it could 
> be pretty useful in some situations. For example, the $:/ sequence is 
> awkward to type, kind of intentionally as it’s supposed to act like a big, 
> obvious label. But one could imagine that if one were working with lots of 
> custom transclusion templates that it would be convenient to add, say, a 
> dash as an alternative system tiddler prefix. Then one could write things 
> like {{$:/core/images/down-arrow||-big}} instead 
> of {{$:/core/images/down-arrow||$:/big}}
>
> There is a single point in the JS code where we perform the system tiddler 
> check:
>
> exports.isSystemTiddler = function(title) {
> return title && title.indexOf("$:/") === 0;
> };
>
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/12f18474755c94362eef7191eafb532bafb743b1/core/modules/wiki.js#L206-L208
>
> Best wishes
>
> Jeremy.
>
>
> On 29 Jan 2021, at 22:51, amreus  wrote:
>
>
> Can we define an alternative or additional string that is treated similar 
> to a "system" prefix?
>
> For example, I'd like to start tiddler titles with a '/' and have them 
> hidden by default and from lists and search like a system tiddler, but also 
> keep them separate from the official system hierarchy.  Also, the 
> "[is[system]]" filter would not see titles with this prefix.
>
> I know this is possible, but it would require modifying a number of system 
> tiddlers.  A setting to define such a prefix would be cool.
>
>
>
> -- 
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/16123d35-5ce3-49d8-9063-4ea93fc5bccan%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/16123d35-5ce3-49d8-9063-4ea93fc5bccan%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/47d6e21c-9237-4eca-9433-d3bd9587ab99n%40googlegroups.com.


[tw5] Re: Comment: GitHub "Discussions" Are Good ...

2021-02-01 Thread Joshua Fontany
Agreed, & great to see the discussions be so productive!

Best,
Joshua F

On Monday, February 1, 2021 at 4:45:51 AM UTC-8 TiddlyTweeter wrote:

> Further to my comments on the value of GitHub Discussions...
>
> One of the most productive discussions I ever had was recently, about 
> revising PMario's Bundler plugin to include a deletion mechanism.
>
> That discussion is complete. And with a robust solution.  The outcome is 
> wonderful. 
> <https://github.com/wikilabs/plugins/discussions/61#discussioncomment-318081>
>
> Best wishes
> TT
>
> On Wednesday, 27 January 2021 at 19:17:55 UTC+1 TiddlyTweeter wrote:
>
>> Recently the old *TiddlyWikiDev* on Google Groups was "retired" as a 
>> place to discuss ideas/problems in favor of GitHub discussions.
>>
>> Actually I have found myself using the GitHub method frequently recently. 
>> Why? Because it is proving to be highly productive. The discussions tend to 
>> be more to the specific issue. The discipline of the GitHub posting method 
>> is I think very good for clarity!
>>
>> To give an example ... PMario & I are currently discussing possible 
>> improvements to his Bundler plugin at a pace. 
>> https://github.com/wikilabs/plugins/discussions/61
>>
>> I just thought you might be interested in my distinct upvote for the 
>> viability of GitHub Discussions on technical matters.
>>
>> Best wishes
>> 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/9107a799-1661-4ac0-9db7-0f9a2215b950n%40googlegroups.com.


[tw5] Re: New to Tiddlywiki and I need help (.html ??)

2021-01-26 Thread Joshua Fontany
You need to structure the directory correctly so that the tiddlywiki 
node.js process understands your commands.

Write all your tiddlers & a "tiddlywiki.info" file (json format) as below:
```
./WikiDirectory/
|--tiddlywiki.info
|--tiddlers/
|All_your_tids.tid
```
and make sure your "tiddlywiki.info" file as a "Build Target":
```
{
plugins: [],
"build": { "index": [ 
"--rendertiddler","$:/core/save/all","index.html","text/plain"] }
}
```

Once your program has created that file structure, you need to call the 
tiddlywiki process as below:
`tiddlywiki "C/path/to/the/WikiDirectory" --build index`

This will generate a new folder in your wiki directory called "output" with 
a new "index.html" file as your built-wiki.

Further 
reading: 
https://tiddlywiki.com/#BuildCommand:BuildCommand%20%5B%5Btiddlywiki.info%20Files%5D%5D%20HelloThere%20GettingStarted%20Community

Best,
Joshua Fontany
On Tuesday, January 26, 2021 at 3:42:19 PM UTC-8 TW Tones wrote:

> Hi,
>
> I am not totally clear on the objective of the task, but tiddlywiki itself 
> uses a process to save an empty file. If you follow how this works on 
> Tiddlywiki.com starting with the download empty button you can see it uses 
> a template and within that a filter determines which tiddlers to download 
> and their format, any tiddlywiki can generate an empty.html file. This can 
> also be done via commands in NodeJS. One feature exports the Javascript 
> separately rather than a single file. This template effectively encodes the 
> way to save a whole wiki, thus arguably contains all the logic needed. 
>
> It is best to use tiddlywiki itself to load tiddlers into it, be it the 
> node or single file wikis importing tiddlers.  If you take the completely 
> manual approach to edit the html you need to understand precisely the 
> tiddler format (that's trivial)  and where entries are to be stored in the 
> html file. You will also see in the html file the tiddlers are stored in 
> one place but they are often referenced by name in other parts only detail 
> knowledge of the tiddlywiki structure can answer how and if you need to do 
> more to add tiddlers directly.
>
> I hope others can provide more info, but I hope this helps somewhat.
>
> Tones
> On Wednesday, 27 January 2021 at 08:10:48 UTC+11 mmes...@gmail.com wrote:
>
>> So i started Working with my professor on Tiddlywiki and i found it quite 
>> interesting. Now i m working on an automatic generated Tiddlywiki project 
>> from  a Java project . So all the informations i need to build my 
>> Tiddlywiki is in the Java File and my professor told me he wants all those 
>> informations to be generated automatically in a Tiddlywiki at first i just 
>> make .tid files for each tiddler and i thought i was done but he wanted me 
>> to write on an Empty tiddlywiki file (Empty.html) that way when the java 
>> program is executed it writes on the the File Empty.html  (as if it is a 
>> .txt file )but it didn't work and i only write at the end of the html code 
>> .i can't find anything to help me out or where exactly should i write or 
>> how to write it  other than that i have no knowledge of html or js which 
>> made this one near impossible task  , please guys i need your help i'm 
>> already running late and i have no idea what to do .
>>
>

-- 
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/a700058c-68ae-4a0a-8597-33f9a7b98d7fn%40googlegroups.com.


[tw5] Re: [Plugin] Presenting TW5-Uglify! Plugin compression the TiddlyWIki way!

2021-01-19 Thread Joshua Fontany

Wow, what an impressive accomplishment. Checking out with interest. :)

Best,
Joshua F
On Tuesday, January 19, 2021 at 1:43:55 PM UTC-8 coda coder wrote:

> > Let me know what you all think. 
>
> *Comprehensive*, is what I think. Kudos.
>
> On Tuesday, January 19, 2021 at 2:33:24 PM UTC-6 saq.i...@gmail.com wrote:
>
>> @Flibbles hurrah! This has immediate implications and uses for work that 
>> my colleagues are doing and potentially for myself, where being able to 
>> reduce the file size of a standalone TW file is essential.
>>
>> I will give it a whirl tomorrow.
>> Thank you.
>>
>> Saq
>>
>>
>> On Tuesday, January 19, 2021 at 9:26:32 PM UTC+1 Flibbles wrote:
>>
>>> Some people want a minified version of the TW5 core, but it'd be too 
>>> much work to maintain.
>>> Some people think it should remain uncompressed for the sake of editors, 
>>> but TW5 continues to grow by the day.
>>> Some developers compress their plugins, making efficient code, but it's 
>>> a pain for anyone debugging it.
>>> Some developers leave their plugins uncompressed, but that means it's 
>>> larger than necessary for 90% of all end-users.
>>>
>>> Now there's a solution for everybody: TW5-uglify.
>>>
>>> This is a plugin primarily designed to be used by a Node.JS server. Your 
>>> server has access to all your uncompressed and unpacked plugins, which is 
>>> fine, since servers have the speed and memory for it. But what it sends to 
>>> browsers are fully compressed plugins. Your little smart phones and tablets 
>>> get the efficient TW5 they deserve.
>>>
>>> Or maybe you're a plugin developer who wants to minify their code. Now 
>>> you no longer have to resort to using npm-gulp like some kind of chump. 
>>> Your build process can remain an entirely TiddlyWiki process.
>>>
>>> Or maybe you want to miniify your standalone TiddlyWiki file. You can, 
>>> but... think hard about this before you do it. Because unlike with 
>>> TW5-Uglified server, compressing your standalone files is a one-way 
>>> process. You'll forever have compressed code unless you download a new 
>>> Tiddlywiki, redownload all your plugins, and transfer all your tiddlers 
>>> from your old file. But hey! Maybe you're running TiddlyWiki on your 2000 
>>> era Nokia phone in an wifi wasteland. Then go ahead.
>>>
>>> Check it out.
>>> Here's the demo site. <https://flibbles.github.io/tw5-uglify/>
>>> And here's the github page <https://github.com/flibbles/tw5-uglify>.
>>>
>>> Let me know what you all think.
>>>
>>>

-- 
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/82a848dd-1db5-4393-a363-ef3deb7578ffn%40googlegroups.com.


[tw5] Re: Re-importing a previously exported CSV (JSON Mangler? XLXS Utils?)

2021-01-17 Thread Joshua Fontany
Ack, the `type` should be `application/csv`. I misspelled it once. :)

On Sunday, January 17, 2021 at 12:20:26 AM UTC-8 Joshua Fontany wrote:

> Gotcha. This is actually very do-able with a local copy of my JsonMangler 
> Demo Wiki. 
>
> The following will import a CSV as one tiddler per line, as regular 
> tiddlers (not json), but it packs them as shadow tiddlers into a plugin 
> tidder.
>  I'll try to step you through it. :)
>
>
>- Go to: https://chronicles.wiki/TW5-JsonMangler/
>- Download and open a local copy of that demo wiki.
>- Create a New Tiddler, give it type "application.csv", and paste your 
>CSV data into the text field.
>- Save the New Tiddler (change the title as suits you).
>- The type "application/csv" makes my CSV UI render on the tiddler. 
>Click on the double right arrow ">>".
>- Click the very last option, the Paper Clip Icon next to "Import 
>Options".
>- A new section is revealded. Change the second drop down in that 
>section, labeled "Primary Key:" to the column number of your "title 
> column, 
>this is usually "Column 0" for me.
>- Right below that in the "Tiddler Names:" textbox, enter 
>"[]" as the only text in the box.
>- Click the Paperclip Icon & New Data Tiddler Name Link next to 
>"$:/Import:"!!!
>- The regular  $:/Import UI is displayed. Confirm here by clicking the 
>[Import] button.
>- A new Plugin Tiddler, probably called "Data/New Tiddler", with all 
>your new tiddlers packed inside it is created. 
>
> (Aside - use "all[tiddlers+shadows]" to start filters to target Shadow 
> Tiddlers) 
>
> Best,
> Joshua Fontany 
>
> On Saturday, January 16, 2021 at 6:51:19 AM UTC-8 Osin wrote:
>
>> Hi Josh,
>> Thanks a lot! I am already halfway through with the headers (TW exports 
>> them as such, so I just kept the same structure). I actually considered 
>> this route, but abandoned it because I wasn't able to find a CSV to JSON 
>> converter that ran locally - I work with protected data so I'll avoid using 
>> online data converters.
>>
>> I then explored XLXS Utils, but there's a bug in the newest version, so I 
>> used 5.1.22 to import, then export to JSON, and import into the full wiki. 
>> Still a bit convoluted, so I will explore your suggestion and look for a 
>> locally-run JSON converter. I work in a team with people of different 
>> technical skills, so I am trying to make it as painless as possible in case 
>> someone else needs to take over my role.
>>
>> Again, thank you!
>>
>> On Saturday, January 16, 2021 at 12:18:30 AM UTC-5 joshua@gmail.com 
>> wrote:
>>
>>> Hi Osin,
>>>
>>> Plugin author of JsonMangler here. The CSV options in JsonMangler are 
>>> complex and can be a bit hard to figure out.
>>>
>>> What I would do in your situation is to ensure that you have column 
>>> headers in your Excel file, and that one of the column headers is "title" 
>>> and one colum header is "text" (all headers need to be lower case, and 
>>> "tags" would be a good one to include). Then, run your file through a 
>>> CSV/XLMS -> JSON converter. This should turn your file into an "array of 
>>> objects" with each object having at least a "title" property. You can then 
>>> drag and drop this JSON file into vanilla TW5 and it should import as 
>>> 1-tiddler-per-object.
>>>
>>> Here is a converter that would work for you: 
>>> https://json-csv.com/reverse
>>>
>>> For example I ran this small sample CSV through the converter:
>>> title,tags,text
>>> One,test,Question One?
>>> Two,test,Question Two?
>>> Three,test,Question Three?
>>>
>>> Which renders as:
>>> [{
>>> "title": "One",
>>> "tags": "test",
>>> "text": "Question One?"
>>> },{
>>> "title": "Two",
>>> "tags": "test",
>>> "text": "Question Two?"
>>> },{
>>> "title": "Three",
>>> "tags": "test",
>>> "text": "Question Three?"
>>> }
>>> ]
>>>
>>> SAVE this output as a text file with the "*.josn" extension (it comes 
>>> out of that converter as "result.json"). Then, simpl

[tw5] Re: Re-importing a previously exported CSV (JSON Mangler? XLXS Utils?)

2021-01-17 Thread Joshua Fontany
Gotcha. This is actually very do-able with a local copy of my JsonMangler 
Demo Wiki. 

The following will import a CSV as one tiddler per line, as regular 
tiddlers (not json), but it packs them as shadow tiddlers into a plugin 
tidder.
 I'll try to step you through it. :)


   - Go to: https://chronicles.wiki/TW5-JsonMangler/
   - Download and open a local copy of that demo wiki.
   - Create a New Tiddler, give it type "application.csv", and paste your 
   CSV data into the text field.
   - Save the New Tiddler (change the title as suits you).
   - The type "application/csv" makes my CSV UI render on the tiddler. 
   Click on the double right arrow ">>".
   - Click the very last option, the Paper Clip Icon next to "Import 
   Options".
   - A new section is revealded. Change the second drop down in that 
   section, labeled "Primary Key:" to the column number of your "title column, 
   this is usually "Column 0" for me.
   - Right below that in the "Tiddler Names:" textbox, enter 
   "[]" as the only text in the box.
   - Click the Paperclip Icon & New Data Tiddler Name Link next to 
   "$:/Import:"!!!
   - The regular  $:/Import UI is displayed. Confirm here by clicking the 
   [Import] button.
   - A new Plugin Tiddler, probably called "Data/New Tiddler", with all 
   your new tiddlers packed inside it is created. 

(Aside - use "all[tiddlers+shadows]" to start filters to target Shadow 
Tiddlers) 

Best,
Joshua Fontany 

On Saturday, January 16, 2021 at 6:51:19 AM UTC-8 Osin wrote:

> Hi Josh,
> Thanks a lot! I am already halfway through with the headers (TW exports 
> them as such, so I just kept the same structure). I actually considered 
> this route, but abandoned it because I wasn't able to find a CSV to JSON 
> converter that ran locally - I work with protected data so I'll avoid using 
> online data converters.
>
> I then explored XLXS Utils, but there's a bug in the newest version, so I 
> used 5.1.22 to import, then export to JSON, and import into the full wiki. 
> Still a bit convoluted, so I will explore your suggestion and look for a 
> locally-run JSON converter. I work in a team with people of different 
> technical skills, so I am trying to make it as painless as possible in case 
> someone else needs to take over my role.
>
> Again, thank you!
>
> On Saturday, January 16, 2021 at 12:18:30 AM UTC-5 joshua@gmail.com 
> wrote:
>
>> Hi Osin,
>>
>> Plugin author of JsonMangler here. The CSV options in JsonMangler are 
>> complex and can be a bit hard to figure out.
>>
>> What I would do in your situation is to ensure that you have column 
>> headers in your Excel file, and that one of the column headers is "title" 
>> and one colum header is "text" (all headers need to be lower case, and 
>> "tags" would be a good one to include). Then, run your file through a 
>> CSV/XLMS -> JSON converter. This should turn your file into an "array of 
>> objects" with each object having at least a "title" property. You can then 
>> drag and drop this JSON file into vanilla TW5 and it should import as 
>> 1-tiddler-per-object.
>>
>> Here is a converter that would work for you: https://json-csv.com/reverse
>>
>> For example I ran this small sample CSV through the converter:
>> title,tags,text
>> One,test,Question One?
>> Two,test,Question Two?
>> Three,test,Question Three?
>>
>> Which renders as:
>> [{
>> "title": "One",
>> "tags": "test",
>> "text": "Question One?"
>> },{
>> "title": "Two",
>> "tags": "test",
>> "text": "Question Two?"
>> },{
>> "title": "Three",
>> "tags": "test",
>> "text": "Question Three?"
>> }
>> ]
>>
>> SAVE this output as a text file with the "*.josn" extension (it comes out 
>> of that converter as "result.json"). Then, simply drag and drop this Json 
>> file into a Tiddlywiki. If it is a file with this correct format, each 
>> object will become a separate (regular) tiddler.
>>
>> This will help you use the other features, like Filters, etc on your 
>> tiddlers without worrying about them being "json tiddlers".
>>
>> Best,
>> Joshua Fotnany
>>
>>
>> On Wednesday, January 13, 2021 at 6:08:04 PM UTC-8 Osin wrote:
>>
>>> Hello,
>>>
>>> I am working on transforming an FAQ contained in an Exce

[tw5] Re: Re-importing a previously exported CSV (JSON Mangler? XLXS Utils?)

2021-01-15 Thread Joshua Fontany
Hi Osin,

Plugin author of JsonMangler here. The CSV options in JsonMangler are 
complex and can be a bit hard to figure out.

What I would do in your situation is to ensure that you have column headers 
in your Excel file, and that one of the column headers is "title" and one 
colum header is "text" (all headers need to be lower case, and "tags" would 
be a good one to include). Then, run your file through a CSV/XLMS -> JSON 
converter. This should turn your file into an "array of objects" with each 
object having at least a "title" property. You can then drag and drop this 
JSON file into vanilla TW5 and it should import as 1-tiddler-per-object.

Here is a converter that would work for you: https://json-csv.com/reverse

For example I ran this small sample CSV through the converter:
title,tags,text
One,test,Question One?
Two,test,Question Two?
Three,test,Question Three?

Which renders as:
[{
"title": "One",
"tags": "test",
"text": "Question One?"
},{
"title": "Two",
"tags": "test",
"text": "Question Two?"
},{
"title": "Three",
"tags": "test",
"text": "Question Three?"
}
]

SAVE this output as a text file with the "*.josn" extension (it comes out 
of that converter as "result.json"). Then, simply drag and drop this Json 
file into a Tiddlywiki. If it is a file with this correct format, each 
object will become a separate (regular) tiddler.

This will help you use the other features, like Filters, etc on your 
tiddlers without worrying about them being "json tiddlers".

Best,
Joshua Fotnany


On Wednesday, January 13, 2021 at 6:08:04 PM UTC-8 Osin wrote:

> Hello,
>
> I am working on transforming an FAQ contained in an Excel workbook (with 
> only one spreadsheet) into a simple TW. I posted about it here : 
> https://groups.google.com/g/tiddlywiki/c/i6-Ge9ahVCQ/m/X8BhP54IDAAJ , got 
> some great feedback, and I have been testing and playing around TW, I think 
> I'm starting to wrap my head around it (Mat's "Big Picture" text really 
> made things click, thanks!).
>
> The original FAQ Excel file contains about 60 entries, one entry per row. 
> I manually "transferred" 10 of them into tiddlers, linked them with tags 
> and created a TOC within a TW5 instance. However, the full 60 entries will 
> need to be revised and edited by two of my teammates before I go ahead and 
> import everything.
>
> I exported the 10-tiddler TW into a .CSV file. It gave me (and my 
> colleagues) a good idea about how the data is structured. I am now at the 
> stage of modifying the CSV by adding the remaining 50 QAs after my 
> colleagues have reviewed them, and re-importing the CSV into TW. I'm doing 
> a test-run and adding 6 additional rows to the CSV.
>
> How can I easily re-import the CSV? Tones mentioned JSON Mangler in the 
> other thread, but I am a bit lost in the documentation (again). I found a 
> thread about it as well, but there is talk of shadow tiddlers, turning the 
> import into a plug-in, and other options I am not sure concern my use case. 
> At this point, I'm unsure whether I should just just transfer everything 
> manually, it might be quicker than troubleshooting the import. I also saw 
> there is xlsx-utils, would that plugin serve a similar purpose?
>
> 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/7b2784d4-46b8-4708-bf25-63ca592b2facn%40googlegroups.com.


[tw5] Re: Can you create a text file from TiddlyWiki on node.js?

2021-01-10 Thread Joshua Fontany
This is exactly what TW5 on Node.js does. When you create a new tiddler in 
draft-mode, a file named "Draft of 'Tiddler 1' by Username.tid" is saved to 
the file system. If you change the Type field to "text/plain", then a new 
set of files is created, first  "Draft of 'Tiddler 1' by Username.txt", 
which holds the contents of he main "text field" shown in the browser's 
edit-template, and second a file named  "Draft of 'Tiddler 1' by 
Username.txt.meta"  which holds all other fields liek Title, Tags, etc, 
etc, etc.

Best,
Joshua Fontany

On Saturday, January 2, 2021 at 8:40:52 AM UTC-8 si wrote:

> As I understand it, TW single file version cannot do anything with the 
> file system on your computer while running in a browser.
>
> Does this restriction disappear when using node.js? For example, could I 
> (theoretically) create a button in my wiki that creates a new text file 
> somewhere on my system, which is then opened automatically in a text editor?
>
> It seems from my limited use that the node.js version of TW will create 
> individual tiddler files on your desktop as you create new tiddlers in the 
> wiki, so presumably it is able to interact with the file system in some way?
>
> I don't know anything about this topic so I am aware this is probably a 
> very nooby question!
>

-- 
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/914098f4-b031-43ac-9ec9-f90c97719a56n%40googlegroups.com.


Re: [tw5] How to change ViewTemplate/body for tiddlers with specific tag?

2021-01-07 Thread Joshua Poehls
This fixed it. 🤦‍♂️

Thank you all for the help!

—
Joshua Poehls

> On Jan 7, 2021, at 12:04 AM, Eric Shulman  wrote:
> 
> There is a syntax error in the filter:
><$list filter="[all[current[tag[test]]">
> should be:
><$list filter="[all[current]tag[test]]">
> 
> (i.e., the third open bracket should be a CLOSE bracket)
> 
> -e
> -- 
> 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/Jg-nmLk-yxs/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/fb191d85-cace-4a43-a453-1dbfd14efff7n%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/F36B59B6-29FF-484A-9C45-435213C3D60F%40poehls.me.


[tw5] Re: WikiLabs plugin update + New plugins

2020-12-27 Thread Joshua Fontany
I like the *click-effect* plugin. Very good idea.

Best,
Joshua Fontany

On Saturday, December 26, 2020 at 10:30:44 AM UTC-8 PMario wrote:

>
> Hi folks,
>
> I did update my plugins homepage at: https://wikilabs.github.io/, to be 
> compatible with TW 5.1.23 ... Old plugins are _not_ broken, BUT they don't 
> contain all the new features.
>
> *BACKUP FIRST !!!*
>
> The easiest way to update is, to drag-import the green button WikiLabs 
> Plugin Configuration from the homepage to your local wiki. 
>
> Afterwards you can use the default TW "Plugin import" mechanism. 
>
> *UPDATED plugins:*
>
> <https://wikilabs.github.io/#link-to-tabs>edit-tabs 
> <https://wikilabs.github.io/#edit-tabs>, 
> <https://wikilabs.github.io/#link-to-tabs>
> link-to-tabs <https://wikilabs.github.io/#link-to-tabs> ... Now support 
> the Alt- Alt- navigation int the Advanced search panel
>
> new-tiddler-from-search 
> <https://wikilabs.github.io/#new-tiddler-from-search> ... Supports the 
> same keyboard navigation features as the default search dropdown. + 
> Alt-left/right to switch tabs ..
>
> *NEW plugins:*
>
> click-effect <https://wikilabs.github.io/#click-effect> ... If you click 
> and realease the left mous-button a little CSS animation is activated. This 
> should help me recording videos, and it should support everyone, which 
> wants to explain TW
>
> space-space-newline <https://wikilabs.github.io/#space-space-newline>
>  ... Add a new wikitext rule, that allows you to use common-mark 
> compatible "hard linebreaks" in default wikitext
>
> keyvalues <https://wikilabs.github.io/#keyvalues>  ... Contains a new 
> filter operator, that was rejected from the core. It will help all of you 
> who like to work with data-tiddlers
>
> pragma-comment <https://wikilabs.github.io/#pragma-comment> ... Allows 
> utility authors to write comments in the "pragma areae" (If you don't know 
> what this means, there is a high chance you don't need it!)
>
> Detailed intros + some videos will follow soon!
>
> ALL the other plugins do have updated license info. So you should have a 
> closer look to the "history" tab, to see if you should update.
>
> Have fun and a Happy New Year!
> mario
>
>
> *PS - If you USE it: Support it <https://www.paypal.me/PMarioJo> :) *
>
>

-- 
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/73f9734f-1639-4ef5-b534-55dc6b8ce61fn%40googlegroups.com.


[tw5] Re: Announcing the release of TiddlyWiki v5.1.23

2020-12-25 Thread Joshua Fontany
Excellent News!

As a holiday gift to all of you here are the *JsonMangler* and the *Formula* 
plugins 
updated to TW5.1.23

I am hosting my wikis on a custom domain, so those demo wiki URLs will 
switch to "chronicles.wiki" when clicked.

*JsonMangler*
GitHub: https://github.com/joshuafontany/TW5-JsonMangler
Demo Wiki: https://joshuafontany.github.io/TW5-JsonMangler/ 

*Formula*
GitHub: https://github.com/EvanBalster/TiddlyWikiFormula
Demo Wiki: https://joshuafontany.github.io/TiddlyWikiFormula/

Looking forward to what we can do in 2021!!!!!

Best,
Joshua Fontany

On Friday, December 25, 2020 at 4:47:51 AM UTC-8 Hubert wrote:

> Thank you Jeremy and everyone involved in bringing this fantastic release 
> to life!
>
> I wish you all Happy Holidays and a healthy 2021!
>
> Best regards,
> Hubert
>
> On Friday, 25 December 2020 at 11:32:55 UTC Ton Gerner wrote:
>
>> Hi all,
>>
>> Thank you very much Jeremy et al.
>> Many things to be explored.
>>
>> Merry Christmas and a healthy new year.
>>
>> Ton
>>
>>

-- 
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/628039d1-f7c0-477f-955e-6d33f770f4c9n%40googlegroups.com.


[tw5] Re: OokWiki (Bob + A secure login + wiki and account permissions) as a replacement for TiddlySpot

2020-12-22 Thread Joshua Fontany
FANTASTIC. This solves a lot of the technical hurdles I was looking at for 
hosting an RPG-focused TW App somewhere online.

Really looking forward to this, thanks jed!

Best,
Joshua F

On Tuesday, December 22, 2020 at 3:26:59 PM UTC-8 inmy...@gmail.com wrote:

> You would go to the site, the landing page is a wiki, on that wiki you can 
> login or create an account. Once you do that you can use it like Bob, so 
> you create wikis from within the wiki itself. So setup would be simpler 
> than tiddlyspot because you can just make a wiki on the site without having 
> to upload from anywhere.
>
> Community governance would cover rules for use, if quotas exist, who has 
> administrator access, and how server costs are handled. The specifics of 
> how the governance is handled would need to be worked out. Something like 
> voting by people who have wikis, or people who are active making up a 
> committee to make decisions, or something like that. Governance doesn't 
> need to be done by people who are necessarily technically proficient.
>
> I should have the demo working soon and the use part may be more clear.
>
> On Tuesday, December 22, 2020 at 9:50:54 PM UTC+1 Mat wrote:
>
>> Jed, this is certainly interesting.
>>
>> Regarding
>>
>> >I am not interested in hosting and running this myself, it would be a 
>> > community with community governance supported by donations. 
>> > [...] maintenance and operation must be a group effort 
>>
>> What does this practially mean? By "community governance" I'm guessing 
>> you mean a few individuals who are proficient with "ocean droplets, Linux, 
>> json web tokens... etc, etc", right?, who set up servers and that other 
>> less technical people can then put wikis on, right?
>>
>> Would a "set up" (for lack of better word) provide a front that is as 
>> simple as the TiddlySpot front face? Because one biggie with TiddlySpot was 
>> the super ease with which users could put up a new wiki.
>>
>> 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/da6ad3b1-13f5-481b-b919-c420b7b7a0a8n%40googlegroups.com.


[tw5] Re: [Feature request] Image tiddlers in the plugin library

2020-12-21 Thread Joshua Fontany
I am working on a set of SVG tools and importing 2 large libraries to TW5 - 
FontaAwesome5 & GameIcons.net. I don't have a demo wiki up yet, but based 
on the existing FontAwesome plugin demo-wikis, I think a config tiddler 
where you can filter/display icons & drag them off to a sidebar to 
"package" them will be the main feature of the demo wiki.

The other side of it is actually CSS based to make the inline/translcuded 
SVG code match the stock TW5 icons. Still working on that... it might end 
up as a global macro, so you could use the icons in other size/color/etc 
instances elsewhere, but call them as "system icons" with `<<.icon 
""title">>`.

I will make an announcement once I have a basic demo wiki up.

Best,
Joshua Fontany

On Monday, December 21, 2020 at 1:38:07 PM UTC-8 TW Tones wrote:

> David,
>
> I have done something similar before - Each tab displays a plugin type set 
> in the plugin tiddlers. You can add your own plugin type to a tiddler such 
> as plugin-type "data". Then its a mater of duplicating an existing tab in 
> the plugins listing only data tiddlers. 
>
> Are you mostly suggesting a new convention?
>
> I am happy to do something like this for you if you want.
>
> But first
> There is already fontawsome svgs available and unicode that also gives you 
> access to 10's of thousands of icons. 
>
> Tones
>
> On Tuesday, 22 December 2020 at 01:56:19 UTC+11 David Gifford wrote:
>
>> Hi all
>>
>> I would like to request that the plugin library have another tab, for 
>> images, where one can download sets of basic image tiddlers. Nothing 
>> extensive, just a few basics:
>>
>> 1. A-Z
>> 2. 0-9
>> 3. @, 
>> 4. The most common social media sharing images
>> 5. Other? maybe a few that are like the ones from 
>> https://www.flaticon.com/most-downloaded
>>
>> I am aware that there are plugins for packages of icons. I am thinking 
>> more of ready-made tiddlers of basic items. 
>>
>> If not, then maybe a tutorial on how to create icons that are the same 
>> look, dimensions, filesize, etc of the shadow icons. I have tried to do a 
>> few but they suck, and would like better instructions on how to make them.
>>
>> Thanks in advance, Dave
>>
>

-- 
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/5bab678e-5266-4a78-b90b-10f46dee1739n%40googlegroups.com.


[tw5] Re: Use Relink to rename similar tiddlers

2020-12-15 Thread Joshua Fontany
This will work really really well with the new filesystem code. Behind the 
scenes when you "rename" a tiddler, the old one is deleted from the "store" 
and a new one is created with the new title field and then all other field 
copied over. Thanks!

Best,
Joshua F

On Tuesday, December 15, 2020 at 4:38:29 PM UTC-8 Flibbles wrote:

> I am here to say that Relink can now handle this very case.
>
> Introducing Relink-Titles 
> <https://flibbles.github.io/tw5-relink/#Plugins%2FTitles>
>
> It's a supplemental Relink plugin that allows for title updating of any 
> directory-nested tiddlers. And also any custom filter rules, or rules 
> introduced by third-party plugins.
>
> I'm only 4 months late!
> On Wednesday, August 19, 2020 at 3:01:44 AM UTC-4 Mat wrote:
>
>> If you only want the occasional correction, the way to do it is to open 
>> your wiki in an editor e.g Notepad++ and do a search/replace. Obviously the 
>> usual caveats; careful, backup.
>>
>> <:-)
>>
>

-- 
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/c0a574c6-0390-4388-a140-5fb8f1990008n%40googlegroups.com.


[tw5] Re: Error running savewikifolder

2020-12-15 Thread Joshua Fontany
It's interesting. If you look at the core editions, they come in pairs, 
like "tw.com" and "tw.com-server".

The "-server" version has the needed plugins in the tiddlywiki.info file:
```
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
```
and also loads the rest of the edition via an these attributes:
```
"includeWikis": [
"../tw5.com"
],
"config": {
"default-tiddler-location": "../tw5.com/tiddlers"
}
```

So, unpacking a single-file wiki does not include the plugins required to 
serve it via node.js "by default" because they do not, in fact, exist in 
the wiki when it is unpacked.

It's a neat way to organize things, because then you can call single-file 
build targets from the command line with Node & be sure the single-file 
Wiki generated will not error out when it is opened (as those plugins 
display an error if there is no backend to communicate with).

I honestly had to re-think all of my node wiki's structures when I figured 
this out.

Best,
Joshua F
On Tuesday, December 15, 2020 at 9:47:14 AM UTC-8 Mark S. wrote:

> I'm not sure what you mean by "install". You shouldn't have to install 
> them *per se*, just add the two lines:
>
> ...
> "tiddlywiki/tiddlyweb",
> "tiddlywiki/filesystem",
> ...
>
> to your tiddlywiki.info file in the plugins section. It's odd that 
> --savewikifolder doesn't insert them for you, since those will always be 
> needed when running under node.
>
>
> On Tuesday, December 15, 2020 at 9:08:16 AM UTC-8 ja...@baty.net wrote:
>
>> Thanks for testing it. I hadn't considered the mess that was my set of 
>> plugins so I removed everything not required or being used, then re-ran the 
>> command to build the node version without error!
>>
>> When starting the wiki the first time I got an error about missing 
>> plugins...
>>
>> > Plugins required for client-server operation ("tiddlywiki/filesystem" 
>> and "tiddlywiki/tiddlyweb") are missing from tiddlywiki.info
>>
>> So I installed those, re-built the node version, and things appear to be 
>> working fine now. I wonder why I didn't see anything in docs about needing 
>> to add those plugins. Maybe I had inadvertently removed them at some point, 
>> but either way it's working now, so thanks again for setting my down the 
>> right path! 
>>
>> Jack
>>
>> On Tuesday, December 15, 2020 at 11:00:54 AM UTC-5 Mark S. wrote:
>>
>>> I don't know if this is a useful clue, but you have 16 plugins in your 
>>> file (besides core). But on mine only
>>> 11 plugins were generated:
>>>
>>> codemirror-fullscreen
>>> ContextPlugin
>>> EditButtons
>>> edit-comptext
>>> notebook-mobile
>>> relink
>>> shiraz
>>> shiraz_1
>>> shuffle
>>> Stories
>>> uni-link
>>>
>>>
>>> On Tuesday, December 15, 2020 at 7:46:41 AM UTC-8 Mark S. wrote:
>>>
>>>> It worked fine for me, both using an early version of 5.1.23-prerelease 
>>>> and then with 5.1.22.
>>>> I also tried it renaming your .html to index.html and pasting your 
>>>> exact command. Works.
>>>>
>>>> However, I'm on Linux, not Mac, so maybe there's a difference there. 
>>>> Also using Node v8.11.1 .
>>>>
>>>> From your error, it looks like it doesn't like one of your custom 
>>>> plugins. Is the file at rudimentarylathe exactly the same as the one 
>>>> you're 
>>>> working with locally?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Tuesday, December 15, 2020 at 5:59:46 AM UTC-8 ja...@baty.net wrote:
>>>>
>>>>> I'm trying to convert my single-file html wiki for use via Node.js. 
>>>>> I've typically done this using the following...
>>>>>
>>>>> `tiddlywiki --load ./index.html --savewikifolder ./newwikifolder`
>>>>>
>>>>> Here's what happens with the wiki I'm trying to convert...
>>>>>
>>>>> ```
>>>>> node:internal/fs/utils:821
>>>>>   throw new ERR_INVALID_ARG_TYPE(
>>>>>   ^
>>>>>
>>>>> TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type 
>>>>> string or an instance of Buffer, TypedArray, 

[tw5] Re: [Macro] datauri macro and svg images

2020-12-14 Thread Joshua Fontany
Interesting... I wonder if this is true for all SVGs or just the core. The 
core image tiddlers are not actually "type:image/svg+xml", they do not have 
a type value, and are interpreted as wiki-text when transcluded.

Best,
Joshua F


On Wednesday, December 9, 2020 at 1:33:52 AM UTC-8 Mohammad wrote:

> I tried to use an svg as background. I realized I cannot use core svg 
> images. One reason may be the tiddler type or perhaps the removed xlmns.
>
> See below example at 
>
>  .jack { background: url(<$macrocall $name="datauri" title="Motovun 
> Jack.jpg" $output="text/plain"/>); height: 300px; }   class="jack"/> 
>
> Now if I replcae  Motovun Jack.jpg with $:/core/images/close-button as 
> below
>
>  .jack { background: url(<$macrocall $name="datauri" title="Motovun 
> Jack.jpg" $output="text/plain"/>); height: 300px; }   class="jack"/>  
>
> It does not work! 
>
> What is the reason?
>
> --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/4236b4d1-5bdc-4e9f-b418-5717ced3c4edn%40googlegroups.com.


  1   2   3   4   5   >