Full config example
You find the full configuration for Publication Planner in the settings panel/Plugins/Publication Planner.
This is an example of a full configuration:
{
"icpProperties": {
"provider": "${DBKS:ICP_PROVIDER}",
"function": "noCrop",
"width": 70,
"height": 40
},
"writer": {
"url": "${DBKS:WRITER_URL}",
"editArticleInModal": true,
"tabs": true
},
"dateSearch": {
"today": true
},
"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": 15,
"plannerInterval": "day",
"ignoreUserTimeFormat": false,
"articleContentType": "Article",
"articleType": "x-im/article",
"ocSort": "Pubdate",
"ocProperties": [
"uuid",
"Headline",
"updated",
"WriterAuthors",
"WriterPubStatus",
"ArticleMetaChannels",
"ArticleMetaImageUuids",
"WriterPubStart",
"ArticleMetaNewsValue",
"ArticleMetaLifeTime",
"WriterServices",
"ImageFilenames",
"ArticleContent",
"WriterPubStop",
"WriterHasPublishedVersion",
"ArticleMetaPremium",
"ArticleMetaAssignmentUuid",
"ConceptRelations.ConceptAvatarRelation.uuid",
"ArticleSize"
],
"filterQuery": "",
"propertiesFilter": [
{
"property": "ConceptRelations",
"q": "ConceptImType:channel"
}
],
"articlePropertyMap": {
"Uuid": "uuid",
"ImageURIs": "ArticleMetaImageUuids",
"Published": "WriterPubStart",
"Status": "WriterPubStatus",
"Channels": "ArticleMetaChannels",
"Sections": "ArticleMetaSections",
"ContentProfiles": "ArticleContent",
"Authors": "WriterAuthors",
"Headline": "Headline",
"NewsPrio": "ArticleMetaNewsValue",
"NewsPrioLifetime": "ArticleMetaLifeTime",
"Products": "ArticleMetaChannels",
"PubStop": "WriterPubStop",
"PubStart": "WriterPubStart",
"HasPublishedVersion": "WriterHasPublishedVersion",
"Updated": "updated",
"AssignmentUuid": "ArticleMetaAssignmentUuid",
"ArticleSize": "ArticleSize"
},
"togglers": [],
"filter": [
{
"placeholder": "Sections",
"field": "ArticleMetaSections",
"options": [
"Section 7",
"Section 8"
]
},
{
"placeholder": "Channel",
"field": "ArticleMetaChannels",
"options": [
"Channel name"
]
}
],
"selectionsOptions": {
"Channels": {
"useMultiSelect": true
},
"Urval": {
"useMultiSelect": true
},
"ArticleSize": {
"useMultiSelect": true
}
},
"selections": {
"ArticleSize": [
{
"name": "Large",
"value": "large",
"field": "ArticleSize",
"checked": false,
"multivalue": true
},
{
"name": "Medium",
"value": "medium",
"field": "ArticleSize",
"checked": false,
"multivalue": true
},
{
"name": "Small",
"value": "small",
"field": "ArticleSize",
"checked": false,
"multivalue": true
}
],
"Channels": [
{
"name": "Naviga News",
"value": "Naviga News",
"field": "ArticleMetaChannels",
"checked": false,
"multivalue": true
},
{
"name": "HN",
"value": "HN",
"field": "ArticleMetaChannels",
"checked": false,
"multivalue": true
},
{
"name": "HP",
"value": "HP",
"field": "ArticleMetaChannels",
"checked": false,
"multivalue": true
},
{
"name": "KBP",
"value": "KBP",
"field": "ArticleMetaChannels",
"checked": false,
"multivalue": true
},
{
"name": "KP",
"value": "KP",
"field": "ArticleMetaChannels",
"checked": false,
"multivalue": true
},
{
"name": "MP",
"value": "MP",
"field": "ArticleMetaChannels",
"checked": false,
"multivalue": true
},
{
"name": "ST",
"value": "ST",
"field": "ArticleMetaChannels",
"checked": false,
"multivalue": true
},
{
"name": "STO",
"value": "STO",
"field": "ArticleMetaChannels",
"checked": false,
"multivalue": true
}
],
"Prio": [
{
"name": 1,
"value": 1,
"field": "ArticleMetaNewsValue",
"checked": false
},
{
"name": 2,
"value": 2,
"field": "ArticleMetaNewsValue",
"checked": false
},
{
"name": 3,
"value": 3,
"field": "ArticleMetaNewsValue",
"checked": false
},
{
"name": 4,
"value": 4,
"field": "ArticleMetaNewsValue",
"checked": false
},
{
"name": 5,
"value": 5,
"field": "ArticleMetaNewsValue",
"checked": false
},
{
"name": 6,
"value": 6,
"field": "ArticleMetaNewsValue",
"checked": false
}
]
},
"slots": [
{
"name": "Morning",
"description": "",
"offset": {
"startDays": 0,
"endDays": 0,
"time": {
"start": {
"hour": 4,
"minute": 0,
"second": 0
},
"end": {
"hour": 11,
"minute": 59,
"second": 59
}
}
}
},
{
"name": "Afternoon",
"description": "",
"offset": {
"startDays": 0,
"endDays": 0,
"time": {
"start": {
"hour": 12,
"minute": 0,
"second": 0
},
"end": {
"hour": 15,
"minute": 59,
"second": 59
}
}
}
},
{
"name": "Evening",
"description": "",
"offset": {
"startDays": 0,
"endDays": 0,
"time": {
"start": {
"hour": 16,
"minute": 0,
"second": 0
},
"end": {
"hour": 23,
"minute": 59,
"second": 59
}
}
}
},
{
"name": "Night",
"description": "",
"offset": {
"startDays": 1,
"endDays": 1,
"time": {
"start": {
"hour": 0,
"minute": 0,
"second": 0
},
"end": {
"hour": 3,
"minute": 59,
"second": 59
}
}
}
}
]
}