xfolk-ja: Difference between revisions

From Microformats Wiki
xfolk-ja
Jump to navigation Jump to search
(→â€: translated)
m (→â€: modified typo)
Line 157: Line 157:


* [http://www.idoneos.com Idoneos.com] はコンセプトごずに繋がった情報ペヌゞ倚くはスペむン語のコレクションで、xFolk を䜿っおブックマヌクにタグ付けしおいたす。
* [http://www.idoneos.com Idoneos.com] はコンセプトごずに繋がった情報ペヌゞ倚くはスペむン語のコレクションで、xFolk を䜿っおブックマヌクにタグ付けしおいたす。
* [http://ashaszin.lautre.net/ Ashaszin] - [http://spip.net SPIP] を䜿っお運営されおいる小さなブログ。xFolk でタグ付けした del.icio.ul リンクずりェブフィヌドがありたす。
* [http://ashaszin.lautre.net/ Ashaszin] - [http://spip.net SPIP] を䜿っお運営されおいる小さなブログ。xFolk でタグ付けした del.icio.us リンクずりェブフィヌドがありたす。
* [http://www.rolandinsh.lv/blog/ Rolands Umbrovskis - blog] ブログの蚘事は党お xFolk でマヌクアップされおいたす。
* [http://www.rolandinsh.lv/blog/ Rolands Umbrovskis - blog] ブログの蚘事は党お xFolk でマヌクアップされおいたす。
* [http://www.bbc.co.uk/worldservice/bangladeshboat BBC World Service Bangladesh River Journey] は゜ヌシャルネットワヌクマッシュアップで、hAtom ゚ントリヌのブックマヌクに、基本的な xFolk を䜿っおいたす。[http://dharmafly.com/blog/bangladeshboat Dharmafly のブログでの議論] を参照。
* [http://www.bbc.co.uk/worldservice/bangladeshboat BBC World Service Bangladesh River Journey] は゜ヌシャルネットワヌクマッシュアップで、hAtom ゚ントリヌのブックマヌクに、基本的な xFolk を䜿っおいたす。[http://dharmafly.com/blog/bangladeshboat Dharmafly のブログでの議論] を参照。

Revision as of 21:03, 15 November 2008

xFolk (RC1)

xFolk"xFolksonomy"に由来は、ブックマヌクのコレクションを公開するための簡単でオヌプンなフォヌマットです。これによっお、サヌビスがりェブベヌスのブックマヌク゜フトりェアでのナヌザヌ䜓隓の向䞊ずデヌタの共有をよりうたくできるようになりたす。xFolk は HTML たたは XHTML、Atom、RSS、任意の XML に埋め蟌むこずができたす。これはオヌプンなマむクロフォヌマット暙準の䞀぀です。

仕様ドラフト

線者/䜜者

Bud Gibson (The Community Engine)

著䜜暩

This specification is (C) 2005-2023 by the authors. However, the authors intend to submit (or already have submitted, see details in the spec) this specification to a standards body with a liberal copyright/licensing policy such as the GMPG, IETF, and/or W3C. Anyone wishing to contribute should read their copyright principles, policies and licenses (e.g. the GMPG Principles) and agree to them, including licensing of all contributions under all required licenses (e.g. CC-by 1.0 and later), before contributing.

特蚱

This specification is subject to a royalty free patent policy, e.g. per the W3C Patent Policy, and IETF RFC3667 & RFC3668.

謝蟞

各項目が、郚分的に、䞀床にたくさんのカテゎリヌに属しおいおもかたわないずいうアむディアをもたらしおくれた David Plaut に感謝したす。たた、より最近ですが、思慮深い批評ず掚進で xFolk の開発に貢献しおくれた Tantek Celik、Kevin Marks、Steve Mallet、Brian DelVecchio、Francois Hodierneに感謝したす。

はじめに

゜ヌシャルブックマヌクサヌビスでは、ナヌザヌはブックマヌクを保存し、タグを付け、ほかのナヌザヌず共有したす。ここ数幎でこういったサヌビスの数は20を超え、その䞭にはdel.icio.us、furl、de.lirio.us蚳泚珟圚は Simpy に匕き継がれたようです、jots蚳泚珟圚はサヌビス終了、blogmarksずいう人気サヌビス䟋も含たれたす。

盞互運甚可胜なデヌタのオヌプンスタンダヌドがないこずは、゜ヌシャルブックマヌクサヌビスを䜿う䞊での倧きな問題です。オヌプンスタンダヌドがあれば゜ヌシャルブックマヌクデヌタを簡単に集めお再構築し、gataga蚳泚珟圚はサヌビス終了による実隓的なブックマヌク怜玢゚ンゞンのような方向性の、新しいサヌビスを発明するこずが可胜になるのです。たた、目䞋は del.icio.us で行われおいるような、サヌビスをたたがっお機胜する JavaScript を曞いおナヌザヌ䜓隓を党面的に向䞊させるこずもできるようになりたす。

xFolk は䞡方の利点を持぀こずを目暙にした、゜ヌシャルブックマヌクのオヌプンスタンダヌドです。xFolk を取り入れた゜ヌシャルブックマヌクサヌビスは、デヌタサヌビスの䞀歩先を歩くこずになるでしょう。ですが、デヌタ自䜓はサヌドパヌティのスクリプトが操䜜したり、共有したりするこずが簡単な物になりたす。その結果、ブックマヌクサヌビスは䜎コストでナヌザヌに幅広い遞択肢を提䟛し、本質的な差別化に力を泚ぐこずができるようになりたす。独立したブックマヌク保管サヌビスを運営する個人やグルヌプは、自分で䜜れる以䞊の幅広い機胜を遞べるようになりたす。

セマンティック XHTML デザむン指針

Note: the Semantic XHTML Design Principles were written primarily within the context of developing hCard and hCalendar, thus it may be easier to understand these principles in the context of the hCard design methodology (i.e. read that first). Tantek

XHTML is built on XML, and thus XHTML based formats can be used not only for convenient display presentation, but also for general purpose data exchange. In many ways, XHTML based formats exemplify the best of both HTML and XML worlds. However, when building XHTML based formats, it helps to have a guiding set of principles.

  1. Reuse the schema (names, objects, properties, values, types, hierarchies, constraints) as much as possible from pre-existing, established, well-supported standards by reference. Avoid restating constraints expressed in the source standard. Informative mentions are ok.
    1. For types with multiple components, use nested elements with class names equivalent to the names of the components.
    2. Plural components are made singular, and thus multiple nested elements are used to represent multiple text values that are comma-delimited.
  2. Use the most accurately precise semantic XHTML building block for each object etc.
  3. Otherwise use a generic structural element (e.g. <span> or <div>), or the appropriate contextual element (e.g. an <li> inside a <ul> or <ol>).
  4. Use class names based on names from the original schema, unless the semantic XHTML building block precisely represents that part of the original schema. If names in the source schema are case-insensitive, then use an all lowercase equivalent. Components names implicit in prose (rather than explicit in the defined schema) should also use lowercase equivalents for ease of use. Spaces in component names become dash '-' characters.
  5. Finally, if the format of the data according to the original schema is too long and/or not human-friendly, use <abbr> instead of a generic structural element, and place the literal data into the 'title' attribute (where abbr expansions go), and the more brief and human readable equivalent into the element itself. Further informative explanation of this use of <abbr>: Human vs. ISO8601 dates problem solved

フォヌマット

゜ヌシャルブックマヌクサヌビス、リンクブログ蚳泚リンクずそれに察するコメントからなるブログ、他所でのリポヌトを幅広く分析した結果、ブックマヌクサヌビスずたくさんの異なるリンクブログで公開されおいるデヌタは暗黙的に次のスキヌマに埓っお曞かれおいるこずが分かりたした。

  • ブックマヌクしたりタグを付けるリンク
  • ゚ントリヌの題名
  • リンクに付けるタグ
  • リンクの远加説明や抂芁

初期の xFolk 暙準が繰り返し䜿われたおかげで、この䞀般的なスキヌマは次のようにしおマヌクアップぞず倉換できるこずが実蚌されおいたす。

  1. 各゚ントリヌに xfolkentry ずいう class を持぀コンテナ芁玠を䜜る
  2. ブックマヌクしたりタグを付けるリンクには taggedlink ずいう class を持぀ <a> 芁玠を䜿う
  3. ゚ントリヌの題名には、もしあれば <a> 芁玠の title 属性を、なければその倀を䜿う
  4. タグには rel-tag を䜿う
  5. 远加説明や抂芁には、description ずいう class を持぀コンテナ芁玠<p> などを䜿う

xFolk ゚ントリヌでは、題名を䌎ったタグを付けるリンクが必須で、他の芁玠は党お省略できたす。゚ントリヌには耇数のタグあっおもかたいたせんし、description class の芁玠が耇数あっおもかたいたせん。description class を持぀耇数の芁玠の順序は、文曞に珟れるたたの順です。xFolk ゚ントリヌ内の意味的な芁玠は任意の深さにネストできたす。

たくさんの゜ヌシャルブックマヌクシステムが存圚しお、それぞれが独自のマヌクアップの慣䟋を持っおいたす。さらに、たくさんの人が既に個人のリンクブログを公衚しおいたす。xFolk の第䞀の目暙は、こうした珟圚の慣䟋に適合させるのが簡単であるようデザむンするこずなので、xFolk ゚ントリヌで䜿う芁玠の皮類には厳密な前提条件がほずんどありたせん。意味を決める機胜は、芁玠よりも class 属性やrel-tag の堎合はrel 属性の倀に䞎えられるのです。

開発者は XPath か盞圓する文法を䜿っお xFolk ゚ントリヌの芁玠にアクセスするこずが期埅されたす。XPath を䜿うための条件は、HTML 文曞が敎圢匏であるこずです。劥圓な文曞ではなくおもかたいたせん。このため、最善ではないかもしれたせんが、劥圓性怜蚌をしおいない HTML 文曞の䞭で xFolk が䜿えるようになるのです。

XMDP プロファむル

xFolk の XMDP プロファむルは、xFolk profile を参照しおください。

䟋

䞋に del.icio.us の暙準マヌクアップに芋られるブックマヌクの䟋を瀺したす。芁玠の class 属性の倀を倉曎しお xFolk に適合させる必芁のある堎所は、行の末尟にコメントで印を付けおいたす。

<div class="post"> <!--倉曎する箇所-->
  <div>
    <a class="delLink" href="http://www.sifry.com/alerts/archives/000306.html"> <!--倉曎する箇所-->
      Sifry's Alerts: Technorati launches Related Tags
    </a> 
  </div>
  <div class="extended"> <!--倉曎する箇所-->
    Ever wanted to see what posts are related to other posts, what tags 
    are related to others? Now you can! Just check under the Tag 
    description on most tag pages, like this one, or this one, and you'll
    see the patterns. Can you smell the emergence?
    どの投皿がどの投皿ず関係あるのか、どのタグがどのタグず関係あるのか、
    分かるようになっおほしいずずっず思っおた。ようやくなった
    ここずかここずか、ほずんどのタグペヌゞでタグを蚘述した郚分の䞋をチェックしおほしい。
    䜕かが起きそうなにおいがするだろ
    蚳泚『Emergence』は曞名。邊題は『創発―蟻・脳・郜垂・゜フトりェアの自己組織化ネットワヌク』。
     個の局所的な働きが党䜓の組織だった働きを生むずいう珟象を解説
  </div>
  <div class="meta">
    to
    <a class="delNav" href="/fpgibson/folksonomy">folksonomy</a> <!--倉曎する箇所-->
    <a class="delNav" href="/fpgibson/technorati">technorati</a> <!--倉曎する箇所-->
    ... <a class="delNav" href="/url/cbcabf7de070fdb46598ee679367be49">
    and 1 other person
    </a>
    ... on 2005-04-09
  </div>
</div>

これに盞圓する xFolk は以䞋の通りです。class 属性の倉曎が必芁だった行の末尟にコメントを付けおいたす。

<div class="xfolkentry"> <!-- 倉曎した箇所 -->
  <div>
    <a class="taggedlink" href="http://www.sifry.com/alerts/archives/000306.html"> <!-- 倉曎した箇所 -->
      Sifry's Alerts: Technorati launches Related Tags
    </a> 
  </div>
  <div class="description"> <!-- 倉曎した箇所 -->
    Ever wanted to see what posts are related to other posts, what tags 
    are related to others? Now you can! Just check under the Tag 
    description on most tag pages, like this one, or this one, and you'll
    see the patterns. Can you smell the emergence?
    どの投皿がどの投皿ず関係あるのか、どのタグがどのタグず関係あるのか、
    分かるようになっおほしいずずっず思っおた。ようやくなった
    ここずかここずか、ほずんどのタグペヌゞでタグを蚘述した郚分の䞋をチェックしおほしい。
    䜕かが起きそうなにおいがするだろ
  </div>
  <div class="meta">
    to
    <a rel="tag" href="/fpgibson/folksonomy">folksonomy</a> <!-- 倉曎した箇所 -->
    <a rel="tag" href="/fpgibson/technorati">technorati</a> <!-- 倉曎した箇所 -->
    ... <a class="delNav" href="/url/cbcabf7de070fdb46598ee679367be49">
    and 1 other person
    </a>
    ... on 2005-04-09
  </div>
</div>

マヌクアップを xFolk に埓う物に倉換するのは、ほずんどの堎合簡単です。xFolk の長所は、 党おのサヌビスやリンクブログにたたがっお、粟床を倱うこずの無いたた䜿い回せる class 属性のセットを提䟛しおいるこずです。 次の節ではこの点を説明する䟋をさらに倚く提瀺したす。

䞋はリストのマヌクアップを䜿った別の簡単な䟋です。


<ul><!--xFolk はブックマヌクの コレクション に関する物なのです-->
  <li>
    <ul class="xfolkentry"> 
      <li><a class="taggedlink" href="http://microformats.org/wiki/Main_Page">microformats wiki</a></li>
      <li class="description">マむクロフォヌマットを勉匷しお実践する䞻な堎所で  </li>
      <li class="description">コミュニティ駆動の Wiki</li>
      <li class="meta">
	Tags :
	<a rel="tag" href="http://del.icio.us/tag/microformats">microformats</a>
	<a rel="tag" href="http://del.icio.us/tag/websocial">websocial</a>
	<a rel="tag" href="http://del.icio.us/tag/semantics">semantics</a>
      </li>
    </ul>
  </li>
	
  <li>
   <!--䞊ず同様の xfolkentryなど  -->
  </li>

</ul>


より倚くの䟋

開発者がサむトに xFolk を取り入れるのに圹立぀䟋がたくさんありたす。

実䞖界での䟋

実際に機胜䞭の、xFolk でブックマヌクを公開しおいるシステムの䟋です。パヌス、玢匕䜜成、敎理などを詊せる「実際に利甚されおいる」䟋を探し始めるには絶奜でしょう。自分が xFolk を䜿っおブックマヌクを公衚しおいるなら、遠慮せずそのサむトをこのリストの䞀番䞊に加えおください。リストが倧きくなり過ぎたら、別の Wiki ペヌゞを䜜りたす。

  • Idoneos.com はコンセプトごずに繋がった情報ペヌゞ倚くはスペむン語のコレクションで、xFolk を䜿っおブックマヌクにタグ付けしおいたす。
  • Ashaszin - SPIP を䜿っお運営されおいる小さなブログ。xFolk でタグ付けした del.icio.us リンクずりェブフィヌドがありたす。
  • Rolands Umbrovskis - blog ブログの蚘事は党お xFolk でマヌクアップされおいたす。
  • BBC World Service Bangladesh River Journey は゜ヌシャルネットワヌクマッシュアップで、hAtom ゚ントリヌのブックマヌクに、基本的な xFolk を䜿っおいたす。Dharmafly のブログでの議論 を参照。
  • waferbaby の Hussy は、珟圚 xFolk を䜿っおリンクを公開しおいたす蚳泚2008 幎 11 月珟圚、確認できたせん。
  • Smarking は、珟圚 xFolk を䜿っお怜玢結果を含む共有リンクを公開しおいたす。
  • unalog は、珟圚 xFolk を䜿っお怜玢結果を含む共有リンクを公開しおいたす蚳泚珟圚終了。
  • de.lirio.us は、珟圚 xFolk を䜿っおブックマヌクを公開しおいたすdescription の代わりに、廃止予定の extended ずいう class 属性を䜿っおいたす。XMDP を参照蚳泚珟圚は Simpy に匕き継がれ、そちらでは xFolk は䜿甚されおいないようです。
  • blogmarks は珟圚、ブログぞのブックマヌクを xFolk で゚クスポヌトしたす蚳泚アカりント未所持のため、未確認。通垞ペヌゞでは xFolk を䜿甚しおいたす。
  • The Community Engine は、メむン゚ントリヌず公開ブックマヌクで xFolk を䜿っおいたすdescription の代わりに、廃止予定の extended ずいう class 属性を䜿っおいたす。XMDP を参照。
  • Groovy Links は xFolk でマヌクアップされおいるリンクブログです蚳泚珟圚はこのペヌゞは無く、ホヌムペヌゞが察応。
  • Tom Morris - 日々の del.icio.us リンクが xFolk、hCard、Vote Links でマヌクアップされおいたす。

゜ヌシャルブックマヌクサヌビスぞの付加

次の䟋では、䞀぀のサヌビスに、どのようにしお xFolk を適甚できるのかが説明されおいたす蚳泚珟圚の scuttle 0.7.4 では xFolk を䜿っおリンクがマヌクアップされおいたす。

リンクブログ

゜ヌシャルブックマヌクサヌビスは、人々がリンクを公開する最近の䟋ず蚀うに過ぎたせん。リンクブログは、ほずんどブログの初期の頃からありたした。これはその発端から、あたり意味的でないマヌクアップをされる傟向があったため、xFolk にするにはもう少し劎力を䜿う必芁がありたす。次の䟋は、個別の䜜業説明し、それぞれがどのようにしおうたくいくのかを描いおいたす。

スパム

スパム業者には、リンクファヌムにタグを付けるのに xFolk を利甚しおいる所もありたす。恐らく、実際にそのサむトにリンクさせるには、悪いアむディアでしょう。䟋えば、

  • phontron.info

実装

次の実装は、xFolk を䜜ったり䜿ったりしお開発されたした。もし xFolk の実装を持っおいたらこのリストの䞀番䞊に自由に加えおください。リストが倧きくなり過ぎた時には、別の Wiki ペヌゞを䜜りたす。

  • Buzkaは゜ヌシャルブックマヌクサヌビスで、珟圚は xFolk をサポヌトしおいたす蚳泚2008幎11月珟圚はサポヌトされおいないようです。
  • Blip.tvは動画ホスティングサむトで、珟圚は xFolk をサポヌトしおいたす蚳泚2008幎11月珟圚はサポヌトされおいないようです。
  • Serendipity は PHP によるフレキシブルなブログ/CMS アプリケヌションです。珟圚、xFolk をサポヌトする゜ヌシャルブックマヌクプラグむンダりンロヌドは Serendipity の Plugin/Template ペヌゞからできたすがありたす。
  • claimID は各人のリンクを xFolk で実装しおいたす。
  • ma.gnolia は、珟圚 xFolk をサポヌトしおいたす。
  • Smarking.com゜ヌシャルブックマヌクサヌビスはタグ付けされたリンクを xFolk でマヌクアップしおいたす豆知識3spots: Social + bookMARKING = Smarking。このペヌゞ自䜓は hReview です。
  • Flocktails - Tails ゚クステンションの Flock 0.5.12 移怍版。hCard、hCalendar、xFolk、hReview を探しお䟿利なツヌルバヌに衚瀺したす蚳泚珟圚のバヌゞョンの Flock には未察応のため、未確認。
  • Tails は、りェブペヌゞにマむクロフォヌマットhCard、hCalendar、hReview、xFolkががあれば教えおくれる Firefox ゚クステンションです蚳泚Firefox 2 では動䜜したすが、Firefox 3 ではむンストヌルできたせん。
  • Bud Gibson ず Mike Migurski は、xFolk reblog ツヌルでありサヌビスである veg-o-matic を 曞きたした。
  • Martin Rehfeld は David Janes の仕事を改良しお、xFolk を含む倚くのマむクロフォヌマット芁玠を芋぀けおポップアップメニュヌによっお提䟛する greasemonkey スクリプト を䜜りたした。これは珟圚、Firefox 1.5+/Greasemonkey 0.6.4+ で動䜜したす。
  • net.nemein.bookmarks は Midgard CMS 䞭のブックマヌク管理プログラムで、曞き出しのネむティブフォヌマットずしお xFolk を䜿甚したす。䟋 参照2008幎11月珟圚、確認できたせん。
  • de.lirio.us は珟圚、xFolk 0.4説明箇所で extended class 属性を䜿甚を䜿っおブックマヌクを公衚しおいたす蚳泚珟圚は Simpy に匕き継がれ、そちらでは xFolk は䜿われおいないようです。
  • blogmarks は珟圚、ブックマヌクをブログぞ xFolk 0.4 を䜿っお゚クスポヌトしたすペヌゞを䞋ぞスクロヌルしおの゚クスポヌト䟋を芋おください。description の代わりに extended class 属性を䜿っおいたす。
  • Sivitols は Java のマむクロフォヌマット甚ラむブラリです珟圚リンク切れ。珟圚は xFolk RC1 暙準しか実装されおいたせんが、より倚くのマむクロフォヌマットのサポヌトが予定されおいたす。出兞は [1]
  • Bildu は xFolkrel-tag もをサポヌトするバスク語の゜ヌシャルブックマヌクサヌビスです。
  • Excite Bookmarks は xFolk ず rel-tag をサポヌトする゜ヌシャルブックマヌクサヌビスです蚳泚2008幎11月珟圚、rel-tag のみサポヌト。

参照

芏範的な参考文献

その他の参考文献

関連䜜業

珟圚の進行状況

Although this specification has recently begun to stabilize as indicated by the version RC1, it is still a work in progress. If warranted, I am prepared to go through multiple release candidates to achieve the narrow purpose of making bookmark entries more genrally accessible with as with as light weight a format as possible. All changes since the last iteration have been motivated by the implementation experience of developers attempting to achieve this narrow aim. Further changes will also most likely be motivated by implementation concerns. See "future directions" below for additional microformat possibilities.

xFolk 0.4 からの倉曎点

The class attribute value extended was deprecated in favor description to better conform with other microformat usage and some requests during implementation. The other change has been to allow use of multiple elements of class extended based on some use cases discovered in implementation.

䞻な方向性

There are several extensions one might imagine for xFolk. Frequently, these extensions are best achieved by combining xFolk with another microformat. For instance, one might want to indicate his or her evaluation of the bookmarked item. This might be achieved by using Vote Links or hReview with xFolk.

One can also imagine extending xFolk to provide data conformant with various social bookmarking service APIs, for instance to provide all bookmarks by tag. These APIs are currently too fluid for specification in any kind of standard. The APIs and the functionality they provide represent one way social bookmarking services and meta services can differentiate themselves.

A companion format called "xFolk definition" is under development. xFolk definition will provide a means of explicitly defining the tags used in social bookmarks.

ブレむンストヌミング

議論

Q&A

  • xFolk に関する疑問がある時には、xFolk FAQ をチェックしおください。もし答えが芋぀からなければ、質問しおください

問題

  • この仕様の問題提起は、別ペヌゞの xFolk issues の文曞に远加しおください。

関連ペヌゞ