Dear Jeremy, Mindbending in a good way. Transcluing though a template - i'd never have worked that one out... but wow! My brian is suitable "tiddled"
The static site generation looks very powerful. I can use TW to develop my ideas then output static sites which "civilians" will not even blink at... Alex On 13 October 2014 22:05, Jeremy Ruston <jeremy.rus...@gmail.com> wrote: > Hi Alex > >> >> Could you explan why we have rendertiddler and rendertidlers? Both >> do things to multiple tiddlers... > > > The rendertiddler command renders a single tiddler specified by its title > to a file. The specified tiddler can transclude multiple other tiddlers - > that is what happens when this command is used to render the template that > generates the tiddlywiki standalone HTML file > > The rendertiddlers command renders all the tiddlers specified by a filter > to a set of files in a specified directory. > > See: > > > http://tiddlywiki.com/#RenderTiddlerCommand:RenderTiddlerCommand%20RenderTiddlersCommand > > Best wishes > > Jeremy > > > >> >> >> >> Alex >> >> >> On Monday, 13 October 2014, Jeremy Ruston <jeremy.rus...@gmail.com> >> wrote: >> >>> Hi Alex >>> >>> > There might be a typo on TW.com >>> >>> There is, kind of. The sample command is an extract from TW's own batch >>> files, which reference the OS environment variable $TW5_BUILD_OUTPUT. >>> There's also a terminating backslash, which is only used within batch files >>> >>> Better is to run: >>> >>> --rendertiddler $:/core/templates/alltiddlers.template.html >>> alltiddlers.html text/plain >>> >>> The output file should appear in the "output" folder of the wiki folder. >>> >>> > I added an "s" to get "rendertiddlers" >>> >>> There are two separate commands: rendertiddler and rendertiddlers, I'm >>> afraid. >>> >>> I've updated the docs for 5.1.3 >>> >>> Best wishes >>> >>> Jeremy >>> >>> On Sun, Oct 12, 2014 at 9:59 PM, Alex Hough <r.a.ho...@gmail.com> wrote: >>> >>>> Jeremy, >>>> >>>> I've tried to output all tiddlers with links but i failed. I have a >>>> file but it is empty. >>>> >>>> There might be a typo on TW.com >>>> >>>> --rendertiddler $:/core/templates/alltiddlers.template.html >>>> $TW5_BUILD_OUTPUT/alltiddlers.html text/plain \ >>>> >>>> >>>> I tried this and nothing happened. I added an "s" to get >>>> "rendertiddlers" >>>> >>>> When I run the ammended command, I get a file, but it is empty >>>> >>>> best wishes >>>> >>>> Alex >>>> >>>> On 9 October 2014 21:30, Xavier Cazin <caz...@gmail.com> wrote: >>>> >>>>> Oh I see, thank you for the hint! I guess I don't fully realise the >>>>> power of these templates yet. I'll start from *static.template.html* >>>>> to include *$:/tags/Stylesheet* tiddlers and see if I can work out >>>>> what I have in mind. I'll publish the results here :-) >>>>> >>>>> Thanks again, >>>>> Xavier. >>>>> >>>>> -- Xavier Cazin >>>>> >>>>> On Thu, Oct 9, 2014 at 4:23 PM, Jeremy Ruston <jeremy.rus...@gmail.com >>>>> > wrote: >>>>> >>>>>> Hi Xavier >>>>>> >>>>>>> >>>>>>> I'm wondering how we can include the current CSS styles into the >>>>>>> static HTML snapshot? >>>>>>> >>>>>>> I've looked at $:/core/templates/css-tiddler and >>>>>>> $:/core/templates/static.tiddler.html but had no clue of how to >>>>>>> combine them to get a standalone HTML file with styles... >>>>>>> >>>>>> >>>>>> The static build of the default tiddlers that you see at >>>>>> http://tiddlywiki.com/static.html includes the stylesheets directly >>>>>> into the HTML file. The template is here: >>>>>> >>>>>> >>>>>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core%2Ftemplates%2Fstatic.template.html.tid >>>>>> >>>>>> The static build of individual tiddlers that you see at >>>>>> http://tiddlywiki.com/static/AllTiddlers.html link to a shared >>>>>> stylesheet. The templates involved are: >>>>>> >>>>>> >>>>>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core%2Ftemplates%2Fstatic.tiddler.html.tid >>>>>> >>>>>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core%2Ftemplates%2Fstatic.template.css.tid >>>>>> >>>>>> Best wishes >>>>>> >>>>>> Jeremy. >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>>> Cheers, >>>>>>> Xavier. >>>>>>> >>>>>>> -- Xavier Cazin >>>>>>> >>>>>>> On Thu, Oct 9, 2014 at 2:37 PM, Jeremy Ruston < >>>>>>> jeremy.rus...@gmail.com> wrote: >>>>>>> >>>>>>>> >>>>>>>> Hi Alex >>>>>>>> >>>>>>>> The full command would be: >>>>>>>> >>>>>>>> tiddlywiki mywikifolder --rendertiddlers [!is[system]] >>>>>>>> $:/core/templates/static.tiddler.html static text/plain >>>>>>>> >>>>>>>> Afterwards, you should find a folder "static" in the >>>>>>>> "mywikifolder/output" folder that contains a static HTML snapshot of >>>>>>>> each >>>>>>>> non-system tiddler. >>>>>>>> >>>>>>>> Best wishes >>>>>>>> >>>>>>>> Jeremy >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Oct 8, 2014 at 10:03 PM, Alex Hough <r.a.ho...@gmail.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Dear All, >>>>>>>>> >>>>>>>>> I've had success with downloading a static TW under node - love >>>>>>>>> it! >>>>>>>>> >>>>>>>>> Now I want to be able to perform some of the operations detailed >>>>>>>>> on TW.com >>>>>>>>> >>>>>>>>> I am not too familiar with the command line and don't understand >>>>>>>>> where the new site gets saved. >>>>>>>>> >>>>>>>>> I cut and paste the following behind "tiddlywiki" >>>>>>>>> >>>>>>>>> --rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html >>>>>>>>> $TW5_BUILD_OUTPUT/static text/plain \ >>>>>>>>> >>>>>>>>> >>>>>>>>> What should I see? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Alex >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 post to this group, send email to tiddlywiki@googlegroups.com. >>>>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Jeremy Ruston >>>>>>>> mailto:jeremy.rus...@gmail.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 post to this group, send email to tiddlywiki@googlegroups.com. >>>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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 post to this group, send email to tiddlywiki@googlegroups.com. >>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Jeremy Ruston >>>>>> mailto:jeremy.rus...@gmail.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 post to this group, send email to tiddlywiki@googlegroups.com. >>>>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>>> 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 post to this group, send email to tiddlywiki@googlegroups.com. >>>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>>> 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 post to this group, send email to tiddlywiki@googlegroups.com. >>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Jeremy Ruston >>> mailto:jeremy.rus...@gmail.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 post to this group, send email to tiddlywiki@googlegroups.com. >>> Visit this group at http://groups.google.com/group/tiddlywiki. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> 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 post to this group, send email to tiddlywiki@googlegroups.com. >> Visit this group at http://groups.google.com/group/tiddlywiki. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:jeremy.rus...@gmail.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 post to this group, send email to tiddlywiki@googlegroups.com. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.