Generate a Site Map for a Multilingual Site

Use Content Toolkit to generate a site map for a multilingual site and publish the map to the site.

You can use the cec create-site map <site> command to create a site map for a multilingual site on an Oracle Content Management server. For example:

cec create-site-map Site1 -u http://www.example.com/site1

This command traverses the a site structure, produces a site map hierarchy that matches the site page hierarchy, and creates a site map at the specified site URL on the Oracle Content Management server.

Command options follow:

  --url, -u         <url> Site URL                                                    [required]
  --changefreq, -c  How frequently the page is likely to change
  --file, -f        Name of the generated site map file
  --publish, -p     Upload the site map to CEC server after creation
  --help, -h        Show help                                                           [boolean]

Valid values for the <changefreq> option follow:

  • always

  • hourly

  • daily

  • weekly

  • monthly

  • yearly

  • never

  • auto

Examples of the cec create-site-map command follow:

cec create-site-map Site1 -u http://www.example.com/site1

cec create-site-map Site1 -u http://www.example.com/site1 -f sitemap.xml

cec create-site-map Site1 -u http://www.example.com/site1 -p

cec create-site-map Site1 -u http://www.example.com/site1 -c weekly -p

To publish a site map, a site update is created, the site map is updated, and then the update is committed.