View source: R/rk.XML.browser.R
rk.XML.browser | R Documentation |
Create XML node "browser" for RKWard plugins
rk.XML.browser( label, type = "file", initial = NULL, urls = FALSE, filter = NULL, required = TRUE, id.name = "auto", help = NULL, component = rk.get.comp(), i18n = NULL )
label |
Character string, a text label for this plugin element. |
type |
Character string, valid values are "dir", "file" and "savefile" (i.e., an non-existing file). |
initial |
Character string,
if not |
urls |
Logical, whether non-local URLs are permitted or not. |
filter |
Character vector, file type filter, e.g. |
required |
Logical, whether an entry is mandatory or not. |
id.name |
Character string, a unique ID for this plugin element.
If |
help |
Character string or list of character values and XiMpLe nodes,
will be used as the |
component |
Character string,
name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs |
i18n |
Either a character string or a named list with the optional elements |
An object of class XiMpLe.node
.
Introduction to Writing Plugins for RKWard
test.browser <- rk.XML.browser("Browse here:") cat(pasteXML(test.browser))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.