You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


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
  • Publishing content is triggered by the end user (author).

Receiver Configuration

'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:

    Node name

    Value

     
    modules


     
    publishing-core


     
    config


     
    receivers


     
    public


     
    workspaces


     
    workspaceToExclude


     
    workspace

    workspace-name

     
    fromPath

    /

     
    toPath

    /

     
    excluded

    true

     
    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':

    Node name

    Value

     
    modules


     
    publishing-core


     
    config


     
    receivers


     
    public


     
    workspaces


     
    websiteWorkspace


     
    workspace

    website

     
    fromPath

    /public

     
    toPath

    /public

     
    url

    http://localhost:8080/magnoliaPublic

     
    extranet


     
    workspaces


     
    websiteWorkspace


     
    workspace

    website

     
    fromPath

    /extranet

     
    toPath

    /extranet

     
    url

    http://localhost:8080/magnoliaExtranet

     
    intranet


     
    workspaces


     
    websiteWorkspace


     
    workspace

    website

     
    fromPath

    /intranet

     
    toPath

    /intranet

     
    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:
  • Green: The page/content has been published AND is unchanged on the Author instance since the last publication.
  • Orange: The page/content has been published BUT was changed on the Author instance since the last publication.
  • Red: The page/content has NOT been published yet.

                       


  • No labels