Hi Jeremy,

Once again, a clean solution to a tough issue, thanks a lot! This, plus the
new export features: I'm afraid my last excuses for postponing first
publication are collapsing :-)

l'll try to submit a pull request by this week-end.

Cheers,
Xavier.

-- Xavier Cazin

On Thu, Nov 13, 2014 at 1:30 PM, Jeremy Ruston <[email protected]>
wrote:

> Hi Xavier
>
> Apologies for the delayed response.
>
> To resolve this I've added the ability to specify that a wiki folder be
> included in "read-only" mode, causing any modifications to be written to
> the default tiddler location. It should let you include tw5.com and have
> any modifications written back to the fr-FR edition.
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/8e685e5150e636aed6655c6caa09c7b6cffdcea2
>
> Best wishes
>
> Jeremy.
>
>
>
>
> On Sun, Nov 9, 2014 at 10:53 AM, Xavier Cazin <[email protected]> wrote:
>
>> Hello everyone,
>>
>> I'm trying to figure out the most efficient way to work on the *fr-FR*
>> edition.
>>
>> My approach is to include all English language tiddlers from the *tw5.com
>> <http://tw5.com>* edition, via the following tiddlywiki.info:
>>
>> {
>>     "description": "French (France) edition",
>>     "plugins": [
>>     ],
>>     "themes": [
>>         "tiddlywiki/vanilla"
>>     ],
>>     "languages": [
>>         "fr-FR"
>>     ],
>>     "includeWikis": [
>>         "../tw5.com"
>>     ],
>>     "build": {
>>         "index": [
>>
>> "--rendertiddler","$:/core/save/all","fr-fr-demo.html","text/plain"]
>>     },
>>     "config": {
>>         "retain-original-tiddler-path": false,
>>         "default-tiddler-location": "./tiddlers"
>>     }
>> }
>>
>> And then work on tiddlers of the *fr-FR* edition via an *fr-FR_server*
>> edition :
>>
>> {
>>     "description": "Configuration en mode serveur de l'édition fr-FR",
>>     "plugins": [
>>         "tiddlywiki/tiddlyweb",
>>         "tiddlywiki/filesystem",
>>         "tiddlywiki/codemirror",
>>         "tiddlywiki/highlight"
>>     ],
>>     "themes": [
>>         "tiddlywiki/vanilla"
>>     ],
>>     "includeWikis": [
>>         "../fr-FR"
>>     ],
>>     "config": {
>>         "retain-original-tiddler-path": false,
>>         "default-tiddler-location": "../fr-FR/tiddlers"
>>     }
>> }
>>
>> Given these two configurations, the server doesn't quite behave as I
>> expected. It does create drafts in the *fr-FR/tiddlers* directory, but
>> when the modified tiddlers come from *tw5.com <http://tw5.com>*, they
>> are rather saved in their initial directory:
>>
>> syncer-server: Dispatching 'save' task: Draft of 'Customise TiddlyWiki'
>> FileSystem: Saved file
>> /Users/xavier/Documents/TW5/editions/fr-FR/tiddlers/Draft of 'Customise
>> TiddlyWiki'.tid
>> syncer-server: Dispatching 'delete' task: Draft of 'Customise TiddlyWiki'
>> FileSystem: Deleted file
>> /Users/xavier/Documents/TW5/editions/fr-FR/tiddlers/Draft of 'Customise
>> TiddlyWiki'.tid
>> syncer-server: Dispatching 'save' task: Customise TiddlyWiki
>> FileSystem: Saved file /Users/xavier/Documents/TW5/editions/
>> tw5.com/tiddlers/customising/Customise TiddlyWiki.tid
>>
>> Hence my two questions:
>>
>>    1. Is this approach a good one?
>>    2. If so, what config would tell the server to save any modified
>>    tiddler in fr-FR?
>>
>> Thank you very much for your thoughts.
>>
>> -- Xavier Cazin
>>
>> --
>> 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 http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Jeremy Ruston
> mailto:[email protected]
>
> --
> 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 http://groups.google.com/group/tiddlywiki.
> 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to