Skip to content

mmbase/mmsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paste this in 'config/framework.xml' to activate the UrlConverter for this application.
This UrlConverter supports the following settings:

directory - the directory it should act upon, it can work on all directories hence '/'
excludePaths - directories in the root it certainly should not act upon
useExtension - it can append an extension to your files, the default is 'html'
extension - the extension to use
locales - the language codes of the languages supported

  <urlconverter class="org.mmbase.mmsite.SiteUrlConverter">
    <description xml:lang="en">
      The urlconverter that belongs to MMSite. It handles all urls in contrary to the 'normal'
      way to design urlconverters which should be for a specified directory like f.e. 'mmbase'.
    </description>
    <param name="directory">/</param>
    <param name="excludedPaths">mmbase,mmexamples</param>
    <param name="useExtension">false</param>
    <param name="extension">html</param><!-- without the dot -->
    <param name="locales">en,nl</param>
  </urlconverter>

See Maven's project xml for more information. 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages