Parent Directory
|
Revision Log
updated by (anon)
1 | [2] [[アウトライン・プロセッサ]]の [[outline]] 文書の形式。 |
2 | |
3 | [3] |
4 | [CITE[Outline Processor Markup Language]] <http://www.opml.org/> |
5 | |
6 | [27] [CITE@ja[OPMLのPはProcessior? ――誤記がコピペで大量伝播か - @IT]] ([TIME[2008-12-02 19:37:57 +09:00]] 版) <http://www.atmarkit.co.jp/news/200707/09/weekly.html> |
7 | |
8 | * 仕様書 |
9 | |
10 | |
11 | [6] |
12 | [CITE[OPML 1.0 Specification]] <http://www.opml.org/spec> |
13 | |
14 | [10] ([TIME[2004-03-09 14:51:05 +09:00]] 版) <http://static.userland.com/gems/radiodiscuss/opmlDtd.txt> |
15 | |
16 | [[OPML 1.0]] の [[DTD]]。 |
17 | |
18 | [7] [CITE[OPML 2.0]] ([TIME[2008-12-02 16:46:14 +09:00]] 版) <http://www.opml.org/spec2> |
19 | |
20 | [9] [CITE[OPML Version 2.0 - (DLESE) Digital Library for Earth System Education]] ([TIME[2008-12-02 17:27:37 +09:00]] 版) <http://www.dlese.org/Metadata/opml/2.0/> |
21 | |
22 | [[OPML 2.0]] の [[XML Schema]]。 |
23 | |
24 | |
25 | [12] [CITE@ja-JP[Don'tStopMusic - OPML]] ([[DATE Ken]] 著, [TIME[2008-04-23 02:25:41 +09:00]] 版) <http://dontstopmusic.no-ip.org/diary/20041011.html> |
26 | |
27 | [11] [CITE@ja[OPML の仕様に関するまとめ | WWW WATCH]] ([TIME[2008-12-02 17:28:30 +09:00]] 版) <http://hyper-text.org/archives/2008/03/opml.shtml> |
28 | |
29 | ** OPML 1.1 |
30 | |
31 | [15] [CITE[Heads-up: OPML 1.1 coming shortly]] ([TIME[2008-12-02 17:41:41 +09:00]] 版) <http://www.opml.org/stories/storyReader$11> |
32 | |
33 | [[RSS 0.92]] と同じで結局完全な仕様書は出ていないのか? |
34 | |
35 | [18] [CITE[OPML - naoyaの日記 - naoyaグループ]] ([TIME[2008-12-02 17:58:49 +09:00]] 版) <http://naoya.g.hatena.ne.jp/naoya/20061030/1162194825> |
36 | |
37 | > |
38 | 1.1 の公式な spec がどうもネット上でないみたいなんですが、http://dontstopmusic.no-ip.org/diary/20041011.html をみるに 1.1 と 1.0 は仕様上大差がないようです。 |
39 | > |
40 | が、XML::OPML が解説してる仕様の記述 (head 要素の各要素の意味合いとか) は 2.0 spec に載ってるものにかなり近い(ところどころ違う) という感じになってます。 |
41 | > |
42 | 1.1 が野良で適当に拡張されてったのを 2.0 で集約してっていう感じなんすかねえ。 |
43 | |
44 | * フィード以外の用例 |
45 | |
46 | [1] ''スカンクワークス・2003年8月 アウトラインプロセッサーとXML'' <http://anoh.s10.xrea.com/works/03-08.php#d2003-08-16c1> |
47 | |
48 | [26] |
49 | >>1 によると[[オムニアウトライナー]]はこんな [[OPML]] を吐くらしい: |
50 | [PRE(XML example code)[ |
51 | <?xml version="1.0" encoding="UTF-8"?> |
52 | <opml version="1.0"> |
53 | <head> |
54 | <title>アウトライナー</title> |
55 | <expansionState>0</expansionState> |
56 | </head> |
57 | <body> |
58 | <outline text="アウトラインプロセッサを使ったXML生成" _note="アウトライナーのデータ形式を検証"> |
59 | <outline text="2003-08-20"/> |
60 | |
61 | <outline text="アウトラインプロセッサ" 本文="アウトラインプロセッサの中には、XML形式での書き出しをサポートしているものがある。階層構造を保ったまま、XML形式に変換することができれば、XMLドキュメントプロセッサーとして重宝できそうだ。"/> |
62 | <outline text="Mac用のアウトラインプロセッサ" 本文="まず最初に目をつけたのはMac用のオムニアウトライナーだ。"/> |
63 | </outline> |
64 | </body> |
65 | </opml> |
66 | ]PRE] |
67 | |
68 | ;; <http://anoh.s10.xrea.com/works-image/03img/08-16c1-opml.opml> |
69 | |
70 | * 互換性 |
71 | |
72 | [4] |
73 | [CITE[Sam Ruby: OPML compatibility]] <http://intertwingly.net/blog/2005/11/28/OPML-compatibility> |
74 | |
75 | [13] [CITE@ja[Bloglines仕様のOPMLをBlogPeople, MyblogList仕様に « YAGITCHE]] ([TIME[2008-12-02 17:32:27 +09:00]] 版) <http://yagi.tc/archives/2005/04/23/199/> |
76 | |
77 | >Bloglines仕様のOPMLは他でそのままインポートできないことが多い。 |
78 | |
79 | > |
80 | :<Bloglines>: |
81 | <outline title="カテゴリ名"> |
82 | <outline title="サイト名" type="rss" htmlUrl="サイトURL" xmlUrl="フィードURL" /> |
83 | </outline> |
84 | :<BlogPeople>: |
85 | <outline text="サイト名" type="link" url="サイトURL" title="" /> |
86 | :<MyblogList>: |
87 | <outline text="サイト名" type="link" url="サイトURL" description="" /> |
88 | |
89 | [21] [CITE[2004-06-08 - Moleskin Diary 2.0]] ([TIME[2008-12-02 19:02:15 +09:00]] 版) <http://d.hatena.ne.jp/moleskin/20040608#p2> |
90 | |
91 | > |
92 | OPMLを読むソフトウェアを作る場合は |
93 | - まずtext属性の存在をチェック.存在するならばtext属性の値をfeedの名前として採用する. |
94 | - text属性が存在しないならば,title属性の値を読む |
95 | |
96 | > |
97 | という動作にしなければならない. |
98 | > |
99 | 一方OPMLを書き出すソフトウェアを作る場合は |
100 | - text属性とtitle属性の双方にfeedの名前を設定すること. |
101 | - ダミーでいいからdescription属性を記述すること. |
102 | - それでも他人様のアプリケーションがあなたの作ったOPMLファイルを正しく解釈してくれるとは期待しないこと |
103 | |
104 | >ということになる. |
105 | |
106 | [22] [CITE[つちのこ、のこのこ。: RSSリーダーで取り込める OPML の形式]] ([TIME[2008-12-02 19:06:04 +09:00]] 版) <http://tuchinoko.moe-nifty.com/oboegaki/2005/04/rss_opml__d324.html> |
107 | |
108 | [23] [CITE[フレッシュリーダーからのOPMLインポートでこける - fastladder-discuss-ja | Google グループ]] ([TIME[2008-12-02 19:10:53 +09:00]] 版) <http://groups.google.com/group/fastladder-discuss-ja/msg/02a19a7a455f14a1> |
109 | (2008年2月9日) |
110 | |
111 | >フレッシュリーダーのOPMLにはhtml_url属性がありません。しかし、views/import/confirm.rhtmlで |
112 | はxml_url, html_urlが両方(&&)存在するものだけフィードとして認めています。これをxml_urlだけにしたらひとまずインポー |
113 | トできました。 |
114 | |
115 | [24] [CITE[memo.xight.org - OPML]] ([[Yoshiki Sato]] 著, 2004-09-04 Sat 版) <http://memo.xight.org/2004-09-04-22> |
116 | |
117 | > |
118 | -SharpReader[2003-11-01-2] では title属性 の値をfeedの名前として使用している. |
119 | -RSSバー for Sleipnir[2004-09-04-20] では text属性 の値をfeedの名前として使用している. |
120 | -RSSバー for Sleipnir[2004-09-04-20] では expand属性があり,フォルダの開閉のフラグとして使用しているが, |
121 | expand属性が無いと正しくインポートできない. |
122 | |
123 | [28] [CITE[OPMLのImport/Export - blog:N@TURE BRAIN]] (July 16, 2004 版) <http://laugh.sub.jp/archives/200407/16-1617.php> |
124 | |
125 | >「Rabbit Ticker」が軽くてなかなかいいなぁと思ったので、取りあえずOPMLをSharpからエクスポートして、Rabbitに読み込ませるとエラー落ちました。 |
126 | |
127 | >Sharpの吐き出すOPMLにはtext属性が無く、title属性しかついていないのでエラーになるんですね。 |
128 | > |
129 | でも、強制終了してしまうのはどうかと思います。(;’Д`) |
130 | |
131 | [29] [CITE['''[''' b l o g ''']''' psychedesire: はてなアンテナOPML->フレッシュリーダー]] ([TIME[2006-12-06 04:31:42 +09:00]] 版) <http://www.psychedesire.org/private/blog/2006/09/opml.html> |
132 | |
133 | >はてなアンテナのopmlファイルを開いてみると、 |
134 | type="rss"になってるやつはちゃんと登録されるんだけど、 |
135 | type="link"になってるやつはフォルダ扱いになってしまったり、 |
136 | ちゃんと登録されないでスルーされてしまう。 |
137 | > |
138 | 今からはてなアンテナのopmlを直す。 |
139 | 今、ザザザザっとフレッシュリーダーが吐くopmlの中を見た。 |
140 | RSS吐いていないサイトの場合、フレッシュリーダーではtype="html"になっているので、 |
141 | type="link"をtype="html"に置き換えてやればいいんじゃないかと思う。 |
142 | ちょっとやってみよう。 |
143 | |
144 | [30] htmlUrl とかって case-insensitive、ってことないよね、たぶん、きっと。 |
145 | でも htmlurl みたいなのみたよ、さっき、たしか。 |
146 | |
147 | [31] [CITE@ja-jp[OPML 生成 XSLT]] ([[中博俊]] 著, [TIME[2008-12-02 19:43:11 +09:00]] 版) <http://blogs.wankuma.com/shannon/archive/2008/06/25/145472.aspx> |
148 | |
149 | 生成された [[OPML]] [[文書]]は [CODE(URI)@en[[[http://opml.org/spec2]]]] [[名前空間]]に[[要素]]が属しているけど、 |
150 | これは互換性に問題ないのだろうか? 世間一般の [[OPML]] [[構文解析器]]は [[XML名前空間]]対応していなくて単なる未知の[[属性]]として無視するのかな? |
151 | |
152 | [32] [CITE@ja[OPML を Validator で確認]] ([TIME[2008-12-02 20:23:45 +09:00]] 版) <http://blog.4uing.com/web/opml-validator> |
153 | |
154 | > |
155 | - outline 要素が text 属性以外の属性を持つ場合には type 属性が必要である。xml:id 属性が存在している outline 要素に type 属性の無いものがあった。 |
156 | - language 属性はフィードの言語を記述するための属性であるが、type="link" の場合にも指定をしていた。 |
157 | |
158 | [33] [CITE[Darksky::Weblog » Blog Archive » OPMLのインポート]] ([TIME[2008-12-02 20:40:27 +09:00]] 版) <http://darksky.biz/blog/archives/331> |
159 | |
160 | >インポート時にフォルダやRSSフィードのタイトルとして、outlineのtitleとtextどちらを優先するかは悩みの種です。 |
161 | > |
162 | 現在の最新バージョンで調べたわけではありませんが、text属性を利用するケースが多くありましたが、Bloglinesはtext属性は出力せず、titleのみ出力します。 |
163 | |
164 | * 例 |
165 | |
166 | [8] [[OPML 1.0]] 仕様書から、次の3つの例が[[リンク]]されています。 |
167 | |
168 | - [[プレイ・リスト]] <http://static.userland.com/gems/radiodiscuss/playlist.opml> |
169 | - [[仕様書]] <http://static.userland.com/gems/radiodiscuss/specification.opml> |
170 | - [[プレゼンテーション]] <http://static.userland.com/gems/radiodiscuss/presentation.opml> |
171 | |
172 | [16] [[OPML 2.0]] 仕様書から、次の例が[[リンク]]されています。 |
173 | -<http://hosting.opml.org/dave/spec/subscriptionList.opml> |
174 | -<http://hosting.opml.org/dave/spec/states.opml> |
175 | -<http://hosting.opml.org/dave/spec/simpleScript.opml> |
176 | -<http://hosting.opml.org/dave/spec/placesLived.opml> |
177 | -<http://hosting.opml.org/dave/spec/directory.opml> |
178 | -<http://hosting.opml.org/dave/spec/category.opml> |
179 | |
180 | |
181 | [14] [CITE[livedoor Reader - RSSリーダー : おすすめフィード]] ([TIME[2008-12-02 17:34:58 +09:00]] 版) <http://reader.livedoor.com/recommend/> |
182 | |
183 | [[OPML]] が沢山提供されています。 |
184 | |
185 | [17] <http://bbb-mesi.hp.infoseek.co.jp/o/2006.04.08.opml> ([CODE(MIME)@en[[[text/plain]]]]) |
186 | |
187 | ><opml version="1.1"><head/><body> |
188 | |
189 | [19] [CITE[URI メモ]] ([TIME[2008-12-02 18:05:11 +09:00]] 版) <http://diary.noasobi.net/memo/memo2opml.php> |
190 | |
191 | ;; [CITE@ja[URI メモ]] ([TIME[2008-12-02 18:05:53 +09:00]] 版) <http://diary.noasobi.net/memo/memo.php> |
192 | の [[OPML]] 版。もしや [CODE(HTML)@en[[[rel]]=[[outline]]]] が? と思ったけど流石になかった。 |
193 | |
194 | [20] [CITE[feed meter の OPML : a++ My RSS 管理人ブログ]] ([TIME[2008-11-29 07:26:41 +09:00]] 版) <http://blog.myrss.jp/archives/2005/07/feed_meter_opml.html> |
195 | |
196 | [25] [CITE[Japan Blog Award 2008のOPMLを作ってみた。 - くまめがね]] ([TIME[2008-12-02 19:25:56 +09:00]] 版) <http://kuma-kigurumi.breakarea.com/2008/03/01/japan-blog-award-2008-opml/> |
admin@suikawiki.org | ViewVC Help |
Powered by ViewVC 1.1.24 |