Zend_Service_Yahoo.xml 41 KB

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