Re: [tw5] Building static sites in the browser

2020-05-11 Thread Edgaras
Saq Imtiaz yes, that was the problem, thank you again for the support here! -- 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

Re: [tw5] Building static sites in the browser

2020-05-10 Thread Saq Imtiaz
Pre-release: https://tiddlywiki.com/prerelease/empty.html Open it, drag and drop your old file on it, choose what to import. On Sunday, May 10, 2020 at 8:56:10 PM UTC+2, Yoni Balkind wrote: > > Gotcha. Okay I''ll try above version first, but in case I decide to > upgrade to latest version, can

Re: [tw5] Building static sites in the browser

2020-05-10 Thread Yoni Balkind
Gotcha. Okay I''ll try above version first, but in case I decide to upgrade to latest version, can you point me in right direction (for standalone file)? I've found the upgrade link (tiddlywiki.com/upgrade.html) but that presumably doesn't help for upgrading to a pre-release version -- You

Re: [tw5] Building static sites in the browser

2020-05-10 Thread Saq Imtiaz
The slugify operator is going to be a part of the TiddlyWiki core from the next release, it is not a part of the plugin. So your choices for now are: - use the steps I outlined earlier, which will work for TW 5.1.22. The only thing not available to you in 5.1.22 is the slugify operator. The zip

Re: [tw5] Building static sites in the browser

2020-05-10 Thread Yoni Balkind
@Saq I did understand that the that plugin was pre-release, but are you saying that regardless of the state of the plugin it might have compatibility issues with version 5.1.22 of TW? Also, is there a "typical" timeline as to when this might reach get promoted to main release? (I fully

Re: [tw5] Building static sites in the browser

2020-05-10 Thread Saq Imtiaz
@Yoni @Edgaras just to be clear, you are both using the latest pre-release version of TiddlyWiki? the slugify operator is cutting edge and only available in the pre-release On Sunday, May 10, 2020 at 6:27:14 PM UTC+2, Yoni Balkind wrote: > > Thanks Edgaras. I had the old one installed already.

Re: [tw5] Building static sites in the browser

2020-05-10 Thread Yoni Balkind
Thanks Edgaras. I had the old one installed already. Just wasn't sure how to go about updating to the new version. Anyway I've done so now and I have the same issue as you, I get the warning that all my tiddlers have duplicate slugs. Nothing happens when I try to export. I even tried @Saq's

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Edgaras
Saq Imtiaz unfortunately, it was happening for all of my tiddlers, even new ones I create. I reverted back to old version. It works if I install plugin on a brand new site. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Yoni Balkind
Sounds perfect Jeremy, thank you. Excuse my ignorance, but how do I make use of this update? Do I just follow identical steps as per the original post above (same link and same code)? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Mohammad
Hi Jeremy, This is absolutely amazing feature! Now Tiddlywiki is a powerful static multi-pages website generator and real killer of many rival software out there. --Mohammad On Saturday, May 9, 2020 at 7:44:50 PM UTC+4:30, Jeremy Ruston wrote: > > I’ve just pushed an update that adds a new

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
@Edgaras I assume that warning is just for some of your tiddlers? If so, you can give those tiddlers a field called 'slug' and specify what to use for the slug/filename On Saturday, May 9, 2020 at 6:59:26 PM UTC+2, Edgaras wrote: > > *Jeremy* great update! > > I think I am getting a bug: >

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Edgaras
*Jeremy* great update! I think I am getting a bug: -- 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

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Saq Imtiaz
Very welcome update Jeremy! Everyone following my previous suggestions: Please note that the updated example replaces the 3 different steps in one go. Those steps will still work but are no longer necessary. See: https://tiddlywiki.com/prerelease/#%24%3A%2Fplugins%2Ftiddlywiki%2Fjszip The

Re: [tw5] Building static sites in the browser

2020-05-09 Thread Jeremy Ruston
I’ve just pushed an update that adds a new “slugify” operator to transform arbitrary tiddler titles into human readable form for use in filenames or URLs. The transformations applied are: If there is a tiddler with the same title that has a ''slug'' field, then return that field instead of

Re: [tw5] Building static sites in the browser

2020-05-03 Thread Mohammad
Hi Jeremy, Many thanks for clarification! Best wishes Mohammad On Sunday, May 3, 2020 at 3:56:28 PM UTC+4:30, Jeremy Ruston wrote: > > Hi Mohammad > >1. The tiddler contains nasty characters in their titles like (space > /\; ) results in uggly filename! Like --render the message >

Re: [tw5] Building static sites in the browser

2020-05-03 Thread Jeremy Ruston
Hi Anne-Laure > Wow, this is amazing! Thanks so much, Jeremy. Very useful and much easier for > less technical users. Thanks! It’s entirely thanks to your interest in static site generation that there has been this revival that prompted me to put this together. Best wishes Jeremy > > On

Re: [tw5] Building static sites in the browser

2020-05-03 Thread Jeremy Ruston
Hi Mohammad >1. The tiddler contains nasty characters in their titles like (space /\; > ) results in uggly filename! Like --render the message tm-zip-render-file can > have a filename-filter to avoid this. Just like under Node.js, we’re currently “uri encoding” the tiddler titles. It’s a

Re: [tw5] Building static sites in the browser

2020-05-02 Thread Jeremy Ruston
Ah, I see what you mean (and presumably Mat too): to export a bunch of tiddlers as a ZIP full of .tids or .jsons etc rather than as a static site. That would indeed make sense. Best wishes Jeremy. > On 2 May 2020, at 22:29, 'Mark S.' via TiddlyWiki > wrote: > > That's exactly what I was

Re: [tw5] Building static sites in the browser

2020-05-02 Thread Jeremy Ruston
Hi Mat > Having now tried it - good stuff!!! Thank you Jeremy! > > It would make sense to access this functionality via the usual AdvancedSearch > > Filter export button. Yes, perhaps for some simple cases, but for publication one would normally want to pack a bunch of rendered tiddlers and a

[tw5] Building static sites in the browser

2020-05-02 Thread Jeremy Ruston
A disadvantage for some users of TiddlyWiki’s static site generation capabilities is the requirement to use Node.js. I’m therefore pleased to announce an update to the JSZip plugin that makes it practical to render medium sized static sites in the browser, without needing to use Node.js.