Zend_Service_Yahoo.xml 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <!-- EN-Revision: 24249 -->
  4. <sect1 id="zend.service.yahoo">
  5. <title>Zend_Service_Yahoo(日本語)</title>
  6. <sect2 id="zend.service.yahoo.introduction">
  7. <title>導入</title>
  8. <para>
  9. <classname>Zend_Service_Yahoo</classname> は、さまざまな Yahoo! REST <acronym>API</acronym>
  10. 群を使用するための単純な <acronym>API</acronym> です。
  11. <classname>Zend_Service_Yahoo</classname> を使用すると、
  12. Yahoo! Web search、Yahoo! News、Yahoo! Local、Yahoo! Images
  13. を検索できるようになります。 Yahoo! REST <acronym>API</acronym> を使用するには、
  14. Yahoo! Application ID が必要です。Application ID を取得するには、
  15. <ulink url="http://developer.yahoo.com/wsregapp/">Application ID リクエストフォーム</ulink>
  16. を使用してください。
  17. </para>
  18. </sect2>
  19. <sect2 id="zend.service.yahoo.websearch">
  20. <title>Yahoo! を使用したウェブの検索</title>
  21. <para>
  22. <classname>Zend_Service_Yahoo</classname> の <methodname>webSearch()</methodname>
  23. メソッドを使用すると、Yahoo! でウェブを検索できます。
  24. 最初の引数に検索パラメータ、
  25. オプションで二番目の引数に検索オプションの配列を指定します。
  26. 指定できるオプションの詳細については
  27. <ulink url="http://developer.yahoo.com/search/web/V1/webSearch.html">Yahoo! Web Search
  28. ドキュメント</ulink> を参照ください。<methodname>webSearch()</methodname> メソッドは
  29. <classname>Zend_Service_Yahoo_WebResultSet</classname> オブジェクトを返します。
  30. </para>
  31. <example id="zend.service.yahoo.websearch.example-1">
  32. <title>Yahoo! を使用したウェブの検索</title>
  33. <programlisting language="php"><![CDATA[
  34. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  35. $results = $yahoo->webSearch('PHP');
  36. foreach ($results as $result) {
  37. echo $result->Title .'<br />';
  38. }
  39. ]]></programlisting>
  40. </example>
  41. </sect2>
  42. <sect2 id="zend.service.yahoo.imagesearch">
  43. <title>Yahoo! を使用した画像の検索</title>
  44. <para>
  45. <classname>Zend_Service_Yahoo</classname> の <methodname>imageSearch()</methodname>
  46. メソッドを使用すると、画像の検索ができます。
  47. <link linkend="zend.service.yahoo.websearch"><methodname>webSearch()</methodname> メソッド</link>
  48. と同様、最初の引数に検索パラメータ、
  49. オプションで二番目の引数に検索オプションの配列を指定します。
  50. 指定できるオプションの詳細については
  51. <ulink url="http://developer.yahoo.com/search/image/V1/imageSearch.html">Yahoo! Image Search
  52. ドキュメント</ulink> を参照ください。
  53. </para>
  54. <example id="zend.service.yahoo.imagesearch.example-1">
  55. <title>Yahoo! を使用した画像の検索</title>
  56. <programlisting language="php"><![CDATA[
  57. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  58. $results = $yahoo->imageSearch('PHP');
  59. foreach ($results as $result) {
  60. echo $result->Title .'<br />';
  61. }
  62. ]]></programlisting>
  63. </example>
  64. </sect2>
  65. <sect2 id="zend.service.yahoo.videosearch">
  66. <title>Yahoo! を使用した動画の検索</title>
  67. <para>
  68. <classname>Zend_Service_Yahoo</classname> の <methodname>videoSearch()</methodname>
  69. メソッドを使用すると、Yahoo で動画を検索できます。
  70. 詳細は
  71. <ulink url="http://developer.yahoo.com/search/video/V1/videoSearch.html">Yahoo! Video Search
  72. ドキュメント</ulink> を参照ください。
  73. </para>
  74. <example id="zend.service.yahoo.videosearch.example-1">
  75. <title>Yahoo! を使用した動画の検索</title>
  76. <programlisting language="php"><![CDATA[
  77. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  78. $results = $yahoo->videoSearch('PHP');
  79. foreach ($results as $result) {
  80. echo $result->Title .'<br />';
  81. }
  82. ]]></programlisting>
  83. </example>
  84. </sect2>
  85. <sect2 id="zend.service.yahoo.localsearch">
  86. <title>Yahoo! を使用した Local Businesses and Services の検索</title>
  87. <para>
  88. <methodname>localSearch()</methodname> メソッドを使用すると、
  89. Yahoo! で local businesses and services を検索できます。
  90. 詳細は
  91. <ulink url="http://developer.yahoo.com/search/local/V1/localSearch.html">Yahoo! Local Search
  92. ドキュメント</ulink> を参照ください。
  93. </para>
  94. <example id="zend.service.yahoo.localsearch.example-1">
  95. <title>Yahoo! を使用した Local Businesses and Services の検索</title>
  96. <programlisting language="php"><![CDATA[
  97. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  98. $results = $yahoo->localSearch('Apple Computers', array('zip' => '95014'));
  99. foreach ($results as $result) {
  100. echo $result->Title .'<br />';
  101. }
  102. ]]></programlisting>
  103. </example>
  104. </sect2>
  105. <sect2 id="zend.service.yahoo.newssearch">
  106. <title>Yahoo! News の検索</title>
  107. <para>
  108. Yahoo! News を検索するのは簡単です。単に <methodname>newsSearch()</methodname>
  109. メソッドを下の例のように使用すればよいのです。詳細は
  110. <ulink url="http://developer.yahoo.com/search/news/V1/newsSearch.html">Yahoo! News Search
  111. ドキュメント</ulink> を参照ください。
  112. </para>
  113. <example id="zend.service.yahoo.newssearch.example-1">
  114. <title>Yahoo! News の検索</title>
  115. <programlisting language="php"><![CDATA[
  116. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  117. $results = $yahoo->newsSearch('PHP');
  118. foreach ($results as $result) {
  119. echo $result->Title .'<br />';
  120. }
  121. ]]></programlisting>
  122. </example>
  123. </sect2>
  124. <sect2 id="zend.service.yahoo.inlinkdatasearch">
  125. <title>Yahoo! Site Explorer Inbound Links の検索</title>
  126. <para>
  127. Yahoo! Site Explorer Inbound Links を検索するのは簡単です。
  128. 単に <methodname>inlinkDataSearch()</methodname>
  129. メソッドを下の例のように使用すればいいのです。詳細は
  130. <ulink url="http://developer.yahoo.com/search/siteexplorer/V1/inlinkData.html">Yahoo!
  131. Site Explorer Inbound Links ドキュメント</ulink> を参照ください。
  132. </para>
  133. <example id="zend.service.yahoo.inlinkdatasearch.example-1">
  134. <title>Yahoo! Site Explorer Inbound Links の検索</title>
  135. <programlisting language="php"><![CDATA[
  136. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  137. $results = $yahoo->inlinkDataSearch('http://framework.zend.com/');
  138. foreach ($results as $result) {
  139. echo $result->Title .'<br />';
  140. }
  141. ]]></programlisting>
  142. </example>
  143. </sect2>
  144. <sect2 id="zend.service.yahoo.pagedatasearch">
  145. <title>Yahoo! Site Explorer の PageData の検索</title>
  146. <para>
  147. Yahoo! Site Explorer Inbound の PageDate を検索するのは簡単です。
  148. 単に <methodname>pageDataSearch()</methodname>
  149. メソッドを下の例のように使用すればいいのです。詳細は
  150. <ulink url="http://developer.yahoo.com/search/siteexplorer/V1/pageData.html">Yahoo!
  151. Site Explorer PageData ドキュメント</ulink> を参照ください。
  152. </para>
  153. <example id="zend.service.yahoo.pagedatasearch.example-1">
  154. <title>Yahoo! Site Explorer の PageData の検索</title>
  155. <programlisting language="php"><![CDATA[
  156. $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
  157. $results = $yahoo->pageDataSearch('http://framework.zend.com/');
  158. foreach ($results as $result) {
  159. echo $result->Title .'<br />';
  160. }
  161. ]]></programlisting>
  162. </example>
  163. </sect2>
  164. <sect2 id="zend.service.yahoo.classes">
  165. <title>Zend_Service_Yahoo クラス群</title>
  166. <para>
  167. Yahoo! 検索から返される結果は、以下のクラスのいずれかとなります。
  168. 検索の種類によってそれに対応した結果セットが返され、
  169. そのセットを順に処理していくと、中には検索の種類に応じた結果オブジェクトが含まれます。
  170. すべての結果セットクラスは <classname>SeekableIterator</classname>
  171. インターフェイスを実装しています。
  172. そのため、順次処理だけでなく特定の結果の処理も簡単にできます。
  173. <itemizedlist>
  174. <listitem><para><link linkend="zend.service.yahoo.classes.resultset"><classname>Zend_Service_Yahoo_ResultSet</classname></link></para></listitem>
  175. <listitem><para><link linkend="zend.service.yahoo.classes.webresultset"><classname>Zend_Service_Yahoo_WebResultSet</classname></link></para></listitem>
  176. <listitem><para><link linkend="zend.service.yahoo.classes.imageresultset"><classname>Zend_Service_Yahoo_ImageResultSet</classname></link></para></listitem>
  177. <listitem><para><link linkend="zend.service.yahoo.classes.videoresultset"><classname>Zend_Service_Yahoo_VideoResultSet</classname></link></para></listitem>
  178. <listitem><para><link linkend="zend.service.yahoo.classes.localresultset"><classname>Zend_Service_Yahoo_LocalResultSet</classname></link></para></listitem>
  179. <listitem><para><link linkend="zend.service.yahoo.classes.newsresultset"><classname>Zend_Service_Yahoo_NewsResultSet</classname></link></para></listitem>
  180. <listitem><para><link linkend="zend.service.yahoo.classes.inlinkdataresultset"><classname>Zend_Service_Yahoo_InlinkDataResultSet</classname></link></para></listitem>
  181. <listitem><para><link linkend="zend.service.yahoo.classes.pagedataresultset"><classname>Zend_Service_Yahoo_PageDataResultSet</classname></link></para></listitem>
  182. <listitem><para><link linkend="zend.service.yahoo.classes.result"><classname>Zend_Service_Yahoo_Result</classname></link></para></listitem>
  183. <listitem><para><link linkend="zend.service.yahoo.classes.webresult"><classname>Zend_Service_Yahoo_WebResult</classname></link></para></listitem>
  184. <listitem><para><link linkend="zend.service.yahoo.classes.imageresult"><classname>Zend_Service_Yahoo_ImageResult</classname></link></para></listitem>
  185. <listitem><para><link linkend="zend.service.yahoo.classes.videoresult"><classname>Zend_Service_Yahoo_VideoResult</classname></link></para></listitem>
  186. <listitem><para><link linkend="zend.service.yahoo.classes.localresult"><classname>Zend_Service_Yahoo_LocalResult</classname></link></para></listitem>
  187. <listitem><para><link linkend="zend.service.yahoo.classes.newsresult"><classname>Zend_Service_Yahoo_NewsResult</classname></link></para></listitem>
  188. <listitem><para><link linkend="zend.service.yahoo.classes.inlinkdataresult"><classname>Zend_Service_Yahoo_InlinkDataResult</classname></link></para></listitem>
  189. <listitem><para><link linkend="zend.service.yahoo.classes.pagedataresult"><classname>Zend_Service_Yahoo_PageDataResult</classname></link></para></listitem>
  190. <listitem><para><link linkend="zend.service.yahoo.classes.image"><classname>Zend_Service_Yahoo_Image</classname></link></para></listitem>
  191. </itemizedlist>
  192. </para>
  193. <sect3 id="zend.service.yahoo.classes.resultset">
  194. <title>Zend_Service_Yahoo_ResultSet</title>
  195. <para>
  196. 検索の種類に応じた結果セットは、この基底クラスを継承したものです。
  197. </para>
  198. <para>
  199. 各結果セットは、検索の種類に応じた
  200. <link linkend="zend.service.yahoo.classes.result">Zend_Service_Yahoo_Result</link>
  201. オブジェクトを返します。
  202. </para>
  203. <sect4 id="zend.service.yahoo.classes.resultset.totalResults">
  204. <title>Zend_Service_Yahoo_ResultSet::totalResults()</title>
  205. <para>
  206. <methodsynopsis>
  207. <type>int</type>
  208. <methodname>totalResults</methodname>
  209. <void />
  210. </methodsynopsis>
  211. </para>
  212. <para>
  213. 検索結果として返された結果の総数を返します。
  214. </para>
  215. </sect4>
  216. <sect4 id="zend.service.yahoo.classes.resultset.properties">
  217. <title>プロパティ</title>
  218. <table id="zend.service.yahoo.classes.resultset.properties.table-1">
  219. <title>Zend_Service_Yahoo_ResultSet</title>
  220. <tgroup cols="3">
  221. <thead>
  222. <row>
  223. <entry>名前</entry>
  224. <entry>型</entry>
  225. <entry>説明</entry>
  226. </row>
  227. </thead>
  228. <tbody>
  229. <row>
  230. <entry>totalResultsAvailable</entry>
  231. <entry>int</entry>
  232. <entry>
  233. 見つかった結果の総数。
  234. </entry>
  235. </row>
  236. <row>
  237. <entry>totalResultsReturned</entry>
  238. <entry>int</entry>
  239. <entry>現在の結果セットに含まれる結果の総数。</entry>
  240. </row>
  241. <row>
  242. <entry>firstResultPosition</entry>
  243. <entry>int</entry>
  244. <entry>このセットの最初の結果の、結果全体の中での位置。</entry>
  245. </row>
  246. </tbody>
  247. </tgroup>
  248. </table>
  249. <para>
  250. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  251. </para>
  252. </sect4>
  253. </sect3>
  254. <sect3 id="zend.service.yahoo.classes.webresultset">
  255. <title>Zend_Service_Yahoo_WebResultSet</title>
  256. <para>
  257. <classname>Zend_Service_Yahoo_WebResultSet</classname> は Yahoo! Web Search
  258. の結果セットを表します。
  259. </para>
  260. <note>
  261. <para>
  262. <classname>Zend_Service_Yahoo_WebResultSet</classname> は
  263. <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  264. を継承しています。
  265. </para>
  266. </note>
  267. <para>
  268. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  269. </para>
  270. </sect3>
  271. <sect3 id="zend.service.yahoo.classes.imageresultset">
  272. <title>Zend_Service_Yahoo_ImageResultSet</title>
  273. <para>
  274. <classname>Zend_Service_Yahoo_ImageResultSet</classname> は、Yahoo! Image Search
  275. の結果セットを表します。
  276. </para>
  277. <note>
  278. <para>
  279. <classname>Zend_Service_Yahoo_ImageResultSet</classname> は
  280. <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  281. を継承しています。
  282. </para>
  283. </note>
  284. <para>
  285. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  286. </para>
  287. </sect3>
  288. <sect3 id="zend.service.yahoo.classes.videoresultset">
  289. <title>Zend_Service_Yahoo_VideoResultSet</title>
  290. <para>
  291. <classname>Zend_Service_Yahoo_VideoResultSet</classname> は、Yahoo! Video Search
  292. の結果セットを表します。
  293. </para>
  294. <note>
  295. <para>
  296. <classname>Zend_Service_Yahoo_VideoResultSet</classname> は
  297. <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  298. を継承しています。
  299. </para>
  300. </note>
  301. <para>
  302. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  303. </para>
  304. </sect3>
  305. <sect3 id="zend.service.yahoo.classes.localresultset">
  306. <title>Zend_Service_Yahoo_LocalResultSet</title>
  307. <para>
  308. <classname>Zend_Service_Yahoo_LocalResultSet</classname> は、Yahoo! Local Search
  309. の結果セットを表します。
  310. </para>
  311. <table id="zend.service.yahoo.classes.localresultset.table-1">
  312. <title>Zend_Service_Yahoo_LocalResultSet のプロパティ</title>
  313. <tgroup cols="3">
  314. <thead>
  315. <row>
  316. <entry>名前</entry>
  317. <entry>型</entry>
  318. <entry>説明</entry>
  319. </row>
  320. </thead>
  321. <tbody>
  322. <row>
  323. <entry>resultSetMapURL</entry>
  324. <entry>string</entry>
  325. <entry>返される結果が記された地図画像を含むウェブページの <acronym>URL</acronym>。</entry>
  326. </row>
  327. </tbody>
  328. </tgroup>
  329. </table>
  330. <note>
  331. <para>
  332. <classname>Zend_Service_Yahoo_LocalResultSet</classname> は
  333. <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  334. を継承しています。
  335. </para>
  336. </note>
  337. <para>
  338. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  339. </para>
  340. </sect3>
  341. <sect3 id="zend.service.yahoo.classes.newsresultset">
  342. <title>Zend_Service_Yahoo_NewsResultSet</title>
  343. <para>
  344. <classname>Zend_Service_Yahoo_NewsResultSet</classname> は、Yahoo! News Search
  345. の結果セットを表します。
  346. </para>
  347. <note>
  348. <para>
  349. <classname>Zend_Service_Yahoo_NewsResultSet</classname> は
  350. <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  351. を継承しています。
  352. </para>
  353. </note>
  354. <para>
  355. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  356. </para>
  357. </sect3>
  358. <sect3 id="zend.service.yahoo.classes.inlinkdataresultset">
  359. <title>Zend_Service_Yahoo_InlinkDataResultSet</title>
  360. <para>
  361. <classname>Zend_Service_Yahoo_InlinkDataResultSet</classname> は、
  362. Yahoo! Inbound Link Search の結果セットを表します。
  363. </para>
  364. <note>
  365. <para>
  366. <classname>Zend_Service_Yahoo_InlinkDataResultSet</classname> は
  367. <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  368. を継承しています。
  369. </para>
  370. </note>
  371. <para>
  372. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  373. </para>
  374. </sect3>
  375. <sect3 id="zend.service.yahoo.classes.pagedataresultset">
  376. <title>Zend_Service_Yahoo_PageDataResultSet</title>
  377. <para>
  378. <classname>Zend_Service_Yahoo_PageDataResultSet</classname> は、
  379. Yahoo! PageData Search の結果セットを表します。
  380. </para>
  381. <note>
  382. <para>
  383. <classname>Zend_Service_Yahoo_PageDataResultSet</classname> は
  384. <link linkend="zend.service.yahoo.classes.resultset">Zend_Service_Yahoo_ResultSet</link>
  385. を継承しています。
  386. </para>
  387. </note>
  388. <para>
  389. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  390. </para>
  391. </sect3>
  392. <sect3 id="zend.service.yahoo.classes.result">
  393. <title>Zend_Service_Yahoo_Result</title>
  394. <para>
  395. 検索の種類に応じた検索結果は、この基底クラスを継承したものです。
  396. </para>
  397. <sect4 id="zend.service.yahoo.classes.result.properties">
  398. <title>プロパティ</title>
  399. <table id="zend.service.yahoo.classes.result.properties.table-1">
  400. <title>Zend_Service_Yahoo_Result のプロパティ</title>
  401. <tgroup cols="3">
  402. <thead>
  403. <row>
  404. <entry>名前</entry>
  405. <entry>型</entry>
  406. <entry>説明</entry>
  407. </row>
  408. </thead>
  409. <tbody>
  410. <row>
  411. <entry>Title</entry>
  412. <entry>string</entry>
  413. <entry>結果項目のタイトル</entry>
  414. </row>
  415. <row>
  416. <entry>Url</entry>
  417. <entry>string</entry>
  418. <entry>結果項目の <acronym>URL</acronym></entry>
  419. </row>
  420. <row>
  421. <entry>ClickUrl</entry>
  422. <entry>string</entry>
  423. <entry>結果項目へリンクする <acronym>URL</acronym></entry>
  424. </row>
  425. </tbody>
  426. </tgroup>
  427. </table>
  428. <para>
  429. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  430. </para>
  431. </sect4>
  432. </sect3>
  433. <sect3 id="zend.service.yahoo.classes.webresult">
  434. <title>Zend_Service_Yahoo_WebResult</title>
  435. <para>
  436. Web Search の結果は <classname>Zend_Service_Yahoo_WebResult</classname>
  437. オブジェクトとして返されます。
  438. </para>
  439. <sect4 id="zend.service.yahoo.classes.webresult.properties">
  440. <title>プロパティ</title>
  441. <table id="zend.service.yahoo.classes.webresult.properties.table-1">
  442. <title>Zend_Service_Yahoo_WebResult のプロパティ</title>
  443. <tgroup cols="3">
  444. <thead>
  445. <row>
  446. <entry>名前</entry>
  447. <entry>型</entry>
  448. <entry>説明</entry>
  449. </row>
  450. </thead>
  451. <tbody>
  452. <row>
  453. <entry>Summary</entry>
  454. <entry>string</entry>
  455. <entry>結果の概要</entry>
  456. </row>
  457. <row>
  458. <entry>MimeType</entry>
  459. <entry>string</entry>
  460. <entry>結果の <acronym>MIME</acronym> 型</entry>
  461. </row>
  462. <row>
  463. <entry>ModificationDate</entry>
  464. <entry>string</entry>
  465. <entry><acronym>UNIX</acronym> タイムスタンプで表した、結果の最終更新時刻</entry>
  466. </row>
  467. <row>
  468. <entry>CacheUrl</entry>
  469. <entry>string</entry>
  470. <entry>結果に対応する Yahoo! ウェブキャッシュの <acronym>URL</acronym> (もし存在すれば)</entry>
  471. </row>
  472. <row>
  473. <entry>CacheSize</entry>
  474. <entry>int</entry>
  475. <entry>キャッシュエントリの大きさ</entry>
  476. </row>
  477. </tbody>
  478. </tgroup>
  479. </table>
  480. <para>
  481. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  482. </para>
  483. </sect4>
  484. </sect3>
  485. <sect3 id="zend.service.yahoo.classes.imageresult">
  486. <title>Zend_Service_Yahoo_ImageResult</title>
  487. <para>
  488. Image Search の結果は <classname>Zend_Service_Yahoo_ImageResult</classname>
  489. オブジェクトとして返されます。
  490. </para>
  491. <sect4 id="zend.service.yahoo.classes.imageresult.properties">
  492. <title>プロパティ</title>
  493. <table id="zend.service.yahoo.classes.imageresult.properties.table-1">
  494. <title>Zend_Service_Yahoo_ImageResult のプロパティ</title>
  495. <tgroup cols="3">
  496. <thead>
  497. <row>
  498. <entry>名前</entry>
  499. <entry>型</entry>
  500. <entry>説明</entry>
  501. </row>
  502. </thead>
  503. <tbody>
  504. <row>
  505. <entry>Summary</entry>
  506. <entry>string</entry>
  507. <entry>結果の概要</entry>
  508. </row>
  509. <row>
  510. <entry>RefererUrl</entry>
  511. <entry>string</entry>
  512. <entry>画像を含むページの <acronym>URL</acronym></entry>
  513. </row>
  514. <row>
  515. <entry>FileSize</entry>
  516. <entry>int</entry>
  517. <entry>画像ファイルのバイト数</entry>
  518. </row>
  519. <row>
  520. <entry>FileFormat</entry>
  521. <entry>string</entry>
  522. <entry>画像の形式 (bmp、gif、jpeg、png など)</entry>
  523. </row>
  524. <row>
  525. <entry>Height</entry>
  526. <entry>int</entry>
  527. <entry>画像の高さ</entry>
  528. </row>
  529. <row>
  530. <entry>Width</entry>
  531. <entry>int</entry>
  532. <entry>画像の幅</entry>
  533. </row>
  534. <row>
  535. <entry>Thumbnail</entry>
  536. <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
  537. <entry>画像のサムネイル</entry>
  538. </row>
  539. </tbody>
  540. </tgroup>
  541. </table>
  542. <para>
  543. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  544. </para>
  545. </sect4>
  546. </sect3>
  547. <sect3 id="zend.service.yahoo.classes.videoresult">
  548. <title>Zend_Service_Yahoo_VideoResult</title>
  549. <para>
  550. Video Search の結果は<classname>Zend_Service_Yahoo_VideoResult</classname>
  551. オブジェクトとして返されます。
  552. </para>
  553. <sect4 id="zend.service.yahoo.classes.videoresult.properties">
  554. <title>プロパティ</title>
  555. <table id="zend.service.yahoo.classes.videoresult.properties.table-1">
  556. <title>Zend_Service_Yahoo_VideoResult のプロパティ</title>
  557. <tgroup cols="3">
  558. <thead>
  559. <row>
  560. <entry>名前</entry>
  561. <entry>型</entry>
  562. <entry>説明</entry>
  563. </row>
  564. </thead>
  565. <tbody>
  566. <row>
  567. <entry>Summary</entry>
  568. <entry>string</entry>
  569. <entry>結果の概要</entry>
  570. </row>
  571. <row>
  572. <entry>RefererUrl</entry>
  573. <entry>string</entry>
  574. <entry>動画を含むページの <acronym>URL</acronym></entry>
  575. </row>
  576. <row>
  577. <entry>FileSize</entry>
  578. <entry>int</entry>
  579. <entry>動画のサイズを表すバイト数</entry>
  580. </row>
  581. <row>
  582. <entry>FileFormat</entry>
  583. <entry>string</entry>
  584. <entry>動画のフォーマット (avi, flash, mpeg, msmedia, quicktime, realmedia, など)</entry>
  585. </row>
  586. <row>
  587. <entry>Height</entry>
  588. <entry>int</entry>
  589. <entry>動画の高さを表すピクセル数</entry>
  590. </row>
  591. <row>
  592. <entry>Width</entry>
  593. <entry>int</entry>
  594. <entry>動画の幅を表すピクセル数</entry>
  595. </row>
  596. <row>
  597. <entry>Duration</entry>
  598. <entry>int</entry>
  599. <entry>動画の長さを表す秒数</entry>
  600. </row>
  601. <row>
  602. <entry>Channels</entry>
  603. <entry>int</entry>
  604. <entry>動画の音声チャネル数</entry>
  605. </row>
  606. <row>
  607. <entry>Streaming</entry>
  608. <entry>boolean</entry>
  609. <entry>ストリーミング形式かどうか</entry>
  610. </row>
  611. <row>
  612. <entry>Thumbnail</entry>
  613. <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
  614. <entry>画像のサムネイル</entry>
  615. </row>
  616. </tbody>
  617. </tgroup>
  618. </table>
  619. <para>
  620. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  621. </para>
  622. </sect4>
  623. </sect3>
  624. <sect3 id="zend.service.yahoo.classes.localresult">
  625. <title>Zend_Service_Yahoo_LocalResult</title>
  626. <para>
  627. Local Search の結果は <classname>Zend_Service_Yahoo_LocalResult</classname>
  628. オブジェクトとして返されます。
  629. </para>
  630. <sect4 id="zend.service.yahoo.classes.localresult.properties">
  631. <title>プロパティ</title>
  632. <table id="zend.service.yahoo.classes.localresult.properties.table-1">
  633. <title>Zend_Service_Yahoo_LocalResult のプロパティ</title>
  634. <tgroup cols="3">
  635. <thead>
  636. <row>
  637. <entry>名前</entry>
  638. <entry>型</entry>
  639. <entry>説明</entry>
  640. </row>
  641. </thead>
  642. <tbody>
  643. <row>
  644. <entry>Address</entry>
  645. <entry>string</entry>
  646. <entry>結果の番地</entry>
  647. </row>
  648. <row>
  649. <entry>City</entry>
  650. <entry>string</entry>
  651. <entry>結果が存在する市</entry>
  652. </row>
  653. <row>
  654. <entry>State</entry>
  655. <entry>string</entry>
  656. <entry>結果が存在する州</entry>
  657. </row>
  658. <row>
  659. <entry>Phone</entry>
  660. <entry>string</entry>
  661. <entry>結果の電話番号</entry>
  662. </row>
  663. <row>
  664. <entry>Rating</entry>
  665. <entry>int</entry>
  666. <entry>結果に対するユーザの評価</entry>
  667. </row>
  668. <row>
  669. <entry>Distance</entry>
  670. <entry>float</entry>
  671. <entry>指定した位置から結果の位置までの距離</entry>
  672. </row>
  673. <row>
  674. <entry>MapUrl</entry>
  675. <entry>string</entry>
  676. <entry>結果の地図の <acronym>URL</acronym></entry>
  677. </row>
  678. <row>
  679. <entry>BusinessUrl</entry>
  680. <entry>string</entry>
  681. <entry>ビジネスウェブサイトの <acronym>URL</acronym> (もしわかれば)</entry>
  682. </row>
  683. <row>
  684. <entry>BusinessClickUrl</entry>
  685. <entry>string</entry>
  686. <entry>ビジネスウェブサイトへのリンク用の <acronym>URL</acronym> (もしわかれば)</entry>
  687. </row>
  688. </tbody>
  689. </tgroup>
  690. </table>
  691. <para>
  692. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  693. </para>
  694. </sect4>
  695. </sect3>
  696. <sect3 id="zend.service.yahoo.classes.newsresult">
  697. <title>Zend_Service_Yahoo_NewsResult</title>
  698. <para>
  699. News Search の結果は <classname>Zend_Service_Yahoo_NewsResult</classname>
  700. オブジェクトとして返されます。
  701. </para>
  702. <sect4 id="zend.service.yahoo.classes.newsresult.properties">
  703. <title>プロパティ</title>
  704. <table id="zend.service.yahoo.classes.newsresult.properties.table-1">
  705. <title>Zend_Service_Yahoo_NewsResult のプロパティ</title>
  706. <tgroup cols="3">
  707. <thead>
  708. <row>
  709. <entry>名前</entry>
  710. <entry>型</entry>
  711. <entry>説明</entry>
  712. </row>
  713. </thead>
  714. <tbody>
  715. <row>
  716. <entry>Summary</entry>
  717. <entry>string</entry>
  718. <entry>結果の概要</entry>
  719. </row>
  720. <row>
  721. <entry>NewsSource</entry>
  722. <entry>string</entry>
  723. <entry>記事を配信した会社</entry>
  724. </row>
  725. <row>
  726. <entry>NewsSourceUrl</entry>
  727. <entry>string</entry>
  728. <entry>記事を配信した会社の <acronym>URL</acronym></entry>
  729. </row>
  730. <row>
  731. <entry>Language</entry>
  732. <entry>string</entry>
  733. <entry>記事が記述されている言語</entry>
  734. </row>
  735. <row>
  736. <entry>PublishDate</entry>
  737. <entry>string</entry>
  738. <entry><acronym>UNIX</acronym> タイムスタンプで表した、記事の配信時刻</entry>
  739. </row>
  740. <row>
  741. <entry>ModificationDate</entry>
  742. <entry>string</entry>
  743. <entry><acronym>UNIX</acronym> タイムスタンプで表した、記事の最終更新時刻</entry>
  744. </row>
  745. <row>
  746. <entry>Thumbnail</entry>
  747. <entry><link linkend="zend.service.yahoo.classes.image">Zend_Service_Yahoo_Image</link></entry>
  748. <entry>記事の画像サムネイル (もしあれば)</entry>
  749. </row>
  750. </tbody>
  751. </tgroup>
  752. </table>
  753. <para>
  754. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  755. </para>
  756. </sect4>
  757. </sect3>
  758. <sect3 id="zend.service.yahoo.classes.inlinkdataresult">
  759. <title>Zend_Service_Yahoo_InlinkDataResult</title>
  760. <para>
  761. Inbound Link Search の結果の各項目は
  762. <classname>Zend_Service_Yahoo_InlinkDatabResult</classname> オブジェクトで返されます。
  763. </para>
  764. <para>
  765. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  766. </para>
  767. </sect3>
  768. <sect3 id="zend.service.yahoo.classes.pagedataresult">
  769. <title>Zend_Service_Yahoo_PageDataResult</title>
  770. <para>
  771. Page Data Search の結果の各項目は
  772. <classname>Zend_Service_Yahoo_PageDatabResult</classname> オブジェクトで返されます。
  773. </para>
  774. <para>
  775. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  776. </para>
  777. </sect3>
  778. <sect3 id="zend.service.yahoo.classes.image">
  779. <title>Zend_Service_Yahoo_Image</title>
  780. <para>
  781. Yahoo! Image Search あるいは Yahoo! News Search が返すすべての画像は
  782. <classname>Zend_Service_Yahoo_Image</classname> オブジェクトで表されます。
  783. </para>
  784. <sect4 id="zend.service.yahoo.classes.image.properties">
  785. <title>プロパティ</title>
  786. <table id="zend.service.yahoo.classes.image.properties.table-1">
  787. <title>Zend_Service_Yahoo_Image のプロパティ</title>
  788. <tgroup cols="3">
  789. <thead>
  790. <row>
  791. <entry>名前</entry>
  792. <entry>型</entry>
  793. <entry>説明</entry>
  794. </row>
  795. </thead>
  796. <tbody>
  797. <row>
  798. <entry>Url</entry>
  799. <entry>string</entry>
  800. <entry>画像の <acronym>URL</acronym></entry>
  801. </row>
  802. <row>
  803. <entry>Width</entry>
  804. <entry>int</entry>
  805. <entry>画像の幅</entry>
  806. </row>
  807. <row>
  808. <entry>Height</entry>
  809. <entry>int</entry>
  810. <entry>画像の高さ</entry>
  811. </row>
  812. </tbody>
  813. </tgroup>
  814. </table>
  815. <para>
  816. <link linkend="zend.service.yahoo.classes">クラス一覧に戻る</link>
  817. </para>
  818. </sect4>
  819. </sect3>
  820. </sect2>
  821. </sect1>
  822. <!--
  823. vim:se ts=4 sw=4 et:
  824. -->