다국어 사이트의 사이트 맵 생성

OCE Toolkit을 사용하여 다국어 사이트의 사이트 맵을 생성하고 사이트에 맵을 게시할 수 있습니다.

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

사이트 맵을 게시하기 위해 사이트 업데이트가 생성되고 사이트 맵이 업데이트된 다음 업데이트가 커밋됩니다.