slt<-function(ls,slot,index=NULL) {
ind<-which(names(ls[[1]])==slot);
if (is.null(index)) sc<-sapply(ls,function(x){x[[ind]]})
else sc<-sapply(ls,function(x){x[[ind]][index] })
return(sc)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.