View source: R/addtemplate_x3p.R
x3p_add_meta | R Documentation |
Use a specified template to overwrite the general info in the x3p object (and structure of the feature info, if needed).
x3p_add_meta(x3p, template = NULL)
addtemplate_x3p(x3p, template = NULL)
x3p |
x3p object |
template |
file path to xml template, use NULL for in-built package template |
logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
# exchange meta information for general x3p information:
logo <- x3p_add_meta(logo, template = system.file("templateXML.xml", package="x3ptools"))
logo$general.info
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.