Page tree
Skip to end of metadata
Go to start of metadata

Introduction

Improve site map app with new functionality.

Candidate:

  • Add additional format
  • Add validation
    • during site map creation
      • size less than 10 Mb
      • less than 50 000 url's
    • using a specific action
      • perform an XSD validation
      • Show dead branch
  • Add the possibility to create a site map index file
    • Specific action
    • Specific type/icon
    • Specific validation
  • Give the option to compress the site map in the main dialog (.gz)
  • Add an action to create a robot.txt file

 

Improve site map code implementation.
  • Introduce NodeTypes class
  • Introduce mixIn for site map properties
    • Site map pages element should have a dedicated mixIn instead of 'dummy' property
  • Increase site map coverage.
  • Use a servlet instead a template+ftl to render xml.
  • Use pure vaadim Item instead of JcrItems in the detail dialogs
    • Use the siteMap bean in the detail dialog
  • Improve delete action
    • Unregister site map
    • Remove pages mixIn
  • Configure default values
    • default values have to be configured on siteMap level.

 

 

Code improvement

Site map mixin

Create a GoogleSiteMap mixin nodeType definition.

Definition
  <nodeType name="mgnl:googleSiteMap" isMixin="true">
    <supertypes>
      <supertype>nt:base</supertype>
    </supertypes>
    <propertyDefinition name="mgnl:googleSiteMapChangeFreq" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false"/>
    <propertyDefinition name="mgnl:googleSiteMapDisplayName" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false"/>
    <propertyDefinition name="mgnl:googleSiteMapPriority" requiredType="Double" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false"/>
    <propertyDefinition name="mgnl:googleSiteMapHide" requiredType="Boolean" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false"/>
    <propertyDefinition name="mgnl:googleSiteMapHideChildren" requiredType="Boolean" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false"/>
  </nodeType>
Task
  • Add the nodeType definition to the "mgnl:page" during module installation
    • Create a migration task in order to convert existing siteMap
  • Use this nodeType during siteMap pages creation or update

 

Vaadin Item instead of JcrNodeAdapter in detail subApp

 

 

  • No labels