User:V111P/js/webRefSiteDataExample.js

window.webRefSiteData = {

"cnn.com": {

"author": "div.cnnByline^^By^^, CNN",

"notAnAuthor": "CNN"

},

"usatoday.com": {

"title": "title",

"date": "span.asset-metabar-time.asset-metabar-item.nobyline",

"author": "span.asset-metabar-author.asset-metabar-item^^^^,"

},

"bbc.com": {

"date": "span.date",

"author": "span.byline-name^^By",

"lang": "en"

},

"theguardian.com": {

"siteName": "The Guardian",

"date": "li.publication time"

}

};

if (window.webRef && webRef.getRef)

webRef.getRef();

else (function () {

var scrEl = document.createElement('script');

scrEl.src = '//en.wikipedia.org/w/index.php?title='

+ 'User:V111P/js/webRef.js&action=raw&ctype=text/javascript&smaxage=43200&maxage=86400';

document.body.appendChild(scrEl);

})();