Hah! I bet this isn't what you really wanted ;-)
You can drag-n-drop the EXPERIMENTAL plugin from
http://mashive.tiddlyspot.com/.
The list is now stored in field "story". The view
template includes a button to open everything in a
snapshot. Probably need to tweak that eventually.
Have fun,
Mark
On Wednesday, May 4, 2016 at 8:35:05 AM UTC-7, Jan wrote:
Hello Mark,
now I had the time to try out both attemps. They
both work very good. Many thanks for this.
Do you want to make them accessible for the
community by turning them into a plugin, I think
this could be useful for some of us?
I like your first solution (V3) better, I think it
could even be an advantage that the tiddlers are
stored in a list-field.
-Would it be possible to give this List-field a
custom name for example "story"?
-Would it be possible to implement a button to open
the story in the viewTemplate so that it appears
below the List of tiddlers?
and I encountered another issue:
Is it possible to rearrange the tiddlers by drag
and drop like it was with the
rearrangeTiddlersPugin in TiddlyTools?
I think it might be better to post this as a new
question.
Cheerio and Thanks
Jan
Am 02.05.2016 um 23:12 schrieb 'Mark S.' via
TiddlyWiki:
The attached version will apply the
excludeStory tiddlers before saving the story
in the list.
Mark
On Monday, May 2, 2016 at 1:20:06 PM UTC-7, Jan
wrote:
Hi Mark,
Thanks for the .json
The view-template works fine, it creates a
neat row and tiddlers tagged with
excludeStory are not shown, but they are
saved in the list and are opened when you
load the story.
For my purpose would be best to exclude
them at once...
I understand that the Problem is in opening
tiddlers contained in the textfield if they
are not properly aligned. In TWC the
tiddlytools StorySaverPlugin managed
this...http://www.tiddlytools.com/#StorySaverPlugin
<http://www.tiddlytools.com/#StorySaverPlugin>
Yours Jan
-------- Weitergeleitete Nachricht --------
Betreff: Re: [tw] Re: TW5 Alternatives for
TWClassic-Plugins : OpenStory/SaveStory
Datum: Mon, 2 May 2016 10:08:18 -0700 (PDT)
Von: 'Mark S.' via TiddlyWiki
<tidd...@googlegroups.com>
Antwort an: tiddl...@googlegroups.com
An: TiddlyWiki <tidd...@googlegroups.com>
Here's a json with the updated save/show
routines and with the suggested view
template. Be sure to back up before trying.
I can imagine several ways in which this
might not work as you wanted, so you will
need to specify how it is not working properly.
It might be possible to create a wikified
list with a javascript macro. But I'm
thinking that you want your users to edit
that list in the text editor. So that would
take a second javascript macro to parse the
human readable list back into the kind of
lists used to save stories. Have to think
about that.
Good luck,
Mark
In general, I think TWC was favorable in
many ways to TW5.
On Monday, May 2, 2016 at 5:34:37 AM UTC-7,
Jan wrote:
Hello Mark,
Thanks for your help and sorry for not
answering more quickly.
I did not know ther was so much
difference between TWC and TW5.
I´ll have to do a lot of learning if i
really change.
I could not get your solution to work
properly.
Am 30.04.2016 um 05:44 schrieb 'Mark
S.' via TiddlyWiki:
I don't think there is a "split"
operator -- at least it's not
mentioned in the docs.
That's a plugin by
Tobias....$:/plugins/tobibeer/split
<https://groups.google.com/group/tiddlywiki/attach/25c4517a9fe38/Neustart.html?part=0.1.1&authuser=0>
And I don't think you can capture
the nicely formatted list and tuck
it into a tiddler. It would be cool
if you could.
That's a pitty, in Tiddlytools for
classic ther was a plugin called
"clickify" which did exactly this
In TWC the solution was the following:
<<clickify newTiddler
label:"save story!" focus:title
tag:snapshot
title:{{prompt('Please enter a name','')}}
text:{{
var out="";
story.forEachTiddler(function(t){
var tid=store.getTiddler(t);
if(tid&&!tid.isTagged("excludeStory"))
out+="[["+t+"]]\n";});
out += '\n' +
store.getTiddlerText('openStoryTemplate')
##which inserts the textfield of the
Template and creates a button to open
the story##
out;
}}>>
By the template this
<<openStory {{tiddler.title}}>>
was inserted into each created
SnapshotTiddler to open the story
contained...
Thanks again,
Jan
On Friday, April 29, 2016 at
5:10:30 PM UTC-7, Jan wrote:
Hello,
I think I would like to do a
solution with a small detour:
1. Create a ShadowTiddler
called [[Snapshot]] which
contains the Story like this:
{{{[split:list{$:/StoryList!!list}]}}}
Question: How can I
exclude the Tiddlers Tagged
with excludeStory?
2. How can set the value of
|<$action-setfield
$tiddler="$(snapshot)$"$field="text"$value=
tags="Snapshot">|
to the clickyfied Text of
[[Snapshot]]
Thanks...
Jan
Am 28.04.2016 um 04:15 schrieb
'Mark S.' via TiddlyWiki:
Hello,
Technically, this
modification of matebele's
version does just what you
want:
|
\define saveSnapshot()
<$button>SaveSnapshot
<$action-setfield
$tiddler="$(snapshot)$"$field="text"$value=
tags="Snapshot">
</$button>
\end
\define showSnapshot()
<$button
set="$:/StoryList!!list"setTo={{$(snap)$}}>ShowSnapshot</$button>
\end
;Show Snapshot
<span title="Select a
Snapshot"><$select
tiddler="$:/_snapshots"
field="story-name"
default='(none)'>
<$list
filter="[tag[Snapshot]]"
variable="currentIndex">
<option
value=<<currentIndex>>><<currentIndex>></option>
</$list>
</$select></span>
<$set name="snap"
value={{$:/_snapshots!!story-name}}>
<<showSnapshot>>
</$set>
;Save Snapshot
<span title="Entera
Name"><$edit-text
tiddler="$:/_snapshots"
field="story-name"/></span>
<$set
name="snapshot"value={{$:/_snapshots!!story-name}}>
<<saveSnapshot >>
</$set>
|
Be sure to back up before
trying this! You will need
to create an additional
tiddler |$:/_snapshots|.
But I'm guessing that you
won't like the way it works
-- all the tiddlers are
listed one after another in
a single line rather than
in list. I imagine it will
take a javáscript macro to
be able to make it into a
standard list.
Mark
On Wednesday, April 27,
2016 at 3:24:46 PM UTC-7,
Jan wrote:
Hello Mark,
I am working on a
collection of
excercises for
theatre-classes.
Tiddlers describing
Exercises are combined
for lessons vía stories.
Thus the stories - like
shold be tagged to sort
them and described
which aim shall be
achieved.
The idea is to work
together on this
collection and to
exchange exercises and
lessons. It is
necessary to import
just the new
storytiddler (and the
tiddlers that don't
exist yet, but that's
another task) in order
not to make a mess.
If you are interested
the in TWC version here
it is(alas in german):
https://www.dropbox.com/s/837chmzhxky7wjm/DS%20Arbeitsfassung.html?dl=0
<https://www.dropbox.com/s/837chmzhxky7wjm/DS%20Arbeitsfassung.html?dl=0>
If you type storydemo
in the searchfield you
see the kind of
storytiddler I would
like to generate. This
one was generated
automatically which
collects information
from fields in the
tiddlers of the story...
Thanks for your interest
Jan
Am 27.04.2016 um 22:06
schrieb 'Mark S.' via
TiddlyWiki:
I'm trying to
understand your use
case. If users have
access to your TW,
can't they already
just use the
dropdown list to
select and display
a particular story?
How will having the
list in a separate
tiddler help you
share metadata?
It almost sounds
like you want to
share not just a
list of tiddlers
but the contents of
the tiddlers as
well -- basically
an export.
Thanks,
Mark
On Wednesday, April
27, 2016 at
10:19:05 AM UTC-7,
Jan wrote:
Hi Mat,
thanks for this
interesting
solution, it
seems that here
all snapshots
are saved in
one tiddler.
I need to store
each story in a
single Tiddler.
This is
necessary
because I have
to add metadata
to the stories
and because I
want to be able
to exchange
these stories
with other
users of the
Project.
Is it possible
to change the code
*-to create a button which
saves a list of open Tiddlers in a new Tiddler, (SaveStory)***
\define saveSnapshot()
<$button
set="$:/_snapshots##$(snapText)$"
setTo={{$:/StoryList!!list}}>
{{$:/core/images/done-button}}
Save</$button>
\end
*-to create a button to
open all Tiddlers contained in a Tiddler while closing all others.(OpenStory)*
\define loadSnapshot()
<$button
set="$:/StoryList!!list"
setTo={{$:/_snapshots##$(snapSelect)$}}>
{{$:/core/images/right-arrow}}
Load</$button>
\end
-Jan
Am 27.04.2016
um 14:59
schrieb Mat:
Maybe
matabeles/tobias'
thing will
help?
http://tobibeer.github.io/tb5/#Saving%20And%20Loading%20A%20History%20Snapshot
<http://tobibeer.github.io/tb5/#Saving%20And%20Loading%20A%20History%20Snapshot>
<:-)
On
Wednesday,
April 27,
2016 at
2:07:48 PM
UTC+2, Jan
wrote:
Hello,
I am
finally
trying
to
migrate
my TWC
into
TW5.
Unfortunately
I would
need
some
very
plugins
which I
found
on
Eric’s
TiddlyTools.
What I
would
need
most is
the
OpenStory/SaveStoryPlugins
which
allows
*-to
create
a
button
which
saves a
list of
open
Tiddlers in
a new
Tiddler, and
(SaveStory)**
-to
create
a
button
to open
all
Tiddlers contained
in a
Tiddler
while
closing
all
others.
(OpenStory)*
I would
be very
happy,
if
there
was a
way to
do this.
Yours Jan
--
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
https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view
this
discussion
on the web
visit
https://groups.google.com/d/msgid/tiddlywiki/a098f730-cf23-4c0f-ac54-3425487ce93d%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/a098f730-cf23-4c0f-ac54-3425487ce93d%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more
options,
visit
https://groups.google.com/d/optout
<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
...
--
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
https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/bc2637da-328a-4865-9e96-369fc1353ef7%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/bc2637da-328a-4865-9e96-369fc1353ef7%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit
https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.