[tw] Re: saving Node.js-served wiki to Tiddlyspot directly

2015-04-29 Thread Mat
I wish it were possible but AFAIK you can't host TWnode.js on tiddlyspot. 
For one thing, you cannot get a folder (for holding the TWnode.js files).


<:-)



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? 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?
>
> I tried to follow the instructions (
> http://tiddlywiki.com/#Saving%20on%20TiddlySpot) directly, nothing 
> happens. It says "saving", but tiddlyspot remains unchanged, presenting a 
> default TWC.
>
> 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.
>

-- 
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/08f8abfc-09b1-4591-b5ec-c998d4aee2a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: saving Node.js-served wiki to Tiddlyspot directly

2015-04-29 Thread PMario
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: saving Node.js-served wiki to Tiddlyspot directly

2015-04-30 Thread Jeremy Ruston
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  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
> 
> .
>
> 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.


Re: [tw] Re: saving Node.js-served wiki to Tiddlyspot directly

2015-04-30 Thread Rustem
Yes, it works! I was putting the full URL into the Wiki Name field, so it 
was failing silently. Some message would be helpful, like "Tiddlyspot wiki 
does not exist, check the name". When a password is wrong, the message is 
very clear.

thanks!

R.

On Thursday, April 30, 2015 at 8:26:54 AM UTC-7, Jeremy Ruston wrote:
>
> 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 > 
> 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+...@googlegroups.com .
>> To post to this group, send email to tiddl...@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
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@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/706b0674-5c72-4f9d-a1c4-452f7eb2f49c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.