Thanks Scott! Will definitely give it a try.
On Thu, May 28, 2020 at 1:13 AM Scott Kingery <[email protected]> wrote: > One thing you might want to try, David, is making a small addition to the > tiddlywiki.info in the folder of the wiki you are exporting as static. If > you open it in a text editor you can then copy the whole Static section > then add a comma to the end of the static section after the ] and paste all > the text in right below it. Then, call that section Last2Days or whatever > and change the filter. It would look like this: > > "static": [ > > "--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain", > > "--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain", > > "--rendertiddlers","[!is[system]]","$:/core/templates/static.tiddler.html","static","text/plain", > > "--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"] > , > "last2days": [ > > "--rendertiddler","$:/core/templates/static.template.html","static.html","text/plain", > > "--rendertiddler","$:/core/templates/alltiddlers.template.html","alltiddlers.html","text/plain", > "--rendertiddlers","[!is[system]days[-2]] > ","$:/core/templates/static.tiddler.html","static","text/plain", > > "--rendertiddler","$:/core/templates/static.template.css","static/static.css","text/plain"] > > Now, the first time you build your static files you use: > --build static > which as you know builds all 800 files. Use Filezilla as you do now. > > From then on you use > --build last2days > Now you just use Filezilla to push the much fewer files up to your FTP > server. > > You could adjust the filter for more or less days and if you do it daily > you will of course get the same ones you got the day before but in the end > it is still less then refreshing all 800 every time. > > Hope it helps, > Scott > > On Wednesday, May 27, 2020 at 5:32:26 PM UTC-7, Scott Sauyet wrote: > >> David Gifford wrote: >> >> > My current set up is: >> > 1) After editing, ctrl c and y for yes, and enter >> > 2) Hit tiddlywiki --rendertiddlers [!is[system]] >> $:/core/templates/static.tiddler.html static text/plain --rendertiddler >> $:/core/templates/static.template.css static/static.css text/plain and enter >> > 3) Select all the files from the output > html folder and drag them to >> the proper folder in Filezilla. Overwrite. But my largest file is almost >> 800 tiddlers. >> >> Yes, that will definitely regenerate all the tiddlers. There is probably >> some filter you can use to extend the `[!is[system]]` one to only use ones >> changed after a certain date, but where to store and record that date, I >> don't know, nor do I know enough about using the TW command line to offer >> more help. >> >> I'm guessing that this can be done -- perhaps somehow storing the date >> last run in a tiddler -- but you're getting far beyond my limited TW >> knowledge, I'm afrais. >> >> Best of luck, >> >> -- Scott >> > -- > 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/U2Eif4C077k/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/54b49bcf-f0cf-47b2-b7ba-dca92ec454eb%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/54b49bcf-f0cf-47b2-b7ba-dca92ec454eb%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBFJCK-OFNx80ChwrHbuenzErv5%2BuaTM0gkOjbFY_H3o%2BwA%40mail.gmail.com.

