Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: MGNLGS-134, MULTISITE-73 classes updated

...

  • info.magnolia.virtualuri.mapping.*
    • Javadoc resource link
      classNameinfo.magnolia.virtualuri.mapping.DefaultVirtualUriMapping
      renderTypeasynchronous
       maps a virtual URI to a content path. This is the simplest and most common type.
      ((warning) Magnolia 5.4.6+) If the URI starts with a dot ( . ), it is not taken as a wildcard anymore but the dot in fact is interpreted as dot. If you need a wildcard, use ? instead.
    • Javadoc resource link
      classNameinfo.magnolia.virtualuri.mapping.RegexpVirtualUriMapping
      renderTypeasynchronous
       allows you to specify a regular expression pattern that matches a sequence of characters. A regexp pattern can match a variety of URIs, which saves time and effort as you would otherwise have to create default mappings for each case. toUri can contain back references to the regexp matches.
    • Javadoc resource link
      classNameinfo.magnolia.virtualuri.mapping.RotatingVirtualUriMapping
      renderTypeasynchronous
       is an extension of RegexpVirtualUriMapping that allows rotation between different destination URIs. In order to rotate, toUri must contain an asterisk character * that will be replaced by a random integer between start (default is 1) and end minus one (default is 3). An additional property padding specifies the desired width of the string. Zeroes are added to the left of the integer to make all strings equally wide. Default width is 2.

    • Javadoc resource link
      classNameinfo.magnolia.virtualuri.mapping.HostBasedVirtualUriMapping
      renderTypeasynchronous
       forwards the request to a different URI depending on the requested host name.
    • Javadoc resource link
      classNameinfo.magnolia.virtualuri.mapping.HostBasedRegexpVirtualUriMapping
      renderTypeasynchronous
       combines the host-based and regex mappings, i.e. forwards the request to a different URI depending on the requested host name and allows you to specify a regular expression pattern that matches a sequence of characters.
  • info.magnolia.module.googlesitemap.config.mapping.*
    • Javadoc resource link
      classNameinfo.magnolia.module.googlesitemap.config.mapping.SiteMapVirtualUriMapping
      renderTypeasynchronous
      compares source URI to names of sitemaps available in the googleSitemaps workspace and prepends the prefix.
  • info.magnolia.multisite.mapping.* 
    • Javadoc resource link
      classNameinfo.magnolia.multisite.mapping.MultiSiteRootVirtualURIMappingMultiSiteRootVirtualUriMapping
      renderTypeasynchronous
       is a special class which specifies the root of a site if site matching returns null
    • Javadoc resource link
      classNameinfo.magnolia.multisite.mapping.MultiSiteRegexpVirtualURIMappingMultiSiteRegexpVirtualUriMapping
      renderTypeasynchronous
       adds a site condition to the mapURI check.  A mapping will only match the request if both the specified regular expression and the specified site match.

...

Anchor
deprecated-classes
deprecated-classes

Deprecated classes

The following classes have been deprecated with the release of Magnolia 5.6:

  • info.magnolia.module.googlesitemap.config.*
    • Javadoc resource link
      classNameinfo.magnolia.module.googlesitemap.config.SiteMapVirtualUriMapping
      renderTypeasynchronous
  • info.magnolia.multisite.*
    • Javadoc resource link
      classNameinfo.magnolia.multisite.MultiSiteRootVirtualURIMapping
      renderTypeasynchronous
    • Javadoc resource link
      classNameinfo.magnolia.multisite.MultiSiteRegexpVirtualURIMapping
      renderTypeasynchronous

With the introduction of the virtual-uri module in Magnolia 5.5.6, the following classes have been deprecated:

...

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


Node name

Value

Mgnl f
virtualUriMappings


Mgnl n
siteMaps


Mgnl p
class

info.magnolia.module.googlesitemap.config.mapping.SiteMapVirtualUriMapping

Mgnl p
prefix

redirect:/sitemaps


...