Hi sini-Kit You can obtain the HTML text that would be used for saving with this snippet:
$tw.wiki.renderTiddler("text/plain","$:/core/save/all") In terms of POSTing the wiki to a server you may want to try re-using some of the code in $:/core/modules/savers/upload.js or $:/core/modules/savers/put.js Best wishes Jeremy > On 13 Apr 2017, at 08:06, Tristan Kohl <kohltris...@gmail.com> wrote: > > I do not know if I get you right, but when the file is loadad you can simply > run: > > var html = $tw.wiki.getTiddler("$:/core/templates/tiddlywiki5.html") > > That will return a Tiddler object with the tiddlers content stored in the > property "fields" -> "text" > > Cheers, > Tristan > > -- > 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 > <mailto:tiddlywiki+unsubscr...@googlegroups.com>. > To post to this group, send email to tiddlywiki@googlegroups.com > <mailto:tiddlywiki@googlegroups.com>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/91997afc-5a69-4895-bb2e-8e17fdcc0410%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/91997afc-5a69-4895-bb2e-8e17fdcc0410%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7777E4B8-1DBF-417D-A43A-81A1BFCE6D5C%40gmail.com. For more options, visit https://groups.google.com/d/optout.