コンテンツ・ツールキットを使用したページ索引コンテンツ・アイテムの作成
Content Toolkitコマンドを使用して、ページ索引コンテンツ・アイテムを作成できます。
前提条件:
-
コンテンツ・ツールキットがインストールされ、ローカル・マシンで設定されています。
-
Oracle Content Managementのサイトが公開されました。
-
サイト・ページ上のコンテンツ・アイテムがサイト・チャネルに公開されました。
コマンド行インタフェースで、次のContent Toolkitコマンドを入力します:
cec index-site site name -c content type name -p
このコマンドでは、site name
はサイトの名前、content type name
はページ・テキストに対して作成されたコンテンツ・タイプ、-p
オプションは作成後にページ索引コンテンツ・アイテムを公開することを示します。
Usage: cec index-site <site>
Create content item for each page with all text on the page. If the page index content item already exists for a page, updated it with latest text on the page. Specify -c
<contenttype> to set the page index content type. Optionally specify -p to publish the page index items after creation or update.
Options:
--contenttype, -c <contenttype> page index content type
--publish, -p publish page index items
--help, -h Show help [boolean]
Examples:
cec index-site Site1 -c PageIndex
cec index-site Site1 -c PageIndex -p
使用状況を表示するには、cec index-site -hと入力