Hi Rustem

> What would be the most direct way to upload my node.js-served wiki to
Tiddlyspot?

It's actually really easy: run your Node.js wiki in the usual way. Visit
Control Panel "Saving" tab and enter your TiddlySpot "wiki name". When you
want to save a snapshot to TiddlySpot just click the "save changes" button
in the sidebar. A snapshot of the wiki (without the client-server plugins)
will be saved to TiddlySpot. Tiddlers are still synced to the server in the
usual way, too. I tested the procedure in Chrome; I'd expect Firefox to
complain about the cross-origin form post (but there's probably a flag you
can use to suppress that).

Best wishes

Jeremy




On Wed, Apr 29, 2015 at 9:21 AM, PMario <pmari...@gmail.com> wrote:

> Hi Rustem,
>
> On Wednesday, April 29, 2015 at 4:11:23 AM UTC+2, Rustem wrote:
>>
>> What would be the most direct way to upload my node.js-served wiki to
>> Tiddlyspot?
>>
>
> As you found out. Direct save is not possible
>
> If you served your TW from your nodejs installation you get it from
> http://localhost which is a domain. http://tiddlyspot.com is a different
> domain. .. So due to browser security restrictions, this isn't allowed.
>
>
>> Do I need to save my wiki as a single file first, before I can
>> successfully upload it to Tiddlyspot? Or can I somehow switch to the
>> appropriate "saver" temporarily, just for the upload?
>>
>
> IMO 2 possibilities:
>
>  - You create a single file TW from your local copy. .. With nodejs. Just
> build it. It's relatively easy. ...
>     - Then upload this fire as described.
>
>  - It would be also possible to create a tiddlers.json file that contains
> just your recent changes.
>    - Serve your TW from tiddlyspot.com and import your tiddlers. .. If TW
> is served from tiddlyspot.com it can be saved back.
>
>
>> To be clear, I am not interested in any kind of back-and-forth
>> synchronization. Strictly one-way publishing to TS. I'm happy maintaining
>> the wiki using node.js.
>>
>
>
> If someone has better ideas. ... Just let us know :)
>
> have fun!
> mario
>
> --
> 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 http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/dabd5eaa-13da-4210-8f1c-d6232b2e7179%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/dabd5eaa-13da-4210-8f1c-d6232b2e7179%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbk9-V0JD%3DVrBCwYmQ2JDgJ-s6aJ8-auo9YnKrPYCPBpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to