[tw5] Re: Method of using "nth-child(even)" with ""?

2022-02-20 Thread Eric Shulman
1. `<__txt__>` is a *parameter reference* syntax that can only be used 
within macro definitions.  It is similar to `$txt$`, which is a reference 
to the value of the `txt` macro parameter passed into the macro.  However, 
while occurances of `$txt$` are automatically replaced by the value passed 
into the macro when the macro's content is returned, `<__txt__>` is handled *as 
if it was a variable*, and is only evaluated when the macro content is 
subsequently parsed by within the calling syntax. It is a shorthand 
equivalent to:

```
\define macroname(param)
<$vars param="$param$">
   ... references to <> (or  if used within a filter) ...
   etc.

\end
```

2. `splitregexp[...]` is a *filter operator* and is similar to the 
`split[...]` filter operator.  Note that both `split[..]` and 
`splitregexp[...]` find and remove instances of the filter operand value, 
producing multiple filter items as a result, which are then available for 
further processing by the filter syntax.  The difference is that 
`splitregexp[...]` accepts *regular expressions* as the value of the filter 
operand, while `split[...]` only accepts *literal text*.  In this instance, 
`splitregexp[\n]` is being used to "split the input (the value of 
`<__txt__>`) into separate values by matching (and removing) any `newline` 
characters.  Each resulting line of text is then assigned to the `line` 
variable so it can be referenced in the body of the `<$list>...` 
widget, where it is then output, enclosed within `...`, in order 
to produce the final result of having separate child elements for each 
line, so that the `nth-child(...)` CSS rule can be applied.

-e

On Sunday, February 20, 2022 at 5:44:29 PM UTC-8 justin.hu...@gmail.com 
wrote:

> That works! 
>
> I can generally grasp how this works, though I'm not familiar with 
> <__txt__>splitregexp[\n]]
>
> the only time I've seen \n is to create a new line in python, is it doing 
> the same here?
>
>
>
> On Sunday, February 20, 2022 at 8:15:49 PM UTC-5 Eric Shulman wrote:
>
>> If the content of your `` is stored in a separate tiddler or field, 
>> you can force the creation of child `` elements, so that 
>> `nth-child(even)` can be applied successfully.
>>
>> Give this a try:
>> ```
>> \define nthchild(txt,bg:"lightgray")
>> \whitespace trim
>>  .myClass div:nth-child(even) { background:$bg$; } 
>> 
>><$list filter="[<__txt__>splitregexp[\n]]" variable="line">
>><$text text=<>/>
>>
>> 
>> \end
>>
>> <$macrocall $name="nthchild" txt={{test}} bg="powderblue"/>
>> ```
>>
>> where the text content is stored in a tiddler named "test".
>>
>> -e
>> On Sunday, February 20, 2022 at 4:46:32 PM UTC-8 justin.hu...@gmail.com 
>> wrote:
>>
>>> Ah, well- that's a bummer haha
>>>
>>> Thank you!
>>> On Sunday, February 20, 2022 at 7:30:21 PM UTC-5 Eric Shulman wrote:
>>>
 Although HTML `` elements can display multiple lines of text, each 
 line is not a separate child element.
 Thus, a CSS rule such as `nth-child(even)` doesn't have any effect 
 within the `` element.

 -e
 On Sunday, February 20, 2022 at 4:13:04 PM UTC-8 justin.hu...@gmail.com 
 wrote:

> Hello all, title says it all.
>
> When trying to apply nth-child(even) to use a background color for 
> each line when using  in my tiddlers, it doesn't seem to work, and 
> I'm 
> not entirely sure whats causing this.
>
> Any 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/998c0f3d-feb2-4210-a29f-eec8a96c27c4n%40googlegroups.com.


[tw5] BASIC Anywhere Machine code sample: Spinny Cube

2022-02-20 Thread Charlie Veniot
It's just a BASIC program which could be created with any BASIC 
implementation.

Nothing spectacular.  Oh but for TiddlyWiki ...

Aside from the portability of BASIC IDE and everything all in one HTML file 
for online/offline programming:

Creating this program in BASIC Anywhere Machine allows using TiddlyWiki 
features to export that program in various ways, including:

   - Spinny Cube BASIC source code in HTML file 
   

   - Spinny Cube executable BASIC program in an HTML file 
   


-- 
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/2f526ede-296c-496f-a167-e411365db8d2n%40googlegroups.com.


[tw5] Re: Method of using "nth-child(even)" with ""?

2022-02-20 Thread Justin H.
That works! 

I can generally grasp how this works, though I'm not familiar with 
<__txt__>splitregexp[\n]]

the only time I've seen \n is to create a new line in python, is it doing 
the same here?



On Sunday, February 20, 2022 at 8:15:49 PM UTC-5 Eric Shulman wrote:

> If the content of your `` is stored in a separate tiddler or field, 
> you can force the creation of child `` elements, so that 
> `nth-child(even)` can be applied successfully.
>
> Give this a try:
> ```
> \define nthchild(txt,bg:"lightgray")
> \whitespace trim
>  .myClass div:nth-child(even) { background:$bg$; } 
> 
><$list filter="[<__txt__>splitregexp[\n]]" variable="line">
><$text text=<>/>
>
> 
> \end
>
> <$macrocall $name="nthchild" txt={{test}} bg="powderblue"/>
> ```
>
> where the text content is stored in a tiddler named "test".
>
> -e
> On Sunday, February 20, 2022 at 4:46:32 PM UTC-8 justin.hu...@gmail.com 
> wrote:
>
>> Ah, well- that's a bummer haha
>>
>> Thank you!
>> On Sunday, February 20, 2022 at 7:30:21 PM UTC-5 Eric Shulman wrote:
>>
>>> Although HTML `` elements can display multiple lines of text, each 
>>> line is not a separate child element.
>>> Thus, a CSS rule such as `nth-child(even)` doesn't have any effect 
>>> within the `` element.
>>>
>>> -e
>>> On Sunday, February 20, 2022 at 4:13:04 PM UTC-8 justin.hu...@gmail.com 
>>> wrote:
>>>
 Hello all, title says it all.

 When trying to apply nth-child(even) to use a background color for each 
 line when using  in my tiddlers, it doesn't seem to work, and I'm not 
 entirely sure whats causing this.

 Any 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/85cd7147-76e2-4e27-bab4-e91d443221f5n%40googlegroups.com.


