Hi Scott

There's an example of how to save content in static HTML buried in the
control panel: in the "tools" tab there's a big green button to "Download
all tiddlers as static HTML". Clicking it should download a static HTML
file containing all the non-system tiddlers concatenated together in
alphabetical order.

The code that creates the button is in "$:/core/ui/ControlPanel/Tools":

<$button message="tw-download-file"
param="$:/core/templates/alltiddlers.template.html"
class="btn-big-green"><<lingo Export/AllAsStaticHTML/Caption>>
{{$:/core/images/save-button}}</$button>

In order to change the tiddlers that are included, and control their
ordering, you can overwrite the filter in
"$:/core/templates/alltiddlers.content":

{{{ [!is[system]sort[title]] ||$:/core/templates/static-tiddler}}}

Best wishes

Jeremy




On Wed, Mar 26, 2014 at 2:39 PM, Scott Hatcher <[email protected]>wrote:

> Hello,
>
> I feel as though I'm nearly there, but also way off. There are similar
> questions on this group about doing the same thing (generating a static
> HTML document from all tiddlers, and then importing it into Word), but they
> haven't gotten me very far.
>
> My situation is the same as most. A large TW written for a boss that wants
> a Word document. I'm going to keep both, and explain that one will be
> updated and the other be static. He'll just be happy once he sees a word
> doc exists.
>
> the --render.allcontent shadow tiddler seems to be my answer, but I've
> also looked into plugins. I'm running a single stand-along .html document
> TW, and so there's no "plugins" folder. I'm completely confused.
>
> What's the easiest way to generate a static HTML from the browser (save
> as?).
>
> Thanks,
> Scott
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to