Re: [tw] [TW5] One TW to Rule Them All

2015-07-02 Thread Rustem
Mat,

Please have a look at http://solar-flair.tiddlyspot.com/, drill down to 
Features > Filtered Publish button. My example has only one "Publish" 
button, but you can setup multiple buttons (and a different filter for each 
one) in your "central" wiki, allowing you to save different single-html 
wikis from it. You'd have to also modify TiddlySpot information in Control 
Panel, if you want to publish to different TidddlySpot sites.

--R.

On Saturday, May 23, 2015 at 1:03:23 PM UTC-7, Jeremy Ruston wrote:
>
> Hi Mat
>
> As I mentioned on the other thread, the obstacle to this plan at the 
> moment is that it isn't possible to specify which saver and parameters are 
> used for a publish operation.
>
> https://groups.google.com/d/msg/tiddlywiki/1S348N3rsAc/b3rDMyCSsZsJ
>
> Best wishes
>
> Jeremy.
>
>
> On Fri, May 22, 2015 at 6:05 PM, Mat > 
> wrote:
>
>> The recent information from Jeremy on "filtered saving 
>> " 
>> has given me hope to fulfill a long time dream; To be able to use one TW as 
>> a publishing central for my other TWs. You should probably read that linked 
>> post before the following.
>>
>> I always imagined a central TW with receiving surrouunding ones as 
>> exporting *individual* tiddlers from the central TW. While this, I 
>> guess, would be the optimal workflow, the "filtered saving" instead can 
>> allow to have several "Publish buttons" in the central TW, one for each of 
>> the peripheral TWs. It is IMO not perfect in that you fully overwrite the 
>> previous version of the peripherals which means you can't edit them 
>> individually (you *must* use the central one) and it probably makes it 
>> trickier (but still doable) to use different layouts etc for them. (It 
>> should be doable by including all layouts (CSS?) in the central one and 
>> then filter to save only the relevant one).
>>
>> Despite the drawbacks, I think a "central TW" could be very cool and I 
>> hope to do this for some TWs on *tiddlyspot*! I.e so that a tiddlyspot 
>> has multiple Publish buttons that to directly upload filtered variants to 
>> other tiddlyspots of mine. For instance you could run parallel blogs in 
>> this way, turning to different audiences and in the central TW simply tag 
>> posts with the relevant blogname.
>>
>> AFAI understand, this means combining the "filtered saving 
>> " 
>> Publish button with the content in the "save to tiddlyspot" in 
>> Controlpanel, i.e: $:/core/ui/ControlPanel/Saving 
>>  
>>
>>
>> ...but I have little clue how to do this and would really appreciate help.
>>
>>
>> <:-)
>>
>>
>>
>>
>> -
>> Below follows some code for the publish button and the "save to 
>> tiddlyspot" tiddler.
>>
>>
>> The filtered saving Publish button
>>
>> <$button>
>>> <$action-sendmessage $message="tm-download-file" 
>>> $param="" filename="index.html"/>
>>> Publish
>>> 
>>
>>
>>
>>
>> Content of the "save to tiddlyspot" in Ctrlpanel;
>>
>> \define lingo-base() $:/language/ControlPanel/Saving/
>> \define backupURL()
>> http://$(userName)$.tiddlyspot.com/backup/
>> \end
>> \define backupLink()
>> <$reveal type="nomatch" state="$:/UploadName" text="">
>> <$set name="userName" value={{$:/UploadName}}>
>> <$reveal type="match" state="$:/UploadURL" text="">
>> <>
>> 
>> <$reveal type="nomatch" state="$:/UploadURL" text="">
>> <$macrocall $name=resolvePath source={{$:/UploadBackupDir}} 
>> root={{$:/UploadURL}}>>
>> 
>> 
>> 
>> \end
>> ! <>
>> <>
>> |<> |<$edit-text tiddler="$:/UploadName" 
>> default="" tag="input"/> |
>> |<> |<$password name="upload"/> |
>> |<> |<> |
>> ''<>''
>> |<>  |<$edit-text tiddler="$:/UploadURL" 
>> default="" tag="input"/> |
>> |<> |<$edit-text tiddler="$:/UploadFilename" 
>> default="index.html" tag="input"/> |
>> |<> |<$edit-text tiddler="$:/UploadDir" 
>> default="." tag="input"/> |
>> |<> |<$edit-text tiddler="$:/UploadBackupDir" 
>> default="." tag="input"/> |
>> <>
>>
>>
>>  -- 
>> 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/10add882-f5d2-44f9-9d1e-7b194a59a9b5%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.c

Re: [tw] [TW5] One TW to Rule Them All

2015-05-23 Thread Jeremy Ruston
Hi Mat

As I mentioned on the other thread, the obstacle to this plan at the moment
is that it isn't possible to specify which saver and parameters are used
for a publish operation.

https://groups.google.com/d/msg/tiddlywiki/1S348N3rsAc/b3rDMyCSsZsJ

Best wishes

Jeremy.


On Fri, May 22, 2015 at 6:05 PM, Mat  wrote:

