var pageDetails = {}; var ua = new gigya.socialize.UserAction(); $(function() { pageDetails.summary = "I have just completed one of the most extraordinary weeks of my life.  For the past eight days, I participated in World Youth Day in Madrid, a gathering of some 1.5 million Catholic young people with Pope Benedict XVI.  I met enthusiastic teen and 20-something Catholics from the United States, Canada, Mexico, the Netherlands, Sweden, Nigeria, England, Australia, New Zealand, China, the Philippines, India, Denmark, and many other countries.  The universality of the Church has never been,..." pageDetails.title = "The Pope's young army - CNA Columns: Fr. Robert Barron" pageDetails.url = "http://www.catholicnewsagency.com/column/the-popes-young-army-1759/" pageDetails.image = "http://www.catholicnewsagency.com/images/columnists/barron.jpg" pageDetails.id = pageDetails.url.replace('?','/').replace('=','/'); // User action for Gigya events on social networks ua.setTitle(pageDetails.title); ua.setLinkBack(pageDetails.url); ua.setDescription(pageDetails.summary); if (typeof pageDetails.image !== 'undefined') { ua.addMediaItem({ type: 'image', src: pageDetails.image, href: '//www.catholicnewsagency.com/' }); }; });