# uses a bash script to shorten urls with google url shortener
shorturl <- function(url){
out <- system(paste("shorturl", url), intern=TRUE)
# out <- strsplit(out, "\"")[[1]][1]
out
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.