> The recent information from Jeremy on "filtered saving
> "
> has given me hope to fulfill a long time dream; To be able to use one TW as
> a publishing central for my other TWs. You should probably read that linked
> post before the following.
>
> I always imagined a central TW with receiving surrouunding ones as
> exporting *individual* tiddlers from the central TW. While this, I guess,
> would be the optimal workflow, the "filtered saving" instead can allow to
> have several "Publish buttons" in the central TW, one for each of the
> peripheral TWs. It is IMO not perfect in that you fully overwrite the
> previous version of the peripherals which means you can't edit them
> individually (you *must* use the central one) and it probably makes it
> trickier (but still doable) to use different layouts etc for them. (It
> should be doable by including all layouts (CSS?) in the central one and
> then filter to save only the relevant one).
>
> Despite the drawbacks, I think a "central TW" could be very cool and I
> hope to do this for some TWs on *tiddlyspot*! I.e so that a tiddlyspot
> has multiple Publish buttons that to directly upload filtered variants to
> other tiddlyspots of mine. For instance you could run parallel blogs in
> this way, turning to different audiences and in the central TW simply tag
> posts with the relevant blogname.
>
> AFAI understand, this means combining the "filtered saving
> "
> Publish button with the content in the "save to tiddlyspot" in
> Controlpanel, i.e: $:/core/ui/ControlPanel/Saving
> 
>
>
> ...but I have little clue how to do this and would really appreciate help.
>
>
> <:-)
>
>
>
>
> -
> Below follows some code for the publish button and the "save to
> tiddlyspot" tiddler.
>
>
> The filtered saving Publish button
>
> <$button>
>> <$action-sendmessage $message="tm-download-file"
>> $param="" filename="index.html"/>
>> Publish
>> 
>
>
>
>
> Content of the "save to tiddlyspot" in Ctrlpanel;
>
> \define lingo-base() $:/language/ControlPanel/Saving/
> \define backupURL()
> http://$(userName)$.tiddlyspot.com/backup/
> \end
> \define backupLink()
> <$reveal type="nomatch" state="$:/UploadName" text="">
> <$set name="userName" value={{$:/UploadName}}>
> <$reveal type="match" state="$:/UploadURL" text="">
> <>
> 
> <$reveal type="nomatch" state="$:/UploadURL" text="">
> <$macrocall $name=resolvePath source={{$:/UploadBackupDir}}
> root={{$:/UploadURL}}>>
> 
> 
> 
> \end
> ! <>
> <>
> |<> |<$edit-text tiddler="$:/UploadName"
> default="" tag="input"/> |
> |<> |<$password name="upload"/> |
> |<> |<> |
> ''<>''
> |<>  |<$edit-text tiddler="$:/UploadURL"
> default="" tag="input"/> |
> |<> |<$edit-text tiddler="$:/UploadFilename"
> default="index.html" tag="input"/> |
> |<> |<$edit-text tiddler="$:/UploadDir"
> default="." tag="input"/> |
> |<> |<$edit-text tiddler="$:/UploadBackupDir"
> default="." tag="input"/> |
> <>
>
>
>  --
> 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/10add882-f5d2-44f9-9d1e-7b194a59a9b5%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/CAPKKYJbH8tSvbsimVHqcqSmBm-xQvbPzu4Ogg8poFEc4S4AVwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] One TW to Rule Them All

2015-05-22 Thread Mat
The recent information from Jeremy on "filtered saving 
" has 
given me hope to fulfill a long time dream; To be able to use one TW as a 
publishing central for my other TWs. You should probably read that linked 
post before the following.

I always imagined a central TW with receiving surrouunding ones as 
exporting *individual* tiddlers from the central TW. While this, I guess, 
would be the optimal workflow, the "filtered saving" instead can allow to 
have several "Publish buttons" in the central TW, one for each of the 
peripheral TWs. It is IMO not perfect in that you fully overwrite the 
previous version of the peripherals which means you can't edit them 
individually (you *must* use the central one) and it probably makes it 
trickier (but still doable) to use different layouts etc for them. (It 
should be doable by including all layouts (CSS?) in the central one and 
then filter to save only the relevant one).

Despite the drawbacks, I think a "central TW" could be very cool and I hope 
to do this for some TWs on *tiddlyspot*! I.e so that a tiddlyspot has 
multiple Publish buttons that to directly upload filtered variants to other 
tiddlyspots of mine. For instance you could run parallel blogs in this way, 
turning to different audiences and in the central TW simply tag posts with 
the relevant blogname.

AFAI understand, this means combining the "filtered saving 
" 
Publish button with the content in the "save to tiddlyspot" in 
Controlpanel, i.e: $:/core/ui/ControlPanel/Saving 
 


...but I have little clue how to do this and would really appreciate help.


<:-)



-
Below follows some code for the publish button and the "save to tiddlyspot" 
tiddler.


The filtered saving Publish button

<$button>
> <$action-sendmessage $message="tm-download-file" 
> $param="" filename="index.html"/>
> Publish
> 




Content of the "save to tiddlyspot" in Ctrlpanel;

\define lingo-base() $:/language/ControlPanel/Saving/
\define backupURL()
http://$(userName)$.tiddlyspot.com/backup/
\end
\define backupLink()
<$reveal type="nomatch" state="$:/UploadName" text="">
<$set name="userName" value={{$:/UploadName}}>
<$reveal type="match" state="$:/UploadURL" text="">
<>

<$reveal type="nomatch" state="$:/UploadURL" text="">
<$macrocall $name=resolvePath source={{$:/UploadBackupDir}} 
root={{$:/UploadURL}}>>



\end
! <>
<>
|<> |<$edit-text tiddler="$:/UploadName" 
default="" tag="input"/> |
|<> |<$password name="upload"/> |
|<> |<> |
''<>''
|<>  |<$edit-text tiddler="$:/UploadURL" 
default="" tag="input"/> |
|<> |<$edit-text tiddler="$:/UploadFilename" 
default="index.html" tag="input"/> |
|<> |<$edit-text tiddler="$:/UploadDir" 
default="." tag="input"/> |
|<> |<$edit-text tiddler="$:/UploadBackupDir" 
default="." tag="input"/> |
<>


-- 
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/10add882-f5d2-44f9-9d1e-7b194a59a9b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.