Exporting to html

Hi there,
Newbie here. I have a tiddler (tiddler 1) that contains the link to another tiddler (tiddler 2) in its body - when I export tiddler 1 to static html, I can’t see the contents of tiddler 2 when I click on it. How do get all linked tiddlers exported to the html file when the parent tiddler is exported? Is this not the default behavior of the export function?

The difficult part here is knowing which tiddlers link to which?, In the sidebar Page Controls Toolbar there is an export all which exports the current “story” as one file.

Perhaps your could share more details about your setup and needs. Single file or Node, what do you want to do with these static tiddlers, how many do you expect to export? etc…

There has being a lot of chat here in the past on exporting a wiki as static HTML so it is worth a search.

It depends on how deep you want to go. If all you need are the direct links from the first tiddler, you could go to “Advanced Search”, switch to the filter tab, and use something like this:

 [[Some Tiddler]]=[[Some Tiddler]links[]]

Then use that export button to dump the whole list to HTML.

This only gets you one ply. I don’t think filters can be made recursive, so you’d have to try another approach if you wanted the whole tree starting from a single tiddler.

2 Likes

There are some forms of recursive filters but this can also be done with macros and procedures, Thats how the table of contents works, but the core macros for this are somewhat difficult to read.

  • Search in the forum for recursive and you will get a lot of info
  • We are still exploring the possibilities with filters and the new functions and you can expect to see new ways to do this.