Config

In order to make DND work you should check the following:

  • articleExtractors is configured

  • publisherId is configured

  • PubStart, PubStop, WriterHasPublishedVersion is configured in ocProperties config

v4.3.0 (IMID)

Using proxy

  • Configure Writer to allow requests from Dashboard IP

Using fetch

  • Configure Writer to allow Dashboard domain to do CORS requests

Configurations

Publication Planner needs to be configured with Content-Agent, ICP and Writer providers and endpoints.

  • go to Plugins > Publication Planner > settings > Configurations

  • add OpenContent ContentProvider name.

  • add QueryStreamer ContentProvider name.

  • and add your Publication Planner config inside the config editor.

  • and then click save.

Publication Planner also needs to be configured with requirements in Mappings section

  • go to Plugins > Publication Planner > settings > Mappings

  • select all the required actions by selecting from the dropdown for each required action.

Add filter query to your search request

available with v3.0.0 or higher

In your config you can add filterQuery to add custom filter to your searches

example

{
    ...,
    "filterQuery": "NOT WriterAuthors:\"John Doe\"",
    ...,
}

Add slugline to Article cards

In your config object you can add your Slug OC-Property in ocProperties and map it in articlePropertyMap as a Slugline

example

{
    ...,
    "ocProperties": [
        "...",
        "Slug",
        "..."
    ],
    "articlePropertyMap": {
        "...": "...",
        "Slugline": "Slug",
        "...": "..."
    },
    ...,
}

results

Map hard coded fields to OC Property

 "articlePropertyMap": {
                "Uuid": "uuid",
                "ImageURIs": "ArticleMetaImageUuids",
                "Status": "WriterPubStatus",
		"Premium": "ArticleMetaPremium",
                "NewsPrioLifetime": "ArticleMetaLifeTime",
                "NewsPrio": "ArticleMetaNewsValue",
                "Products": "ArticleMetaChannels",
                "Published": "WriterPubStart",
                "Headline": "Headline",
                "Channels": "ArticleMetaSections",
                "ContentProfiles": "ArticleMetaProfile",
                "Authors": "WriterAuthors",
                "HasPublishedVersion": "WriterHasPublishedVersion"
        },

Last updated