Press Release
// Implements the MFN-JS Loader javascript file
if(!window._MFN) {
var s = document.createElement(“script”);
s.type = “text/javascript”;
s.src = “https://widget.datablocks.se/api/rose/assets/js/mfn/mfn-js-loader-v0.1.0.js”;
s.async = true;
document.getElementsByTagName(“body”)[0].appendChild(s);
}
window._MFN = {
// The selector of the element where the content of the
// single news item should end up
outlet: ‘#container’,
// The type of view
type: ‘singleview’,
// Default language of the news item shown
lang: ‘sv’,
// ‘selected’ uses locale from lang, other options are ‘en’, ‘sv’
// and so on
l10nLang: ‘selected’,
// Author Entity ID provided
entity_id: ’07c7a020-b9be-4e5a-96cb-398cb39918ce’,
// If it should show date
show_date: true,
// ‘default’ or eg [{tag: ‘:regulatory’}]
show_tags: ‘default’,
// Should most likely be true
use_proxied_attachment_urls: true,
// Show attachments
show_attachments: true,
// if attachments should be displayed as thumbnails (Default as links)
show_attachment_thumbnail: true,
// attachment thumbnail size (max size of 585).
// (To ensure high quality thumbnails, we recommend using max size
// and then setting the CSS class of the img to half the size)
attachment_thumbnail_size: 585
}