As a result of this discussion Tiddlywiki Indexer: Create Subject/Author Indexes - #56 by TW_Tones I have finally solved a long standing problem for me, exporting static tiddlers that load the parent wiki if a link is clicked.
Try it?
- To test download and drop Export Static tiddlers link to parent.json
- Open the “Filter Operators” tiddler and export using the new exporter.
- Save this static tiddler anywhere, then open it in your browser
- It looks like a standard static tiddler however any link will open in the current tab the actual tiddlywiki.com tiddler/page.
Why?
- If you have a single file wiki that is published on the internet it will support SEO Search engine optimisation if you have static tiddlers that can be indexed by search engines, but an interactive wiki is far superior. So this exporter exports each static tiddler such that all links open the parent wiki.
Note:
- If your main wiki is large, make sure it includes a splash screen to advise the user of what is happening. It may be noticeable going from loading a single file tiddler to a full wiki.
How?
- In the above example the exporter sets the html base tag (in the html head tag) to the value found in $:/info/url/full - you could change this if needed.
What is next? - contributions welcome.
- I would like to develop a way to export all tiddlers using this exporter but first but pushing them all into a zip file, you can then transfer this to your host and unzip them all into the same folder as the wiki file.
Advanced futures - contributions welcome.
- With the appropriate rights able to save the resulting tiddlers directly to the host. A feature we can use for RSS as well.
- Manage this so only those changed since the last export are exported.