Thank you Jeremy, but
$tw.wiki.renderTiddler("text/plain","$:/core/save/all") put lots of \" is
it possible to get this code without them?
<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\" />
<meta name=\"application-name\" content=\"TiddlyWiki\" />
<meta name=\"generator\" content=\"TiddlyWiki\" />
<meta name=\"tiddlywiki-version\" content=\"5.1.12\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
<meta name=\"apple-mobile-web-app-capable\" content=\"yes\" />
<meta name=\"apple-mobile-web-app-status-bar-style\" content=
\"black-translucent\" />
<meta name=\"format-detection\" content=\"telephone=no\" />
<meta name=\"copyright\" content=\"TiddlyWiki created by Jeremy Ruston,
(jeremy [at] jermolene [dot] com)
I try to use http://tiddlywiki.com/#Saving%20on%20a%20PHP%20Server but it
don't work with store.php on my server.
четверг, 13 апреля 2017 г., 11:48:09 UTC+3 пользователь Jeremy Ruston
написал:
> 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 <[email protected] <javascript:>>
> 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 [email protected] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> 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/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.
>
>
>
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2a0b526e-ae90-4fc5-913c-97fd41dc90f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.