Export to JSON+HTML

51 views
Skip to first unread message

Omit

unread,
Jan 7, 2016, 8:08:52 AM1/7/16
to TiddlyWiki
Hello,

I am very satisfied with the current JSON "export all" function because I can use it in combination with a stupid python script to generate a cool static blog/website. I use TiddlyWiki as my SuperTextEditor, or "central platform". Thank you so much for satisfying both the "ergonomy/simplicity enthusiast" and the "plain text file maniac" in me!

I am also satisfied with the default wiki syntax and the way TiddlyWiki converts it to HTML.

Question: can I make a JSON "export all" function, where the "text" entries contains the HTML code of the article body ? I'd be happy if it were the exact same HTML code as the one contained in the <div class="tc-tiddler-body"> tags of the current HTML export function.

I know that the there is blog edition TiddlyWiki in preparation, but for the moment I find it simpler to do the JSON -> static HTML myself because I have absolute control over things like renaming urls (lowcase + strip non alphanum), etc.

Maybe there is a simple python package to do wiki -> HTML, but I'd like to avoid it because TiddlyWiki already knows how to do it so it's a shame. (However I'm interested if you know such a package.)

Cheers
Reply all
Reply to author
Forward
0 new messages