Full config example
{
"configVersion": 1,
"icpProperties": {
"provider": "$DBKS:ICP_PROVIDER}",
"function": "default",
"width": 70,
"height": 40
},
"writer": {
"url": "${DBKS:WRITER_URL}", //"https://writer.demo.imit.infomaker.io"
"editArticleInModal": true,
"tabs": true
},
"dateSearch": {
"today": true,
"changeWithScroll": false
},
"articleExtractors": {
"pubStatus": "/*:newsItem/*:itemMeta/*:pubStatus/@qcode",
"pubStop": "/*:newsItem/*:itemMeta/*:itemMetaExtProperty[@type='imext:pubstop']/@value",
"pubStart": "/*:newsItem/*:itemMeta/*:itemMetaExtProperty[@type='imext:pubstart']/@value",
"pubDate": "/*:newsItem/*:itemMeta/*:itemMetaExtProperty[@type='imext:pubstart']/@value",
"hasPublishedVersion": "/*:newsItem/*:itemMeta/*:itemMetaExtProperty[@type='imext:haspublishedversion']/@value"
},
"publisherId": "${DBKS:CA_IC_PUBLISHER_ID}",
"maxArticles": 10,
"plannerInterval": "day",
"ocSort": ["Published"],
"articleContentType": "Article",
"articleType": "x-im/article",
"ocProperties": [
"uuid",
"updated",
"Headline",
"Authors",
"Status",
"Products",
"Premium",
"PubStart",
"PubStop",
"Published",
"ArticleMetaNewsValue",
"Subjects",
"ImageURIs",
"Huvudkanal",
"Artikeltyp",
"WriterHasPublishedVersion"
],
"articlePropertyMap": {
"Updated": "updated",
"Uuid": "uuid",
"ImageURIs": "ImageURIs",
"Published": "Published",
"PubStart": "PubStart",
"PubStop": "PubStop",
"Status": "Status",
"Premium": "Premium",
"Channels": "Huvudkanal",
"ContentProfiles": "Artikeltyp",
"Authors": "Authors",
"Headline": "Headline",
"NewsPrio": "ArticleMetaNewsValue",
"Products": "Products",
"MouseoverProperty": "Status",
"HasPublishedVersion": "WriterHasPublishedVersion"
},
"togglers": [
{
"label": "TT",
"checked": false,
"query": "AND NOT (Authors:TT)",
"match": { "Authors": "TT" }
}
],
"filter": {
"placeholder": "Kanal(er)",
"field": "Huvudkanal",
"options": [
"Landskrona",
"Klippan",
"Perstorp",
"Fotboll",
"Sport",
"Åsikter",
"Nyheter",
"Ängelholm",
"Båstad",
"Skåne",
"Malmö",
"Lund",
"Kultur",
"Lomma",
"Staffanstorp",
"Bokrecensioner",
"Kävlinge",
"Burlöv",
"Handboll",
"Ekonomi",
"Zlatan",
"Höganäs",
"Ängelholm",
"Helsingborg",
"Musik",
"Nöje",
"Dygnet runt",
"MFF",
"Födelsedag",
"Familj"
]
},
"filterQuery": "",
"selectionsOptions": {
"Nyhetsvärde": {
"useMultiSelect": true
}
}
"selections": {
"Products": [
{
"name": "SDS",
"value": "sydsvenskan",
"field": "Products",
"checked": true,
"multivalue": true
},
{
"name": "HD",
"value": "hd",
"field": "Products",
"checked": true,
"multivalue": true
},
{
"name": "8till5",
"value": "8till5",
"field": "Products",
"checked": false,
"multivalue": true
}
],
"Nyhetsvärde": [
{
"name": 1,
"value": 1,
"field": "Newsvalue",
"checked": false
},
{
"name": 2,
"value": 2,
"field": "Newsvalue",
"checked": true
},
{
"name": 3,
"value": 3,
"field": "Newsvalue",
"checked": true
},
{
"name": 4,
"value": 4,
"field": "Newsvalue",
"checked": true
},
{
"name": 5,
"value": 5,
"field": "Newsvalue",
"checked": true
},
{
"name": 6,
"value": 6,
"field": "Newsvalue",
"checked": true
}
]
},
"slots": [
{
"name": "Morgon/Förmiddag",
"description": "",
"offset": {
"startDays": 0,
"endDays": 0,
"time": {
"start": {
"hour": 4,
"minute": 0,
"second": 0
},
"end": {
"hour": 11,
"minute": 59,
"second": 59
}
}
}
},
{
"name": "Eftermiddag",
"description": "",
"offset": {
"startDays": 0,
"endDays": 0,
"time": {
"start": {
"hour": 12,
"minute": 0,
"second": 0
},
"end": {
"hour": 15,
"minute": 59,
"second": 59
}
}
}
},
{
"name": "Kväll",
"description": "",
"offset": {
"startDays": 0,
"endDays": 1,
"time": {
"start": {
"hour": 16,
"minute": 0,
"second": 0
},
"end": {
"hour": 0,
"minute": 29,
"second": 59
}
}
}
},
{
"name": "Natt",
"description": "",
"offset": {
"startDays": 1,
"endDays": 1,
"time": {
"start": {
"hour": 0,
"minute": 30,
"second": 0
},
"end": {
"hour": 3,
"minute": 59,
"second": 59
}
}
}
}
],
"icons": [
{
"name": "sydsvenskan",
"data": "data:image/svg+xml;base64,..."
},
{
"name": "hd",
"data": "data:image/svg+xml;base64,..."
},
{
"name": "8till5",
"data": "data:image/svg+xml;base64,..."
}
]
}
Last updated