[tw5] Re: Method of using "nth-child(even)" with ""?

2022-02-20 Thread Eric Shulman
If the content of your `` is stored in a separate tiddler or field, 
you can force the creation of child `` elements, so that 
`nth-child(even)` can be applied successfully.

Give this a try:
```
\define nthchild(txt,bg:"lightgray")
\whitespace trim
 .myClass div:nth-child(even) { background:$bg$; } 

   <$list filter="[<__txt__>splitregexp[\n]]" variable="line">
   <$text text=<>/>
   

\end

<$macrocall $name="nthchild" txt={{test}} bg="powderblue"/>
```

where the text content is stored in a tiddler named "test".

-e
On Sunday, February 20, 2022 at 4:46:32 PM UTC-8 justin.hu...@gmail.com 
wrote:

> Ah, well- that's a bummer haha
>
> Thank you!
> On Sunday, February 20, 2022 at 7:30:21 PM UTC-5 Eric Shulman wrote:
>
>> Although HTML `` elements can display multiple lines of text, each 
>> line is not a separate child element.
>> Thus, a CSS rule such as `nth-child(even)` doesn't have any effect within 
>> the `` element.
>>
>> -e
>> On Sunday, February 20, 2022 at 4:13:04 PM UTC-8 justin.hu...@gmail.com 
>> wrote:
>>
>>> Hello all, title says it all.
>>>
>>> When trying to apply nth-child(even) to use a background color for each 
>>> line when using  in my tiddlers, it doesn't seem to work, and I'm not 
>>> entirely sure whats causing this.
>>>
>>> Any 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/a6d7384e-bca3-4dae-be45-7f982d6b70b0n%40googlegroups.com.


[tw5] Re: Method of using "nth-child(even)" with ""?

2022-02-20 Thread Justin H.
Ah, well- that's a bummer haha

Thank you!
On Sunday, February 20, 2022 at 7:30:21 PM UTC-5 Eric Shulman wrote:

> Although HTML `` elements can display multiple lines of text, each 
> line is not a separate child element.
> Thus, a CSS rule such as `nth-child(even)` doesn't have any effect within 
> the `` element.
>
> -e
> On Sunday, February 20, 2022 at 4:13:04 PM UTC-8 justin.hu...@gmail.com 
> wrote:
>
>> Hello all, title says it all.
>>
>> When trying to apply nth-child(even) to use a background color for each 
>> line when using  in my tiddlers, it doesn't seem to work, and I'm not 
>> entirely sure whats causing this.
>>
>> Any 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/3d884848-fa95-4d18-97b2-8d2b50f59fb1n%40googlegroups.com.


[tw5] Re: Method of using "nth-child(even)" with ""?

2022-02-20 Thread Eric Shulman
Although HTML `` elements can display multiple lines of text, each 
line is not a separate child element.
Thus, a CSS rule such as `nth-child(even)` doesn't have any effect within 
the `` element.

-e
On Sunday, February 20, 2022 at 4:13:04 PM UTC-8 justin.hu...@gmail.com 
wrote:

> Hello all, title says it all.
>
> When trying to apply nth-child(even) to use a background color for each 
> line when using  in my tiddlers, it doesn't seem to work, and I'm not 
> entirely sure whats causing this.
>
> Any 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/3552f609-86ba-4623-83bc-d8af5160aa58n%40googlegroups.com.


[tw5] Method of using "nth-child(even)" with ""?

2022-02-20 Thread Justin H.
Hello all, title says it all.

When trying to apply nth-child(even) to use a background color for each 
line when using  in my tiddlers, it doesn't seem to work, and I'm not 
entirely sure whats causing this.

Any 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/d97515c9-a8a8-4704-b19b-4a2dd6b9a586n%40googlegroups.com.


[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Mat
Mark S. wrote:

> Yeah, that's what we're using. I think. Possibly Google hasn't shut it 
> down in all regions, or possibly there is something else wrong with your 
> (Mat's) particular use-case that has nothing to do with the status of JSONP.
>

Hmm... @Siniy-kit what do I misunderstand:

1) Your solution is fetching data from a google sheet. 
2) You can only fetch this because the sheet data is presented in json 
format thanks to a google feature that requires a special URL
3) This special URL *used to* have the format:
https://spreadsheets.google.com/feeds/worksheets/"+specs.id+"/public/values?alt=json-in-script
4) ...but google modified this in august last year so the special URL is 
different AND the presented data there is json but it is wrapped in some 
other stuff. Here is the *new* URL format:
https://sheets.googleapis.com/v4/spreadsheets/' + spreadsheet_id + 
'/values/' + tab_name + '?alt=json=' + api_key; 

OR are you using a completely different method to pull the data into your 
wiki? One of the urls you just posted seems to be a script, so maybe there 
is a local copy of some magic script in each sheet you share, or maybe 
there's a way to apply a script to a arbitrary sheets to mangle them... 
perhaps via a special url (like what you posted... but where is that script 
stored then?)

@Mark... any ideas? Am I and @Siniy-kit talking past one another? I'm the 
fool here because I'm dealing with pieces in a puzzle that I don't 
understand. Is my question wrong?

-- 
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/a21facda-e336-47be-9542-dfb921f8e862n%40googlegroups.com.


