First of all, I discovered TW today and it is a great piece of software. I 
really appreciate its design but...

For me note taking is not just about capturing the stuff but also about 
retrieving it when needed (at school during tests or at work).
So that is why I wanted to create Anki like srs for my tiddlyWiki.

To make it work you just have to create SRS tiddler and insert the code 
below and tag your notes with srs tag and optionally add question field.

!! Don't know
---
<$list 
filter="[!has[draft.of]tag[srs]!bucket[1]!bucket[2]!bucket[3]!bucket[4]sort[modified]limit[10]]">

<$button style="color: green">
<$action-setfield $tiddler= {{!!title}} bucket="1"/>
^ Know
</$button>
<$button set="TiddlerA!!caption" setTo={{caus}} style="color: red">
<$action-setfield $tiddler= {{!!title}} bucket="0"/>
v Don't know
</$button>
 <$link to={{!!title}}><$view field="question"/> (<$view 
field="title"/>)</$link> 
- <$view field="modified" format="date" template="DD.MM.YY hh:mm:ss"/>

</$list>

!! Saw once
---
<$list filter="[!has[draft.of]tag[srs]bucket[1]sort[modified]limit[10]]">

<$button style="color: green">
<$action-setfield $tiddler= {{!!title}} bucket="2"/>
^ Know
</$button>
<$button set="TiddlerA!!caption" setTo={{caus}} style="color: red">
<$action-setfield $tiddler= {{!!title}} bucket="0"/>
v Don't know
</$button>
 <$link to={{!!title}}><$view field="question"/> (<$view 
field="title"/>)</$link> 
- <$view field="modified" format="date" template="DD.MM.YY hh:mm:ss"/>

</$list>

!! OK
---
<$list filter="[!has[draft.of]tag[srs]bucket[2]sort[modified]limit[10]]">

<$button style="color: green">
<$action-setfield $tiddler= {{!!title}} bucket="3"/>
^ Know
</$button>
<$button set="TiddlerA!!caption" setTo={{caus}} style="color: red">
<$action-setfield $tiddler= {{!!title}} bucket="0"/>
v Don't know
</$button>
 <$link to={{!!title}}><$view field="question"/> (<$view 
field="title"/>)</$link> 
- <$view field="modified" format="date" template="DD.MM.YY hh:mm:ss"/>

</$list>


!! Good
---
<$list filter="[!has[draft.of]tag[srs]bucket[3]sort[modified]limit[10]]">

<$button style="color: green">
<$action-setfield $tiddler= {{!!title}} bucket="4"/>
^ Know
</$button>
<$button set="TiddlerA!!caption" setTo={{caus}} style="color: red">
<$action-setfield $tiddler= {{!!title}} bucket="0"/>
v Don't know
</$button>
 <$link to={{!!title}}><$view field="question"/> (<$view 
field="title"/>)</$link> 
- <$view field="modified" format="date" template="DD.MM.YY hh:mm:ss"/>

</$list>


!! Remembered
---
<$list filter="[!has[draft.of]tag[srs]bucket[4]sort[modified]limit[10]]">

<$button set="TiddlerA!!caption" setTo={{caus}} style="color: red">
<$action-setfield $tiddler= {{!!title}} bucket="0"/>
v Don't know
</$button>
 <$link to={{!!title}}><$view field="question"/> (<$view 
field="title"/>)</$link> 
- <$view field="modified" format="date" template="DD.MM.YY hh:mm:ss"/>

</$list>


It is really simple but it gets the job done. At least for me., for now.
But I can see few improvements which I might need some help with.

1) How not to repeat the code for each bucket OK, Good... make it DRY
2) How to handle date in fields when I want to implement better spaced 
repetition algorithm not just with buckets but with dates if answered 
correctly test again after 2,4,8,16,32,64,128.... days
Two fields will be needed lastCorrectAnswer and RepeatInXDays (times two or 
zeroed after each correct or false answer)

I will eventually figure all this out myself but I would really appreciate 
good resources or tutorial for tiddlywiki development.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/f47f7b06-e8a8-458f-91d2-7c1aebd494f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to