Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Multiexcerpt
MultiExcerptNamePublishing Receivers

Goals

  • Learn about receivers
  • Understand how to configure content to publish
  • Understand how content is activated from the Author Instance to the Public Instance

Receivers - Push Content to a Public Instance

  • Used to push content to a Public Instance
  • Defines where exactly contents should be pushed to.
  • Manages that the content will be pushed to all defined public instances or to non of them on failure.
  • For each Public Instance one receiver is configured on the Author Instance.
    For example: If there are three public instances, there must also be three receivers configured, each pointing to a public instance

Content Activation

  • Publishing is a system process that copies content from an Author Instance to a Public Instance
    Image Added
  • Publishing content is triggered by the end user (author).

Receiver Configuration

Image Added

'workspaces' Configuration

  • By default all existing workspaces are included into the publication process.

  • One can configure explicit workspaces that should be excluded in the receiver configuration:

    Advanced Tables - Table Plus
    heading0
    enableHeadingAttributesfalse
    enableSortingfalse
    classm5-configuration-tree
    enableHighlightingfalse

    Node name

    Value

    Mgnl f
    modules


    Mgnl f
    publishing-core


    Mgnl f
    config


    Mgnl f
    receivers


    Mgnl n
    public


    Mgnl n
    workspaces


    Mgnl n
    workspaceToExclude


    Mgnl p
    workspace

    workspace-name

    Mgnl p
    fromPath

    /

    Mgnl p
    toPath

    /

    Mgnl p
    excluded

    true

    Mgnl p
    url

    http://localhost:8080/magnoliaPublic

  • Partial content of a workspace to be published (rest is ignored) can be defined via the properties 'fromPath' and 'toPath':

    Advanced Tables - Table Plus
    heading0
    enableHeadingAttributesfalse
    enableSortingfalse
    classm5-configuration-tree
    enableHighlightingfalse

    Node name

    Value

    Mgnl f
    modules


    Mgnl f
    publishing-core


    Mgnl f
    config


    Mgnl f
    receivers


    Mgnl n
    public


    Mgnl n
    workspaces


    Mgnl n
    websiteWorkspace


    Mgnl p
    workspace

    website

    Mgnl p
    fromPath

    /public

    Mgnl p
    toPath

    /public

    Mgnl p
    url

    http://localhost:8080/magnoliaPublic

    Mgnl n
    extranet


    Mgnl n
    workspaces


    Mgnl n
    websiteWorkspace


    Mgnl p
    workspace

    website

    Mgnl p
    fromPath

    /extranet

    Mgnl p
    toPath

    /extranet

    Mgnl p
    url

    http://localhost:8080/magnoliaExtranet

    Mgnl n
    intranet


    Mgnl n
    workspaces


    Mgnl n
    websiteWorkspace


    Mgnl p
    workspace

    website

    Mgnl p
    fromPath

    /intranet

    Mgnl p
    toPath

    /intranet

    Mgnl p
    url

    http://localhost:8080/magnoliaIntranet

Receiver Configuration

Defining a Receiver

  1. To access receivers, in AdminCentral, open the Configuration App.
  2. Navigate to /modules/publishing-core/config/receivers.
  3. Open an existing receiver.
  4. Define the target URL in the url property.
  5. Activate the receiver in the enabled property.

For a second receiver, copy an existing one and:

  1. Rename the new subscriber to a meaningful name.
  2. Change the url property to the second Magnolia Instance.
  3. Activate the receiver in the enabled property.

Content's Publication Status

  • The 'status' column in the 'Pages App' or any other Content Apps is the publication status indicator:
    Image Added
  • Image AddedGreen: The page/content has been published AND is unchanged on the Author instance since the last publication.
  • Image AddedOrange: The page/content has been published BUT was changed on the Author instance since the last publication.
  • Image AddedRed: The page/content has NOT been published yet.

                       

Page Turner
button-linkstrue

...