From svnnotify @ sourceforge.jp Mon Feb 23 17:55:20 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Mon, 23 Feb 2009 17:55:20 +0900 Subject: [Jetspeed-japan-trans] [72] Update translate Message-ID: <1235379320.953210.23064.nullmailer@users.sourceforge.jp> Revision: 72 http://svn.sourceforge.jp/view?root=jetspeed-japan&view=rev&rev=72 Author: karma Date: 2009-02-23 17:55:20 +0900 (Mon, 23 Feb 2009) Log Message: ----------- Update translate 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-14 11:23:55 UTC (rev 71) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-subsites.xml 2009-02-23 08:55:20 UTC (rev 72) @@ -314,6 +314,8 @@

プロファイリングルールは 1 つ以上の判断基準を含んでいます.それぞれの判断基準は,物理的なポータルサイトマップ内でページをどのように位置付けるかの指示を定義します.navigation タイプの判断基準は,ポータルサイトツリーをどのようにたどっていくかを指示するのに使われます.通常は,fallBackOrder タグの順番通りにリストに並ぶ必要があります.ほとんどの場合常に fallBackType は 2 になります.判断基準の type として利用可能なものは,プロファイラ利用のガイド で述べられています.以下の表は,サブサイトのそれぞれの判断基準について述べており,それがどのようにサブサイトの位置を決定するのに使われるかを説明しています.このルールは,user-role-fallback アルゴリズムを使うサブサイトの位置決めルールです.user-role-fallback アルゴリズムは,まず最初にユーザのホームディレクトリを探します.もし見つからなければ,ユーザのロールに合致するロールのディレクトリを探します.role-fallback,group-fallback,mediatype/language fallback と言ったような,すぐに使える他のアルゴリズムも準備されています.また,新しいプロファイリングルールを XML データで作るか,プロファイラ管理ポートレットで作る事によって,自分のアルゴリズムを作成することも可能です.

+ +
@@ -324,6 +326,19 @@
NameTypeValueDescription
navigationnavigationsubsite-rootNavigates to the physical /__subsite-root directory.
rolerole(provided at runtime)Navigate to each role directory of the given user until we find the page. For example, for a role named "role1", navigate to the control directory /__subsite-root/_hostname/role, and then to the subdirectory matching each runtime _role parameters. If the runtime _role parameter is only "role1", then the physical location is /__subsite-root/_hostname/localhost/_role/role1.
pathpathhomeThis is a constant used in all calculations, the path portion of the URL, such as home.psml, or /accounting/worksheet.psml. It is always appended to the calculated path to give the complete physical address of the page. In the case where there is no page specified, the default value provided in the rule "home" is used, and that actually maps to "home.psml" as the default page extensions.
+
+ + + + + + + + + + +
名前タイプ説明
navigationnavigationサブサイトのルートコントロールディレクトリである /__subsite-root の物理的な場所を指し示します.
hostnamehostname(実行時に動的に与えられる)コントロールディレクトリである /__subsite-root/_hostname の場所を指し示します.それからそのサブディレクトリを,実行時パラメータである _hostname とマッチングさせます.もし,実行時パラメータ _hostname が "localhost" である場合,物理的な場所は /__subsite-root/_hostname/_localhost となります.
useruser(実行時に動的に与えられる)コントロールディレクトリである /__subsite-root/_hostname/user の場所を指し示します.それから,そのサブディレクトリを,実行時パラメータの _user とマッチングさせます.もし実行時パラメータ _user が "dean" であれば,物理的な場所は /__subsite-root/_hostname/_user/dean となります.
navigation-2navigationサブサイトのルートページがユーザディレクトリ以下に見つからないとき,サブサイトのルートに戻ってやり直します.
hostnamehostname(実行時に動的に与えられる)それから再度 _hostname ディレクトリを指し示します.
rolerole(実行時に動的に与えられる)ページが見つかるまで,与えられたユーザのロールのそれぞれのディレクトリを探索します.例えば,まず /__subsite-root/_hostname/role というディレクトリを指し示します.それからそのサブディレクトリを,実行時パラメータの _role とマッチングさせます.もし実行時パラメータ _role が "role1" だけであれば,物理的な場所は /__subsite-root/_hostname/localhost/_role/role1 となります.
pathpathhomeThis is a constant used in all calculations, the path portion of the URL, such as home.psml, or /accounting/worksheet.psml. It is always appended to the calculated path to give the complete physical address of the page. In the case where there is no page specified, the default value provided in the rule "home" is used, and that actually maps to "home.psml" as the default page extensions.
+

The screenshot below shows the directory tree for a localhost subsite.

