svnno****@sourc*****
svnno****@sourc*****
2009年 1月 14日 (水) 20:23:55 JST
Revision: 71 http://svn.sourceforge.jp/view?root=jetspeed-japan&view=rev&rev=71 Author: karma Date: 2009-01-14 20:23:55 +0900 (Wed, 14 Jan 2009) Log Message: ----------- update translation Modified Paths: -------------- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-subsites.xml -------------- next part -------------- Modified: jetspeed-2-trans/trunk/ja/xdocs/guides/guide-subsites.xml =================================================================== --- jetspeed-2-trans/trunk/ja/xdocs/guides/guide-subsites.xml 2009-01-06 10:22:08 UTC (rev 70) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-subsites.xml 2009-01-14 11:23:55 UTC (rev 71) @@ -185,17 +185,27 @@ </source> </subsection> </section> - <section name="XML Seed Configuration"> + <section name="[XML Seed Configuration] XML Seed 設定"> + <div class="original"> <p> When initially setting up your Jetspeed portal, you will need to provide initial seed data for your portal. Here we demonstrate how to configure your XML seed data for a subsite. We will be initializing:</p> + </div> + <p> + Jetspeed ポータルを初期設定する際,あなたのポータルの初期データを準備する必要があります.ここで,どのようにサブサイト構築のための XML 初期データを設定するのかをデモしてみます.</p> + <div class="original"> <ul> <li>Profiling Rules</li> <li>Users</li> </ul> - <subsection name='Profiling Rules'> - + </div> + <ul> + <li>プロファイリングルール</li> + <li>ユーザ</li> + </ul> + <subsection name='[Profiling Rules] プロファイリングルール'> +<div class="original"> <source test=""> <![CDATA[ <ProfilingRule id="subsite-by-hostname" standardRule="false"> @@ -243,6 +253,55 @@ </ProfilingRule> ]]> </source> +</div> +<source test=""> + <![CDATA[ +<ProfilingRule id="subsite-by-hostname" standardRule="false"> + <description value="サブサイトとホームページを特定する,ロールベースのフォールバックアルゴリズム"/> + <Criteria> + <Criterion name="navigation"> + <type value="navigation"/> + <value value="subsite-root"/> + <fallBackOrder value="0"/> + <fallBackType value="2"/> + </Criterion> + <Criterion name="hostname"> + <type value="hostname"/> + <fallBackOrder value="1"/> + <fallBackType value="2"/> + </Criterion> + <Criterion name="user"> + <type value="user"/> + <fallBackOrder value="2"/> + <fallBackType value="2"/> + </Criterion> + <Criterion name="navigation-2"> + <type value="navigation"/> + <value value="subsite-root"/> + <fallBackOrder value="3"/> + <fallBackType value="2"/> + </Criterion> + <Criterion name="hostname"> + <type value="hostname"/> + <fallBackOrder value="4"/> + <fallBackType value="2"/> + </Criterion> + <Criterion name="role"> + <type value="role"/> + <fallBackOrder value="5"/> + <fallBackType value="2"/> + </Criterion> + <Criterion name="path"> + <type value="path"/> + <value value="home"/> + <fallBackOrder value="6"/> + <fallBackType value="2"/> + </Criterion> + </Criteria> +</ProfilingRule> +]]> +</source> +<div class="original"> <p>A profiling rule contains one or more criterion. Each criterion defines an instruction on how to locate a page in the physical portal site map. Criterion of the type <i>navigation</i> are used to navigate down the portal site tree. The <i>fallBackOrder</i> tag should normally just be listed sequential. You can almost always get by with a <i>fallBackType</i> of 2. @@ -252,6 +311,9 @@ There are other algorithms provided by out of the box such as role-fallback, group-fallback, mediatype/language fallback. Or you can create your own algorithms by creating new profiling rules in the XML seed data or with the Profiler Admininistrative portlet. </p> +</div> +<p>プロファイリングルールは 1 つ以上の判断基準を含んでいます.それぞれの判断基準は,物理的なポータルサイトマップ内でページをどのように位置付けるかの指示を定義します.<i>navigation</i> タイプの判断基準は,ポータルサイトツリーをどのようにたどっていくかを指示するのに使われます.通常は,<i>fallBackOrder</i> タグの順番通りにリストに並ぶ必要があります.ほとんどの場合常に <i>fallBackType</i> は 2 になります.判断基準の <i>type</i> として利用可能なものは,<a href='guide-profiler.html'>プロファイラ利用のガイド</a> で述べられています.以下の表は,サブサイトのそれぞれの判断基準について述べており,それがどのようにサブサイトの位置を決定するのに使われるかを説明しています.このルールは,user-role-fallback アルゴリズムを使うサブサイトの位置決めルールです.user-role-fallback アルゴリズムは,まず最初にユーザのホームディレクトリを探します.もし見つからなければ,ユーザのロールに合致するロールのディレクトリを探します.role-fallback,group-fallback,mediatype/language fallback と言ったような,すぐに使える他のアルゴリズムも準備されています.また,新しいプロファイリングルールを XML データで作るか,プロファイラ管理ポートレットで作る事によって,自分のアルゴリズムを作成することも可能です. +</p> <table> <tr><th>Name</th><th>Type</th><th>Value</th><th>Description</th></tr> <tr><td>navigation</td><td>navigation</td><td>subsite-root</td><td>Navigates to the physical /__subsite-root directory.</td></tr>