Learn R Programming

TiddlyWikiR (version 1.0.1)

tiddler-class: A class to handle TiddlyWiki tiddlers.

Description

Object to store a TiddlyWiki tiddler information.

Arguments

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.

Examples

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

Run the code above in your browser using DataLab