From karma @ jazz.email.ne.jp Mon Feb 23 18:01:24 2009 From: karma @ jazz.email.ne.jp (KATOH Yasufumi) Date: Mon, 23 Feb 2009 18:01:24 +0900 Subject: [Jetspeed-japan-trans] [72] Update translate In-Reply-To: <1235379320.953210.23064.nullmailer@users.sourceforge.jp> References: <1235379320.953210.23064.nullmailer@users.sourceforge.jp> Message-ID: <8763j1plwb.wl%karma@jazz.email.ne.jp> 加藤泰文です.自分でもどこ翻訳やってたの忘れかけた頃.:-p >>> On Mon, 23 Feb 2009 17:55:20 +0900 in message "[Jetspeed-japan-trans] [72] Update translate" -san wrote: > jetspeed-2-trans/trunk/ja/xdocs/guides/guide-subsites.xml "XML Seed Configuration" - "Profiling Roles" のセクションの表の 6 行目 (role) の部分の説明がちょっと冗長な気がしますね (原文). Navigate to each role directory of the given user until we find the page. For example, for a role named "role1", navigate to the control directory /__subsite-root/_hostname/role, and then to the subdirectory matching each runtime _role parameters. If the runtime _role parameter is only "role1", then the physical location is /__subsite-root/_hostname/localhost/_role/role1. とありますが,For example 以下で "for a role named "role1" と書いてい る部分.この文自体では "role1" は全く使ってなくて,その後の "If the runtime..." の所で再度 "role1 だったら" みたいにかかれてますので.この カンマで挟まれ他部分は不要な気が. -- ============================================== (((( 加藤泰文 ○-○ karma @ jazz.email.ne.jp ============================================== (Web Page) http://www.ne.jp/asahi/ka/to/ ============================================== From shinsuke @ yahoo.co.jp Mon Feb 23 22:46:49 2009 From: shinsuke @ yahoo.co.jp (Shinsuke SUGAYA) Date: Mon, 23 Feb 2009 22:46:49 +0900 Subject: [Jetspeed-japan-trans] [72] Update translate In-Reply-To: <8763j1plwb.wl%karma@jazz.email.ne.jp> References: <1235379320.953210.23064.nullmailer@users.sourceforge.jp> <8763j1plwb.wl%karma@jazz.email.ne.jp> Message-ID: <49A2A8C9.2040708@yahoo.co.jp> 菅谷です。 お疲れさまです。 相変わらず、時間が取れず、申し訳ないです・・・。 確かに、そこになくても良さそうな気も。 感じとしては、 たとえば「role1」というロールについて考えると・・・ みたいな感じで言いたかったのかもしれません。 shinsuke KATOH Yasufumi wrote: > 加藤泰文です.自分でもどこ翻訳やってたの忘れかけた頃.:-p > >>>> On Mon, 23 Feb 2009 17:55:20 +0900 > in message "[Jetspeed-japan-trans] [72] Update translate" > -san wrote: > >> jetspeed-2-trans/trunk/ja/xdocs/guides/guide-subsites.xml > > "XML Seed Configuration" - "Profiling Roles" のセクションの表の 6 行目 > (role) の部分の説明がちょっと冗長な気がしますね (原文). > > > Navigate to each role directory of the given user until we find the > page. For example, for a role named "role1", navigate to the control > directory /__subsite-root/_hostname/role, and then to the subdirectory > matching each runtime _role parameters. If the runtime _role parameter > is only "role1", then the physical location is > /__subsite-root/_hostname/localhost/_role/role1. > > とありますが,For example 以下で "for a role named "role1" と書いてい > る部分.この文自体では "role1" は全く使ってなくて,その後の "If the > runtime..." の所で再度 "role1 だったら" みたいにかかれてますので.この > カンマで挟まれ他部分は不要な気が. > From svnnotify @ sourceforge.jp Tue Feb 24 14:22:44 2009 From: svnnotify @ sourceforge.jp (svnnotify @ sourceforge.jp) Date: Tue, 24 Feb 2009 14:22:44 +0900 Subject: [Jetspeed-japan-trans] [73] Update translate Message-ID: <1235452964.572115.2155.nullmailer@users.sourceforge.jp> Revision: 73 http://svn.sourceforge.jp/view?root=jetspeed-japan&view=rev&rev=73 Author: karma Date: 2009-02-24 14:22:44 +0900 (Tue, 24 Feb 2009) Log Message: ----------- Update translate 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-02-23 08:55:20 UTC (rev 72) +++ jetspeed-2-trans/trunk/ja/xdocs/guides/guide-subsites.xml 2009-02-24 05:22:44 UTC (rev 73) @@ -330,19 +330,28 @@ - + - + - +
名前タイプ説明
navigationnavigationサブサイトのルートコントロールディレクトリである /__subsite-root の物理的な場所を指し示します.
navigationnavigationsubsite-rootコントロールディレクトリである /__subsite-root の物理的な場所を指し示します.
hostnamehostname(実行時に動的に与えられる)コントロールディレクトリである /__subsite-root/_hostname の場所を指し示します.それからそのサブディレクトリを,実行時パラメータである _hostname とマッチングさせます.もし,実行時パラメータ _hostname が "localhost" である場合,物理的な場所は /__subsite-root/_hostname/_localhost となります.
useruser(実行時に動的に与えられる)コントロールディレクトリである /__subsite-root/_hostname/user の場所を指し示します.それから,そのサブディレクトリを,実行時パラメータの _user とマッチングさせます.もし実行時パラメータ _user が "dean" であれば,物理的な場所は /__subsite-root/_hostname/_user/dean となります.
navigation-2navigationサブサイトのルートページがユーザディレクトリ以下に見つからないとき,サブサイトのルートに戻ってやり直します.
navigation-2navigationsubsite-rootページがユーザディレクトリ以下に見つからないとき,サブサイトのルートに戻ってやり直します.
hostnamehostname(実行時に動的に与えられる)それから再度 _hostname ディレクトリを指し示します.
rolerole(実行時に動的に与えられる)ページが見つかるまで,与えられたユーザのロールのそれぞれのディレクトリを探索します.例えば,まず /__subsite-root/_hostname/role というディレクトリを指し示します.それからそのサブディレクトリを,実行時パラメータの _role とマッチングさせます.もし実行時パラメータ _role が "role1" だけであれば,物理的な場所は /__subsite-root/_hostname/localhost/_role/role1 となります.
pathpathhomeThis is a constant used in all calculations, the path portion of the URL, such as home.psml, or /accounting/worksheet.psml. It is always appended to the calculated path to give the complete physical address of the page. In the case where there is no page specified, the default value provided in the rule "home" is used, and that actually maps to "home.psml" as the default page extensions.
pathpathhome全ての計算で使われる定数.URL のパス部分.例えば home.psml や /accounting/worksheet.psml のような.ページの完全な物理位置を与えるパスを計算するときに常に追加されます.ページが特定されない場合,ルールで与えられるデフォルト値である "home" が使われます.そして実際にはデフォルトのページ拡張子を追加して "home.psml" へマップされます.
+

