多言語サイト用サイト・マップの生成
コンテンツ・ツール・キットを使用して、多言語サイトのサイト・マップを生成し、マップをサイトに公開します。
cec create-site map <site>
コマンドを使用して、Oracle Content Managementサーバー上の多言語サイトのサイト・マップを作成できます。 たとえば:
cec create-site-map Site1 -u http://www.example.com/site1
このコマンドは、サイト構造をトラバースし、サイト・ページ階層に一致するサイト・マップ階層を生成し、Oracle Content Managementサーバーの指定されたサイトURLにサイト・マップを作成します。
コマンド・オプションは次のとおりです:
--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]
<changefreq>
オプションの有効な値は次のとおりです:
-
always
-
hourly
-
daily
-
weekly
-
monthly
-
yearly
-
never
-
auto
次に、cec create-site-map
コマンドの例を示します:
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
サイト・マップを公開するには、サイトの更新を作成し、サイト・マップを更新してから、更新をコミットします。