Hi, Tones. This  delay see only   designers, who use my template. In TW 
5.1.21 I tried to solve this problem myself. I write script, to put to 
local storage   tiddler's title and it's modified (created) field value, so 
I can cut only  changed or new tiddlers. Here is my 
demo 
https://heeg.ru/shop2_2.html?id=16gDZVsB8FOIxrsFKbkbBNWC37lPUAfKOGf-rCVxeOmY#static_cut
 
it works without zip
BUT the problem with this variant - it is very slow  and it skips random 
tiddlers, and i don't know why :(
I hoped new zip variant will solve my problem, but it is slow too 

I think final variant must do static cut directly to designers hosting by 
their PHP login and password.  And it must work with 14000+ pages 




понедельник, 28 декабря 2020 г. в 04:27:31 UTC+3, TW Tones: 

> Siniy-kit,
>
> If you had a mechaisium to zip (re-zip) only tiddlers that were added or 
> changed since the last Zip the process may go much quicker depending on the 
> change rate in your wiki.
>
> Is it only a designer who sees this delay?, I would just give a warning 
> that it will take time and may not respond, perhaps an alert before and on 
> completion.
>
> Regards
> Tones
>
> On Monday, 28 December 2020 at 05:49:39 UTC+11 Siniy-Kit wrote:
>
>> document.getElementById('_z').innerHTML=paramObject.tiddler  don't work. 
>> I see only final tiddler at the end. I think, TW5 block DOM modify.
>>
>> The next problem - it is too slow. Node.js static cut works faster.  May 
>> be it will be better to save *all* $:\temp\ tiddlers in IndexDB?
>> how can we do it?
>>
>>
>> воскресенье, 27 декабря 2020 г. в 21:01:59 UTC+3, [email protected]: 
>>
>>> @siniy-kit yes the JavaScript approach can work if you modify a DIV 
>>> directly with JavaScript.
>>> You would also need to do a bit of extra work in advance to count the 
>>> total number of tiddlers to render.
>>>
>>> It would be good to implement this as a widget. I have some ideas as to 
>>> how we could do that, but I wont have the time to look into it for a few 
>>> weeks at least.
>>>
>>> On Sunday, December 27, 2020 at 5:24:21 PM UTC+1 Siniy-Kit wrote:
>>>
>>>> may be we can edit  $:/plugins/tiddlywiki/jszip/startup.js   and see 
>>>> current tiddler rendered
>>>>   $tw.rootWidget.addEventListener("tm-zip-render-file",function(event) 
>>>> { var paramObject = event.paramObject || {}; 
>>>> console.log(paramObject);  
>>>>
>>>> we can add counter i=i+1, an make new  fixed div with this 
>>>> infomration.... 
>>>> воскресенье, 27 декабря 2020 г. в 14:30:36 UTC+3, [email protected]: 
>>>>
>>>>> @siniy-kit
>>>>>
>>>>> I do not think what is being suggested here will work. It is easy 
>>>>> enough to calculate how many tiddlers there are to render, and where you 
>>>>> are in the process. The issue is that the TiddlyWiki interface will not 
>>>>> refresh until after all the actions have been executed. So any kind of 
>>>>> progress indicator will not display or update once the zip process 
>>>>> starts, 
>>>>> until after it ends.
>>>>>
>>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d9bdc6e5-9934-424a-84ec-cf8bc4cbb58bn%40googlegroups.com.

Reply via email to