A class to handle TiddlyWiki tiddlers.

Share:

Description

Object to store a TiddlyWiki tiddler information.

Usage

new ("tiddler", title, content, ...)

newTiddler (title, content, ...)

Slots

title:

title of the tiddler.

content:

content of the tiddler.

tags:

tags of the tiddler.

creator:

indicates who created the tiddler.

modifier:

indicates who modified the tiddler.

created:

timestamp of the tiddler creation.

modified:

timestamp of the tiddler modification.

changecount:

number of times the tiddler was changed.

Methods

Methods are implemented to access and set all slots form a tiddler object. The most useful ones may be:

  • tdTitle

  • tdContent

  • tdTags

  • tdCreator

But tdModifier, tdCreated, tdModified and tdChangecount are also implemented.

Author(s)

David Montaner dmontaner@cipf.es

Examples

1
2
tiddler1 <- new ("tiddler", title = "MyNewTiddler1", content = "the first content")
tiddler2 <- newTiddler (title = "MyNewTiddler2", content = "the second content", creator = "me")