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 <[email protected]> wrote: > The recent information from Jeremy on "filtered saving > <https://groups.google.com/d/msg/tiddlywiki/1S348N3rsAc/rbXjCZRB9HYJ>" > 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 > <https://groups.google.com/d/msg/tiddlywiki/1S348N3rsAc/rbXjCZRB9HYJ>" > Publish button with the content in the "save to tiddlyspot" in > Controlpanel, i.e: $:/core/ui/ControlPanel/Saving > <http://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FControlPanel%2FSaving> > > > ...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="<title-of-your-template>" filename="index.html"/> >> Publish >> </$button> > > > > > 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=""> > <<backupURL>> > </$reveal> > <$reveal type="nomatch" state="$:/UploadURL" text=""> > <$macrocall $name=resolvePath source={{$:/UploadBackupDir}} > root={{$:/UploadURL}}>> > </$reveal> > </$set> > </$reveal> > \end > ! <<lingo TiddlySpot/Heading>> > <<lingo TiddlySpot/Description>> > |<<lingo TiddlySpot/UserName>> |<$edit-text tiddler="$:/UploadName" > default="" tag="input"/> | > |<<lingo TiddlySpot/Password>> |<$password name="upload"/> | > |<<lingo TiddlySpot/Backups>> |<<backupLink>> | > ''<<lingo TiddlySpot/Advanced/Heading>>'' > |<<lingo TiddlySpot/ServerURL>> |<$edit-text tiddler="$:/UploadURL" > default="" tag="input"/> | > |<<lingo TiddlySpot/Filename>> |<$edit-text tiddler="$:/UploadFilename" > default="index.html" tag="input"/> | > |<<lingo TiddlySpot/UploadDir>> |<$edit-text tiddler="$:/UploadDir" > default="." tag="input"/> | > |<<lingo TiddlySpot/BackupDir>> |<$edit-text tiddler="$:/UploadBackupDir" > default="." tag="input"/> | > <<lingo TiddlySpot/Hint>> > > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/10add882-f5d2-44f9-9d1e-7b194a59a9b5%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/10add882-f5d2-44f9-9d1e-7b194a59a9b5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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. 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.