[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread 'Mark S.' via TiddlyWiki


On Sunday, February 20, 2022 at 8:40:55 AM UTC-8 Mat wrote:

> Siniy-Kit wrote:
>
>> Mat, as you know, I dont use any google api in my old and New script. I 
>> open google spreadsheet direcrly like external javascript file with 
>> callback.  This format name is JSONP 
>>
>
> Aha... @Mark is better suited to comment on this but I would guess then 
> that we used your code and scaled it down to the minimum and built from 
> there so it was no longer JSONP but instead JSON. I can't remember. We'll 
> see if Mark has any thoughts.
>
>
Yeah, that's what we're using. I think. Possibly Google hasn't shut it down 
in all regions, or possibly there is something else wrong with your (Mat's) 
particular use-case that has nothing to do with the status of JSONP.

-- 
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/e90417b0-b0ee-4807-b50c-811e578778dfn%40googlegroups.com.


[tw5] A sidebar tab for local weather

2022-02-20 Thread Charlie Veniot
Well, in this case I'm using a weather widget for Toronto put together 
at https://weatherwidget.org/.

Download the attached json file and drag into some TiddlyWiki instance 
(tiddlywiki.com !) and give it a spin.

-- 
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/a3fad179-dfb2-489f-9db7-7c7064673b7en%40googlegroups.com.


WeatherForecast.json
Description: application/json


Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-20 Thread Hans Wobbe
Thanks for the additional email.

As much as I would like to dig into this, as I said, I am over-whelmingly
pre-occupied.

FYI, (in spite of it being a Privacy breach) Lisa is still in the ICU as a
result of “complications”.
Not only is her well-being important in itself, she also plays an important
role in managing some of our project work-flows.  We will be a while
sorting this out, I think.

Back to your environments, I think we should take a look at how the
automated sharing among the NodeJs based instances of TW that you set up,
might interact through your local storage environment.

I’ll try to get some more resources to wirk with you shortly.


Hans




On Sun, Feb 20, 2022 at 15:23 Charlie Veniot  wrote:

> Aside: CJ, being my other handle.
>
> For reference, if of use, my recent posts related to TiddlyWiki and local
> storage:
>
>- Local storage prototype: TiddlyWiki and BASIC data exchange
>
>- Using one TiddlyWiki as a "server" of content to another "client"
>TiddlyWiki 
>- TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for
>processing 
>
> On Sunday, February 20, 2022 at 3:21:41 PM UTC-4 hww...@gmail.com wrote:
>
>> I think this approach might work within the Local Storage solution that
>> CJ has developed.  Unfortunately I am supporting a couple of "life and
>> health" issues just now, so I am not able to test that assumption
>> personally..
>>
>> Hans
>>
>>
>> On Sunday, February 20, 2022 at 6:32:50 AM UTC-5 Jeremy Ruston wrote:
>>
>>> Hi Brian,
>>>
>>> I seem to recall https://tiddlywiki.fission.app/ implements such a
>>> launcher,
>>>
>>>
>>> That’s right. TiddlyDesktop also has a similar architecture. The
>>> challenge with Fission is that images stored in ones Fission drive are not
>>> accessible via a URL; there’s just a JS API to retrieve specific files. I
>>> have experimented with using a service worker to map local URLs to the JS
>>> API, which I think might be a promising generic technique for working with
>>> non-URL-based storage.
>>>
>>> but currently that page has an endlessly spinning "Authorizing with
>>> fission" message and the console has an "Uncaught (in promise) Error:
>>> Improperly formatted header value: skeleton" in webnative.js, so I couldn't
>>> confirm my memory.
>>>
>>>
>>> I hope to be able to work on TiddlyWiki on Fission soon, and will make
>>> an update to the latest version of the SDK.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>> I think the workflow implemented by the above two apps is "safer" than
>>> what I saw in the TW chromium native file saver. With the TW native saver
>>> the workflow looks like this:
>>>
>>>1. Load my native saver enabled TW using some url (possibly a
>>>file:// url)
>>>2. Click the Save button in HTML Native File System Saver modal
>>>3. From the file dialog select the same file I'm already editing
>>>4. Dialog box "a file with this name already exists, do you want to
>>>replace it?"
>>>5. Start sweating a little bit...if I've chosen the wrong file here,
>>>I might be overwriting something important
>>>6. Sweat a little bit more especially if I've loaded it from a web
>>>url where it isn't as easy to tell that I've selected the matching file 
>>> or
>>>not
>>>7. Cross my fingers, click the "replace" button and hope for the best
>>>
>>> The bangle and diagrams.net applications don't have the same room for
>>> user error since you are prompted for what file to read and then it
>>> automatically saves back to that same file. I find that workflow to be less
>>> nerve-wracking.
>>>
>>> Maybe with tiddlywiki's unique structure there is an even better
>>> workflow to be had, I don't know. And maybe the TW nativesaver can already
>>> be used with a better workflow and I just missed it.
>>>
>>>
 On Fri, 18 Feb 2022 at 20:13, TW Tones  wrote:

> Folks,
>
> I believe this is already available on tiddlywiki.com at
> https://tiddlywiki.com/#Saving%20on%20Browser%20with%20File%20System%20Access%20API
>
> It is not yet comprehensively documented and it is hard for me to
> determine what level of functionality and customisation is available to 
> us.
> As a solution only on Chromium browsers it is not yet global in
> application, so understanding its value is even harder to determine.
>
> I also ask myself "We require a click event to start the save
> dialogue" if this could not be placed in a save button "lookalike" or
> another way to make it user friendly. Ie just in time, not startup,
> Although in this thread others suggest they do not need it.
>
> Can someone write a user designer perspective and/or comparison with
> existing methods?
>
> My concerns;
>
>- How to design online tiddlywikis with a 

Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-20 Thread Charlie Veniot
Aside: CJ, being my other handle.

For reference, if of use, my recent posts related to TiddlyWiki and local 
storage: 

   - Local storage prototype: TiddlyWiki and BASIC data exchange 
   
   - Using one TiddlyWiki as a "server" of content to another "client" 
   TiddlyWiki 
   - TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for 
   processing 
   
On Sunday, February 20, 2022 at 3:21:41 PM UTC-4 hww...@gmail.com wrote:

> I think this approach might work within the Local Storage solution that CJ 
> has developed.  Unfortunately I am supporting a couple of "life and health" 
> issues just now, so I am not able to test that assumption personally..
>
> Hans
>
>
> On Sunday, February 20, 2022 at 6:32:50 AM UTC-5 Jeremy Ruston wrote:
>
>> Hi Brian,
>>
>> I seem to recall https://tiddlywiki.fission.app/ implements such a 
>> launcher,
>>
>>
>> That’s right. TiddlyDesktop also has a similar architecture. The 
>> challenge with Fission is that images stored in ones Fission drive are not 
>> accessible via a URL; there’s just a JS API to retrieve specific files. I 
>> have experimented with using a service worker to map local URLs to the JS 
>> API, which I think might be a promising generic technique for working with 
>> non-URL-based storage.
>>
>> but currently that page has an endlessly spinning "Authorizing with 
>> fission" message and the console has an "Uncaught (in promise) Error: 
>> Improperly formatted header value: skeleton" in webnative.js, so I couldn't 
>> confirm my memory.
>>
>>
>> I hope to be able to work on TiddlyWiki on Fission soon, and will make an 
>> update to the latest version of the SDK.
>>
>> Best wishes
>>
>> Jeremy
>>
>> I think the workflow implemented by the above two apps is "safer" than 
>> what I saw in the TW chromium native file saver. With the TW native saver 
>> the workflow looks like this:
>>
>>1. Load my native saver enabled TW using some url (possibly a file:// 
>>url)
>>2. Click the Save button in HTML Native File System Saver modal
>>3. From the file dialog select the same file I'm already editing
>>4. Dialog box "a file with this name already exists, do you want to 
>>replace it?"
>>5. Start sweating a little bit...if I've chosen the wrong file here, 
>>I might be overwriting something important
>>6. Sweat a little bit more especially if I've loaded it from a web 
>>url where it isn't as easy to tell that I've selected the matching file 
>> or 
>>not
>>7. Cross my fingers, click the "replace" button and hope for the best
>>
>> The bangle and diagrams.net applications don't have the same room for 
>> user error since you are prompted for what file to read and then it 
>> automatically saves back to that same file. I find that workflow to be less 
>> nerve-wracking.
>>
>> Maybe with tiddlywiki's unique structure there is an even better workflow 
>> to be had, I don't know. And maybe the TW nativesaver can already be used 
>> with a better workflow and I just missed it.
>>  
>>
>>> On Fri, 18 Feb 2022 at 20:13, TW Tones  wrote:
>>>
 Folks,

 I believe this is already available on tiddlywiki.com at 
 https://tiddlywiki.com/#Saving%20on%20Browser%20with%20File%20System%20Access%20API

 It is not yet comprehensively documented and it is hard for me to 
 determine what level of functionality and customisation is available to 
 us. 
 As a solution only on Chromium browsers it is not yet global in 
 application, so understanding its value is even harder to determine.

 I also ask myself "We require a click event to start the save dialogue" 
 if this could not be placed in a save button "lookalike" or another way to 
 make it user friendly. Ie just in time, not startup, Although in this 
 thread others suggest they do not need it.

 Can someone write a user designer perspective and/or comparison with 
 existing methods?

 My concerns;

- How to design online tiddlywikis with a non-intrusive saving 
mechanism users can understand.
- Dealing with the contention possible with two parties editing the 
same site.

 I would appreciate it is someone can spell this out a little more for 
 us who need it, and can't easily understand this from the jargon and 
 reading between the lines in this discussion.

 Thanks
 Tones
 On Wednesday, 9 February 2022 at 11:10:40 UTC+11 PMario wrote:

> Hi,
> I do like that option. 
> -mario
>
> On Wednesday, February 9, 2022 at 12:11:06 AM UTC+1 
> dyllon...@gmail.com wrote:
>
>> It does work, though I think it is disruptive asking as soon as 
>> something is done which triggers autosave. However, I have put in an 
>> option 
>> with 

Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-20 Thread Hans Wobbe
I think this approach might work within the Local Storage solution that CJ 
has developed.  Unfortunately I am supporting a couple of "life and health" 
issues just now, so I am not able to test that assumption personally..

Hans


On Sunday, February 20, 2022 at 6:32:50 AM UTC-5 Jeremy Ruston wrote:

> Hi Brian,
>
> I seem to recall https://tiddlywiki.fission.app/ implements such a 
> launcher,
>
>
> That’s right. TiddlyDesktop also has a similar architecture. The challenge 
> with Fission is that images stored in ones Fission drive are not accessible 
> via a URL; there’s just a JS API to retrieve specific files. I have 
> experimented with using a service worker to map local URLs to the JS API, 
> which I think might be a promising generic technique for working with 
> non-URL-based storage.
>
> but currently that page has an endlessly spinning "Authorizing with 
> fission" message and the console has an "Uncaught (in promise) Error: 
> Improperly formatted header value: skeleton" in webnative.js, so I couldn't 
> confirm my memory.
>
>
> I hope to be able to work on TiddlyWiki on Fission soon, and will make an 
> update to the latest version of the SDK.
>
> Best wishes
>
> Jeremy
>
> I think the workflow implemented by the above two apps is "safer" than 
> what I saw in the TW chromium native file saver. With the TW native saver 
> the workflow looks like this:
>
>1. Load my native saver enabled TW using some url (possibly a file:// 
>url)
>2. Click the Save button in HTML Native File System Saver modal
>3. From the file dialog select the same file I'm already editing
>4. Dialog box "a file with this name already exists, do you want to 
>replace it?"
>5. Start sweating a little bit...if I've chosen the wrong file here, I 
>might be overwriting something important
>6. Sweat a little bit more especially if I've loaded it from a web url 
>where it isn't as easy to tell that I've selected the matching file or not
>7. Cross my fingers, click the "replace" button and hope for the best
>
> The bangle and diagrams.net applications don't have the same room for 
> user error since you are prompted for what file to read and then it 
> automatically saves back to that same file. I find that workflow to be less 
> nerve-wracking.
>
> Maybe with tiddlywiki's unique structure there is an even better workflow 
> to be had, I don't know. And maybe the TW nativesaver can already be used 
> with a better workflow and I just missed it.
>  
>
>> On Fri, 18 Feb 2022 at 20:13, TW Tones  wrote:
>>
>>> Folks,
>>>
>>> I believe this is already available on tiddlywiki.com at 
>>> https://tiddlywiki.com/#Saving%20on%20Browser%20with%20File%20System%20Access%20API
>>>
>>> It is not yet comprehensively documented and it is hard for me to 
>>> determine what level of functionality and customisation is available to us. 
>>> As a solution only on Chromium browsers it is not yet global in 
>>> application, so understanding its value is even harder to determine.
>>>
>>> I also ask myself "We require a click event to start the save dialogue" 
>>> if this could not be placed in a save button "lookalike" or another way to 
>>> make it user friendly. Ie just in time, not startup, Although in this 
>>> thread others suggest they do not need it.
>>>
>>> Can someone write a user designer perspective and/or comparison with 
>>> existing methods?
>>>
>>> My concerns;
>>>
>>>- How to design online tiddlywikis with a non-intrusive saving 
>>>mechanism users can understand.
>>>- Dealing with the contention possible with two parties editing the 
>>>same site.
>>>
>>> I would appreciate it is someone can spell this out a little more for us 
>>> who need it, and can't easily understand this from the jargon and reading 
>>> between the lines in this discussion.
>>>
>>> Thanks
>>> Tones
>>> On Wednesday, 9 February 2022 at 11:10:40 UTC+11 PMario wrote:
>>>
 Hi,
 I do like that option. 
 -mario

 On Wednesday, February 9, 2022 at 12:11:06 AM UTC+1 dyllon...@gmail.com 
 wrote:

> It does work, though I think it is disruptive asking as soon as 
> something is done which triggers autosave. However, I have put in an 
> option 
> with version 0.7.1 to disable the modal for those who don't like it.
>
> On Sunday, February 6, 2022 at 1:46:16 AM UTC-8 PMario wrote:
>
>> On Sunday, February 6, 2022 at 12:54:25 AM UTC+1 brian@gmail.com 
>> wrote:
>> ...
>>
>>> Now with the indexdb entry re-populated, the sequence looks like 
>>> this:
>>>
>>>1. Reload the TW page
>>>2. Click the + button to create a new tiddler
>>>3. Click the checkmark to save the tiddler
>>>4. A dialog box asks me if I want to let the site edit the file. 
>>>I click the "edit file" button
>>>5. The file saves
>>>
>>> So it is working for me even without the settings modal. Do you see 
>>> 

[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Siniy-Kit
JSONP is a very good format. You can get data directly not only from 
spreadsheets, but for example, you can get all files list from shared 
google drive folder
https://drive.google.com/drive/folders/1drFCfJcb9KcB2pGHPgXX3W97OSdkVPw_  
here is folder
https://script.google.com/macros/s/AKfycbyEhEhAkYKPCrmcyTRg9CG-rpqEIEfEov4voZoxoOY_q8qvJ-049Oke1IlYPRVQL_kSgg/exec?idf=1drFCfJcb9KcB2pGHPgXX3W97OSdkVPw_
here is JSONP of this folder .  in this example I put not JSON, but one 
line array as argument of callback JavaScript function getImGD  but in 
spreadsheets we put JSON

the most interesting thing, than spreadsheets understand  mySQL parameters  
(WHERE...IN) in GET so we can download in JSONP not whole spreadsheet, 
but only lines where column "tags" contain "hi" and so on.  Long ago I make 
demo in this group of it. *And it works without  any API *

We can push data to google spreadsheets in two ways 
1. Old variant - using google form (I make demo in this group)
2. New variant  doPOST() in google 
script 
https://stackoverflow.com/questions/43127023/how-do-i-create-a-doposte-function-in-apps-script-project-to-capture-http-post



 




   





воскресенье, 20 февраля 2022 г. в 19:40:55 UTC+3, Mat: 

> Siniy-Kit wrote:
>
>> Mat, as you know, I dont use any google api in my old and New script. I 
>> open google spreadsheet direcrly like external javascript file with 
>> callback.  This format name is JSONP 
>>
>
> Aha... @Mark is better suited to comment on this but I would guess then 
> that we used your code and scaled it down to the minimum and built from 
> there so it was no longer JSONP but instead JSON. I can't remember. We'll 
> see if Mark has any thoughts.
>  
>
>> I read you want to make "Google spreadsheet backend"  NOW in spreadsheets 
>> scripts we can use GET and POST
>> so we can save tiddlywiki paswords in hidden spreadsheet and chek it in 
>> POST
>>
>
> Does this, at least theoretically, mean that it would be possible to both 
> fetch data from the spreadsheet and "push" data into it?
>  
>
>> I hope, you Will finnish your idea with googlespreadsheet plugin for 
>> tiddlywiki. 
>>
>
> Yeah... that'd be super cool. If it could be made to work well. And IF it 
> were possible to both fetch and push data between a TW and a goodle sheet 
> then that might even mean it would be a multi-user TW. From any TW. Where 
> you share specific tiddlers. TW could be used for communication, as a 
> plugin store, collaboration, anything.
>
> <:-)
>
>

-- 
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/132db2cd-a76e-4ec9-80dc-869b41962c24n%40googlegroups.com.


[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Mat
Siniy-Kit wrote:

> Mat, as you know, I dont use any google api in my old and New script. I 
> open google spreadsheet direcrly like external javascript file with 
> callback.  This format name is JSONP 
>

Aha... @Mark is better suited to comment on this but I would guess then 
that we used your code and scaled it down to the minimum and built from 
there so it was no longer JSONP but instead JSON. I can't remember. We'll 
see if Mark has any thoughts.
 

> I read you want to make "Google spreadsheet backend"  NOW in spreadsheets 
> scripts we can use GET and POST
> so we can save tiddlywiki paswords in hidden spreadsheet and chek it in 
> POST
>

Does this, at least theoretically, mean that it would be possible to both 
fetch data from the spreadsheet and "push" data into it?
 

> I hope, you Will finnish your idea with googlespreadsheet plugin for 
> tiddlywiki. 
>

Yeah... that'd be super cool. If it could be made to work well. And IF it 
were possible to both fetch and push data between a TW and a goodle sheet 
then that might even mean it would be a multi-user TW. From any TW. Where 
you share specific tiddlers. TW could be used for communication, as a 
plugin store, collaboration, anything.

<:-)

-- 
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/11b0bb7f-a8b6-49d7-8d46-468546f59dban%40googlegroups.com.


[tw5] Re: TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for processing

2022-02-20 Thread Charlie Veniot
G'day g'day,

Just to be clear in case anybody thinks otherwise: this is BASIC 
interpreted by wwwBASIC.js (well, my tweaked version), the BASIC program 
and the javascript all dynamically rolled into an HTML "page" by TiddlyWiki 
and fed into an iframe via srcdoc parameter.

For those adept at javascript, "BASIC Anywhere Machine" could be turned 
into "Javascript Anywhere Machine" in no time at all.

Any programming language, scripting or other, that has a javascript 
interpreter could be used instead of wwwBASIC.js

Whatever it is, it ought to be something that can be dynamically fed to an 
iframe by TiddlyWiki, in a TiddlyWiki tiddler.

Well, with the kind of architecture I've setup for BASIC Anywhere Machine.

I'm not sure what I've built here could be adapted to run scripts outside 
of TiddlyWiki.

That said, feeding the right kind of javascript to an iframe, maybe there 
are javascript libraries out there that allow interacting with OS-level 
scripts, but I highly doubt it.  Maybe TiddlyWiki in a nodejs setup?


All of that tossed aside, thanks much for the appreciative comment.  All it 
takes is for one person (on this third rock from the sun) to find something 
I'm doing even just semi-interesting: gets my geek mojo going.

On Sunday, February 20, 2022 at 7:32:57 AM UTC-4 TiddlyTweeter wrote:

>  cj.v...@gmail.com wrote:
>
>> ... sample showcases TiddlyWiki providing the GUI to interact with a 
>> running BASIC programming.
>
>
>> So one-way (TiddlyWiki to BASIC) sharing/communication.
>>
>> Give the Sunshine Application 
>> 
>>  
>> a try.  Nothing fancy, just proof-in-the-pudding concept.
>>
>
> Very interesting *proof-in-the-pudding concept.*
>
> FYI if now wondering* if. If* the same approach could be used to interact 
> with generic O/S scripting lingos like *Powershell.*
>
> I'm not really any kind of programmer, but I thought the immediacy of the 
> example brilliant!
>
> One thing I do do is convert large texts farmed from the net to TW format. 
> I'm thinking the approach you illustrate here could make that easier?
>
> Just an appreciative 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/7169129c-f19f-4b40-be51-f5b13294782dn%40googlegroups.com.


[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Siniy-Kit
Thank, you Mohammad. I'll try it
Mat, as you know, I dont use any google api in my old and New script. I 
open google spreadsheet direcrly like external javascript file with 
callback.  This format name is JSONP 
I read you want to make "Google spreadsheet backend"  NOW in spreadsheets 
scripts we can use GET and POST
so we can save tiddlywiki paswords in hidden spreadsheet and chek it in POST
I hope, you Will finnish your idea with googlespreadsheet plugin for 
tiddlywiki. 

воскресенье, 20 февраля 2022 г. в 15:44:43 UTC+3, Mohammad: 

> Hi @Siniy-Kit
> Why not to use Gatha ( Gatha Plugin: Beta Release - Create and Distribute 
> Tiddlywiki Plugins - Plugins - Talk TW 
> 
> )
> No need to know Node.JS. Creating a plugin in Gatha is just a piece of 
> cake.
>
> On Sunday, February 20, 2022 at 1:52:34 PM UTC+3:30 Siniy-Kit wrote:
>
>> Hi, Mat. I don't know how to write plugins for Tiddlywiki, so I put all 
>> my js code to one tiddler 
>> https://heeg.ru/shop2_3.html#%24%3A%2Fboot%2Fbootprefix1.js
>>
>> The part you need begins here
>>
>> Начало нового кода
>>
>>
>> воскресенье, 20 февраля 2022 г. в 11:44:20 UTC+3, Mat: 
>>
>>> @Siniy-Kit - I've said it before: Wow! The idea that TW can be the 
>>> engine for a real commercial store is just amazing! Well done!
>>>
>>> How does your system convert the google sheet into tiddlers? Where can 
>>> we find the code to see how this is done?
>>>
>>> As you may know, your solution was the fundamental starting point for 
>>> Marks and my SheetsIN plugin. Here's the github 
>>> , the demo 
>>>  with a "special thanks" to you 
>>> which is also in the plugin, and here's the gg announcement 
>>> . The 
>>> SheetsIN plugin is part of the bigger TiddlyGoo project 
>>>  intended to provide solutions for 
>>> generally connecting TW to the internet, by using google sheets as a 
>>> "middle step" and a backend. 
>>>
>>> ...*but* Google changed their API a few months back so SheetsIN no 
>>> longer works. So I'm wondering how you solved this? Looking at your demo 
>>> site 
>>> ,
>>>  
>>> it is very difficult to know what is going on and what tiddlers or plugins 
>>> that connect to your sheet and extract and process the content - ? Is there 
>>> a way to see the actual code that does this?
>>>
>>> Thank you!
>>>
>>> <:-)
>>>
>>> On Monday, January 3, 2022 at 12:14:06 PM UTC+1 Ste wrote:
>>>
 Looking realy good!

 On Sunday, 2 January 2022 at 10:31:53 UTC Siniy-Kit wrote:

> Hi! I make small on-line stores on Tiddlywiki. I was not able to 
> finish my last work, so i make a little demo from it 
> https://heeg.ru/shop2_3.html?id=16jpYS8egNJuLA8HyS-Um6wuwC9A5eFl-IKykIzZB92Y
>
> I think that this demo will be useful for people, who want convert 
> their boring spreadsheets to nice interactive Tiddlywiki page or  very 
> fast 
> static cut site   https://heeg.ru/carimages/static/ 
> with checkboxes and images from google drive or any hosting.
>
>
>

-- 
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/a2e1a3e0-5402-4d29-b747-e14456e8b380n%40googlegroups.com.


[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Mohammad
Hi @Siniy-Kit
Why not to use Gatha ( Gatha Plugin: Beta Release - Create and Distribute 
Tiddlywiki Plugins - Plugins - Talk TW 

)
No need to know Node.JS. Creating a plugin in Gatha is just a piece of cake.

On Sunday, February 20, 2022 at 1:52:34 PM UTC+3:30 Siniy-Kit wrote:

> Hi, Mat. I don't know how to write plugins for Tiddlywiki, so I put all my 
> js code to one tiddler 
> https://heeg.ru/shop2_3.html#%24%3A%2Fboot%2Fbootprefix1.js
>
> The part you need begins here
>
> Начало нового кода
>
>
> воскресенье, 20 февраля 2022 г. в 11:44:20 UTC+3, Mat: 
>
>> @Siniy-Kit - I've said it before: Wow! The idea that TW can be the engine 
>> for a real commercial store is just amazing! Well done!
>>
>> How does your system convert the google sheet into tiddlers? Where can we 
>> find the code to see how this is done?
>>
>> As you may know, your solution was the fundamental starting point for 
>> Marks and my SheetsIN plugin. Here's the github 
>> , the demo 
>>  with a "special thanks" to you 
>> which is also in the plugin, and here's the gg announcement 
>> . The 
>> SheetsIN plugin is part of the bigger TiddlyGoo project 
>>  intended to provide solutions for 
>> generally connecting TW to the internet, by using google sheets as a 
>> "middle step" and a backend. 
>>
>> ...*but* Google changed their API a few months back so SheetsIN no 
>> longer works. So I'm wondering how you solved this? Looking at your demo 
>> site 
>> ,
>>  
>> it is very difficult to know what is going on and what tiddlers or plugins 
>> that connect to your sheet and extract and process the content - ? Is there 
>> a way to see the actual code that does this?
>>
>> Thank you!
>>
>> <:-)
>>
>> On Monday, January 3, 2022 at 12:14:06 PM UTC+1 Ste wrote:
>>
>>> Looking realy good!
>>>
>>> On Sunday, 2 January 2022 at 10:31:53 UTC Siniy-Kit wrote:
>>>
 Hi! I make small on-line stores on Tiddlywiki. I was not able to finish 
 my last work, so i make a little demo from it 
 https://heeg.ru/shop2_3.html?id=16jpYS8egNJuLA8HyS-Um6wuwC9A5eFl-IKykIzZB92Y

 I think that this demo will be useful for people, who want convert 
 their boring spreadsheets to nice interactive Tiddlywiki page or  very 
 fast 
 static cut site   https://heeg.ru/carimages/static/ 
 with checkboxes and images from google drive or any hosting.




-- 
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/64bc185c-364a-48f0-9f73-be5bfb3d137fn%40googlegroups.com.


[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Mat
Ah, great! And this was updated a few months ago to work with Google v4 
API, right? Did it take a lot of changing to do the update?
Again 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/44a114f5-5186-4878-8634-e20420649e26n%40googlegroups.com.


[tw5] Re: TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for processing

2022-02-20 Thread TiddlyTweeter
 cj.v...@gmail.com wrote:

> ... sample showcases TiddlyWiki providing the GUI to interact with a 
> running BASIC programming.
>
> So one-way (TiddlyWiki to BASIC) sharing/communication.
>
> Give the Sunshine Application 
> 
>  
> a try.  Nothing fancy, just proof-in-the-pudding concept.
>

Very interesting *proof-in-the-pudding concept.*

FYI if now wondering* if. If* the same approach could be used to interact 
with generic O/S scripting lingos like *Powershell.*

I'm not really any kind of programmer, but I thought the immediacy of the 
example brilliant!

One thing I do do is convert large texts farmed from the net to TW format. 
I'm thinking the approach you illustrate here could make that easier?

Just an appreciative 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/326ca6a6-12d4-4f82-a738-386a5c923e1fn%40googlegroups.com.


Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-20 Thread Jeremy Ruston
Hi Brian,

> I seem to recall https://tiddlywiki.fission.app/ 
>  implements such a launcher,

That’s right. TiddlyDesktop also has a similar architecture. The challenge with 
Fission is that images stored in ones Fission drive are not accessible via a 
URL; there’s just a JS API to retrieve specific files. I have experimented with 
using a service worker to map local URLs to the JS API, which I think might be 
a promising generic technique for working with non-URL-based storage.

> but currently that page has an endlessly spinning "Authorizing with fission" 
> message and the console has an "Uncaught (in promise) Error: Improperly 
> formatted header value: skeleton" in webnative.js, so I couldn't confirm my 
> memory.

I hope to be able to work on TiddlyWiki on Fission soon, and will make an 
update to the latest version of the SDK.

Best wishes

Jeremy

> I think the workflow implemented by the above two apps is "safer" than what I 
> saw in the TW chromium native file saver. With the TW native saver the 
> workflow looks like this:
> Load my native saver enabled TW using some url (possibly a file:// url)
> Click the Save button in HTML Native File System Saver modal
> From the file dialog select the same file I'm already editing
> Dialog box "a file with this name already exists, do you want to replace it?"
> Start sweating a little bit...if I've chosen the wrong file here, I might be 
> overwriting something important
> Sweat a little bit more especially if I've loaded it from a web url where it 
> isn't as easy to tell that I've selected the matching file or not
> Cross my fingers, click the "replace" button and hope for the best
> The bangle and diagrams.net  applications don't have 
> the same room for user error since you are prompted for what file to read and 
> then it automatically saves back to that same file. I find that workflow to 
> be less nerve-wracking.
> 
> Maybe with tiddlywiki's unique structure there is an even better workflow to 
> be had, I don't know. And maybe the TW nativesaver can already be used with a 
> better workflow and I just missed it.
>  
> On Fri, 18 Feb 2022 at 20:13, TW Tones  > wrote:
> Folks,
> 
> I believe this is already available on tiddlywiki.com 
>  at 
> https://tiddlywiki.com/#Saving%20on%20Browser%20with%20File%20System%20Access%20API
>  
> 
> 
> It is not yet comprehensively documented and it is hard for me to determine 
> what level of functionality and customisation is available to us. As a 
> solution only on Chromium browsers it is not yet global in application, so 
> understanding its value is even harder to determine.
> 
> I also ask myself "We require a click event to start the save dialogue" if 
> this could not be placed in a save button "lookalike" or another way to make 
> it user friendly. Ie just in time, not startup, Although in this thread 
> others suggest they do not need it.
> 
> Can someone write a user designer perspective and/or comparison with existing 
> methods?
> 
> My concerns;
> How to design online tiddlywikis with a non-intrusive saving mechanism users 
> can understand.
> Dealing with the contention possible with two parties editing the same site.
> I would appreciate it is someone can spell this out a little more for us who 
> need it, and can't easily understand this from the jargon and reading between 
> the lines in this discussion.
> 
> Thanks
> Tones
> On Wednesday, 9 February 2022 at 11:10:40 UTC+11 PMario wrote:
> Hi,
> I do like that option. 
> -mario
> 
> On Wednesday, February 9, 2022 at 12:11:06 AM UTC+1 dyllon...@gmail.com <> 
> wrote:
> It does work, though I think it is disruptive asking as soon as something is 
> done which triggers autosave. However, I have put in an option with version 
> 0.7.1 to disable the modal for those who don't like it.
> 
> On Sunday, February 6, 2022 at 1:46:16 AM UTC-8 PMario wrote:
> On Sunday, February 6, 2022 at 12:54:25 AM UTC+1 brian@gmail.com <> wrote:
> ...
> Now with the indexdb entry re-populated, the sequence looks like this:
> Reload the TW page
> Click the + button to create a new tiddler
> Click the checkmark to save the tiddler
> A dialog box asks me if I want to let the site edit the file. I click the 
> "edit file" button
> The file saves
> So it is working for me even without the settings modal. Do you see this same 
> behavior?
> 
> I also think the modal isn't needed. The API requires user interaction. ... 
> But I think the described behaviour is good. The permission is requested, 
> when the first save happens. Since this save is a user interaction it should 
> be good enough.
> 
> -mario
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> 

[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Siniy-Kit
Hi, Mat. I don't know how to write plugins for Tiddlywiki, so I put all my 
js code to one 
tiddler https://heeg.ru/shop2_3.html#%24%3A%2Fboot%2Fbootprefix1.js

The part you need begins here

Начало нового кода


воскресенье, 20 февраля 2022 г. в 11:44:20 UTC+3, Mat: 

> @Siniy-Kit - I've said it before: Wow! The idea that TW can be the engine 
> for a real commercial store is just amazing! Well done!
>
> How does your system convert the google sheet into tiddlers? Where can we 
> find the code to see how this is done?
>
> As you may know, your solution was the fundamental starting point for 
> Marks and my SheetsIN plugin. Here's the github 
> , the demo 
>  with a "special thanks" to you 
> which is also in the plugin, and here's the gg announcement 
> . The 
> SheetsIN plugin is part of the bigger TiddlyGoo project 
>  intended to provide solutions for 
> generally connecting TW to the internet, by using google sheets as a 
> "middle step" and a backend. 
>
> ...*but* Google changed their API a few months back so SheetsIN no longer 
> works. So I'm wondering how you solved this? Looking at your demo site 
> ,
>  
> it is very difficult to know what is going on and what tiddlers or plugins 
> that connect to your sheet and extract and process the content - ? Is there 
> a way to see the actual code that does this?
>
> Thank you!
>
> <:-)
>
> On Monday, January 3, 2022 at 12:14:06 PM UTC+1 Ste wrote:
>
>> Looking realy good!
>>
>> On Sunday, 2 January 2022 at 10:31:53 UTC Siniy-Kit wrote:
>>
>>> Hi! I make small on-line stores on Tiddlywiki. I was not able to finish 
>>> my last work, so i make a little demo from it 
>>> https://heeg.ru/shop2_3.html?id=16jpYS8egNJuLA8HyS-Um6wuwC9A5eFl-IKykIzZB92Y
>>>
>>> I think that this demo will be useful for people, who want convert their 
>>> boring spreadsheets to nice interactive Tiddlywiki page or  very fast 
>>> static cut site   https://heeg.ru/carimages/static/ 
>>> with checkboxes and images from google drive or any hosting.
>>>
>>>
>>>

-- 
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/d8828ddb-0dc1-4b34-95e7-193a6f6443a5n%40googlegroups.com.


[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Mat
By the way, it would of course be better if we have this conversation over 
at https://talk.tiddlywiki.org/ I note you're also a member there.
<:-)
On Sunday, February 20, 2022 at 9:44:20 AM UTC+1 Mat wrote:

> @Siniy-Kit - I've said it before: Wow! The idea that TW can be the engine 
> for a real commercial store is just amazing! Well done!
>
> How does your system convert the google sheet into tiddlers? Where can we 
> find the code to see how this is done?
>
> As you may know, your solution was the fundamental starting point for 
> Marks and my SheetsIN plugin. Here's the github 
> , the demo 
>  with a "special thanks" to you 
> which is also in the plugin, and here's the gg announcement 
> . The 
> SheetsIN plugin is part of the bigger TiddlyGoo project 
>  intended to provide solutions for 
> generally connecting TW to the internet, by using google sheets as a 
> "middle step" and a backend. 
>
> ...*but* Google changed their API a few months back so SheetsIN no longer 
> works. So I'm wondering how you solved this? Looking at your demo site 
> ,
>  
> it is very difficult to know what is going on and what tiddlers or plugins 
> that connect to your sheet and extract and process the content - ? Is there 
> a way to see the actual code that does this?
>
> Thank you!
>
> <:-)
>
> On Monday, January 3, 2022 at 12:14:06 PM UTC+1 Ste wrote:
>
>> Looking realy good!
>>
>> On Sunday, 2 January 2022 at 10:31:53 UTC Siniy-Kit wrote:
>>
>>> Hi! I make small on-line stores on Tiddlywiki. I was not able to finish 
>>> my last work, so i make a little demo from it 
>>> https://heeg.ru/shop2_3.html?id=16jpYS8egNJuLA8HyS-Um6wuwC9A5eFl-IKykIzZB92Y
>>>
>>> I think that this demo will be useful for people, who want convert their 
>>> boring spreadsheets to nice interactive Tiddlywiki page or  very fast 
>>> static cut site   https://heeg.ru/carimages/static/ 
>>> with checkboxes and images from google drive or any hosting.
>>>
>>>
>>>

-- 
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/4ba3b83b-0966-4441-95fd-e7dd98e4e8f2n%40googlegroups.com.


[tw5] Re: Tiddlywiki + Google Spreasheets. I want to show you my newer finished work

2022-02-20 Thread Mat
@Siniy-Kit - I've said it before: Wow! The idea that TW can be the engine 
for a real commercial store is just amazing! Well done!

How does your system convert the google sheet into tiddlers? Where can we 
find the code to see how this is done?

As you may know, your solution was the fundamental starting point for Marks 
and my SheetsIN plugin. Here's the github 
, the demo 
 with a "special thanks" to you which 
is also in the plugin, and here's the gg announcement 
. The 
SheetsIN plugin is part of the bigger TiddlyGoo project 
 intended to provide solutions for 
generally connecting TW to the internet, by using google sheets as a 
"middle step" and a backend. 

...*but* Google changed their API a few months back so SheetsIN no longer 
works. So I'm wondering how you solved this? Looking at your demo site 
,
 
it is very difficult to know what is going on and what tiddlers or plugins 
that connect to your sheet and extract and process the content - ? Is there 
a way to see the actual code that does this?

Thank you!

<:-)

On Monday, January 3, 2022 at 12:14:06 PM UTC+1 Ste wrote:

> Looking realy good!
>
> On Sunday, 2 January 2022 at 10:31:53 UTC Siniy-Kit wrote:
>
>> Hi! I make small on-line stores on Tiddlywiki. I was not able to finish 
>> my last work, so i make a little demo from it 
>> https://heeg.ru/shop2_3.html?id=16jpYS8egNJuLA8HyS-Um6wuwC9A5eFl-IKykIzZB92Y
>>
>> I think that this demo will be useful for people, who want convert their 
>> boring spreadsheets to nice interactive Tiddlywiki page or  very fast 
>> static cut site   https://heeg.ru/carimages/static/ 
>> with checkboxes and images from google drive or any hosting.
>>
>>
>>

-- 
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/a8018dcd-099e-4d48-8913-2663745b3996n%40googlegroups.com.