# set user agent
set_user <- function(config) {
if (length(config) == 0 | length(config$options$`user-agent`) == 0) {
ua <- user_agent("http://github.com/robertmyles/tidyRSS")
return(ua)
} else {
return(config)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.