parse.meta.details <- function(xml){
collection <- read_xml(xml)
header <- do.call(rbind.fill, list(lapply(xml_find_all(collection, "//items/item"), function(item){
meta <- as.data.frame(t(xml_attrs(item)), stringsAsFactors=FALSE)
meta$type <- as.factor(meta$type)
return(meta)
}))
)
return(header[, rev(names(header))])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.