feed_type <- function(feed) {
if("rss" %in% names(feed)) {
return("RSS")
} else if("RDF" %in% names(feed)) {
return("RDF")
} else {
return("Atom")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.