To create realistic tiddlers you can do the following.
Get InlineJavaScriptPlugin [1]
Create some LoremIpsum text [2]
copy as much text as needed into a tiddler named: LoremIpsum
Copy the following script into a test tiddler
!!! Turn off AutoSave option
Change maxCnt to eg 20 and run it several times.
Save your TW.
And test the behaviour.
It's quick and dirty but tested :)
-m
<script label="test">
var maxCnt = 1; // <- change this
var tid = store.getTiddler('LoremIpsum');
var date, random, mId;
for (var i = 0; i < maxCnt; i +=1) {
date = new Date();
random = Math.floor(Math.random()*1000);
mId = Crypto.hexSha1Str(date + random);
name = 'LoremIpsum (' + mId.substr(0,8) + ')';
// (title, newTitle, newBody, modifier, modified, tags, fields)
tags = ['tagIt'+i, 'asdf', 'test'];
store.saveTiddler( name, name, tid.text,
tid.modifier, tid.modified, tags,
{} );
}
</script> .
[1] http://www.tiddlytools.com/#InlineJavascriptPlugin
[2] http://www.lipsum.com/feed/html
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.