The screenshot below shows the directory tree for a localhost subsite.

+
+ +

+以下のスクリーンショットは localhost サブサイトのディレクトリツリーを表しています. +

+ + +

Notice the _user and _role directories. These are control directories based on the runtime parameters user and role. The user parameter represents the username of the currently logged on user. The role parameter can represent one or more roles of the current user. @@ -357,7 +366,19 @@ Hostnamelocalhost

+
+

+_user と _role ディレクトリに注意してください.これらは実行時パラメータ userrole に基づいたコントロールディレクトリです.この user パラメータは現在ログオンしているユーザのユーザ名を表します.サブサイトのアルゴリズムは,最初にユーザディレクトリへ降りていくのを指し示します.そして名前によって決まる現在のユーザのディレクトリの中を見ます.そして,URL で要求された現在のページの名前に対応するファイルをそこで見つけるでしょう.以下に実行時パラメータの例を示します.以下の表は,サブサイトのプロファイリングルールによって与えられるページを探す,プロファイラを使ったフォールバック検索パスアルゴリズムの実例です.一度ページが見つかると,ページがすぐに返され,アルゴリズムは終了します.以下のそれぞれ例は,以下の実行時パラメータを前提にして示しています. + + + + +
Usernamedean
Rolesrole1, role2, role3
Hostnamelocalhost
+

+ +
+

http://localhost:8080/jetspeed/portal/calendar.psml @@ -369,8 +390,23 @@
URLSite Physical Location
/__subsite-root/calendar.psml

+

+http://localhost:8080/jetspeed/portal/calendar.psml + + + + + + + + +
URLサイト内の物理的場所
http://localhost:8080/jetspeed/portal/calendar.psml/__subsite-root/_hostname/localhost/_user/dean/calendar.psml
/__subsite-root/_hostname/localhost/_role/role1/calendar.psml
/__subsite-root/_hostname/localhost/_role/role2/calendar.psml
/__subsite-root/_hostname/localhost/_role/role3/calendar.psml
/__subsite-root/_hostname/localhost/calendar.psml
/__subsite-root/calendar.psml
+

+ +
+

http://localhost:8080/jetspeed/portal/accounting/worksheet.psml @@ -382,8 +418,23 @@
URLSite Physical Location
/__subsite-root/accounting/worksheet.psml

+

+http://localhost:8080/jetspeed/portal/accounting/worksheet.psml + + + + + + + + +
URLサイト内の物理的場所
http://localhost:8080/jetspeed/portal/accounting/worksheets.psml/__subsite-root/_hostname/localhost/_user/dean/accounting/worksheet.psml
/__subsite-root/_hostname/localhost/_role/role1/accounting/worksheet.psml
/__subsite-root/_hostname/localhost/_role/role2/accounting/worksheet.psml
/__subsite-root/_hostname/localhost/_role/role3/accounting/worksheet.psml
/__subsite-root/_hostname/localhost/accounting/worksheet.psml
/__subsite-root/accounting/worksheet.psml
+

+ +
+

http://localhost:8080/jetspeed/portal/ @@ -395,6 +446,20 @@
URLSite Physical Location
/__subsite-root/home.psml

+
+ +

+http://localhost:8080/jetspeed/portal/ + + + + + + + + +
URLサイト内の物理的場所
http://localhost:8080/jetspeed/portal//__subsite-root/_hostname/localhost/_user/dean/home.psml
/__subsite-root/_hostname/localhost/_role/role1/home.psml
/__subsite-root/_hostname/localhost/_role/role2/home.psml
/__subsite-root/_hostname/localhost/_role/role3/home.psml
/__subsite-root/_hostname/localhost/home.psml
/__subsite-root/home.